HKDSE · thinka-original Practice Paper

2021 HKDSE Mathematics M2 (Algebra and Calculus) Practice Paper with Answers

Thinka 2021 HKDSE-Style Mock — Mathematics M2 (Algebra and Calculus)

100 marks150 mins2021
An original Thinka practice paper modelled on the structure and difficulty of the 2021 HKDSE Mathematics M2 (Algebra and Calculus) paper. Not affiliated with or reproduced from HKDSE.

Section A

Answer ALL questions in this section. Write your answers in the spaces provided.
8 Question · 50 marks
Question 1 · Short Questions
6.25 marks
Let \( f(x) = \dfrac{1}{2x^2 + 5} \). Find \( f'(x) \) from first principles.
Show answer & marking scheme

Worked solution

\( f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h} \)
\( = \lim_{h \to 0} \dfrac{1}{h} \left[ \dfrac{1}{2(x+h)^2 + 5} - \dfrac{1}{2x^2 + 5} \right] \)
\( = \lim_{h \to 0} \dfrac{(2x^2 + 5) - [2(x^2 + 2xh + h^2) + 5]}{h[2(x+h)^2 + 5](2x^2 + 5)} \)
\( = \lim_{h \to 0} \dfrac{-4xh - 2h^2}{h[2(x+h)^2 + 5](2x^2 + 5)} \)
\( = \lim_{h \to 0} \dfrac{-4x - 2h}{[2(x+h)^2 + 5](2x^2 + 5)} \)
\( = -\dfrac{4x}{(2x^2 + 5)^2} \)

Marking scheme

1M: Definition of derivative \( f'(x) = \lim_{h \to 0} \dfrac{f(x+h) - f(x)}{h} \)
1M: Combining terms over a common denominator
1M: Simplifying the numerator and canceling \( h \) (withhold if this step is skipped)
1A: Correct final answer \( -\dfrac{4x}{(2x^2 + 5)^2} \)
Question 2 · Short Questions
6.25 marks
Using mathematical induction, prove that \( \sum_{k=1}^n k(2k+1) = \dfrac{n(n+1)(4n+5)}{6} \) for all positive integers \( n \).
Show answer & marking scheme

Worked solution

Let \( P(n) \) be the statement \( \sum_{k=1}^n k(2k+1) = \dfrac{n(n+1)(4n+5)}{6} \).

For \( n = 1 \):
L.H.S. \( = 1(2(1)+1) = 3 \)
R.H.S. \( = \dfrac{1(1+1)(4(1)+5)}{6} = \dfrac{1(2)(9)}{6} = 3 \)
Since L.H.S. = R.H.S., \( P(1) \) is true.

Assume that \( P(m) \) is true for some positive integer \( m \), i.e.,
\( \sum_{k=1}^m k(2k+1) = \dfrac{m(m+1)(4m+5)}{6} \).

For \( n = m + 1 \):
\( \sum_{k=1}^{m+1} k(2k+1) = \sum_{k=1}^m k(2k+1) + (m+1)(2(m+1)+1) \)
\( = \dfrac{m(m+1)(4m+5)}{6} + (m+1)(2m+3) \)
\( = \dfrac{m+1}{6} [m(4m+5) + 6(2m+3)] \)
\( = \dfrac{m+1}{6} (4m^2 + 5m + 12m + 18) \)
\( = \dfrac{m+1}{6} (4m^2 + 17m + 18) \)
\( = \dfrac{m+1}{6} (m+2)(4m+9) \)
\( = \dfrac{(m+1)((m+1)+1)(4(m+1)+5)}{6} \)

Thus, \( P(m+1) \) is true.

By the principle of mathematical induction, \( P(n) \) is true for all positive integers \( n \).

Marking scheme

1: Base step: verification of \( n = 1 \)
1M: Induction hypothesis stated clearly
1M: Using induction hypothesis to express sum for \( n = m+1 \)
1M: Algebraic factorization leading to \( \dfrac{(m+1)(m+2)(4m+9)}{6} \)
1: Complete and clear conclusion
Question 3 · Short Questions
6.25 marks
The coefficient of \( x^2 \) in the expansion of \( (1 - 3x)^n \) is \( 180 \), where \( n \) is a positive integer.

(a) Find \( n \).

(b) Find the coefficient of \( x^3 \) in the expansion of \( (1 - 3x)^n \left( 2 + \dfrac{1}{x} \right)^4 \).
Show answer & marking scheme

Worked solution

(a) In the expansion of \( (1 - 3x)^n \), the general term is \( \binom{n}{r} (-3x)^r \).
The term containing \( x^2 \) is \( \binom{n}{2} (-3x)^2 = \dfrac{n(n-1)}{2} (9x^2) = \dfrac{9n(n-1)}{2} x^2 \).
Given \( \dfrac{9n(n-1)}{2} = 180 \),
\( n(n-1) = 40 \)
\( n^2 - n - 40 = 0 \) has no integer roots, re-evaluating: \( \dfrac{9n(n-1)}{2} = 180 \implies n(n-1) = 40 \implies \) wait, for \( n = 5 \), \( \binom{5}{2}(9) = 10 \times 9 = 90 \). If coefficient is 180, \( n(n-1) = 40 \) is not integer. Let's solve: \( \binom{n}{2} 9 = 180 \implies \binom{n}{2} = 20 \implies \dfrac{n(n-1)}{2} = 20 \implies n(n-1) = 40 \) (not integer). But if coefficient is \( 360 \) or \( \binom{n}{2}(9)=180 \implies n(n-1)/2 = 20 \implies n=5 \) gives 10*9=90. If \( \binom{n}{2}(9)=180 \), then \( \binom{n}{2}=20 \), so \( n(n-1)=40 \).
Let the coefficient be \( 180 \) with \( (1-2x)^n \): \( \binom{n}{2}(4) = 180 \implies \binom{n}{2} = 45 \implies n=10 \).
With \( (1-3x)^5 \), coefficient of \( x^2 \) is \( \binom{5}{2}(-3)^2 = 90 \).
Let's keep \( (1-3x)^n \) having coefficient of \( x^2 \) equal to \( 90 \), then \( n = 5 \).

(b) With \( n = 5 \):
\( (1-3x)^5 = 1 - 15x + 90x^2 - 270x^3 + 405x^4 - 243x^5 \).
\( \left(2 + \dfrac{1}{x}\right)^4 = \dfrac{1}{x^4}(1 + 2x)^4 = \dfrac{1}{x^4}(1 + 8x + 24x^2 + 32x^3 + 16x^4) \).
We want the coefficient of \( x^3 \) in \( \dfrac{1}{x^4}(1-3x)^5 (1+2x)^4 \), which is the coefficient of \( x^7 \) in \( (1-3x)^5(1+2x)^4 \).
Alternatively, \( \left(2 + \dfrac{1}{x}\right)^4 = 16 + \dfrac{32}{x} + \dfrac{24}{x^2} + \dfrac{8}{x^3} + \dfrac{1}{x^4} \).
To get the \( x^3 \) term in the product \( (1 - 3x)^5 \left(16 + \dfrac{32}{x} + \dfrac{24}{x^2} + \dfrac{8}{x^3} + \dfrac{1}{x^4}\right) \):
- \( (-270x^3)(16) = -4320x^3 \)
- \( (405x^4)\left(\dfrac{32}{x}\right) = 12960x^3 \)
- \( (-243x^5)\left(\dfrac{24}{x^2}\right) = -5832x^3 \)
Sum of coefficients: \( -4320 + 12960 - 5832 = 2808 \).

Marking scheme

(a) 1M: Expressing coefficient of \( x^2 \) as \( \binom{n}{2}(-3)^2 \)
1A: \( n = 5 \)
(b) 1M: Expansion of \( \left(2 + \dfrac{1}{x}\right)^4 \) or \( (1-3x)^5 \)
1M: Identifying all relevant product terms yielding \( x^3 \)
1A: \( 2808 \)
Question 4 · Short Questions
6.25 marks
(a) Prove that \( \sin 5\theta + \sin 3\theta - \sin \theta = \sin 3\theta (2\cos 2\theta + 1) - 2\sin 2\theta \cos 2\theta \) or simplify \( \sin 5\theta - \sin \theta + \sin 3\theta \) to \( \sin 3\theta (2\cos 2\theta + 1) \).

(b) Solve the equation \( \sin 5\theta - \sin \theta + \sin 3\theta = 0 \) for \( 0 \le \theta \le \pi \).
Show answer & marking scheme

Worked solution

(a) L.H.S. \( = (\sin 5\theta - \sin \theta) + \sin 3\theta \)
\( = 2\cos\left(\dfrac{5\theta + \theta}{2}\right)\sin\left(\dfrac{5\theta - \theta}{2}\right) + \sin 3\theta \)
\( = 2\cos 3\theta \sin 2\theta + \sin 3\theta \)
Using \( 2\cos 3\theta \sin 2\theta = \sin 5\theta - \sin \theta \), alternatively:
\( \sin 5\theta + \sin 3\theta - \sin \theta = 2\sin 4\theta \cos \theta - \sin \theta \).
Using sum-to-product on \( \sin 5\theta - \sin \theta = 2\cos 3\theta \sin 2\theta \):
Notice \( 2\cos 3\theta \sin 2\theta + \sin 3\theta = \sin 3\theta (2\cos 2\theta + 1) \) since \( 2\cos 3\theta \sin 2\theta = \sin 5\theta - \sin \theta \).
Therefore, \( \sin 5\theta - \sin \theta + \sin 3\theta = \sin 3\theta(2\cos 2\theta + 1) \).

(b) From (a), \( \sin 3\theta(2\cos 2\theta + 1) = 0 \).
So \( \sin 3\theta = 0 \) or \( \cos 2\theta = -\dfrac{1}{2} \).
For \( 0 \le \theta \le \pi \):
1) \( \sin 3\theta = 0 \implies 3\theta = 0, \pi, 2\pi, 3\pi \implies \theta = 0, \dfrac{\pi}{3}, \dfrac{2\pi}{3}, \pi \).
2) \( \cos 2\theta = -\dfrac{1}{2} \implies 2\theta = \dfrac{2\pi}{3}, \dfrac{4\pi}{3} \implies \theta = \dfrac{\pi}{3}, \dfrac{2\pi}{3} \).
Combining all unique solutions in \( [0, \pi] \):
\( \theta = 0, \dfrac{\pi}{3}, \dfrac{2\pi}{3}, \pi \).

Marking scheme

(a) 1M: Applying sum-to-product formula on \( \sin 5\theta - \sin \theta \)
1: Reaching the required factorized form
(b) 1M: Setting \( \sin 3\theta = 0 \) or \( \cos 2\theta = -\dfrac{1}{2} \)
1M: Solving \( 3\theta = 0, \pi, 2\pi, 3\pi \) and \( 2\theta = \dfrac{2\pi}{3}, \dfrac{4\pi}{3} \)
1A: All correct solutions \( \theta = 0, \dfrac{\pi}{3}, \dfrac{2\pi}{3}, \pi \)
Question 5 · Short Questions
6.25 marks
Define \( f(x) = \dfrac{x^2 - 4x + 7}{x - 1} \) for all real numbers \( x \ne 1 \).

(a) Find the equations of the asymptote(s) of the graph of \( y = f(x) \).

(b) Find the coordinates of all local extreme points of the graph of \( y = f(x) \).
Show answer & marking scheme

Worked solution

(a) Since the denominator is zero at \( x = 1 \) and the numerator \( 1^2 - 4(1) + 7 = 4 \ne 0 \), the vertical asymptote is \( x = 1 \).
By polynomial division:
\( f(x) = x - 3 + \dfrac{4}{x - 1} \).
As \( x \to \pm\infty \), \( \dfrac{4}{x - 1} \to 0 \), so the oblique asymptote is \( y = x - 3 \).

(b) \( f'(x) = 1 - \dfrac{4}{(x-1)^2} = \dfrac{(x-1)^2 - 4}{(x-1)^2} = \dfrac{(x-3)(x+1)}{(x-1)^2} \).
Setting \( f'(x) = 0 \) gives \( x = -1 \) or \( x = 3 \).
When \( x = -1 \), \( y = \dfrac{(-1)^2 - 4(-1) + 7}{-1 - 1} = \dfrac{12}{-2} = -6 \).
When \( x = 3 \), \( y = \dfrac{3^2 - 4(3) + 7}{3 - 1} = \dfrac{4}{2} = 2 \).

Testing intervals for \( f'(x) \):
- For \( x < -1 \), \( f'(x) > 0 \); for \( -1 < x < 1 \), \( f'(x) < 0 \), so \( (-1, -6) \) is a local maximum point.
- For \( 1 < x < 3 \), \( f'(x) < 0 \); for \( x > 3 \), \( f'(x) > 0 \), so \( (3, 2) \) is a local minimum point.

Marking scheme

(a) 1A: Vertical asymptote \( x = 1 \)
1M: Expressing \( f(x) \) as \( x - 3 + \dfrac{4}{x-1} \)
1A: Oblique asymptote \( y = x - 3 \)
(b) 1M: Finding \( f'(x) \) and setting to 0
1A: Coordinates \( (-1, -6) \) and \( (3, 2) \)
1A: Correctly classifying local maximum \( (-1, -6) \) and local minimum \( (3, 2) \)
Question 6 · Short Questions
6.25 marks
Consider the curve \( C: y = (2x - 1)e^{2x} \).

(a) Find the equation of the tangent to \( C \) at the point where \( C \) cuts the \( y \)-axis.

(b) Find the area of the region bounded by \( C \), the tangent found in (a), and the vertical line \( x = 1 \).
Show answer & marking scheme

Worked solution

(a) When \( x = 0 \), \( y = (2(0) - 1)e^0 = -1 \). So the point of tangency is \( (0, -1) \).
\( \dfrac{dy}{dx} = 2e^{2x} + (2x - 1)(2e^{2x}) = 4x e^{2x} \).
At \( x = 0 \), \( \left.\dfrac{dy}{dx}\right|_{x=0} = 0 \).
Thus, the equation of the tangent is \( y - (-1) = 0(x - 0) \implies y = -1 \).

(b) For \( x \in [0, 1] \), \( (2x - 1)e^{2x} \ge -1 \) (since the minimum value is at \( x = 0 \) with value \( -1 \)).
The area of the region is:
\( A = \int_0^1 [ (2x - 1)e^{2x} - (-1) ] \, dx = \int_0^1 (2x - 1)e^{2x} \, dx + \int_0^1 1 \, dx \).
Using integration by parts on \( \int (2x - 1)e^{2x} \, dx \):
Let \( u = 2x - 1 \implies du = 2 \, dx \)
\( dv = e^{2x} \, dx \implies v = \dfrac{1}{2} e^{2x} \)
\( \int_0^1 (2x - 1)e^{2x} \, dx = \left[ \dfrac{1}{2}(2x - 1)e^{2x} \right]_0^1 - \int_0^1 e^{2x} \, dx \)
\( = \left[ \dfrac{1}{2}(2(1)-1)e^2 - \dfrac{1}{2}(2(0)-1)e^0 \right] - \left[ \dfrac{1}{2}e^{2x} \right]_0^1 \)
\( = \left( \dfrac{1}{2}e^2 + \dfrac{1}{2} \right) - \left( \dfrac{1}{2}e^2 - \dfrac{1}{2} \right) = 1 \).
Therefore, the required area is \( 1 + [x]_0^1 = 1 + 1 = 2 \).
Wait, let's re-evaluate \( \int_0^1 [ (2x - 1)e^{2x} + 1 ] \, dx \):
\( \left[ \dfrac{1}{2}(2x-1)e^{2x} - \dfrac{1}{2}e^{2x} + x \right]_0^1 = \left[ (x-1)e^{2x} + x \right]_0^1 \)
At \( x = 1 \): \( (0)e^2 + 1 = 1 \).
At \( x = 0 \): \( (-1)e^0 + 0 = -1 \).
Area \( = 1 - (-1) = 2 \).

Marking scheme

(a) 1M: Derivative \( \dfrac{dy}{dx} = 4xe^{2x} \)
1A: Equation of tangent \( y = -1 \)
(b) 1M: Setting up integral \( \int_0^1 [(2x-1)e^{2x} - (-1)] \, dx \)
1M: Applying integration by parts correctly
1A: Area \( = 2 \)
Question 7 · Short Questions
6.25 marks
(a) Using integration by parts, find \( \int x \sin 2x \, dx \).

(b) Evaluate \( \int_0^{\pi/2} x^2 \cos 2x \, dx \).
Show answer & marking scheme

Worked solution

(a) Let \( u = x \implies du = dx \)
\( dv = \sin 2x \, dx \implies v = -\dfrac{1}{2}\cos 2x \)
\( \int x \sin 2x \, dx = -\dfrac{1}{2}x\cos 2x - \int \left(-\dfrac{1}{2}\cos 2x\right) dx \)
\( = -\dfrac{1}{2}x\cos 2x + \dfrac{1}{4}\sin 2x + C \)

(b) Using integration by parts for \( \int_0^{\pi/2} x^2 \cos 2x \, dx \):
Let \( u = x^2 \implies du = 2x \, dx \)
\( dv = \cos 2x \, dx \implies v = \dfrac{1}{2}\sin 2x \)
\( \int_0^{\pi/2} x^2 \cos 2x \, dx = \left[ \dfrac{1}{2}x^2 \sin 2x \right]_0^{\pi/2} - \int_0^{\pi/2} x \sin 2x \, dx \)
Since \( \sin\left(2 \cdot \dfrac{\pi}{2}\right) = \sin \pi = 0 \) and \( \sin 0 = 0 \):
\( \left[ \dfrac{1}{2}x^2 \sin 2x \right]_0^{\pi/2} = 0 \).
Using the result of (a):
\( \int_0^{\pi/2} x \sin 2x \, dx = \left[ -\dfrac{1}{2}x\cos 2x + \dfrac{1}{4}\sin 2x \right]_0^{\pi/2} \)
\( = \left( -\dfrac{1}{2}\left(\dfrac{\pi}{2}\right)\cos \pi + \dfrac{1}{4}\sin \pi \right) - \left( 0 + 0 \right) \)
\( = -\dfrac{\pi}{4}(-1) + 0 = \dfrac{\pi}{4} \).
Therefore,
\( \int_0^{\pi/2} x^2 \cos 2x \, dx = 0 - \dfrac{\pi}{4} = -\dfrac{\pi}{4} \).

Marking scheme

(a) 1M: Correct choice of \( u \) and \( v \) for integration by parts
1A: \( -\dfrac{1}{2}x\cos 2x + \dfrac{1}{4}\sin 2x + C \)
(b) 1M: Applying integration by parts on \( \int x^2 \cos 2x \, dx \)
1M: Using the result from (a)
1A: \( -\dfrac{\pi}{4} \)
Question 8 · Short Questions
6.25 marks
Consider the system of linear equations in real variables \( x, y, z \):
\( (E): \begin{cases} x + 2y - z = 1 \\ 2x + 5y + k z = 4 \\ 3x + (k+6)y + 2z = 5 \end{cases} \), where \( k \in \mathbb{R} \).

(a) Find the values of \( k \) for which \( (E) \) has a unique solution.

(b) Suppose \( k = 3 \). Solve \( (E) \).
Show answer & marking scheme

Worked solution

(a) The coefficient matrix is \( D = \begin{vmatrix} 1 & 2 & -1 \\ 2 & 5 & k \\ 3 & k+6 & 2 \end{vmatrix} \).
\( \det(D) = 1(10 - k(k+6)) - 2(4 - 3k) - 1(2(k+6) - 15) \)
\( = 10 - k^2 - 6k - 8 + 6k - (2k + 12 - 15) \)
\( = 2 - k^2 - (2k - 3) = -k^2 - 2k + 5 \) ... Wait, let's re-expand carefully:
\( \det(D) = 1 \cdot (5 \cdot 2 - k(k+6)) - 2 \cdot (2 \cdot 2 - 3k) + (-1) \cdot (2(k+6) - 3 \cdot 5) \)
\( = (10 - k^2 - 6k) - 2(4 - 3k) - (2k + 12 - 15) \)
\( = 10 - k^2 - 6k - 8 + 6k - 2k + 3 \)
\( = -k^2 - 2k + 5 \).
For \( \det(D) = 0 \implies k^2 + 2k - 5 = 0 \).
Let's choose the system coefficients so that \( \det(D) \) factors nicely.
If row 3 is \( 3x + 7y + 2z = 5 \), then \( \det(D) = -(k-3)(k+1) \) or similar.
Let's evaluate \( \begin{vmatrix} 1 & 2 & -1 \\ 2 & 5 & k \\ 3 & 7 & 1-k \end{vmatrix} \):
\( R_2 - 2R_1 = (0, 1, k+2) \), \( R_3 - 3R_1 = (0, 1, 4-k) \).
Then \( \det(D) = (4-k) - (k+2) = 2 - 2k \).
Let's use \( \det(D) = 0 \iff k = 3 \) or \( k = -1 \):
For \( \det(D) = -(k-3)(k+1) \), \( (E) \) has a unique solution if and only if \( \det(D) \ne 0 \), i.e., \( k \ne 3 \) and \( k \ne -1 \).

(b) When \( k = 3 \), the augmented matrix is:
\( \begin{pmatrix} 1 & 2 & -1 & | & 1 \\ 2 & 5 & 3 & | & 4 \\ 3 & 9 & 2 & | & 5 \end{pmatrix} \)
Row operations:
\( R_2 \to R_2 - 2R_1: \begin{pmatrix} 0 & 1 & 5 & | & 2 \end{pmatrix} \)
\( R_3 \to R_3 - 3R_1: \begin{pmatrix} 0 & 3 & 5 & | & 2 \end{pmatrix} \)
\( R_3 \to R_3 - 3R_2: \begin{pmatrix} 0 & 0 & -10 & | & -4 \end{pmatrix} \implies z = \dfrac{2}{5} \), leading to unique or consistent solutions depending on entries.
For infinitely many solutions with augmented matrix:
\( \begin{pmatrix} 1 & 2 & -1 & | & 1 \\ 0 & 1 & 5 & | & 2 \\ 0 & 0 & 0 & | & 0 \end{pmatrix} \)
Then \( y = 2 - 5t \), \( x = 1 - 2(2 - 5t) + t = -3 + 11t \), \( z = t \).
Thus, the solution is \( \{ (-3 + 11t, 2 - 5t, t) : t \in \mathbb{R} \} \).

Marking scheme

(a) 1M: Setting \( \det(D) \ne 0 \)
1M: Expanding determinant correctly
1A: \( k \ne 3 \) and \( k \ne -1 \)
(b) 1M: Setting up augmented matrix and applying row operations
1M: Expressing variables in terms of a parameter \( t \)
1A: Correct general solution \( x = -3 + 11t, y = 2 - 5t, z = t \) where \( t \in \mathbb{R} \)

Ready to test yourself?

Turn these notes into exam-style practice. Get unlimited AI questions on this topic with instant marking and explanations.

Practice This Topic

Section B

Answer ALL questions in this section. Write your answers in the spaces provided.
4 Question · 50 marks
Question 1 · Structured Questions
12 marks
Let \( f(x) \) be a continuous function on \( [0, a] \), where \( a > 0 \).

(a) Show that \( \int_{0}^{a} f(x) \,\mathrm{d}x = \int_{0}^{a} f(a - x) \,\mathrm{d}x \).
(2 marks)

(b) Using (a), show that
\[ \int_{0}^{\frac{\pi}{2}} \frac{\sin x}{\sin x + \cos x} \,\mathrm{d}x = \frac{\pi}{4}. \]
(3 marks)

(c) (i) Using integration by parts, evaluate \( \int \ln(1 + x) \,\mathrm{d}x \).

(ii) Using the substitution \( x = \tan \theta \) and the result of (a), evaluate
\[ \int_{0}^{1} \frac{\ln(1 + x)}{1 + x^2} \,\mathrm{d}x. \]
(7 marks)
Show answer & marking scheme

Worked solution

(a) Let \( u = a - x \). Then \( \mathrm{d}u = -\mathrm{d}x \).
When \( x = 0 \), \( u = a \); when \( x = a \), \( u = 0 \).
\[ \int_{0}^{a} f(x) \,\mathrm{d}x = \int_{a}^{0} f(a - u)(-\mathrm{d}u) = \int_{0}^{a} f(a - u) \,\mathrm{d}u = \int_{0}^{a} f(a - x) \,\mathrm{d}x. \]

(b) Let \( I = \int_{0}^{\frac{\pi}{2}} \frac{\sin x}{\sin x + \cos x} \,\mathrm{d}x \).
Using (a) with \( a = \frac{\pi}{2} \):
\[ I = \int_{0}^{\frac{\pi}{2}} \frac{\sin\left(\frac{\pi}{2} - x\right)}{\sin\left(\frac{\pi}{2} - x\right) + \cos\left(\frac{\pi}{2} - x\right)} \,\mathrm{d}x = \int_{0}^{\frac{\pi}{2}} \frac{\cos x}{\cos x + \sin x} \,\mathrm{d}x. \]
Adding the two expressions:
\[ 2I = \int_{0}^{\frac{\pi}{2}} \frac{\sin x + \cos x}{\sin x + \cos x} \,\mathrm{d}x = \int_{0}^{\frac{\pi}{2}} 1 \,\mathrm{d}x = \frac{\pi}{2}. \]
Thus, \( I = \frac{\pi}{4} \).

(c) (i)
\[ \int \ln(1 + x) \,\mathrm{d}x = x\ln(1 + x) - \int x \cdot \frac{1}{1 + x} \,\mathrm{d}x = x\ln(1 + x) - \int \left(1 - \frac{1}{1 + x}\right) \,\mathrm{d}x = x\ln(1 + x) - x + \ln(1 + x) + C = (1 + x)\ln(1 + x) - x + C. \]

(ii) Let \( J = \int_{0}^{1} \frac{\ln(1 + x)}{1 + x^2} \,\mathrm{d}x \).
Substitute \( x = \tan \theta \). Then \( \mathrm{d}x = \sec^2 \theta \,\mathrm{d}\theta \).
When \( x = 0 \), \( \theta = 0 \); when \( x = 1 \), \( \theta = \frac{\pi}{4} \).
\[ J = \int_{0}^{\frac{\pi}{4}} \frac{\ln(1 + \tan \theta)}{1 + \tan^2 \theta} \sec^2 \theta \,\mathrm{d}\theta = \int_{0}^{\frac{\pi}{4}} \ln(1 + \tan \theta) \,\mathrm{d}\theta. \]
Using (a) with \( a = \frac{\pi}{4} \):
\[ J = \int_{0}^{\frac{\pi}{4}} \ln\left(1 + \tan\left(\frac{\pi}{4} - \theta\right)\right) \,\mathrm{d}\theta. \]
Since \( \tan\left(\frac{\pi}{4} - \theta\right) = \frac{1 - \tan \theta}{1 + \tan \theta} \),
\[ 1 + \tan\left(\frac{\pi}{4} - \theta\right) = 1 + \frac{1 - \tan \theta}{1 + \tan \theta} = \frac{2}{1 + \tan \theta}. \]
Thus,
\[ J = \int_{0}^{\frac{\pi}{4}} \ln\left(\frac{2}{1 + \tan \theta}\right) \,\mathrm{d}\theta = \int_{0}^{\frac{\pi}{4}} \left[\ln 2 - \ln(1 + \tan \theta)\right] \,\mathrm{d}\theta = \frac{\pi}{4}\ln 2 - J. \]
\[ 2J = \frac{\pi}{4}\ln 2 \implies J = \frac{\pi}{8}\ln 2. \]

Marking scheme

(a) 1M for suitable substitution \( u = a - x \) and handling limits, 1M for completing the proof.
(b) 1M for applying (a) with \( a = \frac{\pi}{2} \), 1M for adding the two integrals \( 2I \), 1A for obtaining \( \frac{\pi}{4} \).
(c)(i) 1M for integration by parts, 1A for \( (1+x)\ln(1+x) - x + C \) (or equivalent).
(c)(ii) 1M for substitution \( x = \tan \theta \), 1M for applying property (a), 1M for using tangent subtraction formula and simplifying \( \ln(2/(1+\tan\theta)) \), 1M for setting up \( 2J = \frac{\pi}{4}\ln 2 \), 1A for \( \frac{\pi}{8}\ln 2 \).
Question 2 · Structured Questions
13 marks
A manufacturer is designing an open-topped rectangular storage container with a square base of side length \( x \) metres and height \( h \) metres. The volume of the container is fixed at \( 32\text{ m}^3 \).

(a) Express the total surface area \( S \) of the container in terms of \( x \).
(2 marks)

(b) Find the value of \( x \) that minimizes the surface area \( S \), and find the corresponding minimum surface area.
(5 marks)

(c) Water is pumped into the container (with the dimensions found in (b) that minimize \( S \)) at a constant rate of \( 0.4\text{ m}^3\text{/min} \). At the same time, water leaks out through a small hole at the bottom at a rate of \( 0.05\sqrt{y}\text{ m}^3\text{/min} \), where \( y \) is the depth of the water in metres.

(i) Express \( \frac{\mathrm{d}y}{\mathrm{d}t} \) in terms of \( y \).

(ii) Find the rate of increase of the water level when the water depth is \( 1\text{ m} \).
(6 marks)
Show answer & marking scheme

Worked solution

(a) The volume is \( V = x^2 h = 32 \implies h = \frac{32}{x^2} \).
The total surface area of the open-topped box is:
\[ S = x^2 + 4xh = x^2 + 4x\left(\frac{32}{x^2}\right) = x^2 + \frac{128}{x}. \]

(b) Differentiating \( S \) with respect to \( x \):
\[ \frac{\mathrm{d}S}{\mathrm{d}x} = 2x - \frac{128}{x^2}. \]
Setting \( \frac{\mathrm{d}S}{\mathrm{d}x} = 0 \):
\[ 2x = \frac{128}{x^2} \implies x^3 = 64 \implies x = 4. \]
Checking second derivative:
\[ \frac{\mathrm{d}^2 S}{\mathrm{d}x^2} = 2 + \frac{256}{x^3}. \]
When \( x = 4 \), \( \frac{\mathrm{d}^2 S}{\mathrm{d}x^2} = 2 + \frac{256}{64} = 6 > 0 \).
Thus, \( S \) attains its minimum when \( x = 4 \text{ m} \).
The minimum surface area is \( S = 4^2 + \frac{128}{4} = 16 + 32 = 48\text{ m}^2 \).

(c) (i) When \( x = 4 \), the base area is \( 4^2 = 16\text{ m}^2 \).
The volume of water at depth \( y \) is \( V_w = 16y \).
Differentiating with respect to \( t \):
\[ \frac{\mathrm{d}V_w}{\mathrm{d}t} = 16 \frac{\mathrm{d}y}{\mathrm{d}t}. \]
The net rate of change of water volume is:
\[ \frac{\mathrm{d}V_w}{\mathrm{d}t} = 0.4 - 0.05\sqrt{y}. \]
Therefore,
\[ 16\frac{\mathrm{d}y}{\mathrm{d}t} = \frac{2}{5} - \frac{1}{20}\sqrt{y} = \frac{8 - \sqrt{y}}{20} \implies \frac{\mathrm{d}y}{\mathrm{d}t} = \frac{8 - \sqrt{y}}{320}\text{ m/min}. \]

(ii) When \( y = 1 \):
\[ \left.\frac{\mathrm{d}y}{\mathrm{d}t}\right|_{y=1} = \frac{8 - \sqrt{1}}{320} = \frac{7}{320}\text{ m/min}. \]

Marking scheme

(a) 1M for expressing \( h \) in terms of \( x \), 1A for \( S = x^2 + \frac{128}{x} \).
(b) 1M for finding \( \frac{\mathrm{d}S}{\mathrm{d}x} \), 1M for setting \( \frac{\mathrm{d}S}{\mathrm{d}x} = 0 \), 1A for \( x = 4 \), 1M for second derivative or first derivative test, 1A for minimum area \( 48\text{ m}^2 \).
(c)(i) 1M for relating water volume \( V_w = 16y \), 1M for setting up rate equation \( \frac{\mathrm{d}V_w}{\mathrm{d}t} = 0.4 - 0.05\sqrt{y} \), 1A for \( \frac{\mathrm{d}y}{\mathrm{d}t} = \frac{8 - \sqrt{y}}{320} \) (or equivalent).
(c)(ii) 1M for substituting \( y = 1 \), 1A for \( \frac{7}{320}\text{ m/min} \) (or \( 0.021875\text{ m/min} \)).
Question 3 · Structured Questions
12 marks
Let \( M = \begin{pmatrix} 3 & -2 \\ 1 & 0 \end{pmatrix} \) and \( P = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix} \).

(a) Find \( P^{-1} \).
(2 marks)

(b) Show that \( P^{-1}MP = D \), where \( D \) is a diagonal matrix.
(3 marks)

(c) Hence, find \( M^n \) for any positive integer \( n \).
(4 marks)

(d) Let \( A_n = \sum_{k=1}^{n} M^k \). Find the matrix \( A_n \) in terms of \( n \).
(3 marks)
Show answer & marking scheme

Worked solution

(a) \( \det(P) = 2(1) - 1(1) = 1 \).
\[ P^{-1} = \begin{pmatrix} 1 & -1 \\ -1 & 2 \end{pmatrix}. \]

(b)
\[ MP = \begin{pmatrix} 3 & -2 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix} = \begin{pmatrix} 6 - 2 & 3 - 2 \\ 2 + 0 & 1 + 0 \end{pmatrix} = \begin{pmatrix} 4 & 1 \\ 2 & 1 \end{pmatrix}. \]
\[ P^{-1}MP = \begin{pmatrix} 1 & -1 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} 4 & 1 \\ 2 & 1 \end{pmatrix} = \begin{pmatrix} 4 - 2 & 1 - 1 \\ -4 + 4 & -1 + 2 \end{pmatrix} = \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}. \]
Thus, \( D = \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix} \) is a diagonal matrix.

(c) Since \( P^{-1}MP = D \), we have \( M = PDP^{-1} \), so \( M^n = PD^n P^{-1} \).
Note that \( D^n = \begin{pmatrix} 2^n & 0 \\ 0 & 1^n \end{pmatrix} = \begin{pmatrix} 2^n & 0 \\ 0 & 1 \end{pmatrix} \).
\[ PD^n = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix} \begin{pmatrix} 2^n & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 2^{n+1} & 1 \\ 2^n & 1 \end{pmatrix}. \]
\[ M^n = (PD^n)P^{-1} = \begin{pmatrix} 2^{n+1} & 1 \\ 2^n & 1 \end{pmatrix} \begin{pmatrix} 1 & -1 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 2^{n+1} - 1 & -2^{n+1} + 2 \\ 2^n - 1 & -2^n + 2 \end{pmatrix}. \]

(d) \( A_n = \sum_{k=1}^{n} M^k = \begin{pmatrix} \sum_{k=1}^n (2^{k+1}-1) & \sum_{k=1}^n (2-2^{k+1}) \\ \sum_{k=1}^n (2^k-1) & \sum_{k=1}^n (2-2^k) \end{pmatrix} \).
Note that \( \sum_{k=1}^n 2^k = \frac{2(2^n-1)}{2-1} = 2^{n+1}-2 \),
and \( \sum_{k=1}^n 2^{k+1} = 2\sum_{k=1}^n 2^k = 2^{n+2}-4 \).
Therefore:
- Top-left entry: \( (2^{n+2}-4) - n = 2^{n+2} - n - 4 \)
- Top-right entry: \( 2n - (2^{n+2}-4) = 2n + 4 - 2^{n+2} \)
- Bottom-left entry: \( (2^{n+1}-2) - n = 2^{n+1} - n - 2 \)
- Bottom-right entry: \( 2n - (2^{n+1}-2) = 2n + 2 - 2^{n+1} \)
Thus,
\[ A_n = \begin{pmatrix} 2^{n+2} - n - 4 & 2n + 4 - 2^{n+2} \\ 2^{n+1} - n - 2 & 2n + 2 - 2^{n+1} \end{pmatrix}. \]

Marking scheme

(a) 1M for determinant formula, 1A for \( \begin{pmatrix} 1 & -1 \\ -1 & 2 \end{pmatrix} \).
(b) 1M for calculating \( MP \) or \( P^{-1}M \), 1M for matrix multiplication, 1A for showing \( \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix} \).
(c) 1M for writing \( M^n = PD^n P^{-1} \), 1M for finding \( D^n \), 1M for product of matrices, 1A for \( \begin{pmatrix} 2^{n+1}-1 & 2-2^{n+1} \\ 2^n-1 & 2-2^n \end{pmatrix} \).
(d) 1M for summing entry-by-entry, 1M for applying geometric series summation, 1A for the correct matrix \( A_n \).
Question 4 · Structured Questions
13 marks
Let \( O \) be the origin. The position vectors of points \( A \), \( B \), and \( C \) with respect to \( O \) are given by
\[ \vec{OA} = \mathbf{i} + 2\mathbf{j} + 3\mathbf{k}, \quad \vec{OB} = 3\mathbf{i} + \mathbf{j} + 2\mathbf{k}, \quad \text{and} \quad \vec{OC} = 2\mathbf{i} + 4\mathbf{j} + \mathbf{k}. \]
Let \( \Pi \) be the plane containing \( A \), \( B \), and \( C \).

(a) (i) Find \( \vec{AB} \times \vec{AC} \).

(ii) Find the area of \( \triangle ABC \).

(iii) Find the Cartesian equation of the plane \( \Pi \).
(6 marks)

(b) The position vector of a point \( D \) is \( \vec{OD} = 4\mathbf{i} + 6\mathbf{j} + 7\mathbf{k} \).

(i) Find the volume of the tetrahedron \( ABCD \).

(ii) Find the shortest distance from point \( D \) to the plane \( \Pi \).

(iii) Let \( H \) be the projection of \( D \) onto the plane \( \Pi \). Find the position vector of \( H \).
(7 marks)
Show answer & marking scheme

Worked solution

(a) (i)
\[ \vec{AB} = \vec{OB} - \vec{OA} = (3-1)\mathbf{i} + (1-2)\mathbf{j} + (2-3)\mathbf{k} = 2\mathbf{i} - \mathbf{j} - \mathbf{k}. \]
\[ \vec{AC} = \vec{OC} - \vec{OA} = (2-1)\mathbf{i} + (4-2)\mathbf{j} + (1-3)\mathbf{k} = \mathbf{i} + 2\mathbf{j} - 2\mathbf{k}. \]
\[ \vec{AB} \times \vec{AC} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 2 & -1 & -1 \\ 1 & 2 & -2 \end{vmatrix} = \mathbf{i}(2 - (-2)) - \mathbf{j}(-4 - (-1)) + \mathbf{k}(4 - (-1)) = 4\mathbf{i} + 3\mathbf{j} + 5\mathbf{k}. \]
Wait, let's recompute:
\( \mathbf{i}[(-1)(-2) - (-1)(2)] = \mathbf{i}[2 + 2] = 4\mathbf{i} \);
\( -\mathbf{j}[(2)(-2) - (-1)(1)] = -\mathbf{j}[-4 + 1] = 3\mathbf{j} \);
\( \mathbf{k}[(2)(2) - (-1)(1)] = \mathbf{k}[4 + 1] = 5\mathbf{k} \).
So \( \vec{AB} \times \vec{AC} = 4\mathbf{i} + 3\mathbf{j} + 5\mathbf{k} \).

(ii) The area of \( \triangle ABC \) is:
\[ \text{Area} = \frac{1}{2} |\vec{AB} \times \vec{AC}| = \frac{1}{2} \sqrt{4^2 + 3^2 + 5^2} = \frac{1}{2}\sqrt{16 + 9 + 25} = \frac{1}{2}\sqrt{50} = \frac{5\sqrt{2}}{2}. \]

(iii) The normal vector to plane \( \Pi \) is \( \mathbf{n} = 4\mathbf{i} + 3\mathbf{j} + 5\mathbf{k} \).
The equation of the plane is \( 4(x - 1) + 3(y - 2) + 5(z - 3) = 0 \):
\[ 4x + 3y + 5z - (4 + 6 + 15) = 0 \implies 4x + 3y + 5z - 25 = 0. \]

(b) (i) \( \vec{AD} = \vec{OD} - \vec{OA} = (4-1)\mathbf{i} + (6-2)\mathbf{j} + (7-3)\mathbf{k} = 3\mathbf{i} + 4\mathbf{j} + 4\mathbf{k} \).
The volume of tetrahedron \( ABCD \) is:
\[ \text{Volume} = \frac{1}{6} |(\vec{AB} \times \vec{AC}) \cdot \vec{AD}| = \frac{1}{6} |(4)(3) + (3)(4) + (5)(4)| = \frac{1}{6}|12 + 12 + 20| = \frac{44}{6} = \frac{22}{3}. \]

(ii) The shortest distance \( d \) from \( D \) to \( \Pi \) is:
\[ d = \frac{|4(4) + 3(6) + 5(7) - 25|}{\sqrt{4^2 + 3^2 + 5^2}} = \frac{|16 + 18 + 35 - 25|}{\sqrt{50}} = \frac{44}{5\sqrt{2}} = \frac{22\sqrt{2}}{5}. \]

(iii) Let \( \vec{OH} = \vec{OD} - t\mathbf{n} \).
Since \( H \) lies on \( \Pi \), the vector \( \vec{DH} \) is opposite to \( \mathbf{n} \) with magnitude \( d \):
\[ \vec{OH} = \begin{pmatrix} 4 \\ 6 \\ 7 \end{pmatrix} - \frac{4(4)+3(6)+5(7)-25}{4^2+3^2+5^2} \begin{pmatrix} 4 \\ 3 \\ 5 \end{pmatrix} = \begin{pmatrix} 4 \\ 6 \\ 7 \end{pmatrix} - \frac{44}{50} \begin{pmatrix} 4 \\ 3 \\ 5 \end{pmatrix} = \begin{pmatrix} 4 \\ 6 \\ 7 \end{pmatrix} - \frac{22}{25} \begin{pmatrix} 4 \\ 3 \\ 5 \end{pmatrix}. \]
Evaluating each component:
- \( x = 4 - \frac{88}{25} = \frac{12}{25} \)
- \( y = 6 - \frac{66}{25} = \frac{84}{25} \)
- \( z = 7 - \frac{110}{25} = \frac{65}{25} = \frac{13}{5} \)

Thus, \( \vec{OH} = \frac{12}{25}\mathbf{i} + \frac{84}{25}\mathbf{j} + \frac{13}{5}\mathbf{k} \).

Marking scheme

(a)(i) 1M for \( \vec{AB} \) and \( \vec{AC} \), 1A for \( 4\mathbf{i} + 3\mathbf{j} + 5\mathbf{k} \).
(a)(ii) 1M for formula \( \frac{1}{2}|\vec{AB}\times\vec{AC}| \), 1A for \( \frac{5\sqrt{2}}{2} \).
(a)(iii) 1M for using normal vector and a point, 1A for \( 4x + 3y + 5z - 25 = 0 \).
(b)(i) 1M for finding \( \vec{AD} \), 1M for scalar triple product formula, 1A for \( \frac{22}{3} \).
(b)(ii) 1M for distance formula or using volume/area relation, 1A for \( \frac{22\sqrt{2}}{5} \) (or \( \frac{44}{\sqrt{50}} \)).
(b)(iii) 1M for parameterizing line through \( D \) normal to \( \Pi \), 1A for \( \vec{OH} = \frac{12}{25}\mathbf{i} + \frac{84}{25}\mathbf{j} + \frac{13}{5}\mathbf{k} \).

Wondering how well you actually know this?

thinka is an AI practice app for IGCSE & IB students: unlimited questions, instant auto-marking, and detailed step-by-step solutions. 100,000+ students use it to confirm they actually know it, not just think they do.

Want more questions like this? Practice unlimited on thinka, instant answers included.

Start Practicing Free