Partial differentiation
(part 1)
Learning objectives
At the end of this lecture, you should be
able to:
• Perform mathematical operations to
find partial differentiations.
• Apply partial differentiations to find
partial elasticities and marginal
functions with two independent
variables.
Function of several
variables
A function of multiple variables
• Most relationships in economics involve more than two variables.
• A function, f, of two variables is a rule that assigns to each incoming
pair of numbers, (π₯, π¦), a uniquely defined outgoing number, π§.
• To evaluate a function two variables, we need to specify the
numerical values of both π₯ and π¦.
• Example:
• π§ = π π₯, π¦ = π₯π¦ + 2π¦
• Evaluate the function when π₯ = 3 and y = 4 gives:
π§ = π(3,4) = 3 ∗ 4 + 2 ∗ 4 = 20
Function of one vs. two independent
variables
Partial derivative
Given the function of two independent variables π§ = π(π₯, π¦)
The partial derivative of π with
respect to π₯ is written as:
The partial derivative of π with
respect to y is written as:
ππ§
ππ
• ππ₯ or
or
(read ‘partial df by dx’)
ππ₯
ππ₯
ππ§
ππ
• ππ¦ or
or
ππ¦
ππ¦
• ππ₯ is found by differentiating π
with respect to x, with y held
constant.
• ππ¦ is found by differentiating π
with respect to y, with x held
constant.
Exercise
Find expressions for the
first-order partial
derivatives for the function
π π₯, π¦ = π₯ 2 π¦ 3 − 10π₯
Second-order partial derivatives
SECOND-ORDER PARTIAL DERIVATIVES
HOW WE WRITE
Differentiating twice with respect to π₯
π2 π§
π2 π
ππ₯π₯ or 2 or 2
ππ₯
ππ₯
Differentiating twice with respect to y
π2 π§
π2 π
ππ¦π¦ or 2 or 2
ππ¦
ππ¦
Differentiating first with respect to x and
then with respect to y
π2 π§
π2 π
ππ¦π₯ or
or
ππ¦ππ₯
ππ¦ππ₯
Differentiating first with respect to y and
then with respect to x
π2 π§
π2 π
ππ₯π¦ or
or
ππ₯ππ¦
ππ₯ππ¦
Exercise
Find expressions for the second-order partial derivatives of the
function:
π π₯, π¦ = π₯ 2 π¦ 3 − 10π₯
Young’s theorem
• If the second partial derivatives of a function are continuous,
differentiating with respect to x then y gives the same
expressions as differentiating with respect to y then x.
• ππ¦π₯ = ππ₯π¦ ππ
π2 π
π2 π
=
ππ¦ππ₯
ππ₯ππ¦
• The theorem can also be applied to functions with more than two
independent variables.
Small increments formulas
DESCRIPTIONS
FORMULAS
π₯ changes by a small amount βπ₯ and π¦ is
held fixed
ππ§
βπ§ ≅
∗ βπ₯
ππ₯
ππ§
βπ§ ≅
∗ βπ¦
ππ¦
π¦ changes by a small amount βy and x is
held fixed
π₯ changes by a small amount βπ₯ and π¦
changes by a small amount βy
simultaneously
ππ§
ππ§
βπ§ ≅
∗ βπ₯ +
∗ βπ¦
ππ₯
ππ¦
π₯ and π¦ both change simultaneously and
βπ and βy tend to zero
ππ§
ππ§
ππ§ =
∗ ππ₯ +
∗ ππ¦
ππ₯
ππ¦
ππ§, ππ₯, and ππ¦ are called differentials,
representing the limit ofβπ§, βπ₯, andβπ¦
Exercises
Given π§ = π₯π¦ − 5π₯ + 2π¦
ππ§
ππ§
Evaluate and
ππ₯
ππ¦
a. Use the small increments formula to
estimate the change in π§ as π₯ decreases from
2 to 1.9 and π¦ increases from 6 to 6.1.
b. Confirm your estimate of part (a) by
evaluating π§ at (2, 6) and (1.9, 6.1)
Implicit differentiation
If π π, π = ππππππππ
π
π
ππ
then = −
π
π
ππ
ππ¦
• Example: Find of the function π π₯, π¦ = π¦ 3 + 2π₯π¦ 2 − π₯
ππ₯
• ππ₯ = 2π¦ 2 − 1 and ππ¦ = 3π¦ 2 + 4π₯π¦
ππ¦
ππ₯
2π¦ 2 −1
•
=− =− 2
ππ₯
ππ¦
3π¦ +4π₯π¦
Exercises
Use implicit differentiation to
ππ¦
find expressions for given
ππ₯
that:
π¦ 5 − π₯π¦ 2 = 10
Review 1
Descriptions
Formulas
π₯ changes by a small amount βπ₯ and π¦ is held
fixed
βπ§ ≅
π¦ changes by a small amount βy and π₯ is held
fixed
ππ§
βπ§ ≅ ∗ βπ¦
ππ¦
π₯ and π¦ both change simultaneously
ππ§
ππ§
βπ§ ≅ ∗ βπ₯ + ∗ βπ¦
ππ₯
ππ¦
π₯ and π¦ both change simultaneously and βπ₯
and βy tend to zero
ππ§ =
Implicit differentiation
If π π, π = ππππππππ
ππ§
∗ βπ₯
ππ₯
ππ§
ππ§
∗ ππ₯ + ∗ ππ¦
ππ₯
ππ¦
π
π
ππ
then = −
π
π
ππ
Partial elasticity
and marginal
functions
Elasticity of demand
Suppose that the demand, π, for a certain good depends on its
price, π, the price of an alternative good, ππ΄ , and the income of
consumers π:
π = π(π, ππ΄ , π)
for some demand function π
• Our interest is the responsiveness of demand to changes in any
one of these three variables. This can be measured using
elasticity.
Elasticities formulas
Descriptions
The demand function
The price elasticity of demand (assuming ππ΄
and π are held constant)
The cross-price elasticity demand
Income elasticity of demand
Formulas
π = π(π, ππ΄ , π)
πππππππ‘πππ πβππππ ππ π π· ππΈ
πΈπ =
= ∗
πππππππ‘πππ πβππππ ππ π πΈ ππ·
πππππππ‘πππ πβππππ ππ π π·π¨ ππΈ
πΈππ΄ =
=
∗
πππππππ‘πππ πβππππ ππ ππ΄
πΈ ππ·π¨
EPA < 0: complementary good
EPA > 0: substitutable good
πΈπ =
πππππππ‘πππ πβππππ ππ π π ππΈ
= ∗
πππππππ‘πππ πβππππ ππ π πΈ ππ
πΈπ < 0: Inferior good
πΈπ > 0: Normal good
πΈπ > 1: Superior good
Substitutable goods vs. complementary goods
Substitutable goods are a
pair of goods that are
alternatives to each other
(Jaques, 2015, p. 80)
Complementary goods are a
pair of goods consumed
together (Jaques, 2015, p.
80)
• Examples: Coke vs. Pepsi;
Grab car vs. Traditional
taxi; etc.
• Examples: printer and
printer cartridges; razors
and razor blades; etc.
Inferior vs. normal good
When income rises
(falls), people
consume less (more)
inferior goods.
When income rises
(falls), people
consume more (less)
normal goods.
Examples: bus
fare, “dumb”
phones, etc.
Examples:
clothes, laptops,
TVs, cars, etc.
Exercises
Given the demand function: π = 500 − 3π − 2ππ΄ +
0.01π
Where π = 20, ππ΄ = 30 and Y = 5000, find:
a. The price elasticity of demand
b. The cross-price elasticity of demand
c. The income elasticity of demand
d. If income rises by 5%, calculate the
corresponding percentage change in demand.
Would this good be classified as inferior, normal
of superior?
Utility
• Utility: the satisfaction gained from consuming a basket of goods
• Suppose that there are two goods, G1 and G2, and that the
consumer buy π₯1 items of G1 and π₯2 items of G2.
π = π(π₯1 , π₯2 )
• Example:
• If π 3, 7 = 20
and π 4, 5 = 25
• It means the the consumer derives greater satisfaction from
buying four items of G1 and five items of G2 than from buying
three items of G1 and seven items of G2.
Marginal utility
Marginal utility: The extra satisfaction gained by
consuming 1 extra unit of a good.
The law of diminishing marginal utility:
The increase in utility due to the
consumption of an additional good will
eventually decline.
Marginal utility and Small increments formulas
Descriptions
The rate of change of π with respect to π₯1 or the
marginal utility of ππ
If π₯1 changes by a small amount βπ₯1 , and other variables
are held fixed, the change in utility is estimated:
The rate of change of π with respect to π₯2 or the
marginal utility of ππ
If π₯2 changes by a small amount βπ₯2 , and other
variables are held fixed, the change in utility is
estimated:
If π₯1 and π₯2 both change then the net change in π is
estimated:
Formulas
ππ
ππ₯1
ππ
βπ ≅
βπ₯1
ππ₯1
ππ
ππ₯2
ππ
βπ ≅
βπ₯2
ππ₯2
ππ
ππ
βπ ≅
βπ₯1 +
βπ₯2
ππ₯1
ππ₯2
Exercises
An individual’s utility function is given by:
π = 1000π₯1 + 450π₯2 + 5π₯1 π₯2 − 2π₯12 − π₯22
Where π₯1 is the amount of leisure measured in hours per week and π₯2 is
earned income measured in dollars per week.
a. Determine the value of the marginal utilities:
ππ
ππ
and
when
ππ₯1
ππ₯1
π₯1 = 138 and π₯2 = 500
b. Estimate the change in π if the individual works for an extra hour,
which increases earned income by $15 per week.
c. Does the law of diminishing marginal utility hold for this function?
Explain.
Indifference curves
• An indifference curves is defined by:
• π π₯1 , π₯2 = π0
• for some fixed value of π0
• Point A and B have the same level of
utility (satisfaction level)
• Point C and D have higher level of
utility compared to point A and B
Marginal rate of
commodity substitution
• Marginal rate of commodity
substitution: The increase in π₯2
necessary to maintain a constant value
of utility when π₯1 decreases by 1 unit.
ππ₯2
βπ₯2
ππ
πΆπ = −
≅−
ππ₯1
βπ₯1
ππ₯1
ππ₯2
ππ/ππ₯1
→ ππ
πΆπ = −
=
=
ππ₯1
ππ₯2
ππ/ππ₯2
ππππππππ π’π‘ππππ‘π¦ πππ₯1
βπ₯2
→ ππ
πΆπ =
≅−
ππππππππ π’π‘ππππ‘π¦ πππ₯2
βπ₯1
Exercises
Given the utility function: π = 1000π₯1 +
450π₯2 + 5π₯1 π₯2 − 2π₯12 − π₯22
a. Calculate the value of MRCS at the
point (138, 500)
b. Estimate the increase earned in income
required to maintain the current level of
utility if leisure time falls by 2 hours per
week.
Marginal production and Small increments formulas
Descriptions
Output π, depends on capital, πΎ, and labor, πΏ:
Formulas
π = π(πΎ, πΏ)
The marginal product of capital: the rate of change of
output with respect to capital is estimated:
ππ
ππΎ
If πΎ changes by a small amount βπΎ, and other variables
are held fixed, the change in π is estimated:
ππ
βπ ≅
βπΎ
ππΎ
The marginal product of labor: The rate of change of
output with respect to labor
ππ
ππΏ
If πΎ and πΏ both change simultaneously, the net change
in π is estimated:
ππ
ππ
βπ ≅
βπΎ +
βπΏ
ππΎ
ππΏ
Isoquants and Marginal rate
of technical substitution
• Points on an isoquant represents all possible
combinations of inputs (πΎ, πΏ) that produce a
constant level of output.
• As capital is reduced, it is necessary to increase
labor to compensate for maintaining the same
production level and vice versa.
• We quantify this exchange of inputs by defining
the marginal rate of technical substitution:
• ππ
ππ = −
ππΎ
ππ/ππΏ
ππ
βπΎ
=
= πΏ ≅−
ππΏ
ππ/ππΎ
πππΎ
βπΏ
Exercises
Given the production function: π =
πΎ 2 + 2πΏ2
a. Write down expressions for the
ππ
ππ
marginal products and
b.
c.
ππΎ
ππΏ
2πΏ
Show that ππ
ππ =
πΎ
ππ
ππ
Show that πΎ + πΏ = 2π
ππΏ
ππΏ
Review 2
The marginal utility of ππ : The rate of change of π with
respect to π₯π
If π₯π changes by a small amount βπ₯π , and other variables are
held fixed, the change in utility is estimated:
If π₯1 and π₯2 both change, then the net change in π is
estimated:
The marginal product of capital: the rate of change of output
with respect to capital is estimated:
The marginal product of labor: The rate of change of output
with respect to labor
If πΎ and πΏ both change simultaneously, the net change in π is
estimated:
ππ
ππ₯π
ππ
βπ ≅
βπ₯π
ππ₯π
ππ
ππ
βπ ≅
βπ₯1 +
βπ₯2
ππ₯1
ππ₯2
ππ
ππΎ
ππ
ππΏ
ππ
ππ
βπ ≅
βπΎ +
βπΏ
ππΎ
ππΏ