Professional Documents
Culture Documents
you studied standard one variable derivatives, you considered functions such as f (X). You
took the derivative of this function f with respect to its single argument X. For example,
if f (X) = X 2 , then you were able to calculate the derivative of f with respect to X as
df
dX
d(f (X))
dX
d(X 2 )
dX
d(X n )
dX
= nX n1 .
Partial derivatives are useful when you have a function of two or more variables and want
to take a derivative with respect to only one variable while holding the other variable or other
variables constant. Instead of dealing with f (X), you might be dealing with f (X, Y ). Or
better yet, you might be dealing with f (X, Y, Z). For the time being though, lets consider
the two variable case where the function is f (X, Y ). Your objective might be to take the
partial derivative of f with respect to X, or alternately, to take the partial derivative of f
with respect to Y . As you will see in a moment, these calculations are not equivalent.
The partial derivative of f with respect to X is written
tive of f with respect to Y is written
f
Y
f
.
X
d(cf (X))
dX
(X)
= c dfdX
. Using this fact, you can take
the derivative of f (X, Y ) with respect to X just like you would take the derivative of f (X)
with respect to X, remembering that Y is just a constant. Likewise, if you wanted to take
the partial derivative of f (X, Y ) with respect to Y , just pretend that X is a constant and
take the derivative of f (X, Y ) with respect to Y just as you would solve for the derivative
of f (Y ) with respect to Y . This time, just remember that for your purposes, X is treated
as a constant. Lets look at a couple of examples.
WORKED-OUT PROBLEM
The Problem Consider the function f (X, Y ) = X 2 + Y 2 . What is
f
?
X
What is
f
Y
The Solution The problem asks for both the partial derivative of f with respect to X,
f
,
X
(X 2 +Y 2 )
X
d(X 2 )
dX
f
Y
. In this case,
f
X
(f (X,Y ))
X
)
+ d(Y
= 2X + 0 = 2X. Since we are treating Y as a constant, we also can
dX
treat Y 2 as a constant since a constant to a power is still a constant. Since the derivative
3
d(Y 2 )
dX
f
Y
(f (X,Y ))
Y
(X 2 +Y 2 )
Y
2)
+ d(Y
= 0+2Y = 2Y . Notice that we are treating X as a constant for this calculation.
dY
WORKED-OUT PROBLEM
The Problem Let f (X, Y ) = X 2 Y 2 . What is
f
?
X
What is
f
Y
The Solution In this example, the X and Y parts of the function are multiplied by
each other. This is in contrast to the previous worked-out problem where they were added.
The general procedure to calculate partial derivatives, however, stays the same. Specifically,
when we are calculating the partial derivative of f with respect to X, we treat Y as if it were
a constant, and vice versa when we are calculating the partial derivative of f with respect
f
X
f
Y
(X 2 Y 2 )
Y
d(cf (X))
dX
(X 2 Y 2 )
X
= 2XY 2 . (Recall
(X)
= c dfdX
.) The partial derivative of f with
= 2X 2 Y .
ADDITIONAL EXERCISES
1. Consider the function f (X, Y ) = 2X + 3Y . What is
f
?
X
What is
f
?
X
f
Y
What is
f
Y
f
?
X
f
?
X
f
?
X
f
?
X
What is
What is
f
Y
What is
What is
f
?
X
f
Y
f
Y
f
Y
What is
f
Y
f
?
X
What is
f
Y
f
?
X
What is
f
Y
f
?
X
f
?
X
What is
f
Y
What is
f
?
X
f
Y
What is
f
Y
Qd
P
dQd
dP
= B. Similarly, a supply
dQs
dP
function of additional parameters such as the price of another good (PO ) and income (M):
Qd = P + PO + M. We can again characterize the slope parameters given calculus.
Here,
Qd
P
= ,
Qd
PO
= , and
Qd
M
more complicated forms of the demand and supply functions. The general method to find
the slope of the demand or supply function in the direction of a specific variable is to take
the first partial derivative of the relevant function with respect to the variable of interest.
Substitutes and Complements
Two goods are substitutes if an increase in the price of one causes buyers to demand
more of the other product. Two goods are complements if an increase in the price of one
causes buyers to demand less of the other product. The relationships of substitutes and of
complements therefore are relationships between the price of one good and the quantity of
another good. Considering the demand curve Qd = P + PO + M, we can easily tell
if products are substitutes or complements by examining
7
Qd
,
PO
. If > 0, then the two goods are substitutes indicating that an increase in the price of a
related good, PO , is associated with an increase in the quantity demanded of the good itself.
If < 0, then the two goods are complements indicating that an increase in PO is associated
with a decrease in Qd .
Elasticities and Calculus
Elasticities of demand and supply are used to examine the responsiveness of quantity
demanded and quantity supplied respectively to changes in the price of a product, the
prices of related products, income, or other factors. In Chapter 2, elasticities are defined
mathematically as equaling the percentage change of one variable divided by the percentage
change of another. This can be written algebraically as E d =
(Q/Q)
.
(P/P )
be defined in terms of calculus. For example, the price elasticity of demand can be written
Ed =
Qd P
P Q
Qd
P
is a partial
derivative like those calculated in Chapter 1 in this supplement and in the section above.
The algebraic and calculus formulas are equivalent, and the principles of elasticities that you
have learned in your textbook all extend here.
In Chapter 2, you learned that one important principle of demand elasticities is that
total expenditure is largest at the price for which the demand elasticity equals 1. Given
the case that quantity demanded takes the general linear form of Qd = A BP , you saw in
P
that chapter that you could calculate the elasticity of demand as E d = B( Q
), where Q is
defined as above and is a function of P . Setting this equation equal to 1 and rearranging
to solve for P , you were able to determine the price at which total expenditure is largest.
This general approach remains valid when you calculate demand elasticities using calculus.
Notice that B simply equals
Qd
.
P
Similar to the price elasticity of demand formula, the price elasticity of supply can be
written as E s =
Qs P
P Q
where P and Q now represent a point along the supply curve. Simi-
larly still, you can calculate other elasticities using this general method. Your textbook for
example also defines the income elasticity of demand and the cross-price elasticity of de-
mand. Consider the more complicated version of the demand function written above where
quantity demanded is a function of P , PO , and M. The income elasticity of demand is
d
EM
=
(Q/Q)
(M/M )
Q M
M Q
d
elasticity of demand is EM
=
Qd M
.
M Q
Qd PO
PO Q
(Q/Q)
(PO /PO )
where Q refers to the quantity of the good whose demand curve we are
looking at and PO refers to the price of another good that is somehow related. Given your
understanding of partial derivatives from Chapter 1 of this supplement, you should be able
to calculate these and other elasticities with ease using calculus.
Remember that you can also solve these types of questions using the algebraic methods
outlined in your textbook. Both algebra and calculus are mathematical tools that you can
use to solve economics problems. Here, the economic concept is that of demand and supply
elasticities which measure changes in quantity demanded or supplied associated with changes
in prices, income, or other relevant variables. Lets look at some examples.
WORKED-OUT PROBLEM
The Problem Consider the demand curve Qd = 8 3P . What is the price elasticity of
demand at P = 2?
The Solution To solve this problem, we need to know three things. Since the price
elasticity of demand is different at each point along the demand curve, we first want to know
at which point we should calculate this elasticity. This is given in the problem since we are
told to calculate the price elasticity when P = 2. Secondly, we want to know the quantity
that will be demanded at this price. We can calculate this by substituting P = 2 into the
demand curve equation. For this problem, Qd = 8 3P = 8 3(2) = 8 6 = 2. Thirdly, we
want to know the partial derivative of Qd with respect to P . Since the demand curve here
is a function of only one variable, price, the partial derivative is equivalent to the standard
single variable derivative. Therefore,
Qd
P
dQd
dP
d(83P )
dP
of information, we can calculate the price elasticity of demand by subbing into our formula.
9
Namely, E d =
Qd P
P Q
WORKED-OUT PROBLEM
The Problem Consider the supply curve Qs = 2 + 3P . What is the price elasticity of
supply at P = 2?
The Solution To solve this problem, again we need to know three things. We know
that P = 2 at the point along the supply curve at which we want to calculate this elasticity.
The quantity supplied at this price is calculated by subbing P = 2 into the supply curve
equation. Here, Qs = 2 + 3P = 2 + 3(2) = 8. Now since we have the relevant price and
quantity, all we need is the relevant slope or partial derivative of the quantity supplied with
respect to price. In our case,
Qs
P
dQs
dP
d(2+3P )
dP
Qs P
P Q
elasticity of supply at P = 2.
ADDITIONAL EXERCISES
1. Consider the demand curve Qd = 8 3P . What is the price elasticity of demand at
P = 1?
10
11
9. Consider the demand curve Qd = 10 P + 5M. What is the price elasticity of demand
if P = 9 and M = 2?
10. Consider the demand curve Qd = 10 P + 5M. What is the income elasticity of
demand if P = 9 and M = 2?
12
11. Consider the demand curve Qd = 10 P + PO . What is the price elasticity of demand
if P = 9 and PO = 5?
13
C
.
X
Similarly, if our benefits are a function of X and are written B(X), then
B
.
X
the point associated with the marginal unit, and marginal benefit is the slope of the benefit
curve at the point of the marginal unit. Note that although we are using the generic X in
this section, we may think of this variable as representing quantity of a product. In fact,
when we consider the firms problem more specifically later, we will model total cost (and
marginal cost) in term of the quantity variable Q. Alternately, we might consider a cost or
benefit function in terms of multiple variables. For example, cost might be a function of
capital, labor, and other inputs. Then, we could calculate the marginal cost with respect
to each of these inputs by taking the first partial derivative with respect to the variable of
interest. Benefit might also be a function of more than one variable. In any of these cases,
however, the general mathematical methods are the same.
No Marginal Improvement Principle
The No Marginal Improvement Principle states that at an optimum, MC = MB. This
principle states that the economic optimum is at the point where the cost of a marginal unit
exactly equals the benefit of a marginal unit. Just as your book used algebra to express this
point, we can also use calculus to formulate this principle.
14
C
X
B
.
X
Note that this is the first-order condition from the problem maximizing net
benefits (the difference between B and C). If our objective is to maximize the function
B(X) C(X) with respect to X, then the first derivative (or first-order condition) of this
problem is
B
X
C
X
= 0. This reduces to our No Marginal Improvement Principle:
C
X
B
.
X
Note that since this is a single variable equation (both costs and benefits are expressed in
C
=
terms of only one variable X), the partial derivative solution ( X
dC
=
standard derivative result ( dX
dB
).
dX
B
)
X
is equivalent to the
means that economic decision makers should continue consuming or producing until the point
where their marginal benefit from continued action exactly equals their marginal cost. This
is the best that a consumer or a producer can do given his or her limited resources, and we
see here that we can use calculus to express this condition.
WORKED-OUT PROBLEM
The Problem Consider the cost function C(X) = 10X + 4X 2 . Write an expression for
marginal cost in terms of X.
The Solution Marginal cost is the first derivative of the cost function with respect to
X. Since cost is a function of only one variable here, marginal cost can be thought of as
either a partial or standard derivative of the cost function. For this problem, marginal cost
can be expressed
C
X
dC
dX
= 10 + 8X.
WORKED-OUT PROBLEM
The Problem If benefits are expressed B(X) = 2X X 2 and costs are C(X) = X 2 ,
what is the optimal amount of X?
The Solution We can apply our No Marginal Improvement Principle here. Since MB =
B
X
= 22X and MC =
C
X
or X = 21 .
15
ADDITIONAL EXERCISES
1. Consider the cost function C(X) = 5X + 2X 2 . Write an expression for marginal cost
in terms of X.
2. Consider the cost function C(X) = 4X + 3X 2 . Write an expression for marginal cost
in terms of X.
3. Consider the cost function C(X) = 20X + 10X 2. Write an expression for marginal
cost in terms of X.
4. Consider the benefits function B(X) = 10X X 2 . Write an expression for marginal
benefit in terms of X.
16
5. Consider the benefits function B(X) = 200X 3X 2 . Write an expression for marginal
cost in terms of X.
6. Consider the benefits function B(X) = 50X 6X 2 . Write an expression for marginal
cost in terms of X.
7. If benefits are expressed B(X) = 100X X 2 and costs are C(X) = 2X, what is the
optimal amount of X?
8. If benefits are expressed B(X) = 85X 3X 2 and costs are C(X) = 2X 2 + 5X, what
is the optimal amount of X?
17
10. Consider the benefit function B(X, Y ) = X 2 Y 5 . Write an expression for marginal
benefit of X. Write an expression for the marginal benefit of Y .
11. Consider the cost function C(X, Y ) = X 1/2 Y 1/2 . Write an expression for marginal
cost of X. Write an expression for the marginal cost of Y .
12. Consider the cost function C(X, Y ) = X 6 Y 5 . Write an expression for marginal cost
of X. Write an expression for the marginal cost of Y .
18