Documente Academic
Documente Profesional
Documente Cultură
Necessary condition :
For a single variable function f(x) defined for x ∈ [a, b]
which has a relative maximum at x = x*, x* ∈ [a, b] if
the derivative f ’(x) = d f(x)/dx exists as a finite
number at x = x*then f ’(x*) = 0.
We need to keep in mind that the above theorem
holds good for relative minimum as well.
The theorem only considers a domain where the
function is continuous and differentiable.
Functions of a single variable …contd.
Note :
Find the optimum value of the function f(x) = (x -2)4 and also state
if the function attains a maximum or a minimum
Solution:
f’(x) = 4(x -2)3 = 0 or x= x*= 2 for maxima or minima.
f’’(x*) = 12(x -2)2 = 0 at x*= 2
f’’’(x*) = 24(x -2) = 0 at x*= 2
f iv(x*) = 24 at x*= 2
Hence f n(x) is positive and n is even hence the point
x = x* = 2 is a point of minimum and the function attains a
minimum value of 0 at this point.
Example 3
Consider x = x* = 1
f ’ ’ (x* )=240(x*)3 - 540(x*)2 + 240(x*) = -60 at x*= 1
Consider x = x*= 2
f ’ ’ (x* )=240(x*)3 - 540(x*)2 + 240(x*) = 240 at x*= 2
Since the second derivative is positive, the point
x = x*= 2 is a point of local minima with a minimum
value of f(x) = - 11
Example 4
The horse power generated by a Pelton wheel is
proportional to u(v-u) where u is the velocity of the
wheel, which is variable and v is the velocity of the jet
which is fixed. Show that the efficiency of the Pelton
wheel will be maximum at u = v/2.
Solution: f = K u(v-u)
f
0 Kv 2 Ku 0
u
v
u
2
where K is a proportionality constant (assumed
positive).
2 f
2K
u 2
u v
2
v
which is negative. Hence, f is maximum at u
2
Function of two variables
The concept discussed for one variable functions may
be easily extended to functions of multiple variables.
Necessary conditions :
The slope of the function is zero at point of local
minima ,maxima and points of inflection.
(as the first derivative of the function with respect
to the variables are zero.)
Necessary conditions …contd.
Which gives us f f
0, 0,
x1 x2
at the stationary points.
The gradient vector of f(X), at X = X*= [x1, x2]
defined as follows, must equal zero
f
x
x
x f 1
0
f
x
x
2
2 x13
f X 2 x1 x 2 5 x1 2 x 22 4 x 2 5
3
Example 5(contd…)
solution
f
x x 2x 2 2x 5 0
x f 1
1 2
f 2x1 4x2 4 0
x x
2
Example 5(contd…)
From f
X 0
x1
2(2x2 + 2)2 -2x2 – 5 = 0
8( x2 )2 + 14 x2 + 3 = 0
(2x2 +3) (4x2 +1) = 0
x2 = -3/2 or x2 = -1/4
So, the two stationary points are X1 = [ -1, -3/2]
And X2 = [3/2, -1/4]
Example 5(contd…)
The Hessian of f (x) is 2
f 2
f
2
x1 x1x 2
H
2 f 2 f
x1x 2 x 2
2
x1 x2
4x1 2 4x1 2
H I H
2 4 2 4
3 4 2
At X 1 1 I H 4 4 4 0
2 2 4
2 16 4 0
1 12 2 12
Example 5(contd…)
Since one Eigen value is positive and one negative,
X1is neither a relative maximum nor a relative
minimum.
3 1 6 2
At X 2 I H 6 4 4 0
2 4 2 4
1 5 5 2 5 5
2 2 x1 0
x f 1
X 1, 2
f 6 3 x 2 0
x x
2
2 0
H
0 3
2 0
I H 2 3 0
0 3
1 2 2 3
Example 6 …contd.