Question
Question: How do you find the minimum and maximum value of \[y = - {\left( {x - 3} \right)^2} - 4\]?...
How do you find the minimum and maximum value of y=−(x−3)2−4?
Solution
Here, we need to find the minimum and maximum value of the given function. First, we will find the first derivative of the function. Then, we will find the points at which the first derivative is equal to 0. Finally, we will use the second derivative test to check which point is the point of maximum and minimum value and substitute the coordinate in the function to find the maximum and minimum value.
Formula Used:
We will use the following formulas:
1. dxd(u+v)=dxd(u)+dxd(v)
2. The derivative of a function of the form a[f(x)]n is given by na[f(x)]n−1×dxd[f(x)].
3. dxd(ax)=a
Complete step-by-step solution:
First, we will find the first derivative of the given function.
Differentiating both sides of the given equation, we get
dxdy=dxd[−(x−3)2−4]
The derivative of the sum of two functions can be written as the sum of the derivatives of the individual functions. This can be written as dxd(u+v)=dxd(u)+dxd(v).
Using the sum of derivatives, we get
⇒dxdy=dxd[−(x−3)2]+dxd[−4]
The derivative of a constant is always 0.
Therefore, we get
dxd[−4]=0
Substituting dxd[−4]=0 in the equation, we get
⇒dxdy=dxd[−(x−3)2]+0 ⇒dxdy=dxd[−(x−3)2]
The derivative of a function of the form a[f(x)]n is given by na[f(x)]n−1×dxd[f(x)].
Therefore, we get the derivative of the function −(x−3)2 as
dxd[−(x−3)2]=−2(x−3)2−1×dxd(x−3)
Substituting dxd[−(x−3)2]=−2(x−3)2−1×dxd(x−3) in the equation, we get
⇒dxdy=−2(x−3)2−1×dxd(x−3)
Simplifying the expression, we get
⇒dxdy=−2(x−3)1×dxd(x−3) ⇒dxdy=−2(x−3)×dxd(x−3)
Using the sum of derivatives, we get
⇒dxdy=−2(x−3)×[dxd(x)+dxd(−3)]
The value of the derivative of a constant is always 0.
The value of a variable with respect to itself is always 1.
Therefore, the equation becomes
⇒dxdy=−2(x−3)×[1+0]
Adding the terms, we get
⇒dxdy=−2(x−3)×1
Multiplying the terms, we get
⇒dxdy=−2(x−3)
Multiplying the terms using the distributive law of multiplication, we get
⇒dxdy=−2x+6
This is the value of the first derivative.
We will equate the first derivative to 0.
Equating the first derivative to 0, we get
⇒−2x+6=0
This is a linear equation in terms of x. We will solve it to find the value of x, and hence, the point of local maxima/minima.
Adding 2x on both sides of the equation, we get
⇒6=2x
Dividing both sides of the equation by 2, we get
⇒3=x
Now, we will find the second derivative of the function by differentiating the first derivative.
If the second derivative is greater than 0, then the point x=3 is the point of minimum value.
If the second derivative is lesser than 0, then the point x=3 is the point of maximum value.
Differentiating both sides of the equation dxdy=−2x+6, we get
⇒dx2d2y=dxd(−2x+6)
Using the sum of derivatives, we get
⇒dx2d2y=dxd(−2x)+dxd(6)
The derivative of the product of a constant and a variable, with respect to that variable, is equal to the constant, that is dxd(ax)=a.
Therefore, we get
⇒dx2d2y=−2+0 ⇒dx2d2y=−2
The second derivative is less than 0.
Therefore, the point x=3 is the point of maximum value.
Substituting x=3 in the given equation, we get
⇒y=−(3−3)2−4
Subtracting 3 from 3, we get
⇒y=−(0)2−4 ⇒y=−0−4 ⇒y=−4
Therefore, the maximum value of the given function is −4. The function has no minimum value.
Note:
We have used the distributive law of multiplication in the solution. The distributive law of multiplication states that a⋅b+a⋅c=a(b+c).
Verification: We can verify the maximum value by drawing the graph of the given equation.
Drawing the graph of y=−(x−3)2−4, we get
We can observe that the graph of the equation y=−(x−3)2−4 has maximum value as −4, and has no minimum value.