Skip to main content

Quadratics

Quadratic Equations

A quadratic equation in xx has the general form:

ax2+bx+c=0,a0ax^2 + bx + c = 0, \quad a \neq 0

where aa, bb, and cc are real constants.

The Quadratic Formula

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

This formula gives the roots (solutions) of any quadratic equation. It follows from completing the square on the general form.

Derivation. Starting from ax2+bx+c=0ax^2 + bx + c = 0:

x2+bax=cax^2 + \frac{b}{a}x = -\frac{c}{a}

(x+b2a)2=b24a2ca=b24ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} - \frac{c}{a} = \frac{b^2 - 4ac}{4a^2}

x+b2a=±b24ac2ax + \frac{b}{2a} = \frac{\pm\sqrt{b^2 - 4ac}}{2a}

x=b±b24ac2a\qedx = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \qed


The Discriminant

The discriminant Δ\Delta determines the nature of the roots:

Δ=b24ac\Delta = b^2 - 4ac

ConditionRoots
Δ>0\Delta \gt 0Two distinct real roots
Δ=0\Delta = 0One repeated real root (double root)
Δ<0\Delta \lt 0No real roots (two complex conjugate roots)

Worked Example 1

Determine the nature of the roots of 2x26x+3=02x^2 - 6x + 3 = 0.

Δ=(6)24(2)(3)=3624=12>0\Delta = (-6)^2 - 4(2)(3) = 36 - 24 = 12 \gt 0

Two distinct real roots: x=6±124=6±234=3±32x = \dfrac{6 \pm \sqrt{12}}{4} = \dfrac{6 \pm 2\sqrt{3}}{4} = \dfrac{3 \pm \sqrt{3}}{2}

Worked Example 2

Find the value of kk for which x2+2kx+k+6=0x^2 + 2kx + k + 6 = 0 has equal roots.

Δ=(2k)24(1)(k+6)=4k24k24=0\Delta = (2k)^2 - 4(1)(k + 6) = 4k^2 - 4k - 24 = 0

k2k6=0    (k3)(k+2)=0    k=3ork=2k^2 - k - 6 = 0 \implies (k - 3)(k + 2) = 0 \implies k = 3 \mathrm{ or } k = -2


Completing the Square

To complete the square for ax2+bx+cax^2 + bx + c:

  1. Factor out aa: a ⁣(x2+bax)+ca\!\left(x^2 + \dfrac{b}{a}x\right) + c
  2. Add and subtract (b2a)2\left(\dfrac{b}{2a}\right)^2: a ⁣[(x+b2a)2(b2a)2]+ca\!\left[\left(x + \dfrac{b}{2a}\right)^2 - \left(\dfrac{b}{2a}\right)^2\right] + c

The result is the vertex form:

ax2+bx+c=a(x+b2a)2+4acb24aax^2 + bx + c = a\left(x + \frac{b}{2a}\right)^2 + \frac{4ac - b^2}{4a}

Worked Example 3

Express f(x)=3x212x+7f(x) = 3x^2 - 12x + 7 in completed square form.

f(x)=3(x24x)+7=3 ⁣[(x2)24]+7=3(x2)212+7=3(x2)25f(x) = 3(x^2 - 4x) + 7 = 3\!\left[(x - 2)^2 - 4\right] + 7 = 3(x - 2)^2 - 12 + 7 = 3(x - 2)^2 - 5

The vertex is at (2,5)(2, -5). Since a=3>0a = 3 \gt 0, this is a minimum.


Graphs of Quadratic Functions

The graph of f(x)=ax2+bx+cf(x) = ax^2 + bx + c is a parabola.

Quadratic Function Explorer

Adjust the sliders to see how aa, bb, and cc affect the shape, vertex, and roots of the parabola.

Key Features

  • Vertex: (b2a,  4acb24a)\left(-\dfrac{b}{2a},\; \dfrac{4ac - b^2}{4a}\right)
  • Axis of symmetry: x=b2ax = -\dfrac{b}{2a}
  • yy-intercept: (0,c)(0, c)
  • xx-intercepts: roots of f(x)=0f(x) = 0 (if real)

Shape

ConditionShapeExtremum
a>0a \gt 0Opens upwardMinimum at vertex
a<0a \lt 0Opens downwardMaximum at vertex

Worked Example 4

Find the vertex, axis of symmetry, and xx-intercepts of f(x)=2x2+8x6f(x) = -2x^2 + 8x - 6.

Vertex: x=82(2)=2x = -\dfrac{8}{2(-2)} = 2

f(2)=2(4)+166=8+10=2f(2) = -2(4) + 16 - 6 = -8 + 10 = 2

Vertex: (2,2)(2, 2). This is a maximum. Axis of symmetry: x=2x = 2.

xx-intercepts: 2x2+8x6=0    x24x+3=0    (x1)(x3)=0-2x^2 + 8x - 6 = 0 \implies x^2 - 4x + 3 = 0 \implies (x - 1)(x - 3) = 0

xx-intercepts: (1,0)(1, 0) and (3,0)(3, 0).


Quadratic Inequalities

To solve ax2+bx+c>0ax^2 + bx + c \gt 0 (or <\lt, \geqslant, \leqslant):

  1. Find the roots of ax2+bx+c=0ax^2 + bx + c = 0.
  2. Sketch the parabola using the sign of aa.
  3. Read off the intervals satisfying the inequality.

For a>0a \gt 0 (opens upward):

Discriminantf(x)>0f(x) \gt 0f(x)<0f(x) \lt 0
Δ>0\Delta \gt 0, roots α<β\alpha \lt \betax<αx \lt \alpha or x>βx \gt \betaα<x<β\alpha \lt x \lt \beta
Δ=0\Delta = 0, root α\alphaAll xαx \neq \alphaNo solution
Δ<0\Delta \lt 0All real xxNo solution

Worked Example 5

Solve x2+5x60-x^2 + 5x - 6 \geqslant 0.

Multiply by 1-1 (reverse inequality): x25x+60x^2 - 5x + 6 \leqslant 0

Factor: (x2)(x3)0(x - 2)(x - 3) \leqslant 0. Parabola opens upward. Expression is non-positive between the roots: 2x32 \leqslant x \leqslant 3.

Worked Example 6

Find the range of kk for which x2+kx+9=0x^2 + kx + 9 = 0 has no real roots.

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

k236<0    (k6)(k+6)<0    6<k<6k^2 - 36 \lt 0 \implies (k - 6)(k + 6) \lt 0 \implies -6 \lt k \lt 6


Relationship Between Roots and Coefficients

For ax2+bx+c=0ax^2 + bx + c = 0 with roots α\alpha and β\beta:

Sum of roots:

α+β=ba\alpha + \beta = -\frac{b}{a}

Product of roots:

αβ=ca\alpha\beta = \frac{c}{a}

Proof. By factorisation: ax2+bx+c=a(xα)(xβ)=a(x2(α+β)x+αβ)ax^2 + bx + c = a(x - \alpha)(x - \beta) = a(x^2 - (\alpha + \beta)x + \alpha\beta). Comparing coefficients gives the result. \qed\qed

Worked Example 7

If α\alpha and β\beta are roots of 2x25x+1=02x^2 - 5x + 1 = 0, find α2+β2\alpha^2 + \beta^2 and 1/α+1/β1/\alpha + 1/\beta.

α+β=52,αβ=12\alpha + \beta = \frac{5}{2}, \quad \alpha\beta = \frac{1}{2}

α2+β2=(α+β)22αβ=2541=214\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = \frac{25}{4} - 1 = \frac{21}{4}

1α+1β=α+βαβ=5/21/2=5\frac{1}{\alpha} + \frac{1}{\beta} = \frac{\alpha + \beta}{\alpha\beta} = \frac{5/2}{1/2} = 5


Common Pitfalls

  • Forgetting that a0a \neq 0 in ax2+bx+c=0ax^2 + bx + c = 0. If a=0a = 0, the equation is linear, not quadratic.
  • Multiplying an inequality by a negative number without reversing the sign. Always sketch the parabola or use a sign chart.
  • When completing the square, forgetting to multiply the constant term by aa after adding and subtracting inside the brackets.
  • Confusing the discriminant sign: Δ>0\Delta \gt 0 gives real roots, Δ<0\Delta \lt 0 gives no real roots. The opposite is a common error.
  • Using α+β=b/a\alpha + \beta = b/a instead of α+β=b/a\alpha + \beta = -b/a. Note the negative sign.

Summary Table

TopicKey Result
Quadratic formulax=b±b24ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}
DiscriminantΔ=b24ac\Delta = b^2 - 4ac
Vertex(b2a,  4acb24a)\left(-\dfrac{b}{2a},\; \dfrac{4ac - b^2}{4a}\right)
Sum of rootsα+β=b/a\alpha + \beta = -b/a
Product of rootsαβ=c/a\alpha\beta = c/a

Wrap-up Questions
  1. Question: Solve 3x27x+2=03x^2 - 7x + 2 = 0 by factoring.

(3x1)(x2)=0    x=1/3(3x - 1)(x - 2) = 0 \implies x = 1/3 or x=2x = 2.

  1. Question: Find the values of kk for which kx2+2x+k=0kx^2 + 2x + k = 0 has two distinct real roots.

Δ=44k2>0    k2<1    1<k<1\Delta = 4 - 4k^2 \gt 0 \implies k^2 \lt 1 \implies -1 \lt k \lt 1 (and k0k \neq 0 since it must be quadratic).

  1. Question: Express f(x)=x2+6x5f(x) = -x^2 + 6x - 5 in completed square form and state its maximum value.

f(x)=(x26x)5=[(x3)29]5=(x3)2+4f(x) = -(x^2 - 6x) - 5 = -[(x - 3)^2 - 9] - 5 = -(x - 3)^2 + 4. Maximum value: 44 at x=3x = 3.

  1. Question: Solve the inequality 2x2+3x5<02x^2 + 3x - 5 \lt 0.

2x2+3x5=(2x+5)(x1)2x^2 + 3x - 5 = (2x + 5)(x - 1). Roots: x=5/2x = -5/2 and x=1x = 1. Parabola opens upward. Solution: 5/2<x<1-5/2 \lt x \lt 1.

  1. Question: If α\alpha and β\beta are roots of x23x+5=0x^2 - 3x + 5 = 0, form a quadratic equation with roots α+2\alpha + 2 and β+2\beta + 2.

New sum: (α+2)+(β+2)=(α+β)+4=3+4=7(\alpha + 2) + (\beta + 2) = (\alpha + \beta) + 4 = 3 + 4 = 7.

New product: (α+2)(β+2)=αβ+2(α+β)+4=5+6+4=15(\alpha + 2)(\beta + 2) = \alpha\beta + 2(\alpha + \beta) + 4 = 5 + 6 + 4 = 15.

Equation: x27x+15=0x^2 - 7x + 15 = 0.

  1. Question: A ball is thrown upward. Its height hh metres at time tt seconds is h=5t2+20t+1h = -5t^2 + 20t + 1. Find the maximum height and the time at which it occurs.

h=5(t24t)+1=5[(t2)24]+1=5(t2)2+21h = -5(t^2 - 4t) + 1 = -5[(t - 2)^2 - 4] + 1 = -5(t - 2)^2 + 21. Maximum height: 21m21 \mathrm{ m} at t=2st = 2 \mathrm{ s}.

  1. Question: Find the range of the function f(x)=2x28x+11f(x) = 2x^2 - 8x + 11.

f(x)=2(x24x)+11=2[(x2)24]+11=2(x2)2+3f(x) = 2(x^2 - 4x) + 11 = 2[(x - 2)^2 - 4] + 11 = 2(x - 2)^2 + 3. Since 2(x2)202(x - 2)^2 \geqslant 0, the minimum is 33. Range: [3,)[3, \infty).

  1. Question: The equation x2+2px+p+8=0x^2 + 2px + p + 8 = 0 has real roots. Find the range of pp.

Δ=4p24(p+8)=4p24p320    p2p80\Delta = 4p^2 - 4(p + 8) = 4p^2 - 4p - 32 \geqslant 0 \implies p^2 - p - 8 \geqslant 0.

Roots: p=1±1+322=1±332p = \dfrac{1 \pm \sqrt{1 + 32}}{2} = \dfrac{1 \pm \sqrt{33}}{2}.

Since a=1>0a = 1 \gt 0: p1332p \leqslant \dfrac{1 - \sqrt{33}}{2} or p1+332p \geqslant \dfrac{1 + \sqrt{33}}{2}.

  1. Question: Prove that the quadratic equation (a2+b2)x2+2(ac+bd)x+(c2+d2)=0(a^2 + b^2)x^2 + 2(ac + bd)x + (c^2 + d^2) = 0 has no real roots unless ad=bcad = bc.

Δ=4(ac+bd)24(a2+b2)(c2+d2)=4[a2c2+2abcd+b2d2a2c2a2d2b2c2b2d2]\Delta = 4(ac + bd)^2 - 4(a^2 + b^2)(c^2 + d^2) = 4[a^2c^2 + 2abcd + b^2d^2 - a^2c^2 - a^2d^2 - b^2c^2 - b^2d^2] =4[2abcda2d2b2c2]=4(adbc)2= 4[2abcd - a^2d^2 - b^2c^2] = -4(ad - bc)^2.

Since (adbc)20-(ad - bc)^2 \leqslant 0, we have Δ0\Delta \leqslant 0. Real roots exist only when Δ=0\Delta = 0, i.e., ad=bcad = bc.

  1. Question: For what integer values of kk does the equation x2kx+k+3=0x^2 - kx + k + 3 = 0 have integer roots?

By Vieta: α+β=k\alpha + \beta = k and αβ=k+3\alpha\beta = k + 3. So αβ=α+β+3\alpha\beta = \alpha + \beta + 3, giving αβαβ=3\alpha\beta - \alpha - \beta = 3, or (α1)(β1)=4(\alpha - 1)(\beta - 1) = 4.

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

These give (α,β)=(2,5)(\alpha, \beta) = (2,5), (3,3)(3,3), (5,2)(5,2), (0,3)(0,-3), (1,1)(-1,-1), (3,0)(-3,0).

Corresponding kk values: 7,6,7,3,2,37, 6, 7, -3, -2, -3. Integer values of kk: {3,2,6,7}\{-3, -2, 6, 7\}.


Additional Worked Examples

Worked Example 8: Parameter condition for real roots (non-standard quadratic)

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

Solution

Case 1: k=1k = 1. The equation becomes 2x+4=0    x=22x + 4 = 0 \implies x = -2. One real root, so k=1k = 1 is included.

Case 2: k1k \neq 1. This is a genuine quadratic. Require Δ0\Delta \geq 0:

Δ=(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

8k+120    k32-8k + 12 \geq 0 \implies k \leq \frac{3}{2}

Combined with Case 1: the answer is k32k \leq \dfrac{3}{2}.

Worked Example 9: Forming a quadratic with transformed roots

If α\alpha and β\beta are roots of 2x27x+3=02x^2 - 7x + 3 = 0, form a quadratic equation with roots α2\alpha^2 and β2\beta^2.

Solution

α+β=72,αβ=32\alpha + \beta = \frac{7}{2}, \quad \alpha\beta = \frac{3}{2}

New sum: α2+β2=(α+β)22αβ=4943=374\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = \dfrac{49}{4} - 3 = \dfrac{37}{4}.

New product: α2β2=(αβ)2=94\alpha^2 \beta^2 = (\alpha\beta)^2 = \dfrac{9}{4}.

Equation: x2374x+94=0x^2 - \dfrac{37}{4}x + \dfrac{9}{4} = 0, i.e. 4x237x+9=04x^2 - 37x + 9 = 0.

Worked Example 10: Quadratic with absolute value

Solve x2+2x8=0x^2 + 2|x| - 8 = 0.

Solution

Let t=x0t = |x| \geq 0. The equation becomes t2+2t8=0t^2 + 2t - 8 = 0.

(t+4)(t2)=0    t=2(t + 4)(t - 2) = 0 \implies t = 2

(Reject t=4t = -4 since t0t \geq 0.)

x=2    x=2  or  x=2|x| = 2 \implies x = 2 \;\mathrm{or}\; x = -2

Worked Example 11: Positive definite quadratic

Find the range of kk such that kx22kx+3>0kx^2 - 2kx + 3 \gt 0 for all real xx.

Solution

For ax2+bx+c>0ax^2 + bx + c \gt 0 for all real xx, we need a>0a \gt 0 and Δ<0\Delta \lt 0.

Condition 1: k>0k \gt 0.

Condition 2:

Δ=(2k)24(k)(3)=4k212k=4k(k3)<0\Delta = (-2k)^2 - 4(k)(3) = 4k^2 - 12k = 4k(k - 3) \lt 0

This gives 0<k<30 \lt k \lt 3.

Combined with Condition 1: 0<k<30 \lt k \lt 3.

Worked Example 12: Minimum value using AM-GM

Find the minimum value of f(x)=x+9xf(x) = x + \dfrac{9}{x} for x>0x \gt 0.

Solution

By the AM-GM inequality (for x>0x \gt 0):

x+9x2x9x=29=6x + \frac{9}{x} \geq 2\sqrt{x \cdot \frac{9}{x}} = 2\sqrt{9} = 6

Equality holds when x=9x    x2=9    x=3x = \dfrac{9}{x} \implies x^2 = 9 \implies x = 3 (positive since x>0x \gt 0).

Minimum value: 66, attained at x=3x = 3.


Additional Common Pitfalls

  1. Forgetting the a0a \neq 0 condition. When a parameter makes a=0a = 0, the equation becomes linear, not quadratic. Always check the degenerate case separately, as in Worked Example 8.

  2. Wrong sign in Vieta's formulas. The sum of roots is α+β=b/a\alpha + \beta = -b/a, not b/ab/a. The negative sign is the single most common error in root-coefficient problems.

  3. Reversing inequality when multiplying by a negative. When solving ax2+bx+c<0ax^2 + bx + c \lt 0 with a<0a \lt 0, multiplying through by 1-1 reverses the sign. A safer approach is to sketch the parabola and read off the solution intervals.

  4. Completing the square incorrectly. After factoring out aa from ax2+bx+cax^2 + bx + c, the term to add and subtract inside the brackets is (b2a)2\left(\dfrac{b}{2a}\right)^2, not (b2)2\left(\dfrac{b}{2}\right)^2. Forgetting to divide by aa inside is a frequent mistake.

  5. Assuming discriminant alone determines root rationality. For Δ>0\Delta \gt 0, the roots are rational if and only if Δ\Delta is a perfect square (and 2a2a divides b±Δ-b \pm \sqrt{\Delta}). A positive, non-square discriminant gives irrational roots.

  6. Confusing vertex xx-coordinate sign. The vertex xx-coordinate is b/(2a)-b/(2a), not b/(2a)b/(2a). The negative sign is essential.

  7. Dropping the leading coefficient in root-coefficient problems. For ax2+bx+c=0ax^2 + bx + c = 0, the sum is b/a-b/a and the product is c/ac/a. Omitting the denominator aa (e.g., writing α+β=b\alpha + \beta = -b) is only valid when a=1a = 1.

  8. Incorrect transformation of roots. When forming a new equation with roots 2α2\alpha and 2β2\beta, the new sum is 2(α+β)2(\alpha + \beta) and the new product is 4αβ4\alpha\beta. A common mistake is to only double the sum but forget to square the factor for the product.


Exam-Style Problems

Problem 1. Solve 3x2+2x503x^2 + 2x - 5 \leq 0.

Solution

Factor: 3x2+2x5=(3x+5)(x1)3x^2 + 2x - 5 = (3x + 5)(x - 1).

Roots: x=53x = -\dfrac{5}{3} and x=1x = 1. The parabola opens upward (a=3>0a = 3 \gt 0).

The expression is non-positive between the roots:

53x1-\frac{5}{3} \leq x \leq 1

Problem 2. If α\alpha and β\beta are roots of x25x+2=0x^2 - 5x + 2 = 0, find α3+β3\alpha^3 + \beta^3.

Solution

α+β=5,αβ=2\alpha + \beta = 5, \quad \alpha\beta = 2

α3+β3=(α+β)33αβ(α+β)=1253(2)(5)=12530=95\alpha^3 + \beta^3 = (\alpha + \beta)^3 - 3\alpha\beta(\alpha + \beta) = 125 - 3(2)(5) = 125 - 30 = 95

Problem 3. Find the range of pp for which px2+2px+1>0px^2 + 2px + 1 \gt 0 for all real xx.

Solution

Require p>0p \gt 0 and Δ<0\Delta \lt 0:

Δ=4p24p=4p(p1)<0    0<p<1\Delta = 4p^2 - 4p = 4p(p - 1) \lt 0 \implies 0 \lt p \lt 1

Problem 4. The expression x2+px+qx^2 + px + q is a perfect square. Given p+q=9p + q = 9, find pp and qq.

Solution

A perfect square means Δ=0\Delta = 0: p24q=0    q=p24p^2 - 4q = 0 \implies q = \dfrac{p^2}{4}.

Substituting into p+q=9p + q = 9: p+p24=9    p2+4p36=0p + \dfrac{p^2}{4} = 9 \implies p^2 + 4p - 36 = 0.

p=4±16+1442=2±210p = \frac{-4 \pm \sqrt{16 + 144}}{2} = -2 \pm 2\sqrt{10}

q=9p=9+2210=11210q = 9 - p = 9 + 2 \mp 2\sqrt{10} = 11 \mp 2\sqrt{10}

Answer: (p,  q)=(2+210,  11210)\left(p,\; q\right) = \left(-2 + 2\sqrt{10},\; 11 - 2\sqrt{10}\right) or (2210,  11+210)\left(-2 - 2\sqrt{10},\; 11 + 2\sqrt{10}\right).

Problem 5. A rectangular field has perimeter 120m120\mathrm{ m} and area Am2A\mathrm{ m}^2. Show that A900A \leq 900 and find the dimensions when A=900A = 900.

Solution

Let the dimensions be xx and yy metres. Then 2(x+y)=120    x+y=602(x+y) = 120 \implies x + y = 60, so y=60xy = 60 - x.

A=xy=x(60x)=x2+60x=(x30)2+900A = xy = x(60 - x) = -x^2 + 60x = -(x - 30)^2 + 900

Since (x30)20-(x-30)^2 \leq 0 for all real xx, we have A900A \leq 900.

Maximum A=900m2A = 900\mathrm{ m}^2 when x=30x = 30, giving y=30y = 30.

The field is a 30m×30m30\mathrm{ m} \times 30\mathrm{ m} square.

Problem 6. Given that x2+2ax+4=0x^2 + 2ax + 4 = 0 has two real roots α\alpha and β\beta (α<β\alpha \lt \beta), find the range of aa for which βα>3\beta - \alpha \gt 3.

Solution

For real roots: Δ=4a2160    a24    a2\Delta = 4a^2 - 16 \geq 0 \implies a^2 \geq 4 \implies a \leq -2 or a2a \geq 2.

α+β=2a,αβ=4\alpha + \beta = -2a, \quad \alpha\beta = 4

(βα)2=(α+β)24αβ=4a216(\beta - \alpha)^2 = (\alpha + \beta)^2 - 4\alpha\beta = 4a^2 - 16

βα=2a24\beta - \alpha = 2\sqrt{a^2 - 4}

(positive since β>α\beta \gt \alpha)

2a24>3    a24>94    a2>254    a>522\sqrt{a^2 - 4} \gt 3 \implies a^2 - 4 \gt \frac{9}{4} \implies a^2 \gt \frac{25}{4} \implies |a| \gt \frac{5}{2}

Combined with a2|a| \geq 2: a<52a \lt -\dfrac{5}{2} or a>52a \gt \dfrac{5}{2}.

Problem 7. Find the range of the function f(x)=x2x+1x2+x+1f(x) = \dfrac{x^2 - x + 1}{x^2 + x + 1}.

Solution

Let y=x2x+1x2+x+1y = \dfrac{x^2 - x + 1}{x^2 + x + 1}. Since x2+x+1=(x+12)2+34>0x^2 + x + 1 = \left(x + \dfrac{1}{2}\right)^2 + \dfrac{3}{4} \gt 0 for all real xx, the denominator never vanishes.

y(x2+x+1)=x2x+1    yx2+yx+y=x2x+1y(x^2 + x + 1) = x^2 - x + 1 \implies yx^2 + yx + y = x^2 - x + 1

(y1)x2+(y+1)x+(y1)=0(y - 1)x^2 + (y + 1)x + (y - 1) = 0

For real xx, Δ0\Delta \geq 0:

(y+1)24(y1)20(y+1)^2 - 4(y-1)^2 \geq 0

(y+12y+2)(y+1+2y2)0(y + 1 - 2y + 2)(y + 1 + 2y - 2) \geq 0

(y+3)(3y1)0    (y3)(3y1)0(-y + 3)(3y - 1) \geq 0 \implies (y - 3)(3y - 1) \leq 0

13y3\frac{1}{3} \leq y \leq 3

Range: [13,  3]\left[\dfrac{1}{3},\; 3\right].

Problem 8. The roots of x2+px+q=0x^2 + px + q = 0 are α\alpha and β\beta. If α2+β2=10\alpha^2 + \beta^2 = 10 and α4+β4=82\alpha^4 + \beta^4 = 82, find pp and qq.

Solution

Note that α4+β4=(α2+β2)22(αβ)2=1002(αβ)2\alpha^4 + \beta^4 = (\alpha^2 + \beta^2)^2 - 2(\alpha\beta)^2 = 100 - 2(\alpha\beta)^2.

1002(αβ)2=82    2(αβ)2=18    (αβ)2=9    αβ=3  or  αβ=3100 - 2(\alpha\beta)^2 = 82 \implies 2(\alpha\beta)^2 = 18 \implies (\alpha\beta)^2 = 9 \implies \alpha\beta = 3 \;\mathrm{or}\; \alpha\beta = -3

Case αβ=3\alpha\beta = 3: α2+β2=(α+β)22αβ=10    (α+β)26=10    (α+β)2=16    α+β=±4\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = 10 \implies (\alpha + \beta)^2 - 6 = 10 \implies (\alpha + \beta)^2 = 16 \implies \alpha + \beta = \pm 4.

So p=(α+β)=±4p = -(\alpha + \beta) = \pm 4, q=αβ=3q = \alpha\beta = 3. Two quadratics: x2+4x+3=0x^2 + 4x + 3 = 0 and x24x+3=0x^2 - 4x + 3 = 0.

Case αβ=3\alpha\beta = -3: (α+β)22(3)=10    (α+β)2=4    α+β=±2(\alpha + \beta)^2 - 2(-3) = 10 \implies (\alpha + \beta)^2 = 4 \implies \alpha + \beta = \pm 2.

So p=2p = \mp 2, q=3q = -3. Two quadratics: x2+2x3=0x^2 + 2x - 3 = 0 and x22x3=0x^2 - 2x - 3 = 0.

All four pairs are valid solutions.


Cross-References

  • Functions: Quadratic functions are a special case of polynomial functions. See functions.md) and functions-advanced.md).
  • Coordinate Geometry: Parabolas as conic sections. See coordinate-geometry.md).
  • Inequalities: Quadratic inequalities are solved using discriminant and graph analysis. See the inequalities notes.
  • Permutations and Combinations: Factorials appear in the quadratic formula derivation via completing the square. See permutations-and-combinations.md).

For the A-Level treatment of this topic, see Quadratics.


DSE Exam Technique

Showing Working

For quadratic problems in DSE Paper 1, examiners expect:

  1. When using the quadratic formula, write out the full formula before substituting.
  2. When using the discriminant, clearly state Δ=b24ac\Delta = b^2 - 4ac and compute it.
  3. When solving inequalities, sketch the parabola or draw a sign chart.
  4. When using Vieta's formulas, state α+β=b/a\alpha + \beta = -b/a and αβ=c/a\alpha\beta = c/a explicitly.
  5. For "show that" questions, every step must be justified.

Significant Figures

Unless the question states otherwise, give final answers to 3 significant figures. Exact forms (e.g., 3\sqrt{3}, 52\dfrac{5}{2}) are preferred and should not be converted to decimals unless asked.

Common DSE Question Types

  1. Discriminant conditions for parameter values.
  2. Root-coefficient problems using Vieta's formulas.
  3. Quadratic inequalities with parameters.
  4. Completing the square to find range or extremum.
  5. Forming new equations with transformed roots.

Additional Worked Examples

Worked Example 13: Intersection of two quadratic curves

Find the points of intersection of y=x23x+1y = x^2 - 3x + 1 and y=2x25x+4y = 2x^2 - 5x + 4.

Solution

Setting the two expressions equal:

x23x+1=2x25x+4x^2 - 3x + 1 = 2x^2 - 5x + 4

0=x22x+30 = x^2 - 2x + 3

Δ=412=8<0\Delta = 4 - 12 = -8 < 0

Since the discriminant is negative, the two curves do not intersect.

Worked Example 14: Simultaneous quadratic equations

Solve the simultaneous equations x+y=5x + y = 5 and x2+y2=13x^2 + y^2 = 13.

Solution

From the first equation: y=5xy = 5 - x. Substituting into the second:

x2+(5x)2=13x^2 + (5 - x)^2 = 13

x2+2510x+x2=13x^2 + 25 - 10x + x^2 = 13

2x210x+12=02x^2 - 10x + 12 = 0

x25x+6=0    (x2)(x3)=0x^2 - 5x + 6 = 0 \implies (x - 2)(x - 3) = 0

x=2    y=3x = 2 \implies y = 3; x=3    y=2x = 3 \implies y = 2.

Solutions: (2,3)(2, 3) and (3,2)(3, 2).

Worked Example 15: Quadratic in disguised form

Solve x+1x+xx+1=256\dfrac{x + 1}{x} + \dfrac{x}{x + 1} = \dfrac{25}{6}.

Solution

Let u=x+1xu = \dfrac{x + 1}{x}. Then xx+1=1u\dfrac{x}{x + 1} = \dfrac{1}{u}.

u+1u=256u + \frac{1}{u} = \frac{25}{6}

6u2+6=25u    6u225u+6=0    (2u1)(3u6)=06u^2 + 6 = 25u \implies 6u^2 - 25u + 6 = 0 \implies (2u - 1)(3u - 6) = 0

u=12  or  u=2u = \frac{1}{2} \;\text{or}\; u = 2

Case 1: x+1x=12    2x+2=x    x=2\dfrac{x + 1}{x} = \dfrac{1}{2} \implies 2x + 2 = x \implies x = -2.

Case 2: x+1x=2    x+1=2x    x=1\dfrac{x + 1}{x} = 2 \implies x + 1 = 2x \implies x = 1.

Check: x=2x = -2: 12+21=12+2=52256\dfrac{-1}{-2} + \dfrac{-2}{-1} = \dfrac{1}{2} + 2 = \dfrac{5}{2} \neq \dfrac{25}{6}.

Let me redo: x=2x = -2: 2+12+22+1=12+21=12+2=52256\dfrac{-2+1}{-2} + \dfrac{-2}{-2+1} = \dfrac{-1}{-2} + \dfrac{-2}{-1} = \dfrac{1}{2} + 2 = \dfrac{5}{2} \neq \dfrac{25}{6}.

This is incorrect. Let me recheck: u=2u = 2 gives x+1x=2    x+1=2x    x=1\dfrac{x+1}{x} = 2 \implies x + 1 = 2x \implies x = 1.

x=1x = 1: 21+12=52256\dfrac{2}{1} + \dfrac{1}{2} = \dfrac{5}{2} \neq \dfrac{25}{6}.

The factorisation (2u1)(3u6)=6u212u3u+6=6u215u+66u225u+6(2u - 1)(3u - 6) = 6u^2 - 12u - 3u + 6 = 6u^2 - 15u + 6 \neq 6u^2 - 25u + 6.

Correct factorisation: 6u225u+6=(2u3)(3u2)6u^2 - 25u + 6 = (2u - 3)(3u - 2).

u=32u = \dfrac{3}{2} or u=23u = \dfrac{2}{3}.

u=32u = \dfrac{3}{2}: x+1x=32    2x+2=3x    x=2\dfrac{x+1}{x} = \dfrac{3}{2} \implies 2x + 2 = 3x \implies x = 2. Check: 32+23=136256\dfrac{3}{2} + \dfrac{2}{3} = \dfrac{13}{6} \neq \dfrac{25}{6}.

The original equation x+1x+xx+1=256\dfrac{x+1}{x} + \dfrac{x}{x+1} = \dfrac{25}{6} with u+1u=256u + \dfrac{1}{u} = \dfrac{25}{6}:

u2+1=256u    6u225u+6=0u^2 + 1 = \dfrac{25}{6}u \implies 6u^2 - 25u + 6 = 0.

Δ=625144=481\Delta = 625 - 144 = 481. u=25±48112u = \dfrac{25 \pm \sqrt{481}}{12}.

Since 48121.93\sqrt{481} \approx 21.93:

u25+21.93123.91u \approx \dfrac{25 + 21.93}{12} \approx 3.91 or u2521.93120.256u \approx \dfrac{25 - 21.93}{12} \approx 0.256.

This problem has irrational roots. Solutions: x=1u1x = \dfrac{1}{u - 1}.

Worked Example 16: Quadratic function with given range

Find the value of aa such that the range of f(x)=ax2+4x+3f(x) = ax^2 + 4x + 3 is (,5](-\infty, 5].

Solution

The range has a maximum of 55, so a<0a < 0 (parabola opens downward).

Completing the square: f(x)=a ⁣(x2+4ax)+3=a ⁣[(x+2a)24a2]+3=a ⁣(x+2a)24a+3f(x) = a\!\left(x^2 + \dfrac{4}{a}x\right) + 3 = a\!\left[\left(x + \dfrac{2}{a}\right)^2 - \dfrac{4}{a^2}\right] + 3 = a\!\left(x + \dfrac{2}{a}\right)^2 - \dfrac{4}{a} + 3.

Maximum value: 34a=5    4a=2    a=23 - \dfrac{4}{a} = 5 \implies -\dfrac{4}{a} = 2 \implies a = -2.

Verification: f(x)=2x2+4x+3=2(x1)2+5f(x) = -2x^2 + 4x + 3 = -2(x-1)^2 + 5. Range: (,5](-\infty, 5]. Correct.

Worked Example 17: Roots with given product and difference

If α\alpha and β\beta are roots of x2+px+q=0x^2 + px + q = 0 with αβ=3\alpha\beta = 3 and αβ=4\alpha - \beta = 4, find pp and qq.

Solution

αβ=q=3\alpha\beta = q = 3

(αβ)2=(α+β)24αβ    16=p212    p2=28    p=±27(\alpha - \beta)^2 = (\alpha + \beta)^2 - 4\alpha\beta \implies 16 = p^2 - 12 \implies p^2 = 28 \implies p = \pm 2\sqrt{7}

Answer: q=3q = 3, p=27p = 2\sqrt{7} or p=27p = -2\sqrt{7}.


DSE Exam-Style Questions

DSE Practice 1. If α\alpha and β\beta are roots of 2x23x4=02x^2 - 3x - 4 = 0, find the equation whose roots are 1α+1\dfrac{1}{\alpha + 1} and 1β+1\dfrac{1}{\beta + 1}.

Solution

α+β=32\alpha + \beta = \dfrac{3}{2}, αβ=2\alpha\beta = -2.

New sum: 1α+1+1β+1=α+β+2αβ+α+β+1=3/2+22+3/2+1=7/21/2=7\dfrac{1}{\alpha + 1} + \dfrac{1}{\beta + 1} = \dfrac{\alpha + \beta + 2}{\alpha\beta + \alpha + \beta + 1} = \dfrac{3/2 + 2}{-2 + 3/2 + 1} = \dfrac{7/2}{1/2} = 7.

New product: 1(α+1)(β+1)=1αβ+α+β+1=12+3/2+1=11/2=2\dfrac{1}{(\alpha + 1)(\beta + 1)} = \dfrac{1}{\alpha\beta + \alpha + \beta + 1} = \dfrac{1}{-2 + 3/2 + 1} = \dfrac{1}{1/2} = 2.

Equation: x27x+2=0x^2 - 7x + 2 = 0.

DSE Practice 2. Find the range of values of kk for which the equation x2+2(k1)x+k+5=0x^2 + 2(k - 1)x + k + 5 = 0 has two distinct positive roots.

Solution

For two distinct real roots: Δ>0\Delta > 0:

Δ=4(k1)24(k+5)=4(k22k+1k5)=4(k23k4)>0\Delta = 4(k-1)^2 - 4(k+5) = 4(k^2 - 2k + 1 - k - 5) = 4(k^2 - 3k - 4) > 0

(k4)(k+1)>0    k<1  or  k>4(k - 4)(k + 1) > 0 \implies k < -1 \;\text{or}\; k > 4

For both roots positive: by Vieta, α+β=2(k1)>0    k<1\alpha + \beta = -2(k - 1) > 0 \implies k < 1, and αβ=k+5>0    k>5\alpha\beta = k + 5 > 0 \implies k > -5.

Combining all three conditions: 5<k<1-5 < k < -1.

DSE Practice 3. Prove that for all real xx, x22x+3>0x^2 - 2x + 3 > 0.

Solution

Completing the square: x22x+3=(x1)2+2x^2 - 2x + 3 = (x - 1)^2 + 2.

Since (x1)20(x - 1)^2 \geq 0 for all real xx, we have (x1)2+22>0(x - 1)^2 + 2 \geq 2 > 0.

Therefore x22x+3>0x^2 - 2x + 3 > 0 for all real xx. \qed\qed

DSE Practice 4. The function f(x)=x2+px+qf(x) = x^2 + px + q satisfies f(1)=3f(1) = 3 and f(2)=5f(2) = 5. Find pp and qq, and determine whether f(x)=0f(x) = 0 has real roots.

Solution

f(1)=1+p+q=3    p+q=2(i)f(1) = 1 + p + q = 3 \implies p + q = 2 \quad \text{(i)}

f(2)=4+2p+q=5    2p+q=1(ii)f(2) = 4 + 2p + q = 5 \implies 2p + q = 1 \quad \text{(ii)}

(ii) - (i): p=1p = -1. From (i): q=3q = 3.

f(x)=x2x+3f(x) = x^2 - x + 3. Δ=112=11<0\Delta = 1 - 12 = -11 < 0. No real roots.

DSE Practice 5. Given that α\alpha and β\beta are roots of x24x+1=0x^2 - 4x + 1 = 0, find α4+β4\alpha^4 + \beta^4 without solving the equation.

Solution

α+β=4\alpha + \beta = 4, αβ=1\alpha\beta = 1.

α2+β2=(α+β)22αβ=162=14\alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = 16 - 2 = 14.

α4+β4=(α2+β2)22(αβ)2=1962=194\alpha^4 + \beta^4 = (\alpha^2 + \beta^2)^2 - 2(\alpha\beta)^2 = 196 - 2 = 194.

DSE Practice 6. A rectangular enclosure is to be built with one side against a wall. 6060 m of fencing is available for the other three sides. Find the dimensions that maximise the area.

Solution

Let the side parallel to the wall have length xx m, and the two perpendicular sides each have length yy m.

x+2y=60    x=602yx + 2y = 60 \implies x = 60 - 2y.

A=xy=(602y)y=2y2+60y=2(y15)2+450A = xy = (60 - 2y)y = -2y^2 + 60y = -2(y - 15)^2 + 450

Maximum area is 450m2450\mathrm{ m}^2 when y=15y = 15, giving x=30x = 30.

Dimensions: 30m30\mathrm{ m} parallel to wall, 15m15\mathrm{ m} perpendicular.


tip

Diagnostic Test Ready to test your understanding of Quadratics? The diagnostic test contains the hardest questions within the DSE specification for this topic, each with a full worked solution.

Unit tests probe edge cases and common misconceptions. Integration tests combine Quadratics with other DSE mathematics topics to test synthesis under exam conditions.

See Diagnostic Guide for instructions on self-marking and building a personal test matrix.