Indefinite Integral - 1: Standard Forms · Question 6 of 34
Integrate the following functions
Question 63 marksMedium
Integrate the following functions:
(i)1+cosx1
(ii)1−cos2x1
(iii)1−sinx1
(iv)1+cos2x1−cos2x
(v)1+cosx
(vi)1+sin2x
(vii)cosx1+cos2x
(viii)cosxsin2x
(ix)sinx1−cos2x
(x)cosx+sinxcosx−sinx(2+2sin2x)
(xi)cos2x4−5sinx+sin2xcos2x1
(xii)1+sin2xsinx+cosx
Solution:
Key idea: We remove denominators and square roots with the half-angle identities 1+cosθ=2cos22θ and 1−cosθ=2sin22θ, and with 1+sin2x=(sinx+cosx)2. Since the root of a square is its absolute value, a root can be dropped only on an interval where the expression inside is positive; we state that interval each time. C is the constant of integration.
Step 1 — Part (i): integrate 1+cosx1.
We replace 1+cosx by 2cos22x, which turns the integrand into a sec2 form.
1+cosx1=2cos22x1
1+cosx1=21sec22x
∫21sec22xdx=21⋅21tan2x+C
∫1+cosxdx=tan2x+C
Step 2 — Part (ii): integrate 1−cos2x1.
We replace 1−cos2x by 2sin2x, which gives a cosec2 form.
1−cos2x1=2sin2x1
1−cos2x1=21cosec2x
∫21cosec2xdx=−21cotx+C
Step 3 — Part (iii): rationalise 1−sinx1.
We multiply the numerator and the denominator by 1+sinx, because 1−sin2x=cos2x.
1−sinx1=1−sin2x1+sinx
1−sinx1=cos2x1+sinx
1−sinx1=sec2x+secxtanx
Step 4 — Part (iii): integrate.
Both terms are standard forms.
∫(sec2x+secxtanx)dx=tanx+secx+C
Step 5 — Part (iv): integrate 1+cos2x1−cos2x.
The half-angle identities turn the fraction into tan2x, and tan2x=sec2x−1.
1+cos2x1−cos2x=2cos2x2sin2x
1+cos2x1−cos2x=sec2x−1
∫(sec2x−1)dx=tanx−x+C
Step 6 — Part (v): integrate 1+cosx.
We write 1+cosx=2cos22x and take an interval where cos2x>0, such as −π<x<π, so the root is 2cos2x.
1+cosx=2cos2x
∫2cos2xdx=2⋅21sin2x+C
∫1+cosxdx=22sin2x+C
Step 7 — Part (vi): write 1+sin2x as a perfect square.
We replace 1 by sin2x+cos2x and sin2x by 2sinxcosx.
1+sin2x=sin2x+cos2x+2sinxcosx
1+sin2x=(sinx+cosx)2
Step 8 — Part (vi): integrate.
On an interval where sinx+cosx>0, such as −4π<x<43π, the root is sinx+cosx.
∫(sinx+cosx)dx=−cosx+sinx+C
Step 9 — Part (vii): simplify cosx1+cos2x.
We write 1+cos2x=2cos2x and take cosx>0 (for example −2π<x<2π), so the root is 2cosx.
cosx1+cos2x=2cos2x
cosx1+cos2x=2⋅21+cos2x
cosx1+cos2x=21(1+cos2x)
Step 10 — Part (vii): integrate.
We integrate term by term and then write 2sin2x as sinxcosx.
∫21(1+cos2x)dx=21(x+2sin2x)+C
∫cosx1+cos2xdx=21(x+sinxcosx)+C
Step 11 — Part (viii): integrate cosxsin2x.
We expand sin2x and cancel cosx (where cosx=0).
cosxsin2x=cosx2sinxcosx
cosxsin2x=2sinx
∫2sinxdx=−2cosx+C
Step 12 — Part (ix): simplify sinx1−cos2x.
We write 1−cos2x=2sin2x and take sinx>0 (for example 0<x<π), so the root is 2sinx.
sinx1−cos2x=2sin2x
sinx1−cos2x=2⋅21−cos2x
sinx1−cos2x=21(1−cos2x)
Step 13 — Part (ix): integrate.
We integrate term by term and write 2sin2x as sinxcosx.
∫21(1−cos2x)dx=21(x−2sin2x)+C
∫sinx1−cos2xdx=21(x−sinxcosx)+C
Step 14 — Part (x): simplify the integrand.
We write 2+2sin2x as 2(cosx+sinx)2 (Step 7), so one factor cosx+sinx cancels with the denominator.
The coefficient of x is 2, which cancels the factor 2.
∫2cos2xdx=2⋅2sin2x+C
∫2cos2xdx=sin2x+C
Step 16 — Part (xi): split the second fraction.
We write 1=cos2x+sin2x in the numerator of the second fraction and divide term by term.
sin2xcos2x1=sin2xcos2xcos2x+sin2x
sin2xcos2x1=cosec2x+sec2x
Step 17 — Part (xi): split the first fraction.
We divide each term by cos2x and write cos2xsinx as secxtanx.
cos2x4−5sinx=4sec2x−5⋅cos2xsinx
cos2x4−5sinx=4sec2x−5secxtanx
Adding the two parts, the whole integrand is 5sec2x−5secxtanx+cosec2x.
Step 18 — Part (xi): integrate.
Each term is a standard form.
∫(5sec2x−5secxtanx+cosec2x)dx=5tanx−5secx−cotx+C
Step 19 — Part (xii): integrate 1+sin2xsinx+cosx.
By Step 7, 1+sin2x=∣sinx+cosx∣. On an interval where sinx+cosx>0, such as −4π<x<43π, the integrand is 1.
sinx+cosxsinx+cosx=1
∫1dx=x+C
Note: In parts (v), (vi), (vii), (ix) and (xii) the root equals the absolute value of the bracket. On an interval where the bracket is negative, the integrand and the answer change sign (for example, part (xii) gives −x+C where sinx+cosx<0).
Therefore, (i) tan2x+C; (ii) −21cotx+C; (iii) tanx+secx+C; (iv) tanx−x+C; (v) 22sin2x+C; (vi) sinx−cosx+C; (vii) 21(x+sinxcosx)+C; (viii) −2cosx+C; (ix) 21(x−sinxcosx)+C; (x) sin2x+C; (xi) 5tanx−5secx−cotx+C; (xii) x+C, each on the intervals stated.