Question
Question: What is the maximum value of \(\sin \theta +\cos \theta \)?...
What is the maximum value of sinθ+cosθ?
Solution
To find the maximum value of a given expression, take the derivative of sinθ+cosθ and then equate it to 0 and then find the value of θ on simplification. Then substitute the value of θ in the given expression. The value after substituting the value of θ is the maximum value.
Complete step-by-step answer:
The trigonometric expression that we need to find the maximum value is:
sinθ+cosθ
To find the maximum value of the above expression, we need to find the value of θ at which this expression attains maximum value.
For finding the maxima of the given expression, we are going to take the derivative of the given expression and then equate it to 0.
Let us assume,
sinθ+cosθ=f(θ)
Taking derivative on both the sides with respect to θ we get,
cosθ−sinθ=f′(θ)
We know that:
The derivative of sinθ with respect to θ is cosθ (dθdsinθ=cosθ).
And the derivative of cosθ with respect to θ is −sinθ (dθdcosθ=−sinθ).
Now, equating f’ (θ) to 0 we get,
cosθ−sinθ=0⇒cosθ=sinθ⇒tanθ=1
And we know that tan θ = 1 when θ=4π,45π in the interval of (0, 2π).
Now, to confirm whether the point that we have got is the point of maxima or minima we have to differentiate f’ (θ) again and then substitute the points in this double derivative of f (θ) and then see whether it is positive, negative or zero.
cosθ−sinθ=f′(θ)⇒f′′(θ)=−sinθ−cosθ
Now, substituting the value of θ=4π in the above equation we get,
f′′(4π)=−sin4π−cos4π⇒f′′(4π)=−(21+21)=−22=−2
In the above double derivative, we have put the value of cos4π,sin4π as 21 because we know that cos4π=sin4π=21
As you can see that f′′(θ) at 4π is negative so this shows that at θ=4π function f(θ) is attaining a maximum.
Similarly, we are going to check f′′(θ) at 45π.
f′′(45π)=−sin45π−cos45π……….Eq. (1)
We know that:
sin45π=−21cos45π=−21
Substituting these values in eq. (1) we get,
f′′(45π)=−(sin45π+cos45π)⇒f′′(45π)=−(−21−21)⇒f′′(45π)=22=2
From the above, we can see that f′′(θ) at 45π is positive which shows that at θ=45π function f(θ) is attaining a minimum.
Hence, only at θ=4π function f(θ) is attaining a maximum.
Now, substituting these values of θ in the given expression sinθ+cosθ we get,
Whenθ=4π,
sin4π+cos4π=21+21=22=2
From the above, we have found the maximum value of sinθ+cosθ as 2 .
Note: While writing the solutions of tanθ=1, you might not consider 45π as a solution and still you will get the correct answer because at x=45π, the expression has the minimum value. This is a lucky problem that you are not getting the maximum value from other solutions but always consider all the principal solutions of a trigonometric expression which lie in the interval (0, 2π).