Question
Question: How do we solve the equation \[a\sin x + b\cos x = c\] ?...
How do we solve the equation asinx+bcosx=c ?
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 [−π,π] 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=c
Now, divide the whole equation by a2+b2
⇒a2+b2asinx+a2+b2bcosx=a2+b2c ------(1)
Now, consider this triangle
This is △ABC , which is right-angled at angle “C”. And side BC is equal to “a” and side AC is equal to “b”.
Here, according to Pythagoras theorem, AC2+BC2=AB2
⇒AB2=a2+b2
⇒AB=a2+b2
Now, applying trigonometric ratios, we get,
sinB=ABAC=a2+b2b and cosB=ABBC=a2+b2a
Now consider ∠B=α
So, sinα=a2+b2b and cosα=a2+b2a -----(2)
Substitute these values in equation (1)
⇒cosαsinx+sinαcosx=a2+b2c
We know the identity that, cosBsinA+sinBcosA=sin(A+B)
So, we get,
⇒sin(x+α)=a2+b2c
And according to general solutions concept,
The general solution of equation sinθ=k is nπ+(−1)nϕ,n∈Z where ϕ is the principal solution.
The general solution of equation cosθ=k is 2nπ±ϕ,n∈Z where ϕ is the principal solution.
The general solution of equation tanθ=k is nπ+ϕ,n∈Z where ϕ is the principal solution.
So, according to this,
⇒sin(x+α)=a2+b2c
⇒x+α=nπ+(−1)nsin−1(a2+b2c)
Transposing α to other side,
⇒x=nπ+(−1)nsin−1(a2+b2c)−α ----where n∈Z .
We can substitute, α=sin−1(a2+b2b) or α=cos−1(a2+b2a) from equation (2)
So, this is the solution of the given equation.
Note:
In this problem, we considered sinB and cosB values. But instead, we can also consider sinA=a2+b2a and cosA=a2+b2b
And upon taking ∠A=β , we get, sinβsinx+cosβcosx=a2+b2c
⇒cos(x−β)=a2+b2c
And from general solution concepts, we get,
⇒x−β=2nπ±cos−1(a2+b2c)
⇒x=2nπ±cos−1(a2+b2c)+β
So, this is also a solution for the given equation.