Question
Question: Calculate \[\int {\dfrac{{\sqrt {\cos 2x} }}{{\cos x}}} \,dx\]....
Calculate ∫cosxcos2xdx.
Solution
Here in this question we have to integrate the given function, since the function involves the trigonometric function. We use the trigonometric formulas which relate to the question and by substitution method whenever it is necessary we are solving the given function.
Complete step by step answer:
In an integration we come across two kinds of integral namely, definite integral and indefinite integral.Now consider the given question.
⇒∫cosxcos2xdx
This is an indefinite integral.
Taking the square root both numerator and denominator we have
⇒∫cos2xcos2xdx
By the double angle formula of trigonometry we have cos2x=2cos2x−1
⇒∫cos2x2cos2x−1dx
On simplifying we get
⇒∫2−sec2xdx
By the trigonometric identity we know that 1+tan2x=sec2x
⇒∫2−(1+tan2x)dx
On considering the sign conventions the above term is written as
⇒∫2−1−tan2xdx
⇒∫1−tan2xdx----(1)
Now substitute tanx=siny----(2), on differentiating this we get sec2xdx=cosydy
⇒dx=sec2xcosydy=1+tan2xcosydy=1+sin2ycosydy ----(3)
On substituting the equation (2) and equation (3) in the equation (1) we have
⇒∫1−sin2y.1+sin2ycosydy
By the trigonometric identity we know that 1−sin2y=cosy
⇒∫cosy.1+sin2ycosydy
⇒∫1+sin2ycos2ydy
In the numerator add 1 and subtract 1 we have
⇒∫1+sin2ycos2y+1−1dy
By the trigonometric identity we know that 1−sin2y=cos2y
⇒∫1+sin2y1−sin2y+1−1dy
On simplifying the numerator term we have
⇒∫1+sin2y2−1−sin2ydy
⇒∫1+sin2y2−(1+sin2y)dy
Taking the integral to each term
⇒∫1+sin2y2dy+∫1+sin2y−(1+sin2y)dy
⇒∫1+sin2y2dy−∫dy
On applying the integration to the second term
⇒−y+∫1+sin2y2dy
By the trigonometric identity we know that sin2y+cos2y=1
⇒−y+∫sin2y+cos2y+sin2y2dy
⇒−y+∫2sin2y+cos2y2dy
Multiply both the numerator and denominator term by sec2y
⇒−y+∫2sin2ysec2y+cos2ysec2y2sec2ydy
By using the definition of trigonometric ratio we have
⇒−y+∫2tan2y+12sec2ydy
⇒−y+∫1+(2tany)2.2sec2ydy------(4)
Substitute 2tany=u----(5), on differentiating we have
⇒2sec2ydy=du---(6)
On substituting the equation (6) and equation (5) in the equation (4)
⇒−y+∫1+u22du
On applying the integration we get
⇒−y+2tan−1(u)+c
On substituting the value of u we have
⇒−y+2tan−1(2tany)+c
On substituting the value of y we get
∴−sin−1(tanx)+2tan−1(2tansin−1(tanx))+c
Note: When we are integrating the function by substitution method, after applying the integration we have to substitute the value which was considered. On substituting the function will be in the simplest form where we can integrate easily. Sometimes we need to substitute the terms more than once where it is necessary.