Question
Question: Solve \( \int {\dfrac{1}{{(\sin x - 2\cos x)(2\sin x + \cos x)}}} dx \)...
Solve ∫(sinx−2cosx)(2sinx+cosx)1dx
Solution
Given question is not possible to integrate directly since it is not in any standard form suitable for integration. So we need to simplify or modify the denominator to get the form which can be integrated. After modifying the denominator, converting the multiple to a single term will make it easy to solve. By using the formulas given below we can solve the given equation.
Formulas Used:
cos2x=cos2x−sin2x
sin2x=2sinxcosx
cos2x=1+tan2x1−tan2x
∫x2−a21dx=2a1log[x+ax−a]+C
Complete step-by-step answer:
Let us consider the given question
∫(sinx−2cosx)(2sinx−cosx)1dx
On multiplying the terms in the denominator we get the following
=∫2sin2x+sinxcosx−4sinxcosx−2cos2x1dx
On rearranging the terms in the denominator and adjusting them gives the following
=∫2(sin2x−cos2x)−23(2sinxcosx)1dx
We know that
cos2x−sin2x=cos2x and
2sinxcosx=sin2x
=∫−2cos2x−23sin2x1dx
For easy solving let us assume tanx=t
On differentiating tanx=t on both sides
dxd(tanx)=dxd(t)
sec2x=dxdt
We know that sec2x=1+tan2x=1+t2
1+t2=dxdt
dx=1+t2dt
cos2x=1+tan2x1−tan2x=1+t21−t2
sin2x=1+tan2x2tanx=1+t22t
On substituting the values of cos2x and sin2x in terms of t and dx in terms of dt we get
=−∫2(1+t21−t2)+23(1+t22t)1 (1+t2)dt
=−∫2(1−t2)+23(2t)(1+t2) (1+t2)dt
=−21∫(1−t2)+23t1dt
=21∫t2−23t−11dt
Adding +169 and −169 to the denominator will change that into a form that can be integrated.
=21∫t2−23t−1+169−1691dt
The denominator can be written as follows
=21∫(t−43)2−(45)21dt
Now it is in the form of ∫x2−a21dx
We know that ∫x2−a21dx=2a1log[x+ax−a]+C
Where C is the Integration Constant.
Therefore,
=21×(2×45)1log[(t−43)+45(t−43)−45]+C
Since the boundaries are not known (Indefinite Integration) C should be added.
=51log[4t+24t−8]+C
=51log[2t+12t−4]+C
On replacing t with tanx we get the following result
=51log[2tanx+12tanx−4]+C
Therefore, ∫(sinx−2cosx)(2sinx+cosx)1dx=51log[2tanx+12tanx−4]+C
Note: In the above solution on simplifying the initial question we got the simplified question in cos2x and sin2x which is not suitable for integration. Converting the two terms into tanx can help us. In this type of problems involving sin and cos together and not in suitable form for integration it is better to convert them into tan . In order to convert cos2x and sin2x to tanx we need to divide and multiply the equation with cos2x .