Quadratics and the discriminant

AS Maths (Edexcel) · Edexcel 8MA0 · P2.3 · Pure mathematics › Algebra and functions

2 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes and worksheets are open to everyone. Practice needs a free account.

Or take a quick quiz: 10 questions on this subtopic in AS Maths (Edexcel), marked as you tap.

Revision notes

Quadratic functions and their graphs, completing the square, and the discriminant \(b^2 - 4ac\), which tells you how many real roots a quadratic has. You also solve quadratics in a function of \(x\), such as \(x^4 - 10x^2 + 9 = 0\). Discriminant questions with an unknown constant \(k\) are very common and worth 4 to 6 marks.

Key facts

  • \(x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)
  • Discriminant: \(b^2 - 4ac\)
  • \(\gt 0\): two distinct real roots; \(= 0\): repeated root; \(\lt 0\): no real roots; \(\ge 0\): real roots
  • \(x^2 + bx = \left(x + \dfrac{b}{2}\right)^2 - \dfrac{b^2}{4}\)
  • Turning point of \(y = a(x + p)^2 + q\) is \((-p, q)\)
  • Line of symmetry: \(x = -\dfrac{b}{2a}\)
  • \(a \gt 0\): \(\cup\) shape, minimum; \(a \lt 0\): \(\cap\) shape, maximum

Notes

Solving and the graph

  • The roots of \(ax^2 + bx + c = 0\) are where the graph of \(y = ax^2 + bx + c\) meets the \(x\)-axis.
  • Solve by factorising, by the formula \(x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}\), or by completing the square.
  • \(a \gt 0\): a \(\cup\)-shaped curve with a minimum point. \(a \lt 0\): a \(\cap\)-shaped curve with a maximum point. The \(y\)-intercept is \((0, c)\)

Completing the square

diagram
  • \[x^2 + bx + c = \left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2 + c\]
  • With \(a \ne 1\), take \(a\) out of the \(x\) terms first:
  • \[\begin{aligned}2x^2 - 12x + 5 &= 2(x^2 - 6x) + 5 \\ &= 2(x - 3)^2 - 18 + 5 \\ &= 2(x - 3)^2 - 13\end{aligned}\]
  • \(y = a(x + p)^2 + q\) has turning point \((-p, q)\) and line of symmetry \(x = -p\)
  • xyOx = 3(3, −13)(0, 5)y = 2(x − 3)² − 13
    In completed-square form you can read off the turning point (3, −13) and the line of symmetry x = 3.
  • If \(a \gt 0\), the minimum value is \(q\), so if \(q \gt 0\) the expression is always positive.

The discriminant

diagram
  • The discriminant of \(ax^2 + bx + c\) is \(b^2 - 4ac\)
  • \(b^2 - 4ac \gt 0\): two distinct real roots (the curve crosses the \(x\)-axis twice).
  • \(b^2 - 4ac = 0\): one repeated root (the curve touches the \(x\)-axis).
  • \(b^2 - 4ac \lt 0\): no real roots (the curve does not meet the \(x\)-axis).
  • xb² − 4ac > 0two distinct rootsxb² − 4ac = 0one repeated rootxb² − 4ac < 0no real roots
    The discriminant tells you how many times the curve meets the x-axis.
  • 'Real roots' includes the repeated case, so it means \(b^2 - 4ac \ge 0\)
  • With an unknown \(k\): write down \(a\), \(b\) and \(c\) in terms of \(k\), form the equation or inequality, and solve it.

Quadratics in a function of x

  • \(x^4 - 10x^2 + 9 = 0\) is \(u^2 - 10u + 9 = 0\) with \(u = x^2\), so \(u = 1\) or \(9\), giving \(x = \pm 1\) or \(\pm 3\)
  • \(x - 5\sqrt{x} + 6 = 0\) uses \(u = \sqrt{x}\): \(u = 2\) or \(3\), so \(x = 4\) or \(9\)
  • Reject impossible values: \(x^2 = -2\), \(\sqrt{x} = -1\) and \(2^x = -3\) have no real solutions.

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own, ft = follow through: you still earn the mark if you use your own earlier wrong answer correctly.

Complete the square and find the turning point

3 to 4 marksGrade D
  1. Take out the coefficient of \(x^2\) from the \(x\) terms.
  2. Halve the coefficient of \(x\) inside the bracket and subtract its square (multiplied by \(a\)).
  3. Read the turning point from \(a(x + p)^2 + q\): it is \((-p, q)\)

Example. (a) Write \(3x^2 + 12x + 5\) in the form \(a(x + b)^2 + c\).
(b) Hence state the coordinates of the minimum point of the curve \(y = 3x^2 + 12x + 5\)

Show the model answerHide the model answer
(a) \(3(x^2 + 4x) + 5\), so \(a = 3\)
(B1)
\(3(x + 2)^2 - 12 + 5\)
(M1)
\(3(x + 2)^2 - 7\)
(A1)
(b) \((-2, -7)\)
(B1 ft)

Find the values of k using the discriminant

4 marksGrade B
  1. Identify \(a\), \(b\) and \(c\) in terms of \(k\), using brackets.
  2. Use the right condition: \(\gt 0\), \(= 0\), \(\ge 0\) or \(\lt 0\)
  3. Simplify to the printed inequality if there is one.
  4. Solve the quadratic inequality in \(k\) using a sketch.

Example. The equation \(x^2 + (k - 3)x + (3 - 2k) = 0\), where \(k\) is a constant, has two distinct real roots.
(a) Show that \(k^2 + 2k - 3 \gt 0\).
(b) Find the set of possible values of \(k\)

Show the model answerHide the model answer
(a) Two distinct real roots, so \(b^2 - 4ac \gt 0\): \((k - 3)^2 - 4(1)(3 - 2k) \gt 0\)
(M1)
\(k^2 - 6k + 9 - 12 + 8k \gt 0\), so \(k^2 + 2k - 3 \gt 0\)
(A1)
(b) \((k + 3)(k - 1) = 0\), critical values \(k = -3\) and \(k = 1\)
(M1)
\(k \lt -3\) or \(k \gt 1\), i.e. \(\{k : k \lt -3\} \cup \{k : k \gt 1\}\)
(A1)

Solve a quadratic in disguise

4 marksGrade B
  1. Spot the substitution, e.g. \(2^{2x} = (2^x)^2\), so let \(u = 2^x\)
  2. Solve the quadratic in \(u\)
  3. Convert back to \(x\) and reject any impossible values.

Example. Solve \(2^{2x} - 12 \times 2^x + 32 = 0\)

Show the model answerHide the model answer
Let \(u = 2^x\): \(u^2 - 12u + 32 = 0\)
(M1)
\((u - 4)(u - 8) = 0\), so \(u = 4\) or \(u = 8\)
(M1)
\(2^x = 4\) gives \(x = 2\)
(A1)
\(2^x = 8\) gives \(x = 3\)
(A1)

Use the discriminant to find a tangent

4 marksGrade A
  1. Set the line equal to the curve and form a quadratic equal to 0.
  2. A tangent means one repeated root: \(b^2 - 4ac = 0\)
  3. Solve for the unknown.

Example. The line \(y = mx - 1\) is a tangent to the curve \(y = x^2 + 3\). Find the possible values of \(m\)

Show the model answerHide the model answer
\(x^2 + 3 = mx - 1\), so \(x^2 - mx + 4 = 0\)
(M1)
Tangent: \(b^2 - 4ac = 0\)
(M1)
\(m^2 - 16 = 0\)
(A1)
\(m = 4\) or \(m = -4\)
(A1)

Don’t lose marks

  • Squaring \(b\) wrongly: \((k - 3)^2 = k^2 - 6k + 9\), not \(k^2 - 9\)
  • Completing the square with \(a \ne 1\) without taking \(a\) out first, or forgetting to multiply the subtracted square by \(a\)
  • Wrong signs for the turning point: \(3(x + 2)^2 - 7\) has turning point \((-2, -7)\), not \((2, -7)\)
  • Stopping at \(u\) in a disguised quadratic instead of finding \(x\), or keeping an impossible value such as \(2^x = -3\)
  • When \(k\) multiplies \(x^2\), forgetting that \(k = 0\) makes the equation linear, not quadratic.

More tips

Memory tricks

  • Label \(a\), \(b\) and \(c\) before using the discriminant, with brackets: \(b = (k - 3)\)
  • Check a completed square by expanding it back in your head.
  • The \(x\)-coordinate of the turning point is halfway between the roots.
  • 'Real roots' includes equal roots, so use \(\ge 0\); 'distinct' means \(\gt 0\)

Exam technique

  • For a printed inequality in \(k\), your working must lead exactly to it, with the inequality sign kept all the way through.
  • Two separate intervals need 'or' (or \(\cup\)), not 'and'. Give set notation if the question asks for it.
  • Sketch the quadratic in \(k\) to decide whether you need the region between or outside the critical values.
  • 'Hence' means use the previous part: the completed square gives the turning point directly.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade E
    Solve a quadratic by factorising or formulaFactorise when you can; otherwise use \(x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)
  2. Grade D
    Complete the square\(x^2 + 6x + 2 = (x + 3)^2 - 7\); when \(a \ne 1\), take \(a\) out of the \(x\) terms first.
  3. Grade D
    Sketch a quadratic with intercepts and vertexShow the shape, the \(y\)-intercept, any roots and the turning point from the completed square.
  4. Grade C
    Use the discriminant to count real roots\(b^2 - 4ac \gt 0\): two distinct real roots; \(= 0\): one repeated root; \(\lt 0\): no real roots.
  5. Grade B
    Find the range of k for given rootsForm an inequality in \(k\) from the discriminant and solve it, often as a quadratic inequality.
  6. Grade B
    Solve a quadratic in a function of xPut \(u = x^2\), \(u = \sqrt{x}\) or \(u = 2^x\), solve for \(u\), then find \(x\)
  7. Grade A
    Use the discriminant for tangency conditionsSubstitute a line into a curve and use \(b^2 - 4ac = 0\) for the line to be a tangent.

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy7 marks
(a) Write \(3x^{2} - 24x + 54\) in the form \(a(x + p)^2 + q\), where \(a\), \(p\) and \(q\) are integers.[3]
(b) Hence write down the coordinates of the minimum point of the curve with equation \(y = 3x^{2} - 24x + 54\).[2]
(c) Hence solve the equation \(3x^{2} - 24x + 54 = 60\), giving your answers in simplified surd form.[2]
Show the answer and mark scheme
(a) Answer: \(3(x - 4)^2 + 6\)
  • B1 for \(a = 3\)
  • M1 for an attempt at \(3(x \pm 4)^2 \pm k\), e.g. \(3\left(x^2 - 8x\right) + 54\)
  • A1 for \(p = -4\) and \(q = 6\)

Worked solution: \(3x^{2} - 24x + 54 = 3\left(x^2 - 8x\right) + 54 = 3\left[(x - 4)^2 - 16\right] + 54 = 3(x - 4)^2 + 6\)

(b) Answer: \((4, 6)\)
  • B1ft for \(x\)-coordinate \(4\)
  • B1ft for \(y\)-coordinate \(6\)

Worked solution: The minimum occurs when \(x - 4 = 0\), so the minimum point is \((4, 6)\).

(c) Answer: \(x = 4 \pm 3\sqrt{2}\)
  • M1 for \(3(x - 4)^2 + 6 = 60\) leading to \((x - 4)^2 = 18\) and \(x - 4 = \pm\sqrt{18}\)
  • A1 for \(x = 4 \pm 3\sqrt{2}\)

Worked solution: \(3(x - 4)^2 + 6 = 60\), so \(3(x - 4)^2 = 54\), so \((x - 4)^2 = 18\).
\(x - 4 = \pm\sqrt{18}\), so \(x = 4 \pm 3\sqrt{2}\).

Question 2Medium6 marks
The line \(l\) has equation \(y = kx + k\), where \(k\) is a real constant. The curve \(C\) has equation \(y = x^2 + 3x\).
(a) Show that the \(x\)-coordinates of any points where \(l\) meets \(C\) satisfy
\[x^2 + (3 - k)x - k = 0\][1]
(b) Show that the discriminant of this equation is \(k^2 - 2k + 9\).[2]
(c) Prove that \(l\) meets \(C\) at two distinct points for every real value of \(k\).[3]
Show the answer and mark scheme
(a) Answer: \(x^2 + 3x = kx + k \Rightarrow x^2 + (3 - k)x - k = 0\)
  • B1* for equating \(x^2 + 3x = kx + k\) and rearranging to the given equation

Worked solution: At an intersection \(x^2 + 3x = kx + k\), so \(x^2 + 3x - kx - k = 0\), i.e. \(x^2 + (3 - k)x - k = 0\).

(b) Answer: \((3 - k)^2 - 4(1)(-k) = 9 - 6k + k^2 + 4k = k^2 - 2k + 9\)
  • M1 for \((3 - k)^2 - 4 \times 1 \times (-k)\)
  • A1* for \(k^2 - 2k + 9\) with no errors seen

Worked solution: \(b^2 - 4ac = (3 - k)^2 - 4(1)(-k) = 9 - 6k + k^2 + 4k = k^2 - 2k + 9\).

(c) Answer: \(k^2 - 2k + 9 = (k - 1)^2 + 8 \ge 8 \gt 0\), so there are always two distinct real roots.
  • M1 for completing the square: \(k^2 - 2k + 9 = (k - 1)^2 + 8\)
  • A1 for \((k - 1)^2 \ge 0\) so the discriminant is at least 8, hence positive
  • A1* for a conclusion: discriminant \(\gt 0\) for all \(k\), so two distinct real roots and two distinct points of intersection

Worked solution: \(k^2 - 2k + 9 = (k - 1)^2 + 8\). Since \((k - 1)^2 \ge 0\), the discriminant is at least 8, so it is always positive.
So the quadratic always has two distinct real roots, and \(l\) meets \(C\) at two distinct points for every real \(k\).

Question 3Hard9 marks
The curve \(C\) has equation
\[y = \frac{x^2 + x + 1}{x^2 + 1}, \quad x \in \mathbb{R}\]
(a) Show that, for a given value of \(y\), the \(x\)-coordinates of the points on \(C\) with that \(y\)-coordinate satisfy
\[(y - 1)x^2 - x + (y - 1) = 0\][2]
(b) Hence prove that \(\frac{1}{2} \le y \le \frac{3}{2}\) for every point on \(C\).[5]
(c) Find the coordinates of the points on \(C\) where \(y\) takes its greatest and least values.[2]
Show the answer and mark scheme
(a) Answer: \(y(x^2 + 1) = x^2 + x + 1 \Rightarrow (y - 1)x^2 - x + (y - 1) = 0\)
  • M1 for multiplying both sides by \(x^2 + 1\) (which is never zero)
  • A1* for collecting terms to obtain the given equation

Worked solution: \(x^2 + 1 \gt 0\), so \(y(x^2 + 1) = x^2 + x + 1\), i.e. \(yx^2 + y - x^2 - x - 1 = 0\), which is \((y - 1)x^2 - x + (y - 1) = 0\).

(b) Answer: For \(y \ne 1\), a real \(x\) needs \(1 - 4(y - 1)^2 \ge 0\), so \(|y - 1| \le \frac{1}{2}\); \(y = 1\) (at \(x = 0\)) is also in the interval.
  • M1 for using the condition for real roots: \((-1)^2 - 4(y - 1)(y - 1) \ge 0\)
  • A1 for \((y - 1)^2 \le \frac{1}{4}\) (or \(4y^2 - 8y + 3 \le 0\))
  • M1 for solving: \(-\frac{1}{2} \le y - 1 \le \frac{1}{2}\) (or critical values \(\frac{1}{2}\), \(\frac{3}{2}\) with the inside region)
  • A1 for \(\frac{1}{2} \le y \le \frac{3}{2}\)
  • B1 for dealing with \(y = 1\), where the equation is linear (\(x = 0\)), and noting it lies in the interval; with a conclusion

Worked solution: Any point on \(C\) has a real \(x\)-coordinate, which is a root of \((y - 1)x^2 - x + (y - 1) = 0\).
If \(y \ne 1\) this is a quadratic, so its discriminant is non-negative: \(1 - 4(y - 1)^2 \ge 0\), so \((y - 1)^2 \le \frac{1}{4}\) and \(-\frac{1}{2} \le y - 1 \le \frac{1}{2}\), i.e. \(\frac{1}{2} \le y \le \frac{3}{2}\).
If \(y = 1\) the equation is \(-x = 0\), so \(x = 0\); and \(y = 1\) lies in the interval.
So \(\frac{1}{2} \le y \le \frac{3}{2}\) for every point on \(C\).

(c) Answer: \(\left(1, \frac{3}{2}\right)\) and \(\left(-1, \frac{1}{2}\right)\)
  • M1 for substituting \(y = \frac{3}{2}\) or \(y = \frac{1}{2}\) into the equation in (a) and solving (a repeated root)
  • A1 for \(\left(1, \frac{3}{2}\right)\) and \(\left(-1, \frac{1}{2}\right)\)

Worked solution: \(y = \frac{3}{2}\): \(\frac{1}{2}x^2 - x + \frac{1}{2} = 0 \Rightarrow (x - 1)^2 = 0 \Rightarrow x = 1\).
\(y = \frac{1}{2}\): \(-\frac{1}{2}x^2 - x - \frac{1}{2} = 0 \Rightarrow (x + 1)^2 = 0 \Rightarrow x = -1\).
Greatest value at \(\left(1, \frac{3}{2}\right)\), least value at \(\left(-1, \frac{1}{2}\right)\).

More in Algebra and functions

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.