Continuity and Differentiability

back to Fan's Intro Math for Econ, Matlab Examples, or MEconTools Repositories
In the real world, households and firms general consume and use discrete units of goods. Households can buy N apples, and firms can hire M numbers of workers. The world is full of discreteness. To derive mathmatical expressions that summarize the aggregate behavior of economic agents, we generally approximate our discrete world with continuous functions.

Definition Continuous

Visually, "a function is continuous if its graph has no breaks" (SB). "The graph of a function cannot have a tangent line at a point of discontinuity"
This function, for example is not continuous. Note that we can not use both and , otherwise this would no longer be a function:
This is the simplest continuous function
The more formal definition of continuity is based on convergence of sequences, which you do not need to remember (SB P32):
Often, if you write down an economic model where functions have discontinuity, you might need to rely on brute-force type solution method to solve for household and firm maximization problems, and can not take advantage of derivatives.

Definition Continuously Differentiable

The 2 period savings problem involved a utility maximization equation that was continuous over the domain, and that was differentiable everywhere over the domain. The derivative we obtained was also continuous. Hence we were dealing with a continuously differentiable function. With that function, we were able to easily find the optimal savings choice