Skip to main content

Quadratics — Diagnostic Tests

Unit Tests

Tests edge cases, boundary conditions, and common misconceptions for quadratics.

UT-1: Discriminant with Parameters

Question:

Find the range of values of kk for which the equation (k1)x22kx+k+3=0(k - 1)x^2 - 2kx + k + 3 = 0 has two distinct real roots.

Solution:

For two distinct real roots, we need Δ>0\Delta > 0 AND a0a \neq 0.

a=k1a = k - 1, b=2kb = -2k, c=k+3c = k + 3.

Δ=(2k)24(k1)(k+3)=4k24(k2+2k3)=4k24k28k+12=8k+12\Delta = (-2k)^2 - 4(k-1)(k+3) = 4k^2 - 4(k^2 + 2k - 3) = 4k^2 - 4k^2 - 8k + 12 = -8k + 12

Δ>0    8k+12>0    k<32\Delta > 0 \implies -8k + 12 > 0 \implies k < \dfrac{3}{2}.

a0    k1a \neq 0 \implies k \neq 1.

Therefore k(,  1)(1,  32)k \in (-\infty,\; 1) \cup (1,\; \tfrac{3}{2}).

A common mistake is forgetting the a0a \neq 0 condition (i.e. k1k \neq 1), which would reduce the problem to a linear equation.


UT-2: Hidden Quadratic in Exponent

Question:

Solve 4x+152x+1=04^{x+1} - 5 \cdot 2^x + 1 = 0.

Solution:

Let u=2xu = 2^x (so u>0u > 0). Then 4x+1=44x=4u24^{x+1} = 4 \cdot 4^x = 4u^2.

4u25u+1=04u^2 - 5u + 1 = 0

(4u1)(u1)=0(4u - 1)(u - 1) = 0

u=14oru=1u = \frac{1}{4} \quad \text{or} \quad u = 1

Since u>0u > 0, both are valid.

2x=14=22    x=22^x = \dfrac{1}{4} = 2^{-2} \implies x = -2.

2x=1=20    x=02^x = 1 = 2^0 \implies x = 0.

Therefore x=2x = -2 or x=0x = 0.


UT-3: Vieta's Formulas Application

Question:

If α\alpha and β\beta are the roots of 2x26x+1=02x^2 - 6x + 1 = 0, find the value of α2+β2\alpha^2 + \beta^2 without solving the equation.

Solution:

By Vieta's formulas: α+β=62=3\alpha + \beta = \dfrac{6}{2} = 3 and αβ=12\alpha\beta = \dfrac{1}{2}.

α2+β2=(α+β)22αβ=92(12)=91=8\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = 9 - 2\left(\frac{1}{2}\right) = 9 - 1 = 8


UT-4: Completing the Square to Find Range

Question:

Find the range of f(x)=3x2+12x7f(x) = -3x^2 + 12x - 7.

Solution:

f(x)=3(x24x)7=3(x2)2+127=3(x2)2+5f(x) = -3(x^2 - 4x) - 7 = -3(x - 2)^2 + 12 - 7 = -3(x - 2)^2 + 5

Since 3(x2)20-3(x - 2)^2 \leq 0 for all xx, the maximum value is 55 at x=2x = 2.

ran(f)=(,  5]\mathrm{ran}(f) = (-\infty,\; 5]


UT-5: Factorisation with Non-Integer Coefficients

Question:

Factorise 6x27x206x^2 - 7x - 20 completely.

Solution:

We need ac=6×(20)=120ac = 6 \times (-20) = -120 and b=7b = -7.

Two numbers multiplying to 120-120 and adding to 7-7: 15-15 and 88.

6x215x+8x20=3x(2x5)+4(2x5)=(3x+4)(2x5)6x^2 - 15x + 8x - 20 = 3x(2x - 5) + 4(2x - 5) = (3x + 4)(2x - 5)


Integration Tests

Tests synthesis of quadratics with other topics.

IT-1: Quadratics and Inequalities (with Inequalities)

Question:

Find the range of values of xx for which x24x+3x21<0\dfrac{x^2 - 4x + 3}{x^2 - 1} \lt 0.

Solution:

Factorise: (x1)(x3)(x1)(x+1)=x3x+1\dfrac{(x-1)(x-3)}{(x-1)(x+1)} = \dfrac{x - 3}{x + 1}, provided x1x \neq 1.

x3x+1<0\dfrac{x - 3}{x + 1} \lt 0.

Critical values: x=1x = -1 and x=3x = 3. Note x=1x = 1 is excluded (makes denominator zero in original).

Sign chart:

IntervalTestSign
x<1x < -1x=2x = -2++
1<x<1-1 < x < 1x=0x = 0-
1<x<31 < x < 3x=2x = 2-
x>3x > 3x=4x = 4++

The expression is negative for 1<x<1-1 < x < 1 or 1<x<31 < x < 3.

Combined: x(1,  1)(1,  3)x \in (-1,\; 1) \cup (1,\; 3).


IT-2: Quadratics and Functions (with Functions)

Question:

Let f(x)=x24x+kf(x) = x^2 - 4x + k. If the equation f(x)=0f(x) = 0 has no real roots and f(2)>0f(2) > 0, find the range of kk.

Solution:

No real roots means Δ<0\Delta < 0:

Δ=164k<0    k>4\Delta = 16 - 4k < 0 \implies k > 4

Also f(2)=48+k=k4>0    k>4f(2) = 4 - 8 + k = k - 4 > 0 \implies k > 4.

Both conditions give k>4k > 4.

Therefore k(4,  )k \in (4,\; \infty).


IT-3: Quadratics and Coordinate Geometry (with Coordinate Geometry)

Question:

The line y=2x+1y = 2x + 1 intersects the parabola y=x23x+7y = x^2 - 3x + 7 at points AA and BB. Find the coordinates of AA and BB, and the length of ABAB.

Solution:

Setting equal: x23x+7=2x+1x^2 - 3x + 7 = 2x + 1

x25x+6=0x^2 - 5x + 6 = 0

(x2)(x3)=0(x - 2)(x - 3) = 0

x=2orx=3x = 2 \quad \text{or} \quad x = 3

When x=2x = 2: y=2(2)+1=5y = 2(2) + 1 = 5. So A=(2,5)A = (2, 5).

When x=3x = 3: y=2(3)+1=7y = 2(3) + 1 = 7. So B=(3,7)B = (3, 7).

AB=(32)2+(75)2=1+4=5AB = \sqrt{(3-2)^2 + (7-5)^2} = \sqrt{1 + 4} = \sqrt{5}


Worked Examples

WE-1: Sum and Product of Roots Application

Question:

If α\alpha and β\beta are the roots of 3x25x+2=03x^2 - 5x + 2 = 0, find a quadratic equation whose roots are α2\alpha^2 and β2\beta^2.

Solution:

By Vieta's formulas: α+β=53\alpha + \beta = \dfrac{5}{3} and αβ=23\alpha\beta = \dfrac{2}{3}.

α2+β2=(α+β)22αβ=25943=25129=139\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = \frac{25}{9} - \frac{4}{3} = \frac{25 - 12}{9} = \frac{13}{9}

α2β2=(αβ)2=49\alpha^2 \beta^2 = (\alpha\beta)^2 = \frac{4}{9}

The required equation has sum =139= \dfrac{13}{9} and product =49= \dfrac{4}{9}:

x2139x+49=0x^2 - \frac{13}{9}x + \frac{4}{9} = 0

9x213x+4=09x^2 - 13x + 4 = 0


WE-2: Quadratic Inequality with Parameter

Question:

Find the range of values of mm for which the equation x2+2mx+m21=0x^2 + 2mx + m^2 - 1 = 0 has real roots, and find the range of values of xx satisfying the inequality x2+2mx+m210x^2 + 2mx + m^2 - 1 \leq 0 when m=2m = 2.

Solution:

Discriminant: Δ=(2m)24(m21)=4m24m2+4=4\Delta = (2m)^2 - 4(m^2 - 1) = 4m^2 - 4m^2 + 4 = 4.

Since Δ=4>0\Delta = 4 > 0 for all mm, the equation always has two distinct real roots.

When m=2m = 2: x2+4x+30x^2 + 4x + 3 \leq 0, i.e. (x+1)(x+3)0(x + 1)(x + 3) \leq 0.

Solution: 3x1-3 \leq x \leq -1, i.e. x[3,  1]x \in [-3,\; -1].


WE-3: Hidden Quadratic with Substitution

Question:

Solve x45x2+4=0x^4 - 5x^2 + 4 = 0.

Solution:

Let u=x2u = x^2 (u0u \geq 0).

u25u+4=0u^2 - 5u + 4 = 0

(u1)(u4)=0(u - 1)(u - 4) = 0

u=1oru=4u = 1 \quad \text{or} \quad u = 4

x2=1    x=1x^2 = 1 \implies x = 1 or x=1x = -1.

x2=4    x=2x^2 = 4 \implies x = 2 or x=2x = -2.

Solution: x=2,  1,  1,  2x = -2,\; -1,\; 1,\; 2.

DSE Exam Technique: When solving hidden quadratics, always check the substitution condition (u0u \geq 0) and state all four roots explicitly.


WE-4: Maximum Value Application

Question:

A farmer has 100 m of fencing to enclose a rectangular field beside a river. No fencing is needed along the river. Find the dimensions that give the maximum area.

Solution:

Let the side parallel to the river have length xx and the other two sides have length yy each.

2y+x=100    y=100x2=50x22y + x = 100 \implies y = \dfrac{100 - x}{2} = 50 - \dfrac{x}{2}.

Area: A=xy=x(50x2)=50xx22A = xy = x\left(50 - \dfrac{x}{2}\right) = 50x - \dfrac{x^2}{2}.

A=12(x2100x)=12(x50)2+1250A = -\frac{1}{2}(x^2 - 100x) = -\frac{1}{2}(x - 50)^2 + 1250

Maximum area is 12501250 m2^2 when x=50x = 50 m, y=25y = 25 m.


WE-5: Discriminant Analysis for Tangency

Question:

Find the value of cc for which the line y=2x+cy = 2x + c is tangent to the curve y=x2+3x1y = x^2 + 3x - 1.

Solution:

Set equal: x2+3x1=2x+cx^2 + 3x - 1 = 2x + c.

x2+x(1+c)=0x^2 + x - (1 + c) = 0

For tangency, Δ=0\Delta = 0:

Δ=14(1)((1+c))=1+4(1+c)=5+4c=0\Delta = 1 - 4(1)(-(1+c)) = 1 + 4(1+c) = 5 + 4c = 0

c=54c = -\frac{5}{4}


WE-6: Quadratic with Integer Roots

Question:

Find the integer values of kk for which x2+kx+k+3=0x^2 + kx + k + 3 = 0 has integer roots.

Solution:

Let the roots be α\alpha and β\beta (integers). By Vieta: α+β=k\alpha + \beta = -k and αβ=k+3\alpha\beta = k + 3.

Substituting: αβ=(α+β)+3\alpha\beta = -(\alpha + \beta) + 3.

αβ+α+β=3\alpha\beta + \alpha + \beta = 3

(α+1)(β+1)=4(\alpha + 1)(\beta + 1) = 4

Factor pairs of 4: (1,4),(2,2),(4,1),(1,4),(2,2),(4,1)(1,4), (2,2), (4,1), (-1,-4), (-2,-2), (-4,-1).

α+1\alpha + 1β+1\beta + 1α\alphaβ\betak=(α+β)k = -(\alpha+\beta)
14033-3
22112-2
41303-3
1-14-42-25-577
2-22-23-33-366
4-41-15-52-277

Distinct values of kk: 3-3, 2-2, 66, 77.


WE-7: Using Roots to Form New Equations

Question:

The roots of x27x+10=0x^2 - 7x + 10 = 0 are α\alpha and β\beta. Find the equation whose roots are 1α\dfrac{1}{\alpha} and 1β\dfrac{1}{\beta}.

Solution:

α+β=7\alpha + \beta = 7, αβ=10\alpha\beta = 10.

1α+1β=α+βαβ=710\frac{1}{\alpha} + \frac{1}{\beta} = \frac{\alpha + \beta}{\alpha\beta} = \frac{7}{10}

1α1β=1αβ=110\frac{1}{\alpha} \cdot \frac{1}{\beta} = \frac{1}{\alpha\beta} = \frac{1}{10}

Required equation: x2710x+110=0x^2 - \dfrac{7}{10}x + \dfrac{1}{10} = 0, i.e. 10x27x+1=010x^2 - 7x + 1 = 0.


WE-8: Range of Quadratic Expression

Question:

Find the minimum value of x2+2x+5x2+2x+2\dfrac{x^2 + 2x + 5}{x^2 + 2x + 2} for real xx.

Solution:

Let t=x2+2x+2=(x+1)2+11t = x^2 + 2x + 2 = (x + 1)^2 + 1 \geq 1.

The expression becomes t+3t=1+3t\dfrac{t + 3}{t} = 1 + \dfrac{3}{t}.

Since t1t \geq 1 and 3t\dfrac{3}{t} is decreasing for t>0t > 0:

The minimum occurs when tt is maximum? No -- tt can be arbitrarily large, making 3t\dfrac{3}{t} approach 00. We need the minimum value, which occurs when tt is largest? No. When tt increases, 3t\dfrac{3}{t} decreases, so the expression approaches 1 from above.

Actually, since t1t \geq 1 and 3t\dfrac{3}{t} decreases as tt increases, the maximum of 3t\dfrac{3}{t} is at t=1t = 1:

Minimum of the expression is when tt is as large as possible, giving 3t0\dfrac{3}{t} \to 0.

Wait -- we need the minimum. 1+3t1 + \dfrac{3}{t} with t1t \geq 1: since 3t3\dfrac{3}{t} \leq 3 and decreases, the minimum is the infimum 11 (not attained).

But let us reconsider. The expression 1+3t1 + \dfrac{3}{t} with t1t \geq 1: since 3t\dfrac{3}{t} ranges from 33 (at t=1t = 1) down to 00 (as tt \to \infty), the range is (1,  4](1,\; 4].

The minimum value approaches 11 but is never attained.


Common Pitfalls

  1. Forgetting the a0a \neq 0 condition in discriminant problems. When asked about the roots of ax2+bx+c=0ax^2 + bx + c = 0, if aa contains a parameter, always check that a0a \neq 0 separately. If a=0a = 0, the equation is linear and has exactly one root.

  2. Losing solutions when dividing by an expression containing xx. When solving xf(x)=0x \cdot f(x) = 0, you must consider both x=0x = 0 and f(x)=0f(x) = 0. Dividing by xx loses the solution x=0x = 0.

  3. Incorrect sign when completing the square. A common error is writing x26x=(x3)29x^2 - 6x = (x - 3)^2 - 9 but mistakenly writing 9-9 as +9+9. Always verify by expanding back: (x3)2=x26x+9(x - 3)^2 = x^2 - 6x + 9, so x26x=(x3)29x^2 - 6x = (x - 3)^2 - 9.

  4. Assuming all quadratics can be factorised with integer coefficients. If the discriminant is not a perfect square, the roots are irrational. In such cases, use the quadratic formula and leave answers in surd form (exact values preferred in DSE).

  5. Confusing the axis of symmetry with the vertex. For y=a(xh)2+ky = a(x - h)^2 + k, the axis of symmetry is x=hx = h and the vertex is (h,k)(h, k). The vertex is a point; the axis of symmetry is a line.


DSE Exam-Style Questions

DSE-1

(a) Find the range of values of kk for which kx2(k+3)x+3=0kx^2 - (k + 3)x + 3 = 0 has two distinct real roots. (4 marks) (b) For the value of kk at the boundary of this range, solve the equation. (2 marks)

Solution:

(a) For two distinct real roots: Δ>0\Delta > 0 and a0a \neq 0.

a=ka = k, b=(k+3)b = -(k + 3), c=3c = 3.

Δ=(k+3)24(k)(3)=k2+6k+912k=k26k+9=(k3)2\Delta = (k + 3)^2 - 4(k)(3) = k^2 + 6k + 9 - 12k = k^2 - 6k + 9 = (k - 3)^2

Δ>0    (k3)2>0    k3\Delta > 0 \implies (k - 3)^2 > 0 \implies k \neq 3.

Also a0    k0a \neq 0 \implies k \neq 0.

Therefore k(,  0)(0,  3)(3,  )k \in (-\infty,\; 0) \cup (0,\; 3) \cup (3,\; \infty).

(b) At the boundary k=3k = 3: Δ=0\Delta = 0, one repeated root.

3x26x+3=0    x22x+1=0    (x1)2=0    x=13x^2 - 6x + 3 = 0 \implies x^2 - 2x + 1 = 0 \implies (x - 1)^2 = 0 \implies x = 1 (repeated root).


DSE-2

The quadratic equation x2+px+q=0x^2 + px + q = 0 has roots α\alpha and β\beta. It is given that α2+β2=10\alpha^2 + \beta^2 = 10 and α3+β3=28\alpha^3 + \beta^3 = 28.

(a) Find the values of pp and qq. (4 marks) (b) Hence solve the equation x2+px+q=0x^2 + px + q = 0. (2 marks)

Solution:

(a) α2+β2=(α+β)22αβ=p22q=10\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = p^2 - 2q = 10. ... (1)

α3+β3=(α+β)33αβ(α+β)=p3+3pq=28\alpha^3 + \beta^3 = (\alpha + \beta)^3 - 3\alpha\beta(\alpha + \beta) = -p^3 + 3pq = 28. ... (2)

From (1): p22q=10    q=p2102p^2 - 2q = 10 \implies q = \dfrac{p^2 - 10}{2}.

Substituting into (2): p3+3pp2102=28-p^3 + 3p \cdot \dfrac{p^2 - 10}{2} = 28.

p3+3p330p2=28-p^3 + \frac{3p^3 - 30p}{2} = 28

2p3+3p330p2=28\frac{-2p^3 + 3p^3 - 30p}{2} = 28

p330p=56p^3 - 30p = 56

p330p56=0p^3 - 30p - 56 = 0

By trial: p=2p = -2: 8+6056=40-8 + 60 - 56 = -4 \neq 0.

p=7p = 7: 34321056=770343 - 210 - 56 = 77 \neq 0.

p=4p = -4: 64+12056=0-64 + 120 - 56 = 0. Yes.

So p=4p = -4, q=16102=3q = \dfrac{16 - 10}{2} = 3.

(b) x24x+3=0    (x1)(x3)=0    x=1x^2 - 4x + 3 = 0 \implies (x - 1)(x - 3) = 0 \implies x = 1 or x=3x = 3.


DSE-3

Let f(x)=x22kx+k2+k3f(x) = x^2 - 2kx + k^2 + k - 3.

(a) Find the range of values of kk for which f(x)>0f(x) > 0 for all real xx. (3 marks) (b) If the minimum value of f(x)f(x) is 1-1, find kk. (3 marks)

Solution:

(a) f(x)>0f(x) > 0 for all xx requires Δ<0\Delta < 0 (since leading coefficient =1>0= 1 > 0).

Δ=(2k)24(k2+k3)=4k24k24k+12=4k+12\Delta = (-2k)^2 - 4(k^2 + k - 3) = 4k^2 - 4k^2 - 4k + 12 = -4k + 12

Δ<0    4k+12<0    k>3\Delta < 0 \implies -4k + 12 < 0 \implies k > 3.

(b) Completing the square: f(x)=(xk)2+k2+k3k2=(xk)2+k3f(x) = (x - k)^2 + k^2 + k - 3 - k^2 = (x - k)^2 + k - 3.

Minimum value =k3=1    k=2= k - 3 = -1 \implies k = 2.


DSE-4

Solve the inequality x25x+6x240\dfrac{x^2 - 5x + 6}{x^2 - 4} \geq 0.

Solution:

Factorise: (x2)(x3)(x2)(x+2)=x3x+2\dfrac{(x-2)(x-3)}{(x-2)(x+2)} = \dfrac{x - 3}{x + 2}, provided x2x \neq 2.

Critical values: x=2x = -2 (excluded, denominator zero) and x=3x = 3 (included, numerator zero). Also x=2x = 2 is excluded (denominator zero in original).

Sign chart for x3x+2\dfrac{x - 3}{x + 2}:

IntervalTestSign
x<2x < -2x=3x = -3++
2<x<2-2 < x < 2x=0x = 0-
2<x<32 < x < 3x=2.5x = 2.5-
x>3x > 3x=4x = 4++

The expression is non-negative for x<2x < -2 or x3x \geq 3, excluding x=2x = 2.

Solution: x(,  2)[3,  )x \in (-\infty,\; -2) \cup [3,\; \infty).


DSE-5

Given that the equation 2x2+4x+k=02x^2 + 4x + k = 0 has roots α\alpha and β\beta:

(a) Express 1α+1β\dfrac{1}{\alpha} + \dfrac{1}{\beta} in terms of kk. (2 marks) (b) Find the value of kk such that 1α2+1β2=1\dfrac{1}{\alpha^2} + \dfrac{1}{\beta^2} = 1. (4 marks)

Solution:

(a) α+β=2\alpha + \beta = -2, αβ=k2\alpha\beta = \dfrac{k}{2}.

1α+1β=α+βαβ=2k/2=4k\frac{1}{\alpha} + \frac{1}{\beta} = \frac{\alpha + \beta}{\alpha\beta} = \frac{-2}{k/2} = -\frac{4}{k}

(b) 1α2+1β2=(1α+1β)22αβ=16k24k\dfrac{1}{\alpha^2} + \dfrac{1}{\beta^2} = \left(\dfrac{1}{\alpha} + \dfrac{1}{\beta}\right)^2 - \dfrac{2}{\alpha\beta} = \dfrac{16}{k^2} - \dfrac{4}{k}.

Setting equal to 1:

16k24k=1\frac{16}{k^2} - \frac{4}{k} = 1

164k=k216 - 4k = k^2

k2+4k16=0k^2 + 4k - 16 = 0

k=4±16+642=4±802=2±25k = \frac{-4 \pm \sqrt{16 + 64}}{2} = \frac{-4 \pm \sqrt{80}}{2} = -2 \pm 2\sqrt{5}

Both are valid provided the original equation has real roots: Δ=168k>0    k<2\Delta = 16 - 8k > 0 \implies k < 2. Since 2+252.47>2-2 + 2\sqrt{5} \approx 2.47 > 2, only k=225k = -2 - 2\sqrt{5} gives real roots. Check: Δ=168(225)=16+16+165=32+165>0\Delta = 16 - 8(-2 - 2\sqrt{5}) = 16 + 16 + 16\sqrt{5} = 32 + 16\sqrt{5} > 0. Both values give Δ>0\Delta > 0, so both are valid.