Algebra — Introduction & Intermediate
Level 5 — Mastery Examination (Cross-Domain: Math + Physics + Coding)
Time limit: 75 minutes Total marks: 60 Instructions: Answer all questions. Show full reasoning. Proofs must be rigorous; code must be logically correct pseudocode/Python. Use for mathematics.
Question 1 — Projectile Roots & the Discriminant (20 marks)
A ball is thrown vertically upward from height metres with speed m/s. Under constant gravity , its height at time is
(a) Setting for a target height , rewrite the equation as a quadratic and state in terms of . (3 marks)
(b) Using the discriminant, derive the exact condition on (in terms of ) for the ball to just reach height (equal roots). Interpret this physically as the maximum height. (5 marks)
(c) Take , , . Find the two times at which , using the quadratic formula. Show all steps and give exact then decimal values. (6 marks)
(d) By Vieta's formulas, without re-solving, state the sum and product of the two roots from part (c) and give the physical meaning of the sum of roots. (3 marks)
(e) Write a short Python function reaches(H) that returns the number of real times (0, 1, or 2) the ball is at height H, using only the discriminant (no root computation). (3 marks)
Question 2 — Factor Theorem, Synthetic Division & a Proof (20 marks)
Let .
(a) Prove the Factor Theorem: divides a polynomial if and only if . Use the Remainder Theorem in your proof. (5 marks)
(b) Use the Rational Root Theorem to list candidate rational roots of , then find one root by testing. (4 marks)
(c) Using synthetic division with the root found in (b), factor completely over the rationals. (6 marks)
(d) Verify your factorisation by expanding, and confirm the sum and product of all three roots against the coefficients of . (5 marks)
Question 3 — Radical Equations, Absolute Value & a Numerical Check (20 marks)
(a) Solve . Identify and justify the rejection of any extraneous solution. (6 marks)
(b) Rationalise and simplify , giving the answer with a rational denominator. (4 marks)
(c) Solve the absolute value inequality and represent the solution on a number line (describe it). (4 marks)
(d) Solve the compound inequality (AND): . (3 marks)
(e) Write a Python one-liner (or short function) is_solution(x) that checks whether a given float x satisfies the original equation in part (a) to within tolerance , correctly handling the domain. (3 marks)
Answer keyMark scheme & solutions
Question 1
(a) . So , , . (3) (1 for rearranging, 2 for correct signs of a,b,c.)
(b) Equal roots ⟺ discriminant : Thus . (3) Physically this is the maximum height: at exactly one instant the ball reaches it (apex), beyond which the trajectory never gets. (2) (consistency with energy ).
(c) : . Discriminant . . So or (seconds). (6) (2 setup, 2 discriminant, 2 both roots.)
(d) From : sum , product . (2) Meaning of sum: s; the times are symmetric about the apex time s . (1)
(e) (3)
def reaches(H, g=10, u=20, h0=5):
a, b, c = g/2, -u, H - h0
D = b*b - 4*a*c
return 0 if D < 0 else (1 if D == 0 else 2)Question 2
(a) Remainder Theorem: dividing by gives where is constant (degree ). Setting : . (2) Factor Theorem: divides ⟺ remainder ⟺ (by the above). Both directions:
- If then so , i.e. .
- If then so . (3)
(b) Candidates , , : . (2) Test : . So is a root. (2)
(c) Synthetic division by on coefficients : Quotient . (4) So . Roots . (2)
(d) Expand: ; times : ✓. (3) Vieta check: sum of roots ✓. Product ✓. (2)
Question 3
(a) Square: . (3) Candidates . Domain requires RHS . : RHS , extraneous — reject. : ✓. Solution: . (3) (reject reasoning essential.)
(b) Multiply by conjugate: (4)
(c) . (3) Number line: closed dots at and , shaded segment between. (1)
(d) . (3)
(e) (3)
def is_solution(x, tol=1e-9):
return x - 4 >= -tol and 2*x + 7 >= -tol and \
abs((2*x + 7)**0.5 - (x - 4)) < tol[
{"claim":"Q1c roots of t^2-4t+3 are 1 and 3","code":"t=symbols('t'); r=solve(Eq(t**2-4*t+3,0),t); result=set(r)=={1,3}"},
{"claim":"Q1b max height H=h0+u^2/(2g) for g=10,u=20,h0=5 equals 25","code":"result=(5+20**2/(2*10))==25"},
{"claim":"Q2 P(x)=2x^3-3x^2-11x+6 factors as (x-3)(2x-1)(x+2)","code":"x=symbols('x'); result=expand((x-3)*(2*x-1)*(x+2))==2*x**3-3*x**2-11*x+6"},
{"claim":"Q2 roots sum=3/2 and product=-3","code":"x=symbols('x'); rs=solve(2*x**3-3*x**2-11*x+6,x); result=(sum(rs)==Rational(3,2)) and (prod(rs)==-3)"},
{"claim":"Q3a only x=9 solves sqrt(2x+7)=x-4","code":"x=symbols('x'); sols=solve(Eq(sqrt(2*x+7),x-4),x); result=sols==[9]"},
{"claim":"Q3b rationalisation equals sqrt5+sqrt2","code":"result=simplify(3/(sqrt(5)-sqrt(2))-(sqrt(5)+sqrt(2)))==0"}
]