Question
Question: How do you find the maximum values of the function \(f\left( x \right) = 5\sin x + 7\cos x\)?...
How do you find the maximum values of the function f(x)=5sinx+7cosx?
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. To solve the problem, we must know the technique of calculating the range of the trigonometric expression (asinx+bcosx). 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.
Complete step by step solution:
The given function is f(x)=5sinx+7cosx.
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)=5sinx+7cosx
We divide and multiply the expression by 52+72=25+49=74. Hence, we get,
⇒f(x)=74(745sinx+747cosx)
Now, we can assume 745 as a cosine of some angle, say y.
Then, 747 will correspond to the sine of same angle y as we know that sin2x+cos2x=1 and (745)2+(747)2=1.
Hence, we have, siny=(747) and cosy=(745).
Substituting the values, we get,
⇒f(x)=74(sinxcosy+sinycosx)
Now, we know the compound angle formula for sine as (cosθsinϕ+sinθcosϕ)=sin(ϕ+θ). Hence, we get,
⇒f(x)=74sin(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 74sin(x+y) is 74.
Therefore, the maximum value of f(x)=5sinx+7cosx is 74.
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 the equation, both sides remain equal if multiplied or divided by a positive or negative number.