They are
Problem
F(x) = (x – 1)(3 – x) is given. Find the value of x, for which F(x) has its maximum
value.
Solution:
F(x) = (x – 1)(3 – x) = 4x − x² − 3
Problem :
F(x) = (x – 1) (3 – x) is given. Find the value of x, for which F(x) has its maximum value.
Solution:
F(x) = (x – 1) (3 – x) = 4x − x² − 3
For F(x) to be minimum or maximum at a particular value of x, dF(x)/dx or F´(x) will
become 0. dF(x)/dx = 4 − 2x = 0 or, x = 2. Whether F(x) minimum or maximum
value at x = 2 we are finding the 2nd derivative of F(x).
F̋̋ ̋(x) = d(4 − 2x)/dx = −2.
So we can say that F(x) has its maximum value at x = -2.
Now we solve a constrained optimization problem applying the method of
direct substitution.
Problem: Find the dimensions of a box of largest volume that can be inscribed
in a sphere of unit radius.
SOLUTION
Let the origin of the Cartesian coordinate system x₁, x₂, x₃ be at the center of the sphere
and the sides of the box be 2x₁, 2x₂, and 2x₃. The volume of the box is given by
f (x₁, x₂, x₃) = 8x₁x₂x₃ (E₁)
Since the corners of the box lie on the surface of the sphere of unit radius, x₁, x₂, and
x₃ have to satisfy the constraint
x₁²+x₂²+x₃² = 1. (E₂)
This problem has three design variables and one equality constraint. Hence the
equality constraint can be used to eliminate any one of the design variables from the
objective function. If we choose to eliminate x₃, Eq. (E2) gives
x₃ = (1 − x₁ − x₂)^1/2 (E3)
From which it follows that from which it follows that x₁* = x₂* = 1/√3 and hence x₃* = 1/√3.
This solution gives
The maximum volume of the box as
fmax = 8 / 3√3
If there are multiple constraints related with its variables (x₁,x₂) such a way that
substitution is not possible. Then we apply Lagrange multiplier method to optimize
f(x₁,x₂).
In this method we will construct a new function which includes the objective function,
constraint and an extra variable like this way ---
L(x₁,x₂,λ) = f(x₁,x₂) + λ g(x₁,x₂)
Then we will find the derivative of L(x₁,x₂,λ) with respect to x₁, x₂ ,λ respectively.
Example: Find the dimensions of a cylindrical tin (with top and bottom) made
Up of sheet metal to maximize its volume such that the total surface area is equal to
Ao = 24π.
SOLUTION
If x₁ and x₂ denote the radius of the base and length of the tin, respectively,
the problem can be stated as
maximize f (x₁, x₂) = πx₁²x₂ Subject to
2πx₁² + 2πx₁x₂ = Ao = 24π
To see that this solution really corresponds to the maximum of f , we apply the
sufficiency
Condition of Eq. (2.44). In this case
that is,
272_2z + 192_3 = 0
This gives
z = − (12/17 ) π
Since the value of z is negative, the point (x₁*, x₂*) corresponds to the maximum of f.
Introduction
Kuhn-Tucker conditions for X*= [x1* x2* . . . xn*] to be a local minimum are