Professional Documents
Culture Documents
06 - MoreDifferentiation
06 - MoreDifferentiation
1. Graph Sketching
The first step towards understanding an economic model is often to draw pictures: graphs
of supply and demand functions, utility functions, production functions, cost functions, and
so on. In previous chapters we have used a variety of methods, including differentiation, to
work out the shape of a function. Here it is useful to summarise them, so that you can use
them in the economic applications in this chapter.
1.1. Guidelines for Sketching the Graph of a Function y(x)
Look at the function y(x) itself:
to find where it crosses the x- and y-axes (if at all), and whether it is positive
or negative elsewhere;
to see what happens to y when x goes towards ;
to see whether there are any values of x for which y goes to .
Look at the first derivative y 0 (x) to find the gradient:
It may be positive for all values of x, so the function is increasing;
or negative for all values of x, so the function is decreasing.
Otherwise, find the stationary points where y 0 (x) = 0, and check whether the
graph slopes up or down elsewhere.
Look at the second derivative y 00 (x) to see which way the function curves:
Use it to check the types of the stationary points.
It may be positive for all values of x, so the function is convex;
or negative for all values of x, so the function is concave.
Otherwise, it tells you whether the gradient is increasing or decreasing in different parts of the graph.
Depending on the function, you may not need to do all of these things. Sometimes some
of them are too difficult for example, you may try to find where the function crosses the
97
98
x-axis, but end up with an equation that you cant solve. But if you miss out some steps, the
others may still give you enough information to sketch the function. The following example
illustrates the procedure.
Examples 1.1: Sketch the graph of the function y(x) = 2x3 3x2 12x
(i) y(0) = 0, so it crosses the y-axis at y = 0
(ii) To find where it crosses the x-axis, we need to solve the equation y(x) = 0:
2x3 3x2 12x = 0
x(2x2 3x 12) = 0
One solution of this equation is x = 0. To find the other solutions we need to solve
the equation 2x2 3x 12 = 0. There are no obvious factors, so we use the quadratic
formula:
2x2 3x 12 = 0
3 105
x =
4
x 3.31 or x 1.81
So the function crosses the x-axis at 1.81, 0, and 3.31.
(iii) What happens to y(x) = 2x3 3x2 12x as x becomes infinite?
For a polynomial, it is the term with the highest power of x that determines what
happens when x becomes infinite it dominates all the other terms. In this case:
2x3 as x ,
so
y(x) as x
2x as x ,
so
y(x) as x
(iv) Are there any finite values of x that make y(x) infinite?
No; we can evaluate y(x) for all finite values of x.
(v) The first derivative of the function is:
y 0 (x) = 6x2 6x 12
Stationary points occur where y 0 (x) = 0:
6x2 6x 12
x2 x 2
(x + 1)(x 2)
x
=
=
=
=
0
0
0
1 or x = 2
99
y(x)
y(x)
20
20
...
......... ............
.
....
20
..
..
..
..
...
.
..
..
..
..
...
.
..
..
..
..
...
.
..
..
..
..
.
.
.
..........................
..
.....
....
..
....
....
..
....
..
...
....
..
..
.
.
...
..
...
...
..
...
..
...
..
...
...
..
...
....
...
...
..
..
...
..
...
...
...
...
...
..
.
.
....
...
...
..
...
...
...
...
...
...
...
...
..
....
.
...
..
...
...
...
...
...
....
...
...
....
.
.
....
.
....
..
....
..
...
.....
...
........ ..........
.............
...
.
......
.......................
x
4
20
8
C(y)
= 2y + 3 +
y
y
(iv) Show that the marginal cost curve passes through the point of minimum average cost.
The derivative of the average cost function is:
dAC
8
=2 2
dy
y
The average cost function has stationary point(s) where its derivative is zero:
8
2 2 = 0 y = 2 (ignoring negative values of y)
y
100
So the marginal cost curve passes through the point of minimum average cost.
(v) Sketch the marginal and average cost functions.
We will sketch the functions for positive values of y only, since negative values are of no
economic interest. Sketching M C(y) is easy: it is a straight line, of gradient 4, crossing
the vertical axis at 3, and (from above) passing throught the point (2,11).
For the average cost function:
C(y)
8
AC(y) =
= 2y + 3 +
y
y
we already know that it has one stationary point, which is a minimum. Also, we have
found the second derivative, and it is positive for all positive values of y, so the gradient
is always increasing.
We can see by looking at AC(y) that as y 0, AC(y) , and that as y ,
AC(y) . The function does not cross either of the axes.
Cost .
..
..
..
......
..
......
..
......
..
......
.
.
..
.
.
.
.
..
......
..
......
..
......
..
......
..
......
..
.
.
.
.
.
.
..
......
..
..
......
..
......
..
......
..
......
.
.
.
.
...
.
.
......
...
......
...
...
......
...........
...
......
..........
......
.
...
.
...........
.
.
.
...........
....
.
.
...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
...
......
...........
...
............
......
............
......
...
............
......
...
.............
.
......
.
.
.
.
.
.
.
.
.
.
.
.
.
...
.
.
.
.
...
...
......
..............
....
......
..............
....
..............
......
................
....
......
.................
.
......
.
......
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.........
.....
............................................................................
.
.....
......
......
.
.
.
.
.
.
......
......
......
......
......
.
.
.
.
.
.
......
......
......
......
......
.
.
.
.
.
.
......
M C(y)
20
AC(y)
10
y
2
101
2. Introduction to Optimisation
102
dy
dy
dy
So the optimal level of output is where:
dR
dC
=
dy
dy
Marginal Revenue = Marginal Cost
The optimal level of output for a profit-maximising firm is
d
where
= 0, or (equivalently) where M R = M C
dy
If you want to find the profit-maximising output you can either look for a stationary point
of the profit function, or solve the equation M R = M C.
Exercises 6.2: Introduction to Optimisation
(1) A competitive firm has cost function C(q) = 3q 2 + 1. The market price is p =
24. Write down the firms profit as a function of output, (q). Find the profitmaximising level of output. How much profit does the firm make if it produces
the optimal amount of output?
(2) A monopolist faces demand curve Qd (P ) = 10 0.5P . Find the inverse demand
function P d (Q), and hence the revenue function R(Q), and marginal revenue.
Suppose the monopoly wants to maximise its revenue. What level of output should
it choose?
(3) A competitive firm produces output using labour as its only input. It has no fixed
costs. The production function is y = 6L0.5 ; the market price is p = 4, and the
wage (the cost of labour per unit) is w = 2. Write down the firms profit, as a
function of the number of units of labour it employs, (L). How many units of
labour should the firm employ if it wants to maximise its profit?
Further Reading and Exercises
Jacques 4.6.
Anthony & Biggs 8.1, 8.2.
103
f (x) = 2x 2 (x3 2)
3
= 9x 2 6x 2
3.2. Quotient Rule
So far we have no method for differentiating a function such as:
3x 2
y(x) =
2x + 1
but there is a rule for differentiating the quotient of two functions:
The Quotient Rule: If y(x) =
y 0 (x) =
u(x)
then
v(x)
or equivalently:
v du u dv
dy
= dx 2 dx
v
dx
104
x2
where
u = 2x3 1
dx
du dx
Applying this to the example above:
dy
= 28u6 6x2
dx
= 28(2x3 1)6 6x2
= 168x2 (2x3 1)6
The Chain Rule is the rule for differentiating a composite function (see Chapter 4). Another
way of writing it is:
Alternative Form of the Chain Rule
If y(x) = v(u(x))
y 0 (x) = v 0 (u(x))u0 (x)
105
Examples 3.3: Differentiate the following functions using the Chain Rule:
(i) y(x) = (1 8x)5
y = u5
where u = 1 8x
dy
= 5u4 (8) = 5(1 8x)4 (8) = 40(1 8x)4
dx
p
(ii) f (x) = (2x 3)
1
First write this as: f (x) = (2x 3) 2 . Then:
1
= u 2 where u = 2x 3
1 1
f 0 (x) =
u 2 2
2
1
1
=
(2x 3) 2 2
2
1
=
2x 3
f
(iii) g(x) =
1
1 + x2
g =
1
u
u = 1 + x2
where
1
2x
u2
2x
=
(1 + x2 )2
g 0 (x) =
(Note that we could have done this example using the quotient rule.)
3.4. Differentiating the Inverse Function
Remember from Chapter 5 that the derivative of a function is
approximately equal to the ratio of the change in y to the change
in x as you move along the function:
dy
y
dx
x
...
...
...
..
.
...
...
...
...
.
.
.
....
....
....
....
.
.
.
...
...
....
....
......
.
.
.
.
.
.
.......
.......
........
.........
...........
.
.
.
.
.
.
.
.
.
.
.
.
.
.....
y = f (x)
and
dx
x
x = f 1 (y)
dx
x
dy
y
and
1
the gradient of the function f
1
dy
dx
106
x+1
2x3 + 1
(3) Use the chain rule to differentiate: (a) a(x) = 2(2x 7)9
(4) For a firm facing inverse demand function P (y) =
(b) b(y) =
y2 + 5
1
, find the revenue function
2y + 3
x1
0
f (x) =
=
x+
(x + )2
(x + )+1
Exercises 6.4:
x
1x
ta
where a and b are parameters.
(2t + 1)b
for what values of q is f (q) increasing?
(4) (Harder ) Using the chain rule and the product rule, derive the quotient rule.
Further Reading and Exercises
Jacques 4.4.
Anthony & Biggs 6.2, 6.4 and 6.5.
107
4. Economic Applications
qC 0 (q) C(q) = 0
C(q)
C 0 (q) =
q
M C = AC
We have proved that for any cost function, M C = AC when AC is minimised: the marginal
cost function passes through the minimum point of the average cost function.
4.2. The Marginal Revenue Product of Labour
If a firm uses labour to produces its output y, with production function f (L), revenue is a
function of output, and output is a function of labour:
Revenue = R(y)
where
y = f (L)
The marginal revenue product of labour is the additional revenue generated by employing one
more unit of labour:
dR
M RP L =
dL
Using the chain rule:
dR
dR
dy
=
dL
dy
dL
= MR MPL
The marginal revenue product of labour is the marginal revenue multiplied by the marginal
product of labour.
Exercises 6.5:
(1) A firm has cost function C(q) = (q + 2) where is a parameter greater than one.
Find the level of output at which average cost is minimised.
1
108
dp
p
But the gradient depends on the units in which price and quantity are measured. So, for
example, the demand for cars in the UK would appear by this measure to be more responsive
to price than in the US, simply because of the difference in currencies.
A better measure, which avoids the problem of units, is the elasticity, which measures the
proportional change in quantity in response to a small proportional change in price. The
price elasticity of demand is the answer to the question By want percentage would demand
change, if the price rose by one percent?
Price elasticity of demand, =
p dq
q dp
=
=
q dp
q p
p/p
proportional change in p
Examples 5.1: For the demand function q(p) = 10 2p:
(i) Find the price elasticity of demand.
dq
= 2
dp
p
=
(2)
q
Substituting for q we obtain the elasticity as a function of price only:
2p
=
10 2p
(ii) Evaluate the elasticity when the price is 1, and when the price is 4.
Substituting into the expression for the elasticity in (i):
1
when p = 1, =
and when p = 4, = 4
4
In this example, demand is inelastic (unresponsive to price changes) when the price is low,
but elastic when price is high.
We say that demand is:
inelastic if || < 1
unit-elastic if || = 1
elastic if || > 1
109
Warning: The price elasticity of demand is negative, but economists are often careless about
the minus sign, saying, for example The elasticity is greater than one when we mean that
the absolute value of the elasticity, ||, is greater than one. Also, some books define the
dq
elasticity as pq dp
, which is positive.
5.2. Manipulating Elasticities
In the example above we started from the demand function q(p) = 10 2p, and obtained the
elasticity as a function of price. But if we can find the inverse demand function, we could
express the elasticity as a function of quantity instead:
q = 10 2p
p=5
q
2
Then:
p
(2)
q
q 10
q
=
=
(as before)
We can also find the price elasticity of demand if we happen to know the inverse demand
function p(q), rather than the demand function. We can differentiate to find its gradient dp
dq .
Then the gradient of the demand function is:
dq
1
= dp
dp
dq
(from section 3.4) and we can use this to evaluate the elasticity.
Examples 5.2: If the inverse demand function is p = q 2 20q + 100 (for 0 q 10), find
the elasticity of demand when q = 6.
Differentiatiating the inverse demand function and using the result above:
dq
1
dp
= 2q 20
=
dq
dp
2q 20
1
p
=
q 2q 20
Here, it is natural to express the elasticity as a function of quantity:
=
q 2 20q + 100
q(2q 20)
Evaluating it when q = 6:
=
1
16
=
6 (12 20)
3
110
1
= p 1+
1
= p 1
||
From this expression we can see that revenue is increasing with quantity if and only if || > 1:
that is, if and only if demand is elastic.
5.4. Other Elasticities
We can define other elasticities in just the same way as the price elasticity of demand. For
example:
p dq s
If q s (p) is a supply function, the elasticity of supply is s
q dp
L dY
If Y (L) is a production function,
is the elasticity of output with respect to
Y dL
labour.
111
If y = ex then
dy
= aeax
dx
dy
= 2 3e3x = 6e3x
dx
4 +2x
k 0 (x) = 5ex
4 +2x
(4x3 + 2)
= 5(4x3 + 2)ex
4 +2x
x = ey
dx
= ey = x
dy
1
1
dy
= dx =
dx
x
dy
1
dy
=
dx
x
x n
.
n
112
1
1
5=
5x
x
q2
1
3(2q 5)
(2q 5) = 2
5q
q 5q
113
The best time to cut down the forest and sell the timber is when the present value is maximised. Differentiating (using the product rule):
dV
= F 0 (t)ert rF (t)ert
dt
= (F 0 (t) rF (t))ert
dV
= 0:
The optimum moment is when
dt
F 0 (t)
F 0 (t) = rF (t)
=r
F (t)
This means that the optimum time to sell is when the proportional growth rate of the forest
is equal to the interest rate. (You can verify, by differentiating again, that this is a maximum
point.)
To see why, call the optimum moment t . After t , the value of the forest is growing more
slowly than the interest rate, so it would be better to sell it and put the money in the bank.
Before t , the forest grows fast: it offers a better rate of return than the bank.
Exercises 6.8:
(1) A painting is bought as an investment for 3000. The artist is increasing in
popularity, so the market price is rising by 300 each year: P (t) = 3000 + 300t.
If the interest rate is 4%, when should the painting be sold?
(2) The output Y of a country is growing at a proportional rate g and the population
N is growing at a proportional rate n:
Y (t) = Y0 egt
Y (t)
. Using the quotient rule, show that the proporN (t)
tional rate of growth of output per person is g n.
Output per person is y(t) =
114
Exercises 6.3:
(1) (a) y 0 (x) = 3x2 +4x 1
(b) f 0 (z) = 1 32 z
3 6x2
(2) k 0 (x) = 14x
(2x3 +1)2
(3) (a) a0 (x) = 36(2x 7)8
(b) b0 (y) = y
y 2 +5
(4)
y
R(y) = 2y+3
3
M R = (2y+3)
2
Exercises 6.4:
(1) y 0 (x) = 1
Exercises 6.6:
5P
(1) = 1005P
;
(2) 3
3p
(3) 2(3p+4)
= 14
(4) = p1 pq
= p 1q =
Exercises 6.7:
1
2x 2 (1x) 2
ta1 (a+2at2bt)
(2t+1)b+1
dx
1 + u d {v 1 }
= du
dx v
dx
du 1
dv
= dx v uv 2 dx
dv
= v 2 v du
dx u dx
Exercises 6.2:
dv
v du
u dx
dx
=
2
2
v
(1) (q) = 24q 3q 1.
Profit is maximised when
Exercises 6.5:
q = 4. (4) = 47.
2
(2) P d (Q) = 20 2Q
(1) q = 1
54Q
R(Q) = (20 2Q)Q
(2) (a) R(Q) = Q+9
M R = 20 4Q
(b) (i) Q = 9
Revenue is maximised
(ii) M P L = 19
when Q = 5.
(iii) P = 3
(3) (L) = 24L0.5 2L.
(iv) M R = 32
Profit is maximised when
(v) M RP L =
L = 36.
1
6
Exercises 6.8:
(1) The present value is
(3000 + 300t)e0.04t .
This is maximised when
t = 15.
0
(t)N 0 (t)
(2) y 0 (t) = N (t)Y (t)Y
N2
But:
Y 0 = gY and N 0 = nN
so:
Y
y 0 = gN YNnN
2
Y
= (g n) N
= (g n)y
115
Quick Questions
(1) Find the derivatives of the following functions:
y2 + 1
(c) h(z) = (6z + 1)5
(a) f (x) = (2x + 1)(x + 3) (b) g(y) =
2y
x+1
(2) For what values of the parameter a is y(x) =
an increasing function of x?
x+a
(3) Differentiate: (a) e3x
(b) ln(3x2 + 1)
(c) ex
p
(d) e2x (x + x1 )
(5) Does the production function F (L) = ln(2L + 5) have increasing or decreasing returns to labour?
(6) Consider the function:
y (x) = 2x2 2x 1 e2x
(a) Find and classify the stationary points.
(b) For what values of x is y positive?
(c) Sketch the graph of the function.
(7) Find the elasticity of demand when the demand function is q(p) = 120 5p. For
what values of p is demand inelastic?
(8) Suppose that a monopoly has cost function C (q) = q 2 , and a demand function
q (p) = 10 p2 . Find (i) the inverse demand curve; (ii) the profit function; and (iii)
the profit-maximizing level of output, and corresponding price.
(9) The supply and demand functions in a market are
q s (p) = 16(p t)
q d (p) = 24 8p
where t is a per unit sales tax. Find the equilibrium price and quantity in the market, and the total tax revenue for the government, in terms of the tax, t. What value
of t should the government choose if it wants to maximise tax revenue? How much
tax will then be raised?
Longer Questions
(1) Suppose that a monopolist faces the demand function:
q D (p) =
p2
a
+1
116
C (y)
y
2y 3
+ y + 36:
3
(i) Find the fixed cost, the average cost function, and the marginal cost
function.
(ii) At what level of output is average cost minimised? What is the average
cost at this point?
(iii) Sketch carefully the average and marginal cost functions.
(a) If C(y) =
W (t) = A exp(t 2 )
and that the interest rate, r, will be stable.
(a) Differentiate W , and hence show that the proportional growth rate of the potential revenue is
1
1 dW
=
W dt
2 t
(b) Explain why the present value of the revenue received if the wine is sold in t
years is given by:
1
V (t) = A exp t 2 rt
(c) Differentiate V , and hence determine the optimum time to sell the wine.
(d) Explain intuitively why the wine should be kept longer if the interest rate is
low.
(e) If the interest rate is 10%, should the Governing Body support the Bursar or
the economist?