Professional Documents
Culture Documents
Suppose that an economic agent wants to choose some value y to maximise a function (y).
For example, y might be the quantity of output and (y) the profit of a firm. From Chapters
5 and 6 we know how to solve problems like this, by differentiating.
The agents optimisation problem is:
max (y)
y
(y) is called the agents objective function - the thing he wants to optimise.
To solve the optimisation problem above, we can look for a
value of y that satisfies two conditions:
d
The first-order condition:
=0
dy
d2
and the second-order condition:
<0
dy 2
But remember that if we find a value of y satisfying these conditions it is not necessarily the
optimal choice, because the point may not be the global maximum of the function. Also,
some functions may not have a global maximum, and some may have a maximum point for
which the second derivative is zero, rather than negative. So it is always important to think
about the shape of the objective function.
An optimisation problem may involve minimising rather than maximising for example
choosing output to minimise average cost:
min AC(q)
q
dAC
dq
= 0 and
d2 AC
dq 2
> 0, respectively.
136
2. Profit Maximisation
Suppose a firm has revenue function R(y) and cost function C(y), where y is the the quantity
of output that it produces. Its profit function is:
(y) = R(y) C(y)
The firm wants to choose its output to maximise profit. Its optimisation problem is:
max (y)
y
d2
dy 2
d2
dy 2
(iii) What is the market price, and how much profit does the firm make?
The firm chooses y = 5. From the market demand function the price is P (5) = 20.
The profit is (5) = 25.
2.1. Perfect Competition
A firm operating in a perfectly competitive market is a price-taker. If p is the market price,
its revenue function is R(y) = py and its profit function is:
(y) = py C(y)
Again, the firms optimisation problem is:
max (y)
y
137
p = C 0 (y)
..
...
...
..
.
...
...
...
...
...
...
...
...
.
...
..
.
.
.
.
...
....
...
...
....
...
...
....
...
...
....
.
..
.
...
.
.
..
...
...
....
...
....
...
...
...
..
....
....
..
.
.
.
.
.
....
...
....
...
...
....
...
....
....
...
..
....
..
......
.
.
.
.
.
.
.
....
......
......
...
.......
......
..
.......
.......
..
........
.........
... ...................
............
.
.
.
.
.
....................................
..
....
....
...
.
.
..
....
....
....
....
.
.
...
...
.....
......
.......
.
.
.
.
.
.
.
.........
...........
Remember from Chapter 6 that the MC function passes through the minimum point of the
average cost function.
AC(y)
In the long-run, firms enter a competitive market until (for the marginal firm) profit is zero:
py C(y) = 0
C(y)
= AC(y)
p =
y
Point E is the long-run equilibrium.
p=6
d2
dy 2
= 2.)
138
4
y
dAC
4
= 1 2 =0
dy
y
y = 2 and AC = 5
So the long-run market price is p = 5, and every firm produces 2 units of output.
At this price, market demand is: Q = 112 2p = 102.
Hence there will be 51 firms in the market.
2.2. Comparing Perfect Competition and Monopoly
For all firms the FOC for profit maximisation is marginal revenue = marginal cost:
R0 (y) = C 0 (y)
For a competitive firm:
R(y) = py
R0 (y) = p
Hence, at the optimal choice of output, price equals marginal cost:
p = C 0 (y)
A monopolist faces a downward-sloping inverse demand function p(y) where p0 (y) < 0:
R(y) = p(y)y
R0 (y) = p(y) + p0 (y)y
< p(y)
(Chain Rule)
139
140
In some economic problems an agents payoff (his profit or utility) depends on his own choices
and the choices of other agents. So the agent has to make a strategic decision: his optimal
choice depends on what he expects the other agents to do.
Suppose we have two agents. Agent 1s payoff is 1 (y1 , y2 ) and agent 2s payoff is 2 (y1 , y2 ).
y1 is a choice made by agent 1, and y2 is a choice made by agent 2. Suppose agent 1 expects
agent 2 to choose y2e . Then his optimisation problem is:
max 1 (y1 , y2e )
y1
and
2 1
<0
y12
Note that we use partial derivatives, because agent 1 treats y2e as given - as a constant that
he cannot affect. Similarly agent 2s problem is:
max 2 (y1e , y2 )
y2
We can solve both of these problems and look for a pair of optimal choices y1 and y2 where
the agents expectations are fulfilled: y1 = y1e and y2 = y2e . This will be a Nash equilibrium,
in which both agents make optimal choices given the choice of the other.
3.1. Oligopoly
When there are few firms in a market, the decisions of one firm affect the profits of the others.
We can model firms as choosing quantities or prices.
Examples 3.1: The Cournot Model: Simultaneous Quantity Setting
There are two firms in a market where the demand function is Q = 20 12 P . Each firm has
cost function C(q) = 4q + 5. The firms choose their quantities simultaneously.
(i) If firm 1 chooses quantity q1 , and firm 2 chooses q2 , what is the market price?
The inverse demand function is P = 40 2Q. The total quantity is Q = q1 + q2 .
Hence the market price is:
P = 40 2(q1 + q2 )
(ii) What is firm 1s profit, as a function of q1 and q2 ?
1 (q1 , q2 ) = q1 (40 2(q1 + q2 )) (4q1 + 5)
= 36q1 2q12 2q1 q2 5
(iii) If firm 1 expects firm 2 to choose q2e , what is its optimal choice of output?
Firm 1s optimisation problem is:
max 1 (q1 , q2e )
q1
where
141
2 1
q12
(iv) If firm 2 expects firm 1 to choose q1e , what is its optimal choice of output?
In just the same way:
q2 = 9 12 q1e
(v) How much does each firm produce in equilibrium?
In equilibrium, both firms expectations are fullfilled: q1 = q1e and q2 = q2e . Hence:
q1 = 9 21 q2
and q2 = 9 12 q1
where
142
3.2. Externalities
An externality occurs when the decision of one agent directly affects the profit or utility of
another. It usually causes inefficiency, as the following example illustrates.
Examples 3.3: A mutual positive consumption externality
1
Two neighbours, A and B, each get pleasure u(R) = 24R 2 from the number of roses they can
see. If A has rA roses in her garden, and B has rB roses in his, then the number of roses that
A can see is RA = rA + 12 rB . Similarly B can see RB = rB + 12 rA . The cost of planting one
rose is c = 2. Each chooses the number of roses to plant to maximise their own net utility,
taking the others choice as given. Hence, for example, As optimisation problem is:
max u(RA ) crA
rA
RA = rA + 12 rB
where
e 2
max 24(rA + 12 rB
) 2rA
rA
e 2
12(rA + 12 rB
) =2
Rearranging we obtain:
e
rA = 36 12 rB
This is As reaction function to Bs choice. The second-derivative of the objective funce ) 32 < 0, so the second order-condition is satisfied.
tion is: 6(rA + 21 rB
e , how many roses should he plant?
(ii) If B believes that A will choose rA
In just the same way,
e
rB = 36 12 rA
rA = 36 21 rB
and rB = 36 12 rA
Solving gives: rA = rB = 24
(iv) Suppose the neighbours could make an agreement that each will plant the same number of roses, r. How many should they choose?
If r roses are planted by each, each of them will be able to see
tain net utility:
1
24 32 r 2 2r
Choosing r to maximise this, the first-order condition is:
1
18 32 r 2 = 2
3
2 r,
Solving, we find that each should plant r = 54 roses. This is an efficient outcome,
giving both neighbours higher net utility than when they optimise separately.
143
144
For a function of two variables f (x, y) we can try to find out which pair of values, x and y,
give the largest value for f . If we think of the function as a land surface in 3-dimensions,
with f (x, y) representing the height of the land at map-coordinates (x, y), then a maximum
point is the top of a hill, and a minimum point is the bottom of a valley. As for functions of
one variable, the gradient is zero at maximum and minimum points - whether you move in
the x-direction or the y-direction:
The first order conditions for a maximum or minimum
point of f (x, y) are:
f
f
= 0 and
=0
x
y
The gradient may be zero at other points which are not maxima and minima - for example
you can imagine the three-dimensional equivalent of a point of inflexion, where on the side of
a hill the land momentarily flattens out but then the gradient increases again. There might
also be a saddle point - like the point in the middle of a horses back which if you move in the
direction of the head or tail is a local minimum, but if you move sideways is a maximum point.
Having found a point that satisfies the first-order conditions (a stationary point) we can check
the second-order conditions to see whether it is a maximum, a minimum, or something else.
2
2f
Writing the second-order partial derivatives as fxx = xf2 , fxy = xy
etc:
Second-order conditions:
A stationary point of the function f (x, y) is:
2 >0
a maximum point if fxx < 0, fyy < 0 and fxx fyy fxy
2
a minimum point if fxx > 0, fyy > 0 and fxx fyy fxy > 0
2 <0
a saddle-point if fxx fyy fxy
Why are the second-order conditions so complicated? If you think about a maximum point
you can see that the gradient must be decreasing in the x- and y-directions, so we must have
fxx < 0 and fyy < 0. But this is not enough - it is possible to imagine a stationary point
where if you walked North, South, East or West you would go down-hill, but if you walked
2 > 0 guarantees that the point
North-East you would go uphill. The condition fxx fyy fxy
is a maximum in all directions.
Note that, as for functions of one variable, we find local optima by solving the first- and
second-order conditions. We need to think about the shape of the whole function to decide
whether we have found the global optimum.
4.1. Functions of More Than Two Variables
Similarly, for a function of several variables f (x1 , x2 , . . . , xn ) the first-order conditions for
maxima and minima are that all the first-order partial derivatives are zero: f1 = 0, f2 =
0, . . . , fn = 0. The second-order conditions are beyond the scope of this Workbook.
145
Examples 4.1: Find and classify the stationary points of the following functions:
(i) f (x, y) = x2 + xy 2y 2 3x + 12y + 50
The first-order conditions are:
fx = 2x + y 3 = 0
and fy = x 4y + 12 = 0
fyy = 4 fxy = 1
2
fyy < 0 fxx fyy fxy
=81>0
Hence the function has a maximum point at (0, 3), and the maximum value is f (0, 3) =
68.
(ii) g(x, y) = y 3 12y + x2 ey
The first-order conditions are:
gx = 2xey = 0
and gy = 3y 2 12 + x2 ey = 0
From the first of these, x = 0 (since ey is positive for all values of y).
Putting x = 0 in the second equation, and solving, gives y = 2.
So there are two stationary points, at (0, 2) and (0, 2).
To classify them, find the second-order partial derivatives:
gxx = 2ey
gyy = 6y + x2 ey
gxy = 2xey
2 > 0.
At (0, 2), gxx > 0, gyy > 0 and gxx gyy gxy
This is a minimum point, and g(0, 2) = 16.
2 < 0.
At (0, 2), gxx gyy gxy
This is a saddle point, and g(0, 2) = 16.
Thinking about this function, we can see that there is no global maximum or minimum, because when x = 0, g(x, y) as y and g(x, y) as y .
Exercises 8.3: Finding Maxima and Minima of Functions of Two Variables
(1) Find and classify the stationary point of f (x, y) = x2 + 4y 2 + 11y 7x xy
(2) Show that the function g(x, y) = exy + 3x2 + xy 12x 4y has a minimum point
where y = 0.
(3) Find and classify the stationary points of h(x, y) = 3x2 12y 2(x 2y)3 .
Hint: it is easier to solve this if you dont multiply out the brackets.
Further Reading and Exercises
Jacques 5.4
Anthony & Biggs Chapter 13
146
where
= p1 4q1 + q2 = 0
q1
and
= p2 2q2 + q1 = 0
q1
2
= 2
q22
2
=1
q1 q2
2p1 + p2
7
and q2 =
4p2 + p1
7
These are the firms optimal choices of quantity, as functions of the prices: they are
the firms supply functions for the two products. Note that:
q1
>0
p2
and
q2
>0
p1
The goods are complements in production - when the price of one product goes up,
more is produced of both.
5.2. Satiation
When modelling consumer preferences we usually assume that more is always better the
consumer wants as much as possible of all goods. But in some cases enough is enough the
consumer reaches a satiation point.
Examples 5.2: A restaurant serving pizzas and chocolate cakes offers as much as you can
eat for 10. Your utility function is u(p, c) = 4 ln(p + c) p 13 c2 . If you go there, how
many pizzas and cakes will you consume?
147
(Note that the price does not affect your choice it is a sunk cost).
(ii) The first-order conditions are:
u
p
u
c
=
=
4
1=0
p+c
4
2c = 0
p+c 3
Solving: c = 1 12 and p = 2 12 .
For the second-order conditions:
2u
4
=
<0
p2
(p + c)2
2u
4
=
cp
(p + c)2
2u
4
=
2 <0
c2
(p + c)2 3
2 2
2u 2u
u
4
= 23
>0
2
2
p c
cp
(p + c)2
and
Examples 5.3: A car-manufacturer has cost function C(q) = 24q 2 , and can sell to its
domestic and foreign customers at different prices. It faces demand functions qd = 36p2
d in
4
the domestic market, and qf = 256pf in the foreign market.
(i) Find the price elasticity of demand in the two markets.
dqd
dpd
pd dqd
qd dpd
= 72p3
d
=
pd
72p3
d = 2
36p2
d
So the price elasticity of demand in the domestic market is -2, and similarly the foreign
elasticity is -4.
(ii) Write down the firms profit as a function of the number of cars sold in each market.
21
The inverse demand functions for the two goods are: pd = 6qd
profit is:
(qd , qf ) = pd qd + pf qf C(qd + qf )
1
148
3qd
14
= 12(qd + qf ) 2
and 3qf
= 12(qd + qf ) 2
3qd
14
qf = qd2
= 3qf
qd
= 4(qd + qd2 ) 2
qd = 15,
qf = 225
Checking the second-order conditions is messy, but it can be verified that this is a
maximum.
(iv) Compare the domestic and foreign prices.
Substituting the optimal quantities into the inverse demand functions:
6
4
pd =
and pf =
15
15
So the price is lower in the foreign market, where demand is more elastic.
1
|2 |
1
|1 |
149
Exercises 8.3:
(1) fx = 2x 7 y, fy = 8y + 11 x
One stationary point: x = 3, y = 1.
fxx = 2, fyy = 8,fxy = 1, minimum.
(2) gx = yexy + 6x + y 12, gy = xexy + x 4
When y = 0, gx = 6x12 and gy = 2x4.
So (2, 0) is a stationary point.
gxx = y 2 exy + 6, gyy = x2 exy
gxy = exy + xyexy + 1. At (2,0): gxx = 6,
gyy = 4, gxy = 2 minimum.
max.
2
q1 q2
q2
q = 10 is the optimal choice.
For sketch note that demand slopes down,
u
(2) u
x = 2a 2x + y, y = 2b 2y + x
but MR increases for some q.
2a+4b
x = 4a+2b
3 , y =
3 .
2
2
u
2u
Exercises 8.2:
= 2, y2 = 2 xy
= 1 max.
x2
(1) 1 = p1 q1 3q1
(3) maxq1 ,q2 p1 q1 + p2 q2 C(q1 + q2 )
= (p1 3)(10 2p1 + p2 )
FOCs: p1 + p01 q1 = C 0 (q1 + q2 )
and similarly
and p2 + p02 q2 = C 0 (q1 + q2 )
2 = (p2 3)(10 3p2 + p1 )
e
0
16+p
e
1
2
p1
+ p01 q1 = p
2 + p2 q
2
(2)
p1 = 16 4p1 + p2 p1 =
4
q2 dp2
q1 dp1
19+pe1
p
1
+
=
p
1
+
2
1
(3) p2 = 6
p1 dq1
p2 dq2
Result.
(4) p1 = 5, p2 = 4, q1 = 4, q2 = 3
150
Worksheet 8: Unconstrained
Optimisation Problems with One or
More Variables
(1) In a competitive industry, all firms have cost functions C(q) = 32 + 2q 2
(a) Write down the profit function for an individual firm when the market price is
P , and hence show that the firms supply curve is
P
q=
4
(b) Find the firms average cost function, and determine the price in long-run industry equilibrium.
The market demand function is Q = 3000 75P .
(c) In the short-run there are 200 firms. Find the industry supply function, and
hence the equilibrium price, and the output and profits of each firm.
(d) How many firms will there be in long-run equilibrium?
Suppose that a trade association could limit the number of firms entering the industry.
(e) Find the equilibrium price and quantity, in terms of the number of firms, n.
(f) What upper limit would the trade association set if it wanted to maximise industry revenue?
(2) Find and classify the stationary points of the function: f (x, y) = x3 + y 3 3x 3y
(3) Two competing toothpastes are produced by a monopolist. Brand X costs 9 pence
per tube to produce and sells at PX , with demand (in hundreds/day) given by:
X = 2 (PY PX ) + 4. Brand Y costs 12 pence per tube to produce and sells at PY
pence, with demand given by: Y = 0.25PX 2.5PY + 52. What price should she
charge for each brand if she wishes to maximize joint profits?
(4) A firms production function is given by
1
Q = 2L 2 + 3K 2
where Q, L and K denote the number of units of output, labour and capital. Labour
costs are 2 per unit, capital costs are 1 per unit, and output sells at 8 per unit.
(a) What is the firms profit function?
(b) Find the maximum profit and the values of L and K at which it is achieved.
(5) Suppose there are two firms, firm 1 which sells product X, and firm 2 which sells
product Y. The markets for X and Y are related, and the inverse demand curves for
X and Y are
pX
pY
= 15 2x y, and
= 20 x 2y
respectively. Firm 1 has total costs of 3x and firm 2 has total costs of 2y.
(a) Are X and Y substitutes or complements?
(b) If the two firms are in Cournot competition (i.e. each maximizes its own profits
assuming the output of the other is fixed), how much should each produce?
151
(6) Two workers work together as a team. If worker i puts in effort ei , their total output
is y = A ln(1 + e1 + e2 ). Their pay depends on their output: if they produce y, each
receives w = w0 + ky. A, w0 and k are positive constants. Each of them chooses his
own effort level to maximise his own utility, which is given by:
ui = w ei
(a) Write worker 1s utility as a function of his own and worker 2s effort.
(b) If worker 1 expects worker 2 to exert effort e2 , what is his optimal choice of
effort?
(c) How much effort does each exert in a symmetric equilibrium?
(d) How could the two workers obtain higher utility?
(7) Two firms sell an identical good. For both firms the unit cost of supplying that good
is c. Suppose that the quantity demanded of the good, q, is dependent on its price,
p, according to the formula q = 100 20p.
(a) Assuming firm 2 is supplying q2 units of the good to the market, how many
units of the good should firm 1 supply to maximize its profits? Express your
answer in terms of c and q2 .
(b) Find, in terms of c, the quantity that each firm will supply so that it is maximizing its profit given the quantity supplied by the other firm; in other words,
find the Cournot equilibrium supplies of the two firms. What will be the market
price of the good?
(c) Suppose that these two firms are in fact retailers who purchase their product
from a manufacturer at the price c. This manufacturer faces the cost function
1
C (q) = 20 + q + q 2 ,
40
where q is the output level. Assuming that the manufacturer knows that the
retail market for his good has a Cournot equilibrium outcome, at what price
should he supply the good in order to maximize his profits?