Unconstrained Optimization
Unconstrained Optimization
Unconstrained Optimization
Learning objectives
After completing this chapter students should be able to:
• Find the maximum or minimum point of a single variable function by differenti-
ation and checking first-order and second-order conditions.
• Use calculus to help find a firm’s profit-maximizing output.
• Find the optimum order size for a firm wishing to minimize the cost of holding
inventories and purchasing costs.
• Deduce the comparative static effects of different forms of taxes on the output of
a profit-maximizing firm.
TR = 60q − 0.2q 2
This will take an inverted U-shape similar to that shown in Figure 9.1. If we ask the question
‘when is TR at its maximum?’ the answer is obviously at M, which is the highest point on
the curve. At this maximum position the TR schedule is flat. To the left of M, TR is rising
and has a positive slope, and to the right of M, the TR schedule is falling and has a negative
slope. At M itself the slope is zero.
We can therefore say that for a function of this shape the maximum point will be where its
slope is zero. This zero slope requirement is a necessary first-order condition for a maximum.
Zero slope will not guarantee that a function is at a maximum, as explained in the next
section where the necessary additional second-order conditions are explained. However, in
this particular example we know for certain that zero slope corresponds to the maximum
value of the function.
In Chapter 8, we learned that the slope of a function can be obtained by differentiation.
So, for the function
TR = 60q − 0.2q 2
dTR
slope = = 60 − 0.4q
dq
TR
0 q
Figure 9.1
60 − 0.4q = 0
60 = 0.4q
150 = q
S
T
0 x
(b) y
0 x
Figure 9.2
to negative (or vice versa) at these points, and will be maximum (or minimum) points of the
function.
In order to find out whether a function is at a maximum or a minimum or a point of inflexion
(as in Figure 9.2(b) ) when its slope is zero we have to consider what are known as the second-
order conditions. (The first-order condition for any of the three forms of stationary point is
that the slope of the function is zero.)
The second-order conditions tell us what is happening to the rate of change of the slope of
the function. If the rate of change of the slope is negative it means that the slope decreases as
the variable on the horizontal axis is increased. If the slope is decreasing and one is at a point
where the actual slope is zero this means that the slope of the function is positive slightly
to the left and negative slightly to the right of this point. This is the case in Figure 9.1. The
slope is positive at Y, zero at M and negative at Z. Thus, if the rate of change of the slope of
a function is negative at the point where the actual slope is zero then that point is a maximum.
This is the second-order condition for a maximum. Until now, we have just assumed that
a function is maximized when its slope is zero if a sketch graph suggests that it takes an
inverted U-shape. From now on we shall make this more rigorous check of the second-order
conditions to confirm whether a function is maximized at any stationary point.
It is a straightforward exercise to find the rate of change of the slope of a function. We
know that the slope of a function y = f(x) can be found by differentiation. Therefore if we
differentiate the function for the slope of the original function, i.e. dy/dx, we get the rate of
change of the slope. This is known as the second-order derivative and is written d2 y/dx 2 .
Show that the function y = 60x − 0.2x 2 satisfies the second-order condition for a maximum
when x = 150.
Solution
The slope of this function will be zero at a stationary point. Therefore
dy
= 60 − 0.4x = 0 (1)
dx
x = 150
Therefore the first-order condition for a maximum is met when x is 150.
To get the rate of change of the slope we differentiate (1) with respect to x again, giving
d2 y
= −0.4
dx 2
This second-order derivative will always be negative, whatever the value of x. Therefore, the
second-order condition for a maximum is met and so y must be a maximum when x is 150.
In the example above, the second-order derivative did not depend on the value of x at the
function’s stationary point, but for other functions the value of the second-order derivative
may depend on the value of the independent variable.
Example 9.2
Solution
TR = pq = (194.4 − 0.2q 2 )q = 194.4q − 0.2q 3
For a stationary point on this cubic function the slope must be zero and so
dTR
= 194.4 − 0.6q 2 = 0
dq
194.4 = 0.6q 2
324 = q 2
18 = q
When q is 18 then the second-order derivative is
d2 TR
= −1.2q = −1.2(18) = −21.6 < 0
dq 2
Example 9.3
Find the minimum point of the average cost function AC = 25q −1 + 0.1q 2
Solution
The slope of the AC function will be zero when
dAC
= −25q −2 + 0.2q = 0 (1)
dq
0.2q = 25q −2
q 3 = 125
q=5
The rate of change of the slope at this point is found by differentiating (1), giving the
second-order derivative
d2 AC
2
= 50q −3 + 0.2
dq
50
= + 0.2 when q = 5
125
= 0.4 + 0.2 = 0.6 > 0
AC = 25q −1 + 0.1q 2 = 25
5 + 0.1 × 25 = 5 + 2.5 = 7.5
–x x
–y
Figure 9.3
a constant and so the second-order derivative, which represents the rate of change of the
slope, will always be zero.
Example 9.4
Solution
The profit function will be
π = TR − TC
= 240 + 14q − 18q
= 240 − 4q
Its rate of change with respect to q will be
dπ
= −4 (1)
dq
There is obviously no output level at which the first-order condition that dπ/dq = 0 can
be met and so no stationary point exists. Therefore the profit-maximizing output cannot be
determined.
End-point solutions
There are some possible exceptions to these first- and second-order conditions for maximum
and minimum values of functions. If the domain of a function is restricted, then a maximum or
TC = 45 + 18q − 5q 2 + q 3
TC = 23 q 3 − 14q 2 + 222q + 50
Derive expressions for the following functions and find out whether they have
maximum or minimum points. If they do, say what value of q this occurs at and
calculate the actual value of the function at this output.
(a) Marginal cost
(b) Average variable cost
(c) Average fixed cost
(d) Total revenue
(e) Marginal revenue
(f) Profit
2. Construct your own example of a function that has a turning point. Check the
second-order conditions to confirm whether this turning point is a maximum or a
minimum.
3. A firm attempting to expand output in the short-run faces the total product of
labour schedule TP L = 24L2 − L3 . At what levels of L will (a) TPL , (b) MP L ,
and (c) APL be at their maximum levels?
© 1993, 2003 Mike Rosser
4. Using your knowledge of economics to apply appropriate restrictions on their
domain, say whether or not the following functions have maximum or minimum
points.
(a) TC = 12 + 62q − 10q 2 + 1.2q 3
(b) TC = 6 + 2.5q
(c) p = 285 − 0.4q
Example 9.5
Find the profit-maximizing output for a firm with the total cost function
TC = 4 + 97q − 8.5q 2 + 1/3q 3
and the total revenue function
TR = 58q − 0.5q 2 .
Y MC
D
X
MR
0 q
Figure 9.4
© 1993, 2003 Mike Rosser
Solution
First let us derive the MC and MR functions and see where they intersect.
dTC
MC = = 97 − 17q + q 2 (1)
dq
dTR
MR = = 58 − q (2)
dq
Therefore, when MC = MR
97 − 17q + q 2 = 58 − q
39 − 16q + q 2 = 0 (3)
(3 − q)(13 − q) = 0
Thus q = 3 or q = 13
These are the two outputs at which the MC and MR schedules intersect, but which one
satisfies the second rule for profit maximization? To answer this question, the problem can
be reformulated by deriving a function for profit and then trying to find its maximum. Thus,
profit will be
Equation (5) is the same as (3) above and therefore has the same two solutions, i.e. q = 3 or
q = 13. However, using this method we can also explore the second-order conditions. From
(4) we can derive the second-order derivative
d2 π
= 16 − 2q
dq 2
When q = 3 then d 2 π/dq 2 = 16 − 6 = 10 and so π is a minimum.
When q = 13 then d 2 π/dq 2 = 16 − 26 = −10 and so π is a maximum.
Thus only one of the intersection points of MR and MC satisfies the second-order conditions
for a maximum and corresponds to the profit-maximizing output. This will be where MC
cuts MR from below. We can prove that this must be so as follows:
By differentiating (1) we get
dMC
slope of MC = = −17 + 2q
dq