Question
Question: How do you minimize and maximize \[f\left( x,y \right)=\dfrac{x-y}{{{x}^{2}}}\] constrained to \[xy=...
How do you minimize and maximize f(x,y)=x2x−y constrained to xy=4?
Solution
In the given question, we have been asked to find the maxima and the minima of a function and it is given that the function is constrained to xy=4. In order to find the maxima and minima first we need to convert the function into single variable calculus. Then finding the first derivative of a single variable calculus function and equation it with 0, we will get two fixed points. Later we will do a second derivative for the similar function and checking whether the value is positive and negative.
Complete step by step solution:
We have given that,
f(x,y)=x2x−y Constrained to xy=4.
Converting into single variable calculus.
We have, xy=4, so y=x4
Therefore, putting y=x4 inf(x,y)=x2x−y, we get
f(x)=(x)2x−x4=x1−x34
f(x)=x1−x34
Differentiate f(x), we get
f′(x)=−x21+x412
Solving the above expression, we get
Putting f’(x) equals to 0, we get
−x21+x412=0
Simplifying the above expression by taking the LCM of denominator, we get
−x4x2+x412=0
Thus,
12−x2=0
Solving for the value of ‘x’, we get
x=±23
Now, putting the value of x=±23 in y=x4, we get
y=±234=±32
So, therefore we get two fixed point, i.e.
⇒(23,32),(−23,−32)
Second derivation of f(x), we get
f′(x)=−x21+x412
f′′(x)=x32−x548
Taking out x32as a common factor, we get
f′′(x)=x32(1−x224)
Putting x=23 in the second derivative we get
f′′(x)=(23)32(1−(23)224)=(23)32(1−1224)=(23)32(1−2)
, i.e. when we putting the value of x=23 in second derivative, we will get negative value.
So this is a local maximum.
Putting x=−23 in the second derivative we get
f′′(x)=−(23)32(1−(−23)224)=−(23)32(1−1224)=−(23)32(1−2), i.e. when we putting the value of x=−23 in second derivative, we will get positive value.
So this is a local minimum.
Now,
Function is maximum at(23,32).
Putting (x, y) = (23,32) in f(x, y), we get
⇒f(23,32)=(23)223−32=34×121=331
Function is minimum at(−23,−32).
Putting (x, y) = (−23,−32) in f(x, y), we get
⇒f(−23,−32)=(−23)2−23−(−32)=−34×121=−331
Therefore,
fmax=f(23,32)=331
fmin=f(−23,−32)=−331
Hence, it is the required answer.
Note: Students should know about the concept of finding the maximum and the minimum of the function i.e. first we need to find f’(x)=0 and the solution of the equation, then solve for f’’(x) < 0. Maxima and minima of any function is known as the largest and the smallest value of a given function with the constraint range that is given or on the whole range.