Question
Question: Find the maximum value of \(\sin x+\cos x\) (using differentiation)....
Find the maximum value of sinx+cosx (using differentiation).
Solution
To solve this question we will take the help differentiation. We will differentiate the function with respect to x and then will equate the function with zero. We again differentiate the function to check whether the value x is positive or negative. If double differentiation value is positive it means the function is minimum at that value, while if it is negative the function will be maximum at that value of x.
Complete step by step solution:
This question asks us to find the maximum value of sinx+cosx. Consider the function sinx+cosx . We get f′(x)=dxd(sinx+cosx) . Now let us find the derivative of the given function.
f′(x)=dxd(sinx)+dxd(cosx)…………………………………………………………..(i)
First differentiating sinx with respect to x , we get:
dxdsinx=cosx
Now differentiating cosx with respect to x , we get:
dxdcosx=−sinx
Putting the values in the formula, we get:
f′(x)=cosx−sinx …………………………….(ii)
Equating equation (ii) with zero so that we can get the value of x, we get:
cosx−sinx=0
⇒cosx=sinx
Dividing each term with cosx in both L.H.S and R.H.S we get:
⇒cosxcosx=cosxsinx
We know that the fraction cosxsinx is the same as tanx. So putting the same in the above equation, we get:
⇒tanx=1
Now we would be analysing the property of tanx. In the given question we have got positive value.
Tanxis positive in the first and third quadrant. Now on solving x=tan−1(1) we get 4π and 45π as the angles.
Now we will check whether the angle 4π and 45π is maximum or not. For this we will double differentiate the given function or differentiate
f′′(x)=dxd(f′(x))
⇒dxd(cosx−sinx)
⇒f′′(x)=−sin−cosx …………………………… (iii)
Putting the value 4π in the equation (iii) we get:
⇒−sin4π−cos4π
Value of sin4π and cos4π is 21
⇒−21−21
⇒−22
⇒−2<0
Since the value turned out to be negative, so at 4π the function is maximum.
Putting 45π in place of the anglexin equation (iii), to check whether the function is maximum or not:
⇒−sin45π−cos45π
Now, 45π lies in the third quadrant, both the function sinx and cosx will be negative in the third quadrant. So the value of sin45π and cos45π is 2−1 . On putting the value :⇒−(−21)−(−21)
⇒21+21
⇒2>0
Since the value is positive for double differentiation of the function it means the function is minimum at angle 45π .
We will put 4π in the main function sinx+cosx to find the maximum value. On putting the value we get:
⇒sin4π+cos4π
⇒21+21
⇒2
∴ The maximum value of sinx+cosx is 2.
Note: To solve this question we should know the values of the angles of function tan4π, sin4π cos4π from trigonometric ratio table. Note that there are many more values of θ for which tanθ=1. We should know in which quadrant does the trigonometric function give negative or positive value.