Quadratics (AA HL)

A quadratic function f(x)=ax2+bx+cf(x)=ax^2+bx+c has a parabola as its graph. Completing the square gives the vertex and axis of symmetry, and the roots come from factorising, completing the square or the quadratic formula. The discriminant Δ=b2−4ac\Delta=b^2-4ac shows how many real roots there are, which is also the way to find unknown parameters. It's part of the broader Quadratics & Polynomials topic.

24 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL2.6The quadratic function f(x)=ax2+bx+cf(x)=ax^2+bx+c: its graph, yy-intercept (0,c)(0,c), axis of symmetry. The forms f(x)=a(x−p)(x−q)f(x)=a(x-p)(x-q) with xx-intercepts (p,0)(p,0) and (q,0)(q,0), and f(x)=a(x−h)2+kf(x)=a(x-h)^2+k with vertex (h,k)(h,k). Students are expected to convert between forms.
SL2.7Solving quadratic equations and inequalities by factorising, completing the square, and the quadratic formula. The discriminant Δ=b2−4ac\Delta=b^2-4ac and the nature of the roots - two distinct real roots, two equal real roots, or no real roots.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

Vertex form and the discriminant

Vertex form

f(x)=a(x−h)2+kf(x)=a(x-h)^2+k

Reached by completing the square. The vertex sits at (h,k)(h,k) - this is the fastest way to read off a maximum or minimum value, or the range of ff, without any calculus.

The discriminant

Δ=b2−4ac\Delta=b^2-4ac

For ax2+bx+c=0ax^2+bx+c=0: Δ>0\Delta>0 gives two distinct real roots, Δ=0\Delta=0 gives one repeated real root, Δ<0\Delta<0 gives no real roots. It's also the standard tool for "for what values of kk..." questions about a family of quadratics.

Need the full syllabus wording and formula-booklet reference table? See Quadratics & Polynomials.

Key terms

What is the axis of symmetry of a parabola?

The axis of symmetry is the vertical line through the vertex, with equation x=−b2ax=-\dfrac{b}{2a}. In vertex form a(x−h)2+ka(x-h)^2+k it is x=hx=h.

e.g. For f(x)=x2−6x+5f(x)=x^2-6x+5, the axis of symmetry is x=3x=3.

What is the factorised form of a quadratic?

The form f(x)=a(x−p)(x−q)f(x)=a(x-p)(x-q) shows the xx-intercepts (p,0)(p,0) and (q,0)(q,0) directly.

e.g. f(x)=2(x−1)(x+3)f(x)=2(x-1)(x+3) crosses the xx-axis at (1,0)(1,0) and (−3,0)(-3,0).

What is the yy-intercept of a quadratic?

The yy-intercept is the point (0,c)(0,c), found by setting x=0x=0.

e.g. f(x)=3x2−4x+7f(x)=3x^2-4x+7 crosses the yy-axis at (0,7)(0,7).

When is a quadratic positive for every real xx?

The graph must lie entirely above the xx-axis, so the leading coefficient is positive and there are no real roots, that is a>0a>0 and Δ<0\Delta<0.

e.g. For x2+2x+5x^2+2x+5, Δ=4−20=−16<0\Delta=4-20=-16<0 and a>0a>0, so the expression is positive for all real xx.

Worked examples

1
Medium
No calc
[5 marks]

f(x)=2x2−8x+5f(x)=2x^2 - 8x + 5.

(a) Express ff in the form a(x−h)2+ka(x-h)^2+k.

(b) State the range.

Worked solution

(a) 2(x2−4x)+5=2(x−2)2−8+52(x^2 - 4x) + 5 = 2(x-2)^2 - 8 + 5 M1
2(x2−4x)+5=2(x−2)2−3.2(x^2 - 4x) + 5 = 2(x-2)^2 - 3. A1

(b) Range: the minimum value is −3-3 A1
Since 2(x−2)2≥02(x-2)^2 \ge 0 M1
so the range is f(x)≥−3.f(x) \ge -3. A1

M1 Write in the form a(x−h)2+ka(x-h)^2+k A1 2(x−2)2−32(x-2)^2-3 A1 Minimum −3-3 M1 Square ≥0\ge0 A1 Range
2
Hard
No calc
[5 marks]

Find the set of values of mm for which x2+mx+(m+3)>0x^2 + mx + (m+3) > 0 for all real xx.

Worked solution

an upward parabola is positive for all xx iff Δ<0.\Delta < 0. M1 m2−4(m+3)<0.m^2 - 4(m+3) < 0. A1
m2−4m−12<0⇒(m−6)(m+2)<0.m^2 - 4m - 12 < 0 \Rightarrow (m-6)(m+2) < 0. M1 A1 So −2<m<6.-2 < m < 6. A1

M1 Need Δ<0\Delta<0 A1 Discriminant inequality M1 Factorising m2−4m−12m^2-4m-12 as (m−6)(m+2)(m-6)(m+2) A1 (m−6)(m+2)<0(m-6)(m+2)<0 A1 Solution
3
Easy
No calc
[3 marks]

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

Worked solution

Equal roots ⇒Δ=k2−36=0\Rightarrow \Delta = k^2 - 36 = 0 M1
⇒k2=36.\Rightarrow k^2 = 36. A1
Since k>0, k=6.k > 0,\ k = 6. A1

M1 Δ=0\Delta=0 A1 k2=36k^2=36 A1 k=6k=6

Common mistakes

  • Getting the sign of the vertex wrong. In a(x−h)2+ka(x-h)^2+k the vertex is at (h,k)(h,k) - if you complete the square to get 2(x−2)2−32(x-2)^2-3, the vertex is (2,−3)(2,-3), not (−2,−3)(-2,-3).
  • Forgetting the "always positive/negative" condition needs the leading coefficient too. Δ<0\Delta<0 alone only guarantees no real roots - you also need a>0a>0 (or a<0a<0) to conclude the quadratic is always positive (or always negative).
  • Treating Δ≥0\Delta \ge 0 and Δ>0\Delta > 0 as interchangeable. "Real roots" allows the repeated case Δ=0\Delta = 0; "two distinct real roots" strictly needs Δ>0\Delta > 0 - reread the question to see which one is being asked for.

Quick questions

What does the discriminant tell you about a quadratic equation?

The discriminant is Δ=b2−4ac\Delta=b^2-4ac for ax2+bx+c=0ax^2+bx+c=0. If Δ>0\Delta>0 there are two distinct real roots; if Δ=0\Delta=0 there is one repeated real root; if Δ<0\Delta<0 there are no real roots.

How do you write a quadratic in vertex form?

Complete the square on f(x)=ax2+bx+cf(x)=ax^2+bx+c to get f(x)=a(x−h)2+kf(x)=a(x-h)^2+k, where (h,k)(h,k) is the vertex of the parabola - the maximum or minimum point of the graph.

How do you solve a quadratic inequality?

Find the roots, sketch the parabola, and read off the regions above or below the xx-axis as required. For x2−x−6<0x^2-x-6<0, the roots are −2-2 and 33 and the parabola opens upwards, so −2<x<3-2<x<3.

How do you find the vertex without completing the square?

The xx-coordinate of the vertex is −b2a-\dfrac{b}{2a}; substitute it into ff to find the yy-coordinate. For x2+6x+4x^2+6x+4, x=−3x=-3 and f(−3)=9−18+4=−5f(-3)=9-18+4=-5, so the vertex is (−3,−5)(-3,-5).

How do you find kk so that an equation has two distinct real roots?

Write the discriminant in terms of kk and solve Δ>0\Delta>0. For x2+kx+4=0x^2+kx+4=0, Δ=k2−16>0\Delta=k^2-16>0, so k<−4k<-4 or k>4k>4.

Ready to practise properly?

24 quadratics questions, marked instantly like the real exam. GDC guidance for graphing and solving is on the full topic page.