Skip to content

← Grade 12 Mathematics

Exam practice

Every question from the end of every unit, with hints and answers to open. After you check an answer, mark how you did, and come back to the ones you didn’t get.

13 questions

Unit 13 · Anti-derivatives

Short questions

1.

Integrate:

  • a.∫dx4x2+12x+13 \int \dfrac{dx}{4x^2 + 12x + 13} (2 marks)
  • b.∫dx5−4x−x2 \int \dfrac{dx}{\sqrt{5 - 4x - x^2}} (3 marks)
Hint

Complete the square. In a., 4x2+12x+13=(2x+3)2+4 4x^2 + 12x + 13 = (2x + 3)^2 + 4 .

Answer
  • a.(2x+3)2+22 (2x + 3)^2 + 2^2 ; with u = 2x + 3, du = 2 dx: 12⋅12tan⁡−1u2+C=14tan⁡−12x+32+C \dfrac{1}{2} \cdot \dfrac{1}{2}\tan^{-1}\dfrac{u}{2} + C = \mathbf{\dfrac{1}{4}\tan^{-1}\dfrac{2x + 3}{2} + C} .
  • b.5−4x−x2=5−(x2+4x)=5−[(x+2)2−4]=9−(x+2)2 5 - 4x - x^2 = 5 - (x^2 + 4x) = 5 - [(x + 2)^2 - 4] = 9 - (x + 2)^2 . Form 2: sin⁡−1x+23+C \mathbf{\sin^{-1}\dfrac{x + 2}{3} + C} .
2.

Integrate ∫x+3x2+4x+5 dx \int \dfrac{x + 3}{x^2 + 4x + 5}\,dx . (5 marks)

Hint

x+3=12(2x+4)+1 x + 3 = \frac{1}{2}(2x + 4) + 1 .

Answer

The bottom’s derivative is 2x + 4, and x+3=12(2x+4)+1 x + 3 = \frac{1}{2}(2x + 4) + 1 . So
∫=12∫2x+4x2+4x+5 dx+∫dx(x+2)2+1=12ln⁡(x2+4x+5)+tan⁡−1(x+2)+C \int = \frac{1}{2}\int \frac{2x + 4}{x^2 + 4x + 5}\,dx + \int \frac{dx}{(x + 2)^2 + 1} = \mathbf{\frac{1}{2}\ln(x^2 + 4x + 5) + \tan^{-1}(x + 2) + C}

3.

Integrate:

  • a.∫dx2+cos⁡x \int \dfrac{dx}{2 + \cos x} (3 marks)
  • b.∫dx1+3sin⁡2x \int \dfrac{dx}{1 + 3\sin^2 x} (2 marks)
Hint

a. t=tan⁡x2 t = \tan\frac{x}{2} . b. Divide top and bottom by cos⁡2x \cos^2 x .

Answer
  • a.2+1−t21+t2=3+t21+t2 2 + \dfrac{1 - t^2}{1 + t^2} = \dfrac{3 + t^2}{1 + t^2} , so the integral is ∫2 dtt2+3=23tan⁡−1t3+C=23tan⁡−1(tan⁡x23)+C \displaystyle \int \frac{2\,dt}{t^2 + 3} = \frac{2}{\sqrt{3}}\tan^{-1}\frac{t}{\sqrt{3}} + C = \mathbf{\frac{2}{\sqrt{3}}\tan^{-1}\left( \frac{\tan\frac{x}{2}}{\sqrt{3}} \right) + C} .
  • b.sec⁡2xsec⁡2x+3tan⁡2x=sec⁡2x1+4tan⁡2x \dfrac{\sec^2 x}{\sec^2 x + 3\tan^2 x} = \dfrac{\sec^2 x}{1 + 4\tan^2 x} . With t =  tan x: ∫dt1+4t2=12tan⁡−12t+C=12tan⁡−1(2tan⁡x)+C \displaystyle \int \frac{dt}{1 + 4t^2} = \frac{1}{2}\tan^{-1} 2t + C = \mathbf{\frac{1}{2}\tan^{-1}(2\tan x) + C} .
4.

Integrate:

  • a.∫2x+1(x+1)(x−2) dx \int \dfrac{2x + 1}{(x + 1)(x - 2)}\,dx (2 marks)
  • b.∫x2x2−1 dx \int \dfrac{x^2}{x^2 - 1}\,dx (3 marks)
Answer
  • a.Cover-up: at x = −1, −1−3=13 \frac{-1}{-3} = \frac{1}{3} ; at x = 2, 53 \frac{5}{3} . So ∫=13ln⁡∣x+1∣+53ln⁡∣x−2∣+C \int = \mathbf{\dfrac{1}{3}\ln|x + 1| + \dfrac{5}{3}\ln|x - 2| + C} .
  • b.Improper: x2x2−1=1+1x2−1 \dfrac{x^2}{x^2 - 1} = 1 + \dfrac{1}{x^2 - 1} . Form 4 with a = 1: x+12ln⁡∣x−1x+1∣+C \mathbf{x + \dfrac{1}{2}\ln\left|\dfrac{x - 1}{x + 1}\right| + C} .
5.

Integrate ∫dxx(x−1)2 \int \dfrac{dx}{x(x - 1)^2} . (5 marks)

Answer

1x(x−1)2=Ax+Bx−1+C(x−1)2 \dfrac{1}{x(x - 1)^2} = \dfrac{A}{x} + \dfrac{B}{x - 1} + \dfrac{C}{(x - 1)^2} , so 1=A(x−1)2+Bx(x−1)+Cx 1 = A(x - 1)^2 + Bx(x - 1) + Cx .
x = 0: A = 1. x = 1: C = 1. The x2 x^2 terms: A + B = 0, B = −1.
∫=ln⁡∣x∣−ln⁡∣x−1∣−1x−1+C=ln⁡∣xx−1∣−1x−1+C \int = \ln|x| - \ln|x - 1| - \frac{1}{x - 1} + C = \mathbf{\ln\left|\frac{x}{x - 1}\right| - \frac{1}{x - 1} + C}

6.

Integrate ∫x2−4x+8 dx \int \sqrt{x^2 - 4x + 8}\,dx . (5 marks)

Hint

Complete the square, then use form 9.

Answer

x2−4x+8=(x−2)2+22 x^2 - 4x + 8 = (x - 2)^2 + 2^2 . Form 9 with u = x − 2, a = 2:
x−22x2−4x+8+2ln⁡∣x−2+x2−4x+8∣+C \mathbf{\frac{x - 2}{2}\sqrt{x^2 - 4x + 8} + 2\ln\left|x - 2 + \sqrt{x^2 - 4x + 8}\right| + C}

7.

Integrate ∫sin⁡xsin⁡x+cos⁡x dx \int \dfrac{\sin x}{\sin x + \cos x}\,dx . (5 marks)

Hint

Write the top as A( sin x +  cos x) + B( cos x −  sin x): a multiple of the bottom plus a multiple of the bottom’s derivative.

Answer

sin x = A( sin x +  cos x) + B( cos x −  sin x). sin x: A − B = 1; cos x: A + B = 0. So A=12 A = \frac{1}{2} , B=−12 B = -\frac{1}{2} .
∫=12∫dx−12∫cos⁡x−sin⁡xsin⁡x+cos⁡x dx=x2−12ln⁡∣sin⁡x+cos⁡x∣+C \int = \frac{1}{2}\int dx - \frac{1}{2}\int \frac{\cos x - \sin x}{\sin x + \cos x}\,dx = \mathbf{\frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C}
What it means: the same split as a linear top over a quadratic (13.2), with the bottom and its derivative as the two pieces.

8.

Integrate ∫dx(ex−1)2 \int \dfrac{dx}{(e^x - 1)^2} . (5 marks)

Hint

Put t=ex t = e^x , so dx=dtt dx = \frac{dt}{t} .

Answer

With t=ex t = e^x : ∫dtt(t−1)2 \displaystyle \int \frac{dt}{t(t - 1)^2} , which is question 5 in t: ln⁡∣tt−1∣−1t−1 \ln\left|\dfrac{t}{t - 1}\right| - \dfrac{1}{t - 1} .
∫=ln⁡∣exex−1∣−1ex−1+C(=x−ln⁡∣ex−1∣−1ex−1+C) \int = \mathbf{\ln\left|\frac{e^x}{e^x - 1}\right| - \frac{1}{e^x - 1} + C} \quad \left( = x - \ln|e^x - 1| - \frac{1}{e^x - 1} + C \right)

9.

Integrate ∫dx5+3sin⁡x \int \dfrac{dx}{5 + 3\sin x} . (5 marks)

Hint

t=tan⁡x2 t = \tan\frac{x}{2} , then complete the square in t.

Answer

5+3⋅2t1+t2=5t2+6t+51+t2 5 + 3 \cdot \dfrac{2t}{1 + t^2} = \dfrac{5t^2 + 6t + 5}{1 + t^2} , so the integral is ∫2 dt5t2+6t+5=25∫dtt2+65t+1 \displaystyle \int \frac{2\,dt}{5t^2 + 6t + 5} = \frac{2}{5}\int \frac{dt}{t^2 + \frac{6}{5}t + 1} .
t2+65t+1=(t+35)2+1625 t^2 + \frac{6}{5}t + 1 = \left( t + \frac{3}{5} \right)^2 + \frac{16}{25} . Form 1 with a=45 a = \frac{4}{5} :
25⋅54tan⁡−1t+3545+C=12tan⁡−1(5tan⁡x2+34)+C \frac{2}{5} \cdot \frac{5}{4}\tan^{-1}\frac{t + \frac{3}{5}}{\frac{4}{5}} + C = \mathbf{\frac{1}{2}\tan^{-1}\left( \frac{5\tan\frac{x}{2} + 3}{4} \right) + C}

10.

Integrate:

  • a.∫x+14+2x−x2 dx \int \dfrac{x + 1}{\sqrt{4 + 2x - x^2}}\,dx (3 marks)
  • b.∫x2 dx(x2+4)(x2+9) \int \dfrac{x^2\,dx}{(x^2 + 4)(x^2 + 9)} (2 marks)
Hint

a. The derivative of 4+2x−x2 4 + 2x - x^2 is 2 − 2x; x+1=−12(2−2x)+2 x + 1 = -\frac{1}{2}(2 - 2x) + 2 . b. Split as if x2 x^2 were one letter.

Answer

a. 4+2x−x2=5−(x−1)2 4 + 2x - x^2 = 5 - (x - 1)^2 . So
∫=−12∫2−2x4+2x−x2 dx+2∫dx5−(x−1)2=−4+2x−x2+2sin⁡−1x−15+C \int = -\frac{1}{2}\int \frac{2 - 2x}{\sqrt{4 + 2x - x^2}}\,dx + 2\int \frac{dx}{\sqrt{5 - (x - 1)^2}} = \mathbf{-\sqrt{4 + 2x - x^2} + 2\sin^{-1}\frac{x - 1}{\sqrt{5}} + C}
b. With y=x2 y = x^2 : y(y+4)(y+9)=−45y+4+95y+9 \dfrac{y}{(y + 4)(y + 9)} = \dfrac{-\frac{4}{5}}{y + 4} + \dfrac{\frac{9}{5}}{y + 9} (cover-up). Form 1 twice:
−45⋅12tan⁡−1x2+95⋅13tan⁡−1x3+C=−25tan⁡−1x2+35tan⁡−1x3+C -\frac{4}{5} \cdot \frac{1}{2}\tan^{-1}\frac{x}{2} + \frac{9}{5} \cdot \frac{1}{3}\tan^{-1}\frac{x}{3} + C = \mathbf{-\frac{2}{5}\tan^{-1}\frac{x}{2} + \frac{3}{5}\tan^{-1}\frac{x}{3} + C}

Long questions

11.
  • a.Resolve x2+x+1(x+1)(x2+1) \dfrac{x^2 + x + 1}{(x + 1)(x^2 + 1)} into partial fractions. (3 marks)
  • b.Hence evaluate ∫01x2+x+1(x+1)(x2+1) dx \int_0^1 \dfrac{x^2 + x + 1}{(x + 1)(x^2 + 1)}\,dx . (2 marks)
  • c.Integrate ∫dxx4−1 \int \dfrac{dx}{x^4 - 1} . (3 marks)
Hint

c. x4−1=(x−1)(x+1)(x2+1) x^4 - 1 = (x - 1)(x + 1)(x^2 + 1) .

Answer

a. x2+x+1=A(x2+1)+(Bx+C)(x+1) x^2 + x + 1 = A(x^2 + 1) + (Bx + C)(x + 1) . x = −1: 1 = 2A, A=12 A = \frac{1}{2} . x2 x^2 : A + B = 1, B=12 B = \frac{1}{2} . Constants: A + C = 1, C=12 C = \frac{1}{2} .
x2+x+1(x+1)(x2+1)=12(x+1)+x+12(x2+1) \frac{x^2 + x + 1}{(x + 1)(x^2 + 1)} = \mathbf{\frac{1}{2(x + 1)} + \frac{x + 1}{2(x^2 + 1)}}

  • b.An anti-derivative is 12ln⁡∣x+1∣+14ln⁡(x2+1)+12tan⁡−1x \frac{1}{2}\ln|x + 1| + \frac{1}{4}\ln(x^2 + 1) + \frac{1}{2}\tan^{-1} x . From 0 to 1: 12ln⁡2+14ln⁡2+π8=34ln⁡2+π8≈0.913 \frac{1}{2}\ln 2 + \frac{1}{4}\ln 2 + \frac{\pi}{8} = \mathbf{\frac{3}{4}\ln 2 + \frac{\pi}{8}} \approx 0.913 .
  • c.1x4−1=1(x2−1)(x2+1)=12(1x2−1−1x2+1) \dfrac{1}{x^4 - 1} = \dfrac{1}{(x^2 - 1)(x^2 + 1)} = \dfrac{1}{2}\left( \dfrac{1}{x^2 - 1} - \dfrac{1}{x^2 + 1} \right) (a partial-fraction split in x2 x^2 ; combine to check). With form 4:

∫=14ln⁡∣x−1x+1∣−12tan⁡−1x+C \int = \mathbf{\frac{1}{4}\ln\left|\frac{x - 1}{x + 1}\right| - \frac{1}{2}\tan^{-1} x + C}

12.
  • a.If a > b > 0, prove that ∫dxa+bcos⁡x=2a2−b2tan⁡−1(a−ba+btan⁡x2)+C \displaystyle \int \frac{dx}{a + b\cos x} = \frac{2}{\sqrt{a^2 - b^2}}\tan^{-1}\left( \sqrt{\frac{a - b}{a + b}}\tan\frac{x}{2} \right) + C . (4 marks)
  • b.Hence evaluate ∫0π/2dx5+3cos⁡x \int_0^{\pi/2} \dfrac{dx}{5 + 3\cos x} . (2 marks)
  • c.Evaluate ∫0πdx2+cos⁡x \int_0^{\pi} \dfrac{dx}{2 + \cos x} . (2 marks)
Hint

a. t=tan⁡x2 t = \tan\frac{x}{2} ; the bottom becomes (a+b)+(a−b)t21+t2 \frac{(a + b) + (a - b)t^2}{1 + t^2} . c. tan⁡x2→∞ \tan\frac{x}{2} \to \infty as x→π x \to \pi .

Answer

a. With t=tan⁡x2 t = \tan\frac{x}{2} : a+b1−t21+t2=(a+b)+(a−b)t21+t2 a + b\dfrac{1 - t^2}{1 + t^2} = \dfrac{(a + b) + (a - b)t^2}{1 + t^2} , so
∫dxa+bcos⁡x=∫2 dt(a+b)+(a−b)t2=2a−b∫dtt2+k2,k2=a+ba−b>0 \int \frac{dx}{a + b\cos x} = \int \frac{2\,dt}{(a + b) + (a - b)t^2} = \frac{2}{a - b}\int \frac{dt}{t^2 + k^2}, \quad k^2 = \frac{a + b}{a - b} > 0
Form 1: 2a−b⋅1ktan⁡−1tk \dfrac{2}{a - b} \cdot \dfrac{1}{k}\tan^{-1}\dfrac{t}{k} . Here 2(a−b)k=2(a−b)a−ba+b=2a2−b2 \dfrac{2}{(a - b)k} = \dfrac{2}{(a - b)}\sqrt{\dfrac{a - b}{a + b}} = \dfrac{2}{\sqrt{a^2 - b^2}} and tk=a−ba+b t \dfrac{t}{k} = \sqrt{\dfrac{a - b}{a + b}}\,t . ✓

  • b.a = 5, b = 3: a2−b2=4 \sqrt{a^2 - b^2} = 4 , 28=12 \sqrt{\frac{2}{8}} = \frac{1}{2} . The anti-derivative is 12tan⁡−1(12tan⁡x2) \frac{1}{2}\tan^{-1}\left( \frac{1}{2}\tan\frac{x}{2} \right) , and tan⁡π4=1 \tan\frac{\pi}{4} = 1 : 12tan⁡−112≈0.232 \mathbf{\dfrac{1}{2}\tan^{-1}\dfrac{1}{2}} \approx 0.232 .
  • c.a = 2, b = 1: the anti-derivative is 23tan⁡−1(13tan⁡x2) \frac{2}{\sqrt{3}}\tan^{-1}\left( \frac{1}{\sqrt{3}}\tan\frac{x}{2} \right) (question 3a). It is 0 at x = 0, and as x→π x \to \pi from below, tan⁡x2→∞ \tan\frac{x}{2} \to \infty and tan⁡−1→π2 \tan^{-1} \to \frac{\pi}{2} . The integrand is continuous on [0,π] [0, \pi] , so the integral is that limit: 23⋅π2=π3≈1.814 \dfrac{2}{\sqrt{3}} \cdot \dfrac{\pi}{2} = \mathbf{\dfrac{\pi}{\sqrt{3}}} \approx 1.814 .

What it means: 12+cos⁡x \frac{1}{2 + \cos x} runs between 13 \frac{1}{3} and 1 over a range of length π \pi , so the answer must lie between π3≈1.05 \frac{\pi}{3} \approx 1.05 and π \pi ; 1.81 does.

13.
  • a.Integrate ∫x2−1x4+1 dx \int \dfrac{x^2 - 1}{x^4 + 1}\,dx . (4 marks)
  • b.Hence, with Example 6, integrate ∫dxx4+1 \int \dfrac{dx}{x^4 + 1} . (4 marks)
Hint

a. Divide by x2 x^2 and put t=x+1x t = x + \frac{1}{x} . b. 1x4+1=12(x2+1x4+1−x2−1x4+1) \frac{1}{x^4 + 1} = \frac{1}{2}\left( \frac{x^2 + 1}{x^4 + 1} - \frac{x^2 - 1}{x^4 + 1} \right) .

Answer

a. 1−1x2x2+1x2 \dfrac{1 - \frac{1}{x^2}}{x^2 + \frac{1}{x^2}} , and x2+1x2=(x+1x)2−2 x^2 + \frac{1}{x^2} = \left( x + \frac{1}{x} \right)^2 - 2 . With t=x+1x t = x + \frac{1}{x} , dt=(1−1x2)dx dt = \left(1 - \frac{1}{x^2}\right) dx : ∫dtt2−2=122ln⁡∣t−2t+2∣+C \displaystyle \int \frac{dt}{t^2 - 2} = \frac{1}{2\sqrt{2}}\ln\left|\frac{t - \sqrt{2}}{t + \sqrt{2}}\right| + C (form 4). Multiply top and bottom inside the log by x:
∫=122ln⁡∣x2−2 x+1x2+2 x+1∣+C \int = \mathbf{\frac{1}{2\sqrt{2}}\ln\left|\frac{x^2 - \sqrt{2}\,x + 1}{x^2 + \sqrt{2}\,x + 1}\right| + C}
b. x2+1x4+1−x2−1x4+1=2x4+1 \dfrac{x^2 + 1}{x^4 + 1} - \dfrac{x^2 - 1}{x^4 + 1} = \dfrac{2}{x^4 + 1} , so
∫dxx4+1=122tan⁡−1(x2−12 x)−142ln⁡∣x2−2 x+1x2+2 x+1∣+C \int \frac{dx}{x^4 + 1} = \mathbf{\frac{1}{2\sqrt{2}}\tan^{-1}\left( \frac{x^2 - 1}{\sqrt{2}\,x} \right) - \frac{1}{4\sqrt{2}}\ln\left|\frac{x^2 - \sqrt{2}\,x + 1}{x^2 + \sqrt{2}\,x + 1}\right| + C}
What it means: x4+1 x^4 + 1 has no real roots, yet it is the product (x2+2x+1)(x2−2x+1) (x^2 + \sqrt{2}x + 1)(x^2 - \sqrt{2}x + 1) , and partial fractions with those two factors give the same answer the long way. (The tan⁡−1 \tan^{-1} form holds on x > 0 and on x < 0 separately, since t is not defined at 0.)