Question
Question: Evaluate the following integral \(\int {\dfrac{{dx}}{{\cos x + \sqrt 3 \sin x}}} = \\_\\_\\_\\_\\_\\...
Evaluate the following integral \int {\dfrac{{dx}}{{\cos x + \sqrt 3 \sin x}}} = \\_\\_\\_\\_\\_\\_ + C
(A) logtan(2x+12π)
(B) logtan(2x−12π)
(C) 21logtan(2x+12π)
(D) 21logtan(2x−12π)
Solution
Try to transform the denominator of the integral by multiplying and dividing it by 2. Now use the cosine addition formula to change the denominator into cosine and then into secant by doing reciprocal. Use the integration formula: ∫secθdθ=ln∣secθ+tanθ∣+C to evaluate the integral of secant. This will give you a solution in the form of secant and tangent but the options require them to be in the form of tangent only. So use trigonometric transformations to change the solutions into the required format
Complete step-by-step answer:
Let’s take the left side and try to simplify to a more useful form by multiplying and divide the denominator with2:
⇒∫cosx+3sinxdx=∫(21×cosx+21×3sinx)×2dx=21∫(21cosx+23sinx)dx
Now we can use the addition property of cosine function, i.e. cos(A−B)=cosAcosB+sinAsinB
⇒21∫(21cosx+23sinx)dx=21∫(cos3πcosx+sin3πsinx)dx=21∫cos(x−3π)dx
Since we know thatcosA1=secA, we can substitute that in the above relation:
⇒21∫cos(x−3π)dx=21∫sec(x−3π)dx
Hence, we transformed the integral into a simpler form of secant function. As we know that the integration of secant will give us: ∫secθdθ=ln∣secθ+tanθ∣+C
We can use this in our above integral as:
⇒21∫sec(x−3π)dx=21×lnsec(x−3π)+tan(x−3π)+C
So, this is the solution of the integral given in the question. But still, we don’t have an answer that matches with any of the given options. Therefore, we need to make some more transformations in order to express the tangent function. Let’s start with making secθ=cosθ1 and tanθ=cosθsinθ
⇒21×lnsec(x−3π)+tan(x−3π)+C=21×lncos(x−3π)1+cos(x−3π)sin(x−3π)+C
Now let’s make a perfect square in the numerator of the fraction. This can be done by using: sin2θ+cos2θ=1 and sinθ = 2sin2θcos2θ
⇒21×lncos(x−3π)1+sin(x−3π)+C=21×lncos(x−3π)sin22(x−3π)+cos22(x−3π)+2×sin2(x−3π)×cos2(x−3π)+CSo, we can easily use (a+b)2=a2+2ab+b2 for making perfect square here:
⇒21×lncos(x−3π)sin2(x−3π)+cos2(x−3π)2+C=21×lncos(x−3π)(sin(2x−6π)+cos(2x−6π))2+C
Now, let’s use the half-angle formula for cosine, i.e. cosθ=cos22θ−sin22θ
⇒21×lncos(x−3π)(sin(2x−6π)+cos(2x−6π))2+C=21×lncos2(2x−6π)−sin2(2x−6π)(sin(2x−6π)+cos(2x−6π))2+C
Now, we can see that the denominator can be distributed as:a2−b2=(a−b)(a+b)
⇒21×lncos(2x−6π)−sin(2x−6π)sin(2x−6π)+cos(2x−6π)+C
So, as we know that: cosnsinn=tann and thus we can make the above expression in form of the tangent by taking common cosine from numerator and denominator:
⇒21×lncos(2x−6π)1−cos(2x−6π)sin(2x−6π)cos(2x−6π)cos(2x−6π)sin(2x−6π)+1+C=21×ln(1−tan(2x−6π))(tan(2x−6π)+1)+C
Also, we know that,1−tanmtanm+1=tan(m+4π). So we can use that in our above expression:
⇒21×ln(1−tan(2x−6π))(tan(2x−6π)+1)+C=21×lntan(2x−6π+4π)+C=21×lntan(2x+12π)+C
Therefore, we evaluated the integral as ∫cosx+3sinxdx=21×lntan(2x+12π)+C
So, the correct answer is “Option C”.
Note: Try to go step by step with the integration to avoid complications. Note that there can be different methods to solve integration involving trigonometric ratios. And you might find different solutions of the integral by different procedures. But when the options are given, then you should transform the solution of the integration into the required format.