Question
Question: Evaluate \( \int {\dfrac{{3\sin x + 2\cos x}}{{3\cos x + 2\sin x}}dx} \)...
Evaluate ∫3cosx+2sinx3sinx+2cosxdx
Solution
Hint : The given question requires us to integrate a rational trigonometric function in variable x with respect to x. Now, to integrate the function given to us, we transform the numerator of the function into two parts, first being equal to the denominator and second one being the derivative of the denominator. So, we convert the given integral into two different integrals that are relatively easier to compute. We must know integration by substitution in order to solve such types of questions.
Complete step by step solution:
The given question requires us to integrate a rational trigonometric function 3cosx+2sinx3sinx+2cosx in variable x.
We can convert the given integral ∫3cosx+2sinx3sinx+2cosxdx into two different integrals by splitting up the function into two parts so as to make the integration of the function easier.
So, we split up the numerator of the function 3cosx+2sinx3sinx+2cosx into two parts. The first part is the denominator and second part is the derivative of the denominator.
Now, we know that the derivative of sinx is cosx and derivative of cosx is −sinx . So, we get the derivative of the denominator (3cosx+2sinx) as (−3sinx+2cosx) . So, we get,
3sinx+2cosx=A(3cosx+2sinx)+B(−3sinx+2cosx)
Now, we have to find the values of A and B in the above equation. So, separating the sine and cosine terms I the right side of the equation, we get,
⇒3sinx+2cosx=cosx(3A+2B)+sinx(2A−3B)
Now, comparing the coefficients of sine and cosine on both sides of the equation, we get,
3A+2B=2−−−−−(1)
2A−3B=3−−−−−(2)
Now, we have to solve these two equations so as to find the values of A and B.
Multiplying both sides of the equation (1) by 3 , we get,
⇒9A+6B=6−−−−−(3)
Multiplying both sides of the equation (2) by 2 , we get,
⇒4A−6B=6−−−−−(4)
Now, adding the equations (3) and (4) , we get,
⇒9A+6B+4A−6B=6+6
Cancelling the like terms with opposite signs, we get,
⇒9A+4A=12
⇒13A=12
Dividing both sides of the equation by 13 , we get,
⇒13A=12
⇒A=1312
So, we get the value of A as (1312) . Now, substituting the value of A in the equation (1) to find the value of B, we get,
⇒3(1312)+2B=2
Opening the bracket, we get,
⇒1336+2B=2
Shifting all the constants to the right side of the equation, we get,
⇒2B=2−1336
⇒2B=1326−36=13−10
Dividing both sides of the equation by 2 , we get,
⇒B=13−5
Hence, we get, 3sinx+2cosx=1312(3cosx+2sinx)−135(−3sinx+2cosx)
So, we have split the numerator into two parts. Now, substituting this in the integral, we get,
⇒∫3cosx+2sinx3sinx+2cosxdx=∫3cosx+2sinx1312(3cosx+2sinx)−135(−3sinx+2cosx)dx
Splitting the integral into two parts, we get,
⇒∫1312(3cosx+2sinx)(3cosx+2sinx)dx−∫135(3cosx+2sinx)(−3sinx+2cosx)dx
Taking constants out of the integral and cancelling the common factors in numerator and denominator, we get,
⇒1312∫1dx−135∫(3cosx+2sinx)(−3sinx+2cosx)dx
Now, we know that integration of 1 with respect to x is x. So, we get,
⇒1312x−135∫(3cosx+2sinx)(−3sinx+2cosx)dx
Now, to solve the second integral, we substitute the denominator as t. So, (3cosx+2sinx)=t .
Differentiating both sides of the equation, we get,
dt=(−3sinx+2cosx)dx
So, we get the second integral in terms of t as,
⇒1312x−135∫tdt
Now, we know that integration of t1 with respect to dt is log∣t∣ .
⇒1312x−135log∣t∣+c , where c is any arbitrary constant.
Substituting back the value of t in the integral, we get,
⇒1312x−135log∣3cosx+2sinx∣+c
So, we get the value of integral ∫3cosx+2sinx3sinx+2cosxdx as 1312x−135log∣3cosx+2sinx∣+c , where c is an arbitrary constant.
So, option (B) is correct.
So, the correct answer is “Option B”.
Note : The indefinite integrals of certain functions may have more than one answer in different forms. We must remember some special types of integration methods like the one used in the question to solve complex problems with ease. However, all these forms are correct and interchangeable into one another. We should not forget to add an arbitrary constant to the answer of the indefinite integral. Indefinite integral gives us the family of curves as we don’t know the exact value of the arbitrary constant.