Question
Question: How do you find the maximum values of \(f\left( x \right) = 2\sin x + \cos x\) ?...
How do you find the maximum values of f(x)=2sinx+cosx ?
Solution
In the given question, we are provided with a trigonometric expression involving the trigonometric functions sine and cosine and we are required to find the maximum value of the expression. We first divide such expressions by a2+b2 to calculate the range and then transform the sum of two trigonometric functions into a single term. Then we will use the compound angle formula of cosine and sine to transform the expression into one single trigonometric function.
Complete step by step answer:
So, the given function is f(x)=2sinx+cosx. So, we have to find the range of the trigonometric expression (asinx+bcosx). We divide such a trigonometric expression by a2+b2 to transform the sum of two trigonometric ratios into one term. So, we have,
f(x)=2sinx+cosx
We divide and multiply the expression by 22+12=5. Hence, we get,
⇒f(x)=5(52sinx+51cosx)
Now, we can assume 52 as a cosine of some angle, say y.
Then, 51 will correspond to the sine of same angle y as we know that sin2x+cos2x=1 and (52)2+(51)2=1.
Hence, we have, siny=51 and cosy=52.
Substituting the values, we get,
⇒f(x)=5(cosysinx+sinycosx)
Now, we know the compound angle formula for sine as (cosθsinϕ+sinθcosϕ)=sin(ϕ+θ). Hence, we get,
⇒f(x)=5sin(x+y)
Now, we know that sine of any angle has a range of [−1,1]. So, the maximum value of sine function can be one. Hence, the maximum range of 5sin(x+y) is 5.
Therefore, the maximum value of f(x)=2sinx+cosx is 5.
Note: Such questions require grip over the concepts of trigonometry and inequalities. One must know the methodology to calculate the range of trigonometric expressions of the form (asinx+bcosx) in order to solve the given problem. Dividing or multiplying any inequality by a positive number does not change the signs of the inequality. But when we multiply or divide any inequality by a negative number, the signs of the inequality are reversed. Whereas, in the case of an equation, both sides remain equal if multiplied or divided by a positive or negative number.