Solveeit Logo

Question

Question: How do we solve the equation \[a\sin x + b\cos x = c\] ?...

How do we solve the equation asinx+bcosx=ca\sin x + b\cos x = c ?

Explanation

Solution

We use trigonometric identities and trigonometric ratios to solve this problem. We will also learn some properties of trigonometry. We will use some concepts and formulae from general solutions of trigonometric equations, and hence solve this problem.

Complete step by step solution:
Here, solving this equation means finding the value of, which satisfies this equation.
In trigonometry, there is no unique solution but rather we have a principal solution. Generally, the principal solution lies in the range [π,π]\left[ { - \pi ,\pi } \right] and all other solutions are called general solutions.
We will get a solution which is a combination of both general solution and principal solution.
The given equation is asinx+bcosx=ca\sin x + b\cos x = c
Now, divide the whole equation by a2+b2\sqrt {{a^2} + {b^2}}
aa2+b2sinx+ba2+b2cosx=ca2+b2\Rightarrow \dfrac{a}{{\sqrt {{a^2} + {b^2}} }}\sin x + \dfrac{b}{{\sqrt {{a^2} + {b^2}} }}\cos x = \dfrac{c}{{\sqrt {{a^2} + {b^2}} }} ------(1)
Now, consider this triangle

This is ABC\vartriangle ABC , which is right-angled at angle “C”. And side BCBC is equal to “a” and side ACAC is equal to “b”.
Here, according to Pythagoras theorem, AC2+BC2=AB2A{C^2} + B{C^2} = A{B^2}
AB2=a2+b2\Rightarrow A{B^2} = {a^2} + {b^2}
AB=a2+b2\Rightarrow AB = \sqrt {{a^2} + {b^2}}
Now, applying trigonometric ratios, we get,
sinB=ACAB=ba2+b2\sin B = \dfrac{{AC}}{{AB}} = \dfrac{b}{{\sqrt {{a^2} + {b^2}} }} and cosB=BCAB=aa2+b2\cos B = \dfrac{{BC}}{{AB}} = \dfrac{a}{{\sqrt {{a^2} + {b^2}} }}
Now consider B=α\angle B = \alpha
So, sinα=ba2+b2\sin \alpha = \dfrac{b}{{\sqrt {{a^2} + {b^2}} }} and cosα=aa2+b2\cos \alpha = \dfrac{a}{{\sqrt {{a^2} + {b^2}} }} -----(2)
Substitute these values in equation (1)
cosαsinx+sinαcosx=ca2+b2\Rightarrow \cos \alpha \sin x + \sin \alpha \cos x = \dfrac{c}{{\sqrt {{a^2} + {b^2}} }}
We know the identity that, cosBsinA+sinBcosA=sin(A+B)\cos B\sin A + \sin B\cos A = \sin (A + B)
So, we get,
sin(x+α)=ca2+b2\Rightarrow \sin (x + \alpha ) = \dfrac{c}{{\sqrt {{a^2} + {b^2}} }}
And according to general solutions concept,
The general solution of equation sinθ=k\sin \theta = k is nπ+(1)nϕ,nZn\pi + {\left( { - 1} \right)^n}\phi ,n \in Z where ϕ\phi is the principal solution.
The general solution of equation cosθ=k\cos \theta = k is 2nπ±ϕ,nZ2n\pi \pm \phi ,n \in Z where ϕ\phi is the principal solution.
The general solution of equation tanθ=k\tan \theta = k is nπ+ϕ,nZn\pi + \phi ,n \in Z where ϕ\phi is the principal solution.
So, according to this,
sin(x+α)=ca2+b2\Rightarrow \sin (x + \alpha ) = \dfrac{c}{{\sqrt {{a^2} + {b^2}} }}
x+α=nπ+(1)nsin1(ca2+b2)\Rightarrow x + \alpha = n\pi + {( - 1)^n}{\sin ^{ - 1}}\left( {\dfrac{c}{{\sqrt {{a^2} + {b^2}} }}} \right)
Transposing α\alpha to other side,
x=nπ+(1)nsin1(ca2+b2)α\Rightarrow x = n\pi + {( - 1)^n}{\sin ^{ - 1}}\left( {\dfrac{c}{{\sqrt {{a^2} + {b^2}} }}} \right) - \alpha ----where nZn \in Z .
We can substitute, α=sin1(ba2+b2)\alpha = {\sin ^{ - 1}}\left( {\dfrac{b}{{\sqrt {{a^2} + {b^2}} }}} \right) or α=cos1(aa2+b2)\alpha = {\cos ^{ - 1}}\left( {\dfrac{a}{{\sqrt {{a^2} + {b^2}} }}} \right) from equation (2)
So, this is the solution of the given equation.

Note:
In this problem, we considered sinB\sin B and cosB\cos B values. But instead, we can also consider sinA=aa2+b2\sin A = \dfrac{a}{{\sqrt {{a^2} + {b^2}} }} and cosA=ba2+b2\cos A = \dfrac{b}{{\sqrt {{a^2} + {b^2}} }}
And upon taking A=β\angle A = \beta , we get, sinβsinx+cosβcosx=ca2+b2\sin \beta \sin x + \cos \beta \cos x = \dfrac{c}{{\sqrt {{a^2} + {b^2}} }}
cos(xβ)=ca2+b2\Rightarrow \cos (x - \beta ) = \dfrac{c}{{\sqrt {{a^2} + {b^2}} }}
And from general solution concepts, we get,
xβ=2nπ±cos1(ca2+b2)\Rightarrow x - \beta = 2n\pi \pm {\cos ^{ - 1}}\left( {\dfrac{c}{{\sqrt {{a^2} + {b^2}} }}} \right)
x=2nπ±cos1(ca2+b2)+β\Rightarrow x = 2n\pi \pm {\cos ^{ - 1}}\left( {\dfrac{c}{{\sqrt {{a^2} + {b^2}} }}} \right) + \beta
So, this is also a solution for the given equation.