Indefinite Integral - 3: Special Integrals · Question 98 of 101
Evaluate the following integrals: (i) 2 θ + θ/7 θ - 5 θ ,dθ (ii) x + 3 x - 5/3(1 - x) - x ,dx
Question 983 marksMedium
Evaluate the following integrals:
(i)∫7sinθ−5cosθ2sinθ+cosθdθ
(ii)∫3(1−sinx)−cosxcosx+3sinx−5dx
Solution:
Key idea: For ∫asinx+bcosx+cpsinx+qcosx+rdx we write the numerator as A(denominator)+B(derivative of the denominator)+K. The first part integrates to Ax, the second to Blog∣denominator∣, and the constant K (if not zero) needs the substitution tan2x=t. The answers hold on any interval where the denominator is not zero.
Step 1 — Part (i): split the numerator.
Let D=7sinθ−5cosθ, and its derivative is D′=7cosθ+5sinθ. We look for constants A and B that make the numerator equal to AD+BD′.
2sinθ+cosθ=A(7sinθ−5cosθ)+B(7cosθ+5sinθ)
Step 2 — Part (i): find A and B.
We compare the coefficients of sinθ and of cosθ on the two sides.
7A+5B=2
−5A+7B=1
Multiplying the first equation by 5 and the second by 7 and adding removes A.
25B+49B=10+7
74B=17
B=7417
Putting B back into 7A+5B=2 gives A.
7A=2−7485
7A=7463
A=749
Step 3 — Part (i): integrate.
Dividing by D, the integrand becomes A+BDD′, and ∫DD′dθ=log∣D∣.
I1=∫Adθ+B∫DD′dθ
I1=749θ+7417log∣7sinθ−5cosθ∣+C
Step 4 — Part (ii): split the numerator.
Here the denominator is D=3−3sinx−cosx, so D′=−3cosx+sinx. Because D has a constant term, we also allow a constant K.
cosx+3sinx−5=A(3−3sinx−cosx)+B(−3cosx+sinx)+K
Step 5 — Part (ii): find A, B and K.
We compare the coefficients of cosx, of sinx and the constant terms.
−A−3B=1
−3A+B=3
3A+K=−5
From the second equation, B=3+3A. Putting this into the first equation:
−A−9−9A=1
−10A=10
A=−1
Then B and K follow.
B=3+3(−1)
B=0
K=−5−3(−1)
K=−2
Step 6 — Part (ii): reduce to one new integral.
With A=−1, B=0 and K=−2, the integrand is −1−D2.
I2=∫(−1)dx−2∫3−3sinx−cosxdx
I2=−x−2J
Step 7 — Part (ii): rewrite J with tan2x=t.
We use sinx=1+t22t, cosx=1+t21−t2 and dx=1+t22dt.
3−3sinx−cosx=1+t23(1+t2)−6t−(1−t2)
3−3sinx−cosx=1+t24t2−6t+2
The factors 1+t2 cancel, and the quadratic factorises.
J=∫4t2−6t+22dt
J=∫(2t−1)(t−1)dt
Step 8 — Part (ii): partial fractions for J.
We write (2t−1)(t−1)1=t−1P+2t−1Q, so 1=P(2t−1)+Q(t−1) for every t; we put t=1 to find P.
1=P(2−1)
P=1
Putting t=21 gives Q.
1=Q(21−1)
Q=−2
Step 9 — Part (ii): integrate J.
We use ∫2t−12dt=log∣2t−1∣.
J=∫[t−11−2t−12]dt
J=log∣t−1∣−log∣2t−1∣
J=log2t−1t−1
Step 10 — Part (ii): put the parts together.
We substitute J into I2=−x−2J and return to x. Writing 2t−1t−1 as 21⋅2t−12t−2 only adds the constant −2log21, which goes into C; this gives the form printed in the book.
I2=−x−2log2tan2x−1tan2x−1+C
I2=−x−2log2tan2x−12tan2x−2+C
Step 11 — Check by differentiating.
Differentiating both answers and simplifying gives back the two integrands exactly, so the results are correct.
Therefore, (i) ∫7sinθ−5cosθ2sinθ+cosθdθ=749θ+7417log∣7sinθ−5cosθ∣+C; (ii) ∫3(1−sinx)−cosxcosx+3sinx−5dx=−x−2log2tan2x−12tan2x−2+C.