Indefinite Integral - 3: Special Integrals · Question 96 of 101
Evaluate the following integrals: (i) dx/2 x - 3 x (ii) dx/3 x + 4 x (iii) dx/ x - x
Question 963 marksMedium
Evaluate the following integrals:
(i)∫2sinx−3cosxdx
(ii)∫3cosx+4sinxdx
(iii)∫sinx−cosxdx
Solution:
Key idea: We put tan2x=t, and then sinx=1+t22t, cosx=1+t21−t2, and dx=1+t22dt. The factor 1+t2 cancels, so each integrand becomes quadratic in t1, which we integrate by completing the square.
Step 1 — Part (i): rewrite the denominator in t.
We replace sinx and cosx by their t forms and add the fractions.
2sinx−3cosx=1+t24t−3(1−t2)
2sinx−3cosx=1+t23t2+4t−3
I1=∫3t2+4t−32dt
Step 2 — Part (i): complete the square.
We take 3 out of the denominator and add and subtract (32)2=94.
3t2+4t−3=3[t2+34t−1]
t2+34t−1=(t+32)2−913
t2+34t−1=(t+32)2−(313)2
Step 3 — Part (i): integrate.
We use ∫u2−a2du=2a1logu+au−a, with u=t+32 and a=313; the factor in front is 32⋅2133.
I1=131logt+32+313t+32−313+C
We multiply the top and bottom of the fraction by 3.
I1=131log3tan2x+2+133tan2x+2−13+C
Step 4 — Part (ii): rewrite and factorise the denominator.
We replace sinx and cosx by their t forms; the quadratic on top then factorises.
3cosx+4sinx=1+t23(1−t2)+8t
3cosx+4sinx=−1+t23t2−8t−3
3cosx+4sinx=−1+t2(3t+1)(t−3)
I2=−2∫(3t+1)(t−3)dt
Step 5 — Part (ii): partial fractions.
We split the fraction into two simple parts; putting t=3 and t=−31 gives the two coefficients.
(3t+1)(t−3)1=101[t−31−3t+13]
Step 6 — Part (ii): integrate.
We use ∫t−3dt=log∣t−3∣ and ∫3t+13dt=log∣3t+1∣.
I2=−102[log∣t−3∣−log∣3t+1∣]+C
I2=−51log3t+1t−3+C
Writing 3t+1t−3 as 31⋅3t+13t−9 only changes the constant, so we may also write the answer in the form below.
I2=−51log3tan2x+13tan2x−9+C
Step 7 — Part (iii): rewrite and complete the square.
We replace sinx and cosx by their t forms, then add and subtract 1.
sinx−cosx=1+t22t−(1−t2)
sinx−cosx=1+t2t2+2t−1
t2+2t−1=(t+1)2−(2)2
Step 8 — Part (iii): integrate.
We use the same u2−a2 form, with u=t+1 and a=2; the 2 from dx stays in front.
I3=∫(t+1)2−(2)22dt
I3=2⋅221logt+1+2t+1−2+C
I3=21logtan2x+1+2tan2x+1−2+C
Note: The book's printed answer for part (iii) has 221 in front. The factor 2 from dx=1+t22dt makes it 21; differentiation confirms this, and so does writing sinx−cosx as 2sin(x−4π).
Therefore, (i) 131log3tan2x+2+133tan2x+2−13+C; (ii) −51log3tan2x+13tan2x−9+C; (iii) 21logtan2x+1+2tan2x+1−2+C; each on any interval where tan2x is defined and the denominator is not zero.