Question
Question: The maximum value of \(\sin \theta + \cos \theta \) in \(\left[ {0,\dfrac{\pi }{2}} \right]\) is A...
The maximum value of sinθ+cosθ in [0,2π] is
A.2
B.2
C.0
D.−2
Solution
In order to find the maximum value of the given function, differentiate the function with respect to the variable given, then equate the equation with zero to get the critical points. Again, differentiate the 1st order derivative value and substitute the value of critical point in the 2nd order derivative, if it results in a negative value, then it’s the maximum or if positive then it is the minimum value.
Formula used:
dθd(sinθ)=cosθ
dθd(cosθ)=−sinθ
tan4π=1
sin4π=cos4π=21
Complete answer:
We are given with a function sinθ+cosθ . We need to find the maximum value for the function for the interval [0,2π].
Since, there are various methods to find the maximum value of a function, but we are solving using differentiation, which follows the steps as:
1.We would differentiate the function and then equate it with zero to find the critical points.
2.Then we would again differentiate the function obtained after first differentiation and would substitute the critical point in the function.
3.If the result obtained is less than zero, then it’s the maximum value, and if the result is greater than zero then it’s the minimum value.
Let’s follow the steps for our function given:
Considering f(θ)=sinθ+cosθ
Differentiating the function with respect to θ:
f′(θ)=dθd(sinθ)+dθd(cosθ)
Since, we know that dθd(sinθ)=cosθ and dθd(cosθ)=−sinθ. So, substituting these values in the above function, we get:
f′(θ)=cosθ−sinθ ……(1)
Equating it with zero:
f′(θ)=cosθ−sinθ=0
⇒cosθ−sinθ=0
Adding both the sides by sinθ:
⇒cosθ−sinθ+sinθ=0+sinθ
⇒cosθ=sinθ
Dividing both the sides by cosθ:
⇒cosθcosθ=cosθsinθ
⇒1=tanθ
⇒tanθ=1
Since, we know that tan4π=1 , comparing this with tanθ=1, we get:
θ=4π
which is the critical point and also lies between [0,2π].
Differentiating eq 1 with respect to θ, we get:
f′′(θ)=dθd(cosθ)−dθd(sinθ)
⇒f′′(θ)=−sinθ−cosθ
Substituting the critical point θ=4π in the above value:
⇒f′′(θ)=−sin4π−cos4π
Substituting the values, we know that is sin4π=cos4π=21, we get:
⇒f′′(θ)=−21−21
Solving it:
⇒f′′(θ)=−22=−2
Since, f′′(θ)⩽0, so the critical point obtained is the maximum value.
Therefore, f(θ) is maximum at 4π.
And, the value is f(4π)=sin4π+cos4π.
Solving it, we get:
⇒f(4π)=21+21
⇒f(4π)=21+1=22=2.
Therefore, the maximum value of sinθ+cosθ in [0,2π] is 2.
Hence, Option A is correct.
Note:
There are various other methods to find the maximum or minimum value for a function. Alternatively, one of them is: that for the standard function asinθ+bcosθ, the maximum value obtained is equal to the square root of the sum of the square of the coefficients of the function, numerically written as a2+b2.