Question
Question: Solve \[\int{\dfrac{\cos 2x}{{{\left( \cos x+\sin x \right)}^{2}}}dx}\]...
Solve ∫(cosx+sinx)2cos2xdx
Solution
This question is from the topic of integration. In this question, we will first solve the term (cosx+sinx)2cos2x in simple form. After that, we will do the integration. We are going to use a substitution method for the integration. We will put the value of 1+sin2x as t. After that, we will write the integration in terms of t. After solving the further solution, we will get the value of integration. After that, we will replace t by 1+sin2x. After that, we will get our exact answer.
Complete step by step solution:
Let us solve this question.
In this question, we have asked to solve ∫(cosx+sinx)2cos2xdx.
As we know that (a+b)2=a2+b2+2ab, so we can write the term (cosx+sinx)2cos2x as
(cosx+sinx)2cos2x=(cosx)2+(sinx)2+2cosxsinxcos2x
As we know that sin2x+cos2x=1, so we can write the above equation as
⇒(cosx+sinx)2cos2x=1+2cosxsinxcos2x
As we know that sin2x=2cosxsinx, so we can write the above equation as
⇒(cosx+sinx)2cos2x=1+sin2xcos2x
Now, we can write the integration as
∫(cosx+sinx)2cos2xdx=∫1+sin2xcos2xdx
Now, using the substitution method we will solve this integration.
Let t=1+sin2x
Then, we will differentiate the term t with respect to x.
dxdt=dxd(1+sin2x)=dxd(1)+dxd(sin2x)=0+(cos2x)dxd(2x)
Using chain rule in the above equation, we get
dxdt=(cos2x)(2)=2cos2x
The above equation can also be written as
⇒21dt=cos2xdx
So, in the integration, we can write
∫(cosx+sinx)2cos2xdx=∫1+sin2xcos2xdx=∫t1×21dt=21∫t1dt
As we know that integration of t1 with respect of t islnt+C, where C is any constant, so we can write
∫(cosx+sinx)2cos2xdx=21lnt+C
Now, putting the value of t in the above equation, we get
∫(cosx+sinx)2cos2xdx=21ln(1+sin2x)+C
In the above, we have found that 1+sin2x can also be written as (cosx+sinx)2, so we can write
⇒∫(cosx+sinx)2cos2xdx=21ln(cosx+sinx)2+C
As we know that lnban=nlnba, so we can write
⇒∫(cosx+sinx)2cos2xdx=2×21ln∣cosx+sinx∣+C=ln∣cosx+sinx∣+C
Hence, we have solved the integration.
So, we can write
∫(cosx+sinx)2cos2xdx=ln∣cosx+sinx∣+C
Note:
We should have a better knowledge in the topic of integration to solve this type of question easily. We should remember the following formulas to solve this type of question:
(a+b)2=a2+b2+2ab
sin2x+cos2x=1
sin2x=2cosxsinx
dxdsinx=cosx
dxdx1=lnx
lnban=nlnba
We have used chain rule here, so remember that. The chain rule helps us to differentiate the composite functions likef(g(x)). So, dxdf(g(x))=f′(g(x))×g′(x). Here, f and g are two different functions, and f′ andg′ are differentiation of f and g respectively.