Professional Documents
Culture Documents
Derivatives Part 1
Derivatives Part 1
University of Hohenheim
Chapter 2
Derivatives and Differentials
Nov 9, 2021
Students
Know common specifications of utility and production functions
Can take derivatives and differentiate univariate functions
Can take partial and total differentials of multivariate functions
Can apply total differentials to solve economic problems, e.g., the
two-dimensional consumer choice problem
choicc
Motivation
Budget line
I p1
p1 x1 + p2 x2 = I ⇔ x2 = − x1
p2 p2
Consumption of good 2, x2 , is an explicit function of the exogenous variables (note
that in this context, consumption of good 1 is treated as an exogenous variable)
Slope of the budget line is
∂x2 p1
=−
∂x1 p2
In order to increase consumption of good 1 by 1 unit (which costs p1 ), we have to
give up pp12 units of good 2 (which frees up pp21 · p2 units of income)
Motivation
Indifference curve
Indifference curve is characterized by u(x1 , x2 ) = c, where c is a constant
Here, the endogenous variable x2 is defined as an implicit function of the
exogenous variable x1
Typically, it is not possible to separate the exogenous variable on one side and the
endogenous variable on the other side
However, we still want to ask: How does a small change in consumption of good 1
affect consumption of good 2?
In order to answer the question, we look at derivatives, differentials, and total
differentials
Functions
Taking the limit of the above expression provides the definition of the derivative of
f
f (x0 + ∆x ) − f (x0 )
f ′ (x0 ) = lim
x →x0 ∆x
If the limit exists, f is called differentiable at x0 .
Simon and Blume (1994, Figure 2.8): The graph of a nonlinear function
Simon and Blume (1994, Figure 2.9): A tangent line (x-axis) and a nontangent line to the graph of x 3
f (x)
secant
derivative of f at x0
xo x2 x1 x
| {z }
∆x1
| {z }
∆x2
∆x → 0
Simon and Blume (1994, Theorem 2.4): c = product rule, d = quotient rule, e = power rule
A nondifferentiable function at x = 0:
The limits converge to different values if evaluated from the left (f ′ (x ) = −1 for x < 0)
or the right side (f ′ (x ) = 1 for x > 0).
Simon and Blume (1994, Figure 2.14): A discontinuous function with a discontinuity at x = 0
dy = f (x0 + dx ) − f (x0 )
(1)
≈ f ′ (x )dx
This differential is only useful for marginal changes of x .
The bigger dx the less precise the approximation.
Later in this course, we will improve the precision of the approximation (see:
Taylor series approximation)
We sometimes write the differential df in place of the differential dy .
f (x)
secant
derivative of f at x0
xo x2 x1 x
| {z }
∆x1
| {z }
∆x2
∆x → 0
It is a scalar that refers to the change in y if only xi changes and all the other xn
for n ̸= i stay constant.
Conceptually, there is no difference between a derivative of a univariate function
and a partial derivative of a multivariate function.
Standard differentiation rules apply.
f : R2 → R, f = x1α x21−α
∂f x1 α−1
= αx1α−1 x21−α = α
∂x1 x2
α
∂f α −α x1
= (1 − α)x1 x2 = (1 − α)
∂x2 x2
Simon and Blume (1994, Figure 14.1): The graph of x → f (x , b) on the slice {y = b}
∂f (a,b)
Simon and Blume (1994, Figure 14.3): ∂y
measures the change in f on {x = a}
The total differential is the multivariate equivalent of the differential and is defined
as
∂f (x1 , x2 , . . . xn ) ∂f (x1 , x2 , . . . xn )
dy = dx1 + . . . dxn
∂x1 ∂xn
n
X ∂f (x1 , x2 , . . . xn )
= dxi .
∂xi
i=1
It is natural to form a matrix/vector whose entries are all the partial derivatives of
f and call it the derivative of f .
The total differential is useful to derive the slope of level curves or contour lines
along which the function value of y is constant such that dy = 0.
Suppose we have two variables x1 and x2 . Both change and we want to calculate
the slope of the level curve.
Then we have
∂f (x1 , x2 ) ∂f (x1 , x2 )
dy = dx1 + dx2 = 0
∂x1 ∂x2
∂f (x1 ,x2 )
dx2 ∂x
⇒ |dy =0 = − ∂f (x 1,x )
dx1 1 2
∂x2
Indifference curve
u(x1 , x2 ) = c
∂u(x1 , x2 ) ∂u(x1 , x2 )
dx1 + dx2 = dc
∂x1 ∂x2
Tangency condition
−1
α x1 p1 1 − α p1
!
= ⇔ x2 = x1
1−α x2 p2 α p2
I = p1 x1 + p2 x2 (2)
1 − α p1
x2 = x1 (3)
α p2
αI
Using (2) to substitute out x2 from (1) and solving for x1 , we obtain x1 = p1
Instead of bringing the budget line in an explicit form, we can apply the total
differential to the budget line in its implicit form x1 p1 + x2 p2 = I
In totally differentiated form (for given goods prices), the budget line reads
p1 dx1 + p2 dx2 = dI
Moving along a given budget line implies dI = 0, such that the slope of the budget
line emerges as
dx2 p1
p1 dx1 + p2 dx2 = 0 ⇔ |dI=0 = −
dx1 p2
Summary