Solveeit Logo

Question

Question: Find the integral of \(\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx\...

Find the integral of (sinx+cosx)[3+sin2x]dx\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx

Explanation

Solution

The process of integration is to obtain the antiderivative of a function. Also, it should be known that integration is the inverse process of differentiation and is known as the anti-differentiation. The integrals are of two types, definite integral and indefinite integral. A definite integral contains upper and lower limits whereas an indefinite integral does not contain upper and lower limits.
Here, we are given an indefinite integral and we are asked to calculate the integral of(sinx+cosx)[3+sin2x]dx\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx

Formula used:
The formulae that we need to apply in the given problem are as follows.
sin2x=2sinxcosx\sin 2x = 2\sin x\cos x
sin2x+cos2x=1{\sin ^2}x + {\cos ^2}x = 1
a2+b22ab=(ab)2{a^2} + {b^2} - 2ab = {\left( {a - b} \right)^2}
ddx(cosx)=sinx\dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x
ddx(sinx)=cosx\dfrac{d}{{dx}}\left( {\sin x} \right) = \cos x
dxa2x2=12alog(a+xax)+c\int {\dfrac{{dx}}{{{a^2} - {x^2}}}} = \dfrac{1}{{2a}}\log \left( {\dfrac{{a + x}}{{a - x}}} \right) + c, where cc is a constant.

Complete step by step answer:
We are asked to calculate the integral of(sinx+cosx)[3+sin2x]dx\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx
(sinx+cosx)[3+sin2x]dx\int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx} =(sinx+cosx)[41+sin2x]dx= \int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {4 - 1 + \sin 2x} \right]}}dx}
=(sinx+cosx)[4(1sin2x)]dx= \int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {4 - \left( {1 - \sin 2x} \right)} \right]}}dx}
=(sinx+cosx)[4(12sinxcosx)]dx= \int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {4 - \left( {1 - 2\sin x\cos x} \right)} \right]}}dx} (Here we applied the formulasin2x=2sinxcosx\sin 2x = 2\sin x\cos x)
=(sinx+cosx)[4(sin2x+cos2x2sinxcosx)]dx= \int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {4 - \left( {{{\sin }^2}x + {{\cos }^2}x - 2\sin x\cos x} \right)} \right]}}dx}
=(sinx+cosx)[4(sinxcosx)2]dx= \int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {4 - {{\left( {\sin x - \cos x} \right)}^2}} \right]}}dx} ………….(1)\left( 1 \right) (Here we used the formulaa2+b22ab=(ab)2{a^2} + {b^2} - 2ab = {\left( {a - b} \right)^2})
Now, we considersinxcosx=t\sin x - \cos x = t …………(2)\left( 2 \right)
We need to differentiate(2)\left( 2 \right)on both sides.
(cosx+sinx)dx=dt\left( {\cos x + \sin x} \right)dx = dt …….(3)\left( 3 \right) (Here we appliedddx(cosx)=sinx\dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin xand ddx(sinx)=cosx\dfrac{d}{{dx}}\left( {\sin x} \right) = \cos x)
We shall substitute(2)\left( 2 \right)and(3)\left( 3 \right)in(1)\left( 1 \right).
(sinx+cosx)[3+sin2x]dx\int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx} =(sinx+cosx)[4(sinxcosx)2]dx= \int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {4 - {{\left( {\sin x - \cos x} \right)}^2}} \right]}}dx}
=dt[4(t)2]= \int {\dfrac{{dt}}{{\left[ {4 - {{\left( t \right)}^2}} \right]}}}
=dt[22t2]= \int {\dfrac{{dt}}{{\left[ {{2^2} - {t^2}} \right]}}}
We need to apply the integral formuladxa2x2=12alog(a+xax)+c\int {\dfrac{{dx}}{{{a^2} - {x^2}}}} = \dfrac{1}{{2a}}\log \left( {\dfrac{{a + x}}{{a - x}}} \right) + cto the above equation.
(sinx+cosx)[3+sin2x]dx\int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx} =dt[22t2]= \int {\dfrac{{dt}}{{\left[ {{2^2} - {t^2}} \right]}}}(Herea=2a = 2andx=tx = t)
=12×2log(2+t2t)+C= \dfrac{1}{{2 \times 2}}\log \left( {\dfrac{{2 + t}}{{2 - t}}} \right) + C
=14log(2+t2t)+C= \dfrac{1}{4}\log \left( {\dfrac{{2 + t}}{{2 - t}}} \right) + C
We have assumedsinxcosx=t\sin x - \cos x = t. So, we need to substitute it in the above equation.
(sinx+cosx)[3+sin2x]dx\int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx} =14log(2+sinxcosx2(sinxcosx))+C = \dfrac{1}{4}\log \left( {\dfrac{{2 + \sin x - \cos x}}{{2 - \left( {\sin x - \cos x} \right)}}} \right) + C
=14log(2+sinxcosx2sinx+cosx)+C= \dfrac{1}{4}\log \left( {\dfrac{{2 + \sin x - \cos x}}{{2 - \sin x + \cos x}}} \right) + C
Therefore, (sinx+cosx)[3+sin2x]dx\int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx} =14log(2+sinxcosx2sinx+cosx)+C = \dfrac{1}{4}\log \left( {\dfrac{{2 + \sin x - \cos x}}{{2 - \sin x + \cos x}}} \right) + C and CC is the constant of integration.

Note: We all know that differentiation is the process of finding the derivation of the functions whereas process integration is to calculate the antiderivative of a function. Hence, these two processes are said to be inverse to each other, (i.e.) the integration is the inverse process of differentiation and it is known as the anti-differentiation. Here we have applied trigonometric identities, algebraic identities, and integral formulas to obtain the required result. Hence, we get(sinx+cosx)[3+sin2x]dx\int {\dfrac{{\left( {\sin x + \cos x} \right)}}{{\left[ {3 + \sin 2x} \right]}}dx} =14log(2+sinxcosx2sinx+cosx)+C = \dfrac{1}{4}\log \left( {\dfrac{{2 + \sin x - \cos x}}{{2 - \sin x + \cos x}}} \right) + CandCC is the constant of integration.