Topic 8 - Maxima Minima
Topic 8 - Maxima Minima
Business Mathematics
Page-199
School of Business
Blank Page
Unit-9
Page-200
Introduction
Optimization is a predominant theme in management and economic
analysis. For this reason, the classical calculus methods of finding free
and constrained extrema and the more recent techniques of mathematical
programming occupy an important place in management and economics.
The most common criterion of choice among alternatives in economics is
the goal of maximizing something (i.e. profit maximizing, utility
maximizing, growth rate maximizing etc.) or of minimizing something
(i.e. cost minimizing). Economically, we may categorize such
maximization and minimization problems under the general heading of
optimization, which means the quest for the best. The present lesson is
devoted to a brief discussion of optimization with single variable
function.
Increasing Function
A function f (x ) is said to be increasing at x a if the immediate
vicinity of the point ( a, f ( a )) the graph of the function rises as it
moves from left to right.
Since the first derivative measures the rate of change and slope of a
function, a positive first derivative at x a indicates the function is
increasing at x=a, i.e. f (a ) 0 means increasing function at x a .
Decreasing Function:
A function f (x) is said to be decreasing at x = a if the immediate vicinity
of the point (a, f (a)) the graph of the function falls as it moves from left
to right. Since the first derivative measures the rate of change and slope
Business Mathematics
Page-201
A function f (x) is
said to be decreasing
at x = a if the
immediate vicinity of
the point (a, f (a)) the
graph of the function
falls as it moves from
left to right.
School of Business
Concave Function:
A function f (x ) is concave at x a if in some small region close to
the point ( a, f ( a )) the graph of the function lies completely below its
tangent line. A negative second derivative at x a denotes the function
is concave at x a . The sign of the first derivative is immaterial for
concavity.
y
0
f (a ) 0; f (a)
OO
a
f (a ) 0;
f (a ) 0
Convex Function:
A function f(a) is
convex at x = a if in
an area very close to
the point (a, f(a)) the
graph of the function
lies completely above
its tangent line.
0
f (a ) 0; f (a)
Unit-9
x O
f (a ) 0;
f (a ) 0
Page-202
Inflection Points:
An inflection point is a point on the graph where the function crosses its
tangent line and changes from concave to convex or vice versa.
Inflection points occur only where the second derivative equals zero or is
undefined. Hence, the sign of the first derivative is immaterial.
y
y
0
f (a ) 0; f (a)
f ( a ) 0;
f ( a ) 0;
An inflection point is
a point on the graph
where the function
crosses its tangent
line and changes
from concave to
convex or vice versa.
f ( a ) 0
f (a ) 0
f (a ) 0;
f (a ) 0
Maxima:
A function f (x) is said to have attained at any of its maximum values at x
= a if the function ceases to increase and begins to decrease at x = a.
In other words, a function f (x ) is said to be maximum at a point
x a if f (a) is greater than any other values of f (x) in the
neighbourhood of x a .
Minima:
A function f (x ) is said to have attained at any of its minimum values at
x a if the function ceases to decrease and begins to increase at x a .
In other words, a function f (x ) is said to be maximum at a point
x a if f (a) is less than any other values of f (x) in the
neighbourhood of x a .
Business Mathematics
Page-203
A function f (x) is
said to have attained
at any of its
maximum values at x
= a if the function
ceases to increase
and begins to
School of Business
A3
A2
y
A1
B3
B1
B2
A function f (x) is
said to reach an
absolute maximum at
x = a if f (a) > f (x)
for any other values
of x in the domain of f
Page-204
Business Mathematics
Page-205
School of Business
Step 2: Again differentiate the given function and put the values of
roots in this second derivative function one by one (i.e. compute
d2y
at these stationary points).
dx 2
Step 3: If the second derivative is positive for a root then the given
function is minimum. On the other hand, if the second
derivative is negative for a root then the given function is
maximum.
Illustrative Examples:
Example-1:
(i) f ( x ) 3 x 2 14 x 5
Let
(ii) f ( x) x 3 7 x 2 6 x 2
(iii) f ( x ) x 4 6 x 3 4 x 2 13
Identify whether the above functions are increasing, decreasing or
stationary at x 4 .
Solution:
(i) Given that, f ( x ) 3 x 2 14 x 5
d ( f ( x))
f ( x) 6 x 14
dx
f (4) 6 4 14 10 0
Thus, the function is increasing.
(ii) Given that, f ( x) x 3 7 x 2 6 x 2
d ( f ( x))
f ( x) 3x 2 14 x 6
dx
f (4) 3(4) 2 14( 4) 6 2 0
d ( f ( x))
f ( x) 4 x 3 18 x 2 8 x
dx
f ( 4) 4( 4) 3 18( 4) 2 8(4) 0
(i) f ( x) 2 x 3 4 x 2 9 x 15
(ii) f ( x) (5 x 2 8) 2
Page-206
d ( f ( x))
f ( x) 6 x 2 8 x 9
dx
d 2 ( f ( x))
f ( x) 12 x 8
dx 2
f (3) 12(3) 8 28 0
Thus, the function is concave.
(ii) Given that, f ( x) (5 x 2 8) 2
d ( f ( x))
f ( x) 2(5 x 2 8)(10 x) 100 x 3 160 x
dx
f ( x) 300 x 2 160
f (3) 300(3) 2 160 2540 0
minimum
values
of
the
function:
Solution:
Let y = x 4 2 x 3 3x 2 4 x 4 .
dy
4x3 6x 2 6x 4
dx
dy
0
Now, if
dx
then, 4 x 3 6 x 2 6 x 4 0
or, 2(x + 2)(2x + 1)(x 2) = 0
or, x = 2, 1/2, 1.
To find the maximum and minimum values we have to test these values
in the second derivative of the function, which is
d2y
12 x 2 12 x 6 .
dx 2
When x = 2,
d2y
12( 2) 2 12( 2) 6 66 , which is positive
2
dx
d2y
1
1
12( ) 2 12( ) 6 9 , which is
2
dx
2
2
negative
Hence the given function attains maximum at x = 1/2
And the maximum value is = x 4 2 x 3 3x 2 4 x 4
Business Mathematics
Page-207
School of Business
1 4
1 3
1 2
1
81
f (1/2) = ( ) 2( ) 3( ) 4( ) 4 =
2
2
2
2
61
When x = 1,
d2y
12(1) 2 12(1) 6 18 , which is positive
2
dx
dy
6 x 3x 2
dx
d2y
6 6x
dx 2
d3y
6
dx 3
For point of inflection, we must have,
Now, if
d2y
dy 3
0 and
0
dx 2
dx 3
d2y
0
dx 2
then, 6 6x = 0
or,
x=1
And when x 1 ,
dy 3
0
dx 3
When x 1 , then y 2 .
Hence (1, 2) is the point of inflection.
Example-5:
A sitar manufacturer notices that he can sells x sitars per week at p Taka
each where 5 x 375 3 p . The cost of production is
1 2
Page-208
375 x 5 x 2
3
1 2
Cost = 500 13 x x
5
1 2
375 x 5 x 2
- 500 13 x x
5
3
375 x 5 x 2
1x 2
500 13 x
3
3
5
Differentiate it with respect to x,
dP 375 10 x
2x
13
dx
3
3
5
dP 375 10 x
2x
13
For maxima and minima,
=0
dx
3
3
5
x 30 .
Again,
P =
d 2P
10 2
56
ve
2
dx
3 5
15
Thus, the profit function is the maximum at x 30 .
Example-6:
A manufacturer sells x units of a product at a dollar price of
p p ( x) 6565 10 x 0.1x 2 per unit. The cost of manufacturing
the product is
C ( x) 0.05 x 3 5 x 2 20 x 250000, 0 x 150 . How many
units should be produced and sold to maximize the resulting profit?
Solution:
Total revenue = (Price per unit)
Page-209
School of Business
dP
0.45 x 2 10 x 6545
dx
Setting this first derivative equals to zero, we solve for critical values of
x and x 110 (Other root is outside of the domain).
Now
d 2P
0.9 x 10
dx 2
( 0.9 )( 110 ) 10 109 0 ; indicating that this
critical value does indeed represent a maximum.
dP
3 0.030 x
dx
dP
0
For maximum or minimum,
dx
3 0.030 x 0
x 100 units
Hence,
d 2P
0.030 0
dx 2
Thus, profit will be maximum when x 100 and the maximum profit
Also
Unit-9
Page-210
Solution:
Profit, P(x) = Total Revenue Total Cost = TR TC
1
P( x) {( 2530 5 x) x} {( x 3 5 x 2 28 x 10) 2 x}
3
1
( 2530 x 5 x 2 ) ( x 3 5 x 2 30 x 10)
3
dP
(2530 10 x ) ( x 2 10 x 30) .
Hence,
dx
dP
0
For maximum or minimum,
dx
( 2530 10 x) ( x 2 10 x 30) 0
x 2 2500 units
x 50 (since production level cannot be negative, so
ignoring ve sign)
Also
d 2P
2 x 0
dx 2
Business Mathematics
Page-211
School of Business
2.
3.
Unit-9
Page-212
Introduction:
Many economic activities involve functions of more than one
independent variable. Let Z f ( x, y ) and P f ( x, y , z ) are
defined as functions of two and three independent variables respectively.
In order to measure the effect of a change in a single independent
variable on the dependent variable in a multivariate function, the partial
derivative is needed. Partial derivative with respect to one of the
independent variables follows the same rules as ordinary differentiation
while the other independent variables are treated as constant. This lesson
extends the ideas of relative maximum and minimum for functions of
one variable to multivariate functions.
2
2
2
B
H
,
,
.
xy
y 2
x 2
Case 1: If AB H 2 is positive. ( a, b) is maximum or minimum if
Again let, A
the
values
of
and
for
which,
Business Mathematics
Page-213
Partial derivative
with respect to one of
the independent
variables follows the
same rules as
ordinary differentiation while the
other independent
variables are treated
School of Business
Given that, Z 4 x 2 2 y 2 10 x 6 y 4 xy
z
8 x 4 y 10 0 .....................(i)
x
z
4 x 4 y 6 0 ...................(ii)
y
4
x
2
y
10
x
6
y
4 xy at the
The value of the function
optimum is,
1
1
1
1
1
Z ( 1, ) 4( 1) 2 2( ) 2 10( 1) 6( ) 4( 1)( ) 6
2
2
2
2
2
Example-2:
Determine the values of x and y for which, Z 4 x 2 4 xy
2 y 2 16 x 12 y is an optimum; specify whether the optimum is a
maximum or minimum. Calculate the value of the function at the
optimum.
Solution:
Given that, Z 4 x 2 4 xy 2 y 2 16 x 12 y
z
8 x 4 y 16 0 .......................(i)
x
z
4 x 4 y 12 0
y
........................(ii)
Solving equations (i) and (ii) simultaneously for x and y gives x = 1 and
y=2
2z
2z
2z
4 , H =
4
Again, A = 2 8 , B =
2
xy
y
x
Unit-9
Page-214
product
is
given
by
f
2 y 9 x 0 ..................(ii)
y
23
3
19
3
2 f
2,
x 2
2 f
2 f
2, H
1
2
xy
y
AB H 2 (2)(2) (1) 2 3 0 .
Since the second derivatives are positive and the product of the second
derivatives is greater than the square of the cross partial derivative, the
19
23
function reaches a relative minimum at x
and y
.
3
3
The total cost will be minimum when 19/3 hundred (633) labor hours and
23
/3 hundred (767) pounds of raw materials are used. The total cost with
this production strategy is:
19 23
19
23
19
23
19 23
f ( , ) ( ) 2 ( ) 2 5( ) 9( ) ( )( ) 90
3 3
3
3
3
3
3
3
= 39.667 thousand or 39,667.
Business Mathematics
Page-215
School of Business
Again
let
2
,
x 2
2
,
y 2
2
, H
xy
zx
2
A
Case 1: ( a, b, c ) is minimum if A,
H
2
,
z 2
2
,
yz
A H G
H
, H B F are all
B
G F C
positive.
A
Case 2: ( a, b, c ) is maximum if A,
H
H
B
A H G
H B F are
G F C
( 2 , 1 , 1)
3
3
Solution:
We are given that, ( x, y, z ) x 2 y 2 z 2 x 2 z xy .
2x 1 y .
x
2y x
2z 2 .
z
0,
0,
0
y
x
z
2 x 1 y = 0 ..............(i)
x
2y x = 0
y
................(ii)
2 z 2 = 0 ..................(iii)
z
Unit-9
Page-216
Solving equations (i), (ii) and (iii) simultaneously, we get x = 2/3, y = 1/3
and z = 1.
Again, A =
0,
G=
Since,
2
2
2
2
=
2,
B
=
=
2,
C
=
=
2,
F
=
=
yz
y 2
x 2
z 2
2
2
= 0, H =
= 1.
xy
zx
A
H
2,
A H G 2 -1 0
H B F -1 2 0 6
G F C 0 0 2
H
2
B -1
-1
3
2
and
( 2 , 1 , 1 ) .
3
3
Example-5:
Optimize the following function:
y 5 x12 10 x1 x1 x3 2 x 22 4 x 2 2 x 2 x3 4 x32
Solution:
We are given that,
2
2
2
(x1, x2, x3) = y 5 x1 10 x1 x1 x3 2 x 2 4 x 2 2 x 2 x3 4 x3
10 x1 10 x3 0 .
x1
4 x 2 2 x3 4 0
x 2
x1 2 x 2 8 x3 0 .
x3
2
A
= 10,
x12
2
B
= 4,
x 22
2
C
x32
= 8,
2
= 2,
x 2 x 3
G
2
2
= 1, H
= 0.
x3 x1
x1 x 2
Business Mathematics
Page-217
School of Business
Since, A = -10,
A H -10 0
40
H B 0 -4
and
A H G -10 0 1
H B F 0 -4 2 762
G F C 1 2 -8
Since the principal minors alternate correctly in sign, hence the given
function is maximized at x1 1.04 , x 2 1.22 and x3 0.43 .
Unit-9
Page-218
Business Mathematics
Page-219
School of Business
Introduction
A decision maker
must consider
different types of
physical and legal
restrictions.
Lagrangian
multipliers provide a
method of
determining the
optimum value of a
differentiable
nonlinear function
subject to linear or
Decision makers do not normally have unlimited resources for their use.
A decision maker must consider different types of physical and legal
restrictions. Solutions to economic problems often have to be found
under constraints, e.g., maximizing utility subject to a budget constraint
or minimizing costs subject to some such minimal requirement of output
as a production quota etc. Classical differential calculus is used to
optimize (maximize or minimize) a function subject to constraint. In this
respect, use of the Lagrangian function greatly facilitates this task.
The Lagrangian multiplier ( ) approximates the marginal impact on the
objective function caused by a small change in the constant of the
constraint. Lagrangian multipliers provide a method of determining the
optimum value of a differentiable nonlinear function subject to linear or
nonlinear constraints. The method of Lagrangian multipliers is useful in
allocating scarce resources between alternative uses. In this lesson, we
shall now consider procedures used for determining relative maxima and
minima for a multivariate function on which certain constraints are
imposed.
Page-220
Solution:
The Lagrangian function is
F ( x, y, ) f ( x, y ) [ K g ( x, y )]
= 4 x 2 2 xy 6 y 2 (72 x y )
The partial derivatives are
F
8x 2 y 0 .
x
F
2 x 12 y 0 .
y
F
72 x y 0 .
F
100 x y 0 .
Business Mathematics
Page-221
School of Business
What output mix should a profit maximizing firm produce when its total
profit function is 80 x 2 x 2 xy 3 y 2 100 y and its maximum
output capacity is x y 12 ? Estimate also the effect on profits if
output capacity is expanded by one unit.
Solution:
The Lagrangian function is
F ( x, y , ) f ( x, y ) [ K g ( x, y )]
= 80 x 2 x 2 xy 3 y 2 100 y (12 x y )
The partial derivatives are
F
80 4 x y 0 .
x
F
x 6 y 100 0 .
y
F
12 x y 0 .
Inequality Constraints:
The method of Lagrangian multipliers can
be modified to
incorp-orate
constraints that take
the form of
inequalities rather
than equalities.
Page-222
(i)
(ii)
y 50 and 250 .
Page-223
School of Business
F
x y 5 0 ..........................(v)
y 2.416 and
3.834 .
.
Thus, the maximum profit will be z = [600 4(2.584) 2 + 20(2.416) + 2
(2.584)(2.416) 6(2.416)2 + 12(2.584)] = 630.083 thousand or $630,083.
Profits, subject to the constraint, are maximized when x = $2.584 million
($2584000), y = $2.416 million ($2416000) are obtained. Since is
positive, a decrease in the constraint constant will increase the value of
the objective function. Therefore, the constraint acts as a lower bound on
the values of the variables.
Unit-9
Page-224
the
maximum
of
the
x
12
.
z 10 xy 5 x 7 y 40 x subject to
2
function
Business Mathematics
Page-225