Thursday 8 November 2012

Maxima and Minima


Maxima and minima is a very important chapter as far as CAT, XAT, SNAP etc exams are concerned.  Before you read this lesson.

1. Find the minimum value of x24x+5.
We know that graph of this equation is concave up.  As you can see from the graph that it won't touch the x-axis so it does not have any real root. But we can find, where this graph attains its minima we can't find maxima.


Differentiating the given function we get 2x - 4.
We equate this expression to zero to find where minima exists.
2x - 4 = 0 and x = 2.
Substituting in the given expression we get 224.2+5 = 1.

2. Find the maxima value of 22xx2.
x2 coefficient is negative.  As this graph is concave down, it has maxima. We can't find the minimum


Differentiating the given expression we get, - 2 - 2x.  
Equating to zero, we get x = -1
So at x  = -1 it attains maxima which is equal to 2 - 2 (-1)-(1)2 = 3

3. y = max (2-2x, x - 3) then find the minimum value of this function.
The given function is a combination of two linear equations. 2 - 2x is a downward sloping line, and x - 3 is a upward sloping line. As y is defined as max of these two equations, y can be represented as the graph noted with red line. That is upto some point in between 1 and 2, it decreases, and starts increasing after that point.  so this graph attains minimum where these two lines intersect.


Equating, 2 - 2x = x - 3 
We get x = 5/ 3
So minimum value can be obtained by substituting x value in any of these linear equations. 2 - 2(5/3) = -4/3.

Three very important Rules:

Rule 1: For positive variables, if the sum of the variables is a constant, the product of the variables will be maximum when all the variables are equal. 

Eg: If a + b + c = 21, find the maximum value of abc.
Here sum of the variable is constant.  So product will be maximum, when all the three variables are equal 
i.e., 3a = 21, a = 7.  So product = 7 x 7 x 7 = 343

Rule 2: For positive variables, if the product of the variables is a constant, the sum of the variables will be minimum when all the variables are equal

Eg: Find the minimum value of ab+bc+ca
Here the product of the variables = ab×bc×ca = 1
So given sum is minimum when all are equal ab=1,bc=1,ca=1
So sum = 1 + 1 + 1 = 3.
ab+bc+ca3

Rule 3: For positive variables, Arithmetic Mean (AM), is always greater than Geometric Mean (GM) i.e., A.MG.M

Eg: If xy = 16, then find the minimum value of x + y. 
AM of x, y = x+y2
GM of x, y = (x.y)
from AM GM rule x+y2(x.y)
Substituting xy = 16, we get x+y24
Or x+y8

Other Examples:

4. Find the greatest value of a2.b3.c4 subject to the condition a+b+c=18
Sol:  Though sum of the variables are constant in this question, directly we cannot apply the rules learned above.  We have to modify the given expression to suit the above rules
Let Z = a2.b3.c4
Z = 22.33.44.(a2)2.(b3)3.(c4)4
[ any question of this type, we modify ap as (ap)p so on and multiply with suitable powers to make it equal to original equation]
Z will have the maximum when (a2)2.(b3)3.(c4)4 is maximum.

But (a2)2.(b3)3.(c4)4 is a product of 2+3+4=9 factors whose sum = 2(a2)+3(b3)+4(c4) = a+ b + c = 18
(a2)2.(b3)3.(c4)4 will be maximum if all the factors are equal. i.e., if a2=b3= c4=a+b+c9=189=2
So maximum value of Z = 22.33.44.(2)2.(2)3.(2)4=219.33

Alternate method:

The greatest value of am.bn.cp, when m, n, p being +ve integers, a+b+c is constant is given by
mm.nn.pp......(a+b+c+...m+n+p+...)m+n+p+..

By applying above concept: 22.33.44.(189)9=219.33

5. If 2x+3y=7; find the greatest value of x3.y4
Solution: Let Z = x3.y4
[ we change the original function by taking (2x3)3 instead x3 and (3y4)4 instead of y4]
 So Z = x3.y4 = (32)3(43)4(2x3)3(3y4)4

But (2x3)3(3y4)4 is a product of 3 + 4 = 7 factors, whose sum = 3(2x3)+4(3y4) = 2x + 3y = 7

Therefore; (2x3)3(3y4)4 will be maximum if all the factors are equal
i.e., 2x3= 3y4= 2x+3y3+4= 77=1
So maximum value of Z = (32)3(43)4(1)3(1)4 = 278× 25681= 323

Alternate method:

We partial differentiate the given function w.r.t x and then with y and find the ratio.  Also we partial differentiate 2x+3y = 7 w.r.t x and then with y and find the ratio. Now we equate these two ratio's and find y value interms of x.
3x2y44y3x3=23
3y4x=23yx=89
y= 89x
Substituting in 2x + 3y = 7 we get x = 32
Now we find value of y as 43
So maximum value of x3.y4 = (32)3.(43)4= 323

6. If x, y , z are positive reals such that x3y2z4=7 then find the minimum value of 2x+5y+3z
We modify the product to apply AM GM rule.
Consider the product (2x3)3(5y2)2(3z4)4
Above is the product of nine quantities.
Apply AM  GM
(3.2x3+2.5y2+4.3z4)3+2+4{(2x3)3.(5y2)2.(3z4)4}
(3.2x3+2.5y2+4.3z4)3+2+4{(23)3.(52)2.(34)4.x3y2z4}1/9
2x+5y+3z9{827.254.81256.7}1/9
2x+5y+3z9{52527}1/9

7. Find the maximum value of (7x)4(2+x)5 when x lies between - 2, 7.
To apply any of the above said rules, we first consider that the given terms are positive or not.  7-x, 2+x both are positive between -2, 7
We have to find max. value of (7x)4(2+x)5 or A4B5 where A + B = 9.
It will be maximum if (A4)4(B5)5 is maximum
Their sum is 4(A4)+5(B5) = A + B = 9
For max.product A4= B5= A+B4+5= 99=1
So A = 4 and B = 5
Max. product is 4455

Alternate Method:

We know that

The greatest value of am.bn.cp, when m, n, p being +ve integers, a+b+c is constant is given by
mm.nn.pp......(a+b+c+...m+n+p+...)m+n+p+..
Therefore max value of the above = 4455(7x+2+x4+5)4+5=4455(99)4+5=4455