Indefinite Integral - 3: Special Integrals · Question 97 of 101
Evaluate the following integrals: (i) dx/3 + 2 x + x (ii) dx/1 - x + x (iii) dx/1 + x + x
Question 973 marksMedium
Evaluate the following integrals:
(i)∫3+2sinx+cosxdx
(ii)∫1−sinx+cosxdx
(iii)∫1+sinx+cosxdx
Solution:
Key idea: When the denominator is a+bsinx+ccosx, we put tan2x=t, and then sinx=1+t22t, cosx=1+t21−t2 and dx=1+t22dt, and the integrand becomes a polynomial in t1. Each answer holds on any interval where tan2x is defined and the denominator is not zero.
Step 1 — Set up the substitution.
We put t=tan2x and differentiate, using sec22x=1+t2.
dt=21sec22xdx
dt=21+t2dx
dx=1+t22dt
Step 2 — Part (i): rewrite the denominator.
We replace sinx and cosx in 3+2sinx+cosx and bring everything over the common denominator 1+t2.
3+2sinx+cosx=1+t23(1+t2)+4t+(1−t2)
3+2sinx+cosx=1+t22t2+4t+4
Step 3 — Part (i): integrate.
The factors 1+t2 cancel. We then complete the square, t2+2t+2=(t+1)2+12, and use the standard form ∫u2+a2du=a1tan−1au+C, taking u=t+1 and a=1.
I1=∫2t2+4t+42dt
I1=∫t2+2t+2dt
I1=∫(t+1)2+12dt
I1=tan−1(t+1)+C
I1=tan−1(tan2x+1)+C
Step 4 — Part (ii): rewrite the denominator.
We substitute in 1−sinx+cosx in the same way; the t2 terms cancel.
1−sinx+cosx=1+t2(1+t2)−2t+(1−t2)
1−sinx+cosx=1+t22(1−t)
Step 5 — Part (ii): integrate.
After cancelling, we use ∫1−tdt=−log∣1−t∣+C; the minus sign comes from the −t.
I2=∫2(1−t)2dt
I2=∫1−tdt
I2=−log∣1−t∣+C
I2=−log1−tan2x+C
Step 6 — Part (iii): rewrite the denominator.
Again the t2 terms cancel.
1+sinx+cosx=1+t2(1+t2)+2t+(1−t2)
1+sinx+cosx=1+t22(1+t)
Step 7 — Part (iii): integrate.
After cancelling, the integral is a simple logarithm.
I3=∫2(1+t)2dt
I3=log∣1+t∣+C
I3=log1+tan2x+C
Step 8 — Check by differentiating.
Differentiating each answer and simplifying gives back 3+2sinx+cosx1, 1−sinx+cosx1 and 1+sinx+cosx1, so all three results are correct.
Therefore, (i) ∫3+2sinx+cosxdx=tan−1(tan2x+1)+C; (ii) ∫1−sinx+cosxdx=−log1−tan2x+C; (iii) ∫1+sinx+cosxdx=log1+tan2x+C.