Question 1 · Short Questions (5 marks)
5 marksIn the expansion of \(\left(1 + \frac{x}{k}\right)^n\) in ascending powers of \(x\), where \(n\) is a positive integer and \(k\) is a non-zero real number, the coefficient of \(x\) is \(2\) and the coefficient of \(x^2\) is \(\frac{3}{2}\). Find the values of \(n\) and \(k\).
Worked solution
By binomial expansion, \(\left(1 + \frac{x}{k}\right)^n = 1 + \binom{n}{1}\left(\frac{x}{k}\right) + \binom{n}{2}\left(\frac{x}{k}\right)^2 + \dots = 1 + \frac{n}{k}x + \frac{n(n-1)}{2k^2}x^2 + \dots\). Comparing coefficients: \(\frac{n}{k} = 2\) --- (1), and \(\frac{n(n-1)}{2k^2} = \frac{3}{2}\) --- (2). From (1), we have \(k = \frac{n}{2}\). Substituting \(k = \frac{n}{2}\) into (2): \(\frac{n(n-1)}{2\left(\frac{n}{2}\right)^2} = \frac{3}{2}\), which simplifies to \(\frac{2(n-1)}{n} = \frac{3}{2}\), then \(4n - 4 = 3n\), so \(n = 4\). Since \(k = \frac{n}{2}\), we have \(k = 2\).
Marking scheme
1M for binomial expansion up to \(x^2\) term. 1M for setting up both equations. 1M for substitution to eliminate one variable. 1A for \(n = 4\). 1A for \(k = 2\).
Question 2 · Short Questions (5 marks)
5 marksBox \(X\) contains 3 red balls and 2 blue balls. Box \(Y\) contains 2 red balls and 4 blue balls. A fair die is rolled. If the result is 1 or 2, a ball is randomly drawn from Box \(X\); otherwise, a ball is randomly drawn from Box \(Y\). (a) Find the probability that a red ball is drawn. (b) Given that a red ball is drawn, find the probability that the die rolled was 1 or 2.
Answer
(a) 19/45, (b) 9/19
Worked solution
Let \(R\) be the event of drawing a red ball, \(X\) be the event of choosing Box \(X\) (i.e., rolling 1 or 2), and \(Y\) be the event of choosing Box \(Y\) (i.e., rolling 3, 4, 5, or 6). We have \(P(X) = \frac{2}{6} = \frac{1}{3}\) and \(P(Y) = \frac{4}{6} = \frac{2}{3}\). (a) By the law of total probability, \(P(R) = P(X)P(R|X) + P(Y)P(R|Y) = \frac{1}{3} \cdot \frac{3}{5} + \frac{2}{3} \cdot \frac{2}{6} = \frac{1}{5} + \frac{2}{9} = \frac{19}{45}\). (b) By Bayes' Theorem, the required probability is \(P(X|R) = \frac{P(X \cap R)}{P(R)} = \frac{P(X)P(R|X)}{P(R)} = \frac{\frac{1}{3} \cdot \frac{3}{5}}{\frac{19}{45}} = \frac{1/5}{19/45} = \frac{9}{19}\).
Marking scheme
(a) 1M for summing the two conditional cases, 1A for \(\frac{19}{45}\). (b) 1M for the conditional probability definition, 1M for substitution of calculated values, 1A for \(\frac{9}{19}\).
Question 3 · Short Questions
6 marksIn the expansion of \((1 + ax)^n (1 - 3x)^2\), where \(n\) is a positive integer and \(a\) is a non-zero constant, the coefficient of \(x\) is \(4\) and the coefficient of \(x^2\) is \(-11\). Find the values of \(a\) and \(n\).
Worked solution
We have \((1+ax)^n = 1 + nax + \frac{n(n-1)}{2}a^2 x^2 + \dots\) and \((1-3x)^2 = 1 - 6x + 9x^2\). In the expansion of \((1+ax)^n(1-3x)^2\), the coefficient of \(x\) is given by \(na(1) + 1(-6) = 4\), which simplifies to \(na = 10\) (Equation 1). The coefficient of \(x^2\) is given by \(\frac{n(n-1)}{2}a^2(1) + na(-6) + 1(9) = -11\), which simplifies to \(\frac{n(n-1)a^2}{2} - 6na + 9 = -11\) (Equation 2). Substituting Equation 1 into Equation 2, we get \(\frac{na(n-1)a}{2} - 6(10) + 9 = -11\), which gives \(\frac{10(n-1)a}{2} - 60 + 9 = -11\), so \(5a(n-1) - 51 = -11\), which simplifies to \(a(n-1) = 8\) (Equation 3). From Equation 1, we have \(a = \frac{10}{n}\). Substituting this into Equation 3 yields \(\frac{10}{n}(n-1) = 8\), which simplifies to \(10n - 10 = 8n\), so \(2n = 10\), giving \(n = 5\). Finally, substituting \(n = 5\) into Equation 1 gives \(5a = 10\), which yields \(a = 2\). Thus, \(a = 2\) and \(n = 5\).
Marking scheme
For expanding both terms correctly up to \(x^2\) (can be implicit): 1M. For obtaining \(na = 10\): 1M. For obtaining \(\frac{n(n-1)}{2}a^2 - 6na + 9 = -11\): 1M. For solving the simultaneous equations (substituting \(na=10\) or equivalent): 1M. For finding \(n = 5\): 1A. For finding \(a = 2\): 1A.
Question 4 · Short Questions
6 marksConsider the curve \(C: y = \frac{e^{2x}}{x-1}\) for \(x > 1\). (a) Find \(\frac{\mathrm{d}y}{\mathrm{d}x}\). (2 marks) (b) Find the coordinates of the local minimum point of \(C\). (4 marks)
Answer
(a) \frac{\mathrm{d}y}{\mathrm{d}x} = \frac{e^{2x}(2x-3)}{(x-1)^2}, (b) (1.5, 2e^3)
Worked solution
(a) Using the quotient rule, we have \(\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{\frac{\mathrm{d}}{\mathrm{d}x}(e^{2x})(x-1) - e^{2x}\frac{\mathrm{d}}{\mathrm{d}x}(x-1)}{(x-1)^2} = \frac{2e^{2x}(x-1) - e^{2x}(1)}{(x-1)^2} = \frac{e^{2x}(2x-3)}{(x-1)^2}\). (b) To find the stationary points, set \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0\). Since \(e^{2x} > 0\) and \(x > 1\), we have \(2x - 3 = 0\), which gives \(x = 1.5\). Using the first derivative test: For \(1 < x < 1.5\), \(2x-3 < 0\) so \(\frac{\mathrm{d}y}{\mathrm{d}x} < 0\). For \(x > 1.5\), \(2x-3 > 0\) so \(\frac{\mathrm{d}y}{\mathrm{d}x} > 0\). Therefore, \(C\) has a local minimum at \(x = 1.5\). When \(x = 1.5\), the \(y\)-coordinate is \(y = \frac{e^{2(1.5)}}{1.5-1} = \frac{e^3}{0.5} = 2e^3\). Thus, the coordinates of the local minimum point of \(C\) are \((1.5, 2e^3)\).
Marking scheme
(a) For applying quotient rule (or product rule): 1M. For correct simplified expression: 1A. (b) For setting \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0\): 1M. For finding \(x = 1.5\): 1A. For showing that this is a local minimum: 1M. For finding the \(y\)-coordinate and presenting the correct point \((1.5, 2e^3)\): 1A.
Question 5 · Short Questions
7 marksIn the expansion of \((1 + kx)^n (1 - 2x)^5\), where \(n\) is a positive integer and \(k\) is a constant, the coefficients of \(x\) and \(x^2\) are \(-2\) and \(-16\) respectively. Find the values of \(n\) and \(k\).
Worked solution
Using binomial expansion: \((1 + kx)^n = 1 + nkx + \frac{n(n-1)k^2}{2}x^2 + \dots\) and \((1 - 2x)^5 = 1 - 10x + 40x^2 - \dots\). Product expansion up to the \(x^2\) term: \((1 + kx)^n (1 - 2x)^5 = (1 + nkx + \frac{n(n-1)k^2}{2}x^2 + \dots)(1 - 10x + 40x^2 - \dots)\). The coefficient of \(x\) is \(nk - 10 = -2\), which gives \(nk = 8\) (Equation 1). The coefficient of \(x^2\) is \(40 - 10nk + \frac{n(n-1)k^2}{2} = -16\) (Equation 2). Substitute \(nk = 8\) into Equation 2: \(40 - 10(8) + \frac{n^2k^2 - nk^2}{2} = -16\), \(-40 + \frac{64 - 8k}{2} = -16\), \(-40 + 32 - 4k = -16\), \(-8 - 4k = -16\), \(4k = 8\), \(k = 2\). Substitute \(k = 2\) into Equation 1: \(n(2) = 8\), which gives \(n = 4\).
Marking scheme
1M: Correct general expansion terms. 1M: Setting up coefficient equation of x. 1A: For nk = 8. 1M: Setting up coefficient equation of x^2. 1M: Substituting nk = 8 into the coefficient equation of x^2. 1A: For k = 2. 1A: For n = 4.
Question 6 · Short Questions
7 marksA software system contains code written by two programmers, Alice and Bob. Alice wrote \(60\%\) of the code, and Bob wrote the remaining \(40\%\). It is known that \(2\%\) of the lines of code written by Alice contain errors, while \(5\%\) of the lines of code written by Bob contain errors. A line of code is randomly selected. (a) Find the probability that the selected line of code contains an error. (b) Given that the selected line of code contains an error, find the probability that it was written by Bob.
Answer
(a) 0.032 ; (b) 0.625
Worked solution
Let \(A\) be the event that the code is written by Alice, \(B\) be the event that the code is written by Bob, and \(E\) be the event that the code contains an error. Given: \(P(A) = 0.60\), \(P(B) = 0.40\), \(P(E|A) = 0.02\), \(P(E|B) = 0.05\). (a) By the law of total probability: \(P(E) = P(A)P(E|A) + P(B)P(E|B) = (0.60)(0.02) + (0.40)(0.05) = 0.012 + 0.020 = 0.032\). (b) By Bayes' theorem: \(P(B|E) = \frac{P(B \cap E)}{P(E)} = \frac{P(B)P(E|B)}{P(E)} = \frac{(0.40)(0.05)}{0.032} = \frac{0.020}{0.032} = 0.625\).
Marking scheme
(a) 1M: Applying total probability formula. 1M: Correct substitution of values. 1A: Correct answer (0.032 or 4/125). (b) 1M: Applying Bayes' theorem formula. 1M: Correct numerator. 1M: Dividing by the answer in (a). 1A: Correct answer (0.625 or 5/8).
Question 7 · Short Questions
7 marksThe profit \(P\) (in million dollars) of a startup company \(t\) years after its establishment is modeled by \(P(t) = 12 t^2 e^{-0.5t} + 5\) for \(t \ge 0\). (a) Find \(\frac{\mathrm{d}P}{\mathrm{d}t}\). (b) Determine the value of \(t\) at which the profit is maximum. Hence, find the maximum profit of the company, leaving your answer in terms of \(e\).
Answer
(a) 6t e^{-0.5t} (4 - t) ; (b) t = 4, maximum profit is 192 e^{-2} + 5 million dollars
Worked solution
(a) Using the product rule and chain rule: \(\frac{\mathrm{d}P}{\mathrm{d}t} = 12 \left( \frac{\mathrm{d}}{\mathrm{d}t}(t^2) e^{-0.5t} + t^2 \frac{\mathrm{d}}{\mathrm{d}t}(e^{-0.5t}) \right) = 12 \left( 2t e^{-0.5t} + t^2 (-0.5 e^{-0.5t}) \right) = 12 e^{-0.5t} (2t - 0.5t^2) = 6t e^{-0.5t} (4 - t)\). (b) Set \(\frac{\mathrm{d}P}{\mathrm{d}t} = 0\): \(6t e^{-0.5t} (4 - t) = 0\). Since \(t > 0\) for critical values within the range and \(e^{-0.5t} > 0\), we get \(t = 4\). For \(0 < t < 4\), \(\frac{\mathrm{d}P}{\mathrm{d}t} > 0\); for \(t > 4\), \(\frac{\mathrm{d}P}{\mathrm{d}t} < 0\). Hence, \(P\) attains its maximum at \(t = 4\). The maximum profit is \(P(4) = 12(4)^2 e^{-0.5(4)} + 5 = 12(16) e^{-2} + 5 = 192 e^{-2} + 5\) million dollars.
Marking scheme
(a) 1M: Applying product rule. 1M: Correct derivative of e^{-0.5t}. 1A: Correct derivative expression. (b) 1M: Set derivative to zero and solve for t. 1A: t = 4. 1M: Performing first derivative test to verify maximum. 1A: Maximum profit = 192 e^{-2} + 5.
Question 8 · Short Questions
7 marksLet \(C\) be a curve passing through the point \((0, 4)\). It is given that the slope of the tangent to \(C\) at any point \((x, y)\) is given by \(\frac{\mathrm{d}y}{\mathrm{d}x} = x \sqrt{2x^2 + 9}\). Find the equation of \(C\).
Answer
y = \frac{1}{6} (2x^2 + 9)^{3/2} - \frac{1}{2}
Worked solution
We integrate \(\frac{\mathrm{d}y}{\mathrm{d}x}\) to find the equation of \(C\): \(y = \int x \sqrt{2x^2 + 9} \mathrm{d}x\). Let \(u = 2x^2 + 9\). Then \(\mathrm{d}u = 4x \mathrm{d}x\), which gives \(x \mathrm{d}x = \frac{1}{4} \mathrm{d}u\). Substituting these into the integral: \(y = \int \sqrt{u} \cdot \frac{1}{4} \mathrm{d}u = \frac{1}{4} \int u^{1/2} \mathrm{d}u = \frac{1}{4} \left( \frac{u^{3/2}}{3/2} \right) + C = \frac{1}{6} u^{3/2} + C = \frac{1}{6} (2x^2 + 9)^{3/2} + C\), where \(C\) is a constant. Since the curve passes through \((0, 4)\), substitute \(x = 0\) and \(y = 4\): \(4 = \frac{1}{6} (2(0)^2 + 9)^{3/2} + C\), \(4 = \frac{1}{6} (27) + C\), \(4 = 4.5 + C\), \(C = -0.5\). Thus, the equation of the curve \(C\) is \(y = \frac{1}{6} (2x^2 + 9)^{3/2} - \frac{1}{2}\).
Marking scheme
1M: Expressing equation as indefinite integral. 1M: Using integration by substitution method. 1A: Correct rewritten integral in terms of u. 1M: Integrating u^{1/2}. 1A: Correct expression with C. 1M: Substituting (0, 4) to solve for C. 1A: Correct final equation of curve.