Solveeit Logo

Question

Question: The maximum value of 5 sin x + 12 cos x is: (a) 5 (b) 12 (c) 13 (d) None of these...

The maximum value of 5 sin x + 12 cos x is:
(a) 5
(b) 12
(c) 13
(d) None of these

Explanation

Solution

Hint: To find the maximum value of 5 sin x + 12 cos x, we will equate it to a function f(x). Now, we have, f (x) = 5 sin x + 12 cos x. We will differentiate both sides with respect to x and equate it to 0. After equating it to 0, we get two values a and b. Now, we will differentiate the above function once again and put the values a and b in this. The value at which the double differentiation is positive will give the minimum and the value at which double differentiation is negative will give maximum.

Complete step-by-step answer:
In this question, we have to equate the given term 5 sin x + 12 cos x to a function f(x). Thus, we have the following equation,
f(x)=5sinx+12cosx.....(i)f\left( x \right)=5\sin x+12\cos x.....\left( i \right)
Now, first, we will find the extrema of the function f(x). The extrema of any function are the points at which the value of the function would either be maximum or minimum. The extrema of any function can be found out by equating the slope of the function to 0. Now, the slope of any function, y = A(x) can be obtained by differentiating both sides. Thus,
dydx=ddx[A(x)]=A(x)\dfrac{dy}{dx}=\dfrac{d}{dx}\left[ A\left( x \right) \right]={{A}^{'}}\left( x \right)
Thus, the slope of f(x) will be given by:
ddx[f(x)]=f(x)=ddx(5sinx+12cosx)=0\dfrac{d}{dx}\left[ f\left( x \right) \right]={{f}^{'}}\left( x \right)=\dfrac{d}{dx}\left( 5\sin x+12\cos x \right)=0
Now, by addition rule of differentiation, we have,
f(x)=5ddx(sinx)+12ddx(cosx){{f}^{'}}\left( x \right)=5\dfrac{d}{dx}\left( \sin x \right)+12\dfrac{d}{dx}\left( \cos x \right)
Now, the differentiation of sin x is cos x and that of cos x is – sin x. Thus, we will get,
f(x)=5cosx+12(sinx){{f}^{'}}\left( x \right)=5\cos x+12\left( -\sin x \right)
f(x)=5cosx12sinx{{f}^{'}}\left( x \right)=5\cos x-12\sin x
Now, for extrema,
f(x)=0{{f}^{'}}\left( x \right)=0
Thus, we have,
f(x)=5cosx12sinx=0{{f}^{'}}\left( x \right)=5\cos x-12\sin x=0
5cosx=12sinx\Rightarrow 5\cos x=12\sin x
tanx=512\Rightarrow \tan x=\dfrac{5}{12}
Here, we have two cases:
Case 1: If tanx=512, then sinx=512 and cosx=1213 as shown:\text{If }\tan x=\dfrac{5}{12}\text{, then }\sin x=\dfrac{-5}{12}\text{ and }\cos x=\dfrac{-12}{13}\text{ as shown:}

Case 2: If tanx=512, then sinx=513 and cosx=1213 as shown:\text{If }\tan x=\dfrac{5}{12}\text{, then }\sin x=\dfrac{5}{13}\text{ and }\cos x=\dfrac{12}{13}\text{ as shown:}

Now, to find which pair will give maximum and which pair will give the minimum, we will double differentiate the function and put these pairs of values. The value at which the double differentiation is positive will give a minimum at the value at which double differentiation is negative will give the maximum. Thus, we have,
f(x)=ddx[f(x)]=ddx[5cosx12sinx]{{f}^{''}}\left( x \right)=\dfrac{d}{dx}\left[ {{f}^{'}}\left( x \right) \right]=\dfrac{d}{dx}\left[ 5\cos x-12\sin x \right]
f(x)=5ddx(cosx)12ddx(sinx){{f}^{''}}\left( x \right)=5\dfrac{d}{dx}\left( \cos x \right)-12\dfrac{d}{dx}\left( \sin x \right)
f(x)=5sinx12cosx{{f}^{''}}\left( x \right)=-5\sin x-12\cos x
Now, we will check by putting the values of sin x and cos x in the above equation. Let us consider two cases.
Case 1: sinx=513 and cosx=1213\sin x=\dfrac{5}{13}\text{ and }\cos x=\dfrac{12}{13}
f(x)=5sinx12cosx{{f}^{''}}\left( x \right)=-5\sin x-12\cos x
f(x)=5(513)12(1213)\Rightarrow {{f}^{''}}\left( x \right)=-5\left( \dfrac{5}{13} \right)-12\left( \dfrac{12}{13} \right)
f(x)=251314413\Rightarrow {{f}^{''}}\left( x \right)=\dfrac{-25}{13}-\dfrac{144}{13}
f(x)=(144+2513)\Rightarrow {{f}^{''}}\left( x \right)=-\left( \dfrac{144+25}{13} \right)
f(x)=16913=13\Rightarrow {{f}^{''}}\left( x \right)=\dfrac{-169}{13}=-13
Case 2: sinx=513 and cosx=1213\sin x=\dfrac{-5}{13}\text{ and }\cos x=\dfrac{-12}{13}
f(x)=5sinx12cosx{{f}^{''}}\left( x \right)=-5\sin x-12\cos x
f(x)=5(513)12(1213)\Rightarrow {{f}^{''}}\left( x \right)=-5\left( \dfrac{-5}{13} \right)-12\left( \dfrac{-12}{13} \right)
f(x)=25+14413\Rightarrow {{f}^{''}}\left( x \right)=\dfrac{25+144}{13}
f(x)=16913=13\Rightarrow {{f}^{''}}\left( x \right)=\dfrac{169}{13}=13
Now, we can see that f(x)<0 when sinx=513 and cosx=1213.{{f}^{''}}\left( x \right)<0\text{ when }\sin x=\dfrac{5}{13}\text{ and }\cos x=\dfrac{12}{13}.Thus, this pair of values will give the maximum value. So, after putting these values in the function, we get,
f(x)=5(513)+12(1213)f\left( x \right)=5\left( \dfrac{5}{13} \right)+12\left( \dfrac{12}{13} \right)
f(x)=2513+14413\Rightarrow f\left( x \right)=\dfrac{25}{13}+\dfrac{144}{13}
f(x)=16913=13\Rightarrow f\left( x \right)=\dfrac{169}{13}=13
Hence, the maximum value of 5 sin x + 12 cos x is 13.
Hence, the option (c) is the right answer.

Note: The maximum value of the above function can be calculated by this method also. Let a function g(x) be given as g(x) = A sin x + B cos x, then the range of this function is:
A2+B2g(x)A2+B2-\sqrt{{{A}^{2}}+{{B}^{2}}}\le g\left( x \right)\le \sqrt{{{A}^{2}}+{{B}^{2}}}
In our case, the value of A is 5 and B is 12. Thus, we have,
(5)2+(12)2f(x)(5)2+(12)2-\sqrt{{{\left( 5 \right)}^{2}}+{{\left( 12 \right)}^{2}}}\le f\left( x \right)\le \sqrt{{{\left( 5 \right)}^{2}}+{{\left( 12 \right)}^{2}}}
The maximum value of f(x) is
f(x)=(5)2+(12)2=25+144=13f\left( x \right)=\sqrt{{{\left( 5 \right)}^{2}}+{{\left( 12 \right)}^{2}}}=\sqrt{25+144}=13