Solveeit Logo

Question

Question: Evaluate \[\int {\dfrac{{\cos \,2x + \,2\,{{\sin }^2}x}}{{{{\cos }^2}x}}\,dx} \]...

Evaluate cos2x+2sin2xcos2xdx\int {\dfrac{{\cos \,2x + \,2\,{{\sin }^2}x}}{{{{\cos }^2}x}}\,dx}

Explanation

Solution

According to the given question, firstly break the value of (cos2x)(\cos \,2x) into its constituent equal form that is (12sin2x)(1 - \,2\,{\sin ^2}x) . After simplifying the equation, try to use substitution method that is u=tanxu = \tan \,x and differentiate in terms of x with the help of division rule that is [BdAdxAdBdxB2]\left[ {\dfrac{{B\dfrac{{dA}}{{dx}}\, - \,A\dfrac{{dB}}{{dx}}}}{{{B^2}}}} \right] and substitute the value of dx in terms of du . Then solve the integration to get the desired result.

Complete step-by-step solution:
As, it is given
cos2x+2sin2xcos2xdx\int {\dfrac{{\cos \,2x + \,2\,{{\sin }^2}x}}{{{{\cos }^2}x}}\,dx}
Performing individual operations,
cos2x+2sin2xcos2xdx\int {\dfrac{{\cos \,2x + \,2\,{{\sin }^2}x}}{{{{\cos }^2}x}}\,dx}
Substituting the formula, [cos2x=12sin2x]\left[ {\cos \,2x = 1 - \,2\,{{\sin }^2}x} \right]
We get,
=12sin2x+2sin2xcos2xdx= \,\,\,\int {\,\dfrac{{1 - \,2\,{{\sin }^2}x\, + \,2\,{{\sin }^2}x\,}}{{{{\cos }^2}x}}\,dx}
After cancelling the similar terms in numerator we get,
=1cos2xdx= \,\int {\dfrac{1}{{{{\cos }^2}}}x\,dx} eq. (1)
Let, u=tanxu = \tan \,x eq. (2)
And as we know that tanx=sinxcosx\tan \,x = \dfrac{{\sin \,x}}{{\cos \,x}}
Therefore, u=sinxcosxu = \dfrac{{\sin \,x}}{{\cos \,x}}
Differentiating uu with respect to xx and applying the rule of differentiation which is
[BdAdxAdBdxB2]\left[ {\dfrac{{B\dfrac{{dA}}{{dx}}\, - \,A\dfrac{{dB}}{{dx}}}}{{{B^2}}}} \right] also known as division rule.
Here, as it clear A=sinxA = \sin x and B=cosxB = \cos x
So, dudx=cosx.(cosx)sinx(sinx)cos2x\dfrac{{du}}{{dx}} = \,\dfrac{{\cos \,x.(\cos \,x)\, - \,\sin \,x( - \sin \,x)}}{{{{\cos }^2}x}}
After simplifying the equation we get,
=cos2x+sin2xcos2x= \,\dfrac{{{{\cos }^2}x\, + \,{{\sin }^2}x}}{{{{\cos }^2}x}}
After applying the identity [cos2x+sin2x=1]\left[ {\,{{\cos }^2}x\, + \,{{\sin }^2}x = 1} \right] we get,
dudx=1cos2x\dfrac{{du}}{{dx}} = \dfrac{1}{{{{\cos }^2}x}}
On taking dx on right hand side we get,
du=1cos2xdx\therefore \,\,du = \dfrac{1}{{{{\cos }^2}x}}\,dx eq. (3)
Putting the value of dudu in place of 1cos2x\dfrac{1}{{{{\cos }^2}x}} that is putting the value of eq. (2) in eq. (3)
=1cos2xdx= \,\int {\dfrac{1}{{{{\cos }^2}x}}\,dx} [Initially]
=du= \int {du}
As we know, dx=x\int {dx} \, = x
So we get, u+cu + c\,
On replacing u in terms of x we get,
=tanx+c= \tan \,x + c [From eq. (2)]

Therefore, the value of cos2x+2sin2xcos2xdx\int {\dfrac{{\cos \,2x\, + \,2\,{{\sin }^2}x}}{{{{\cos }^2}x}}\,dx} is (tanx+c)(\tan \,x + \,c), where c is the constant whose value is not defined and which we get only after indefinite integration.

Note: To solve these types of questions, as we do not have any uv\dfrac{u}{v} rule or any u.vu.v rule in integration to solve it directly. So, we use a substitution method to solve it in a simplified way as shown above in the solution. Don’t forget to write the c after indefinite integration because without c, the solution will be considered as the definite integration.