STEMviz
Mathematics · Functions, Equations and Trigonometry

Quadratic Functions - General, Vertex and Factored Form

Develops the three forms of a quadratic function (general, factored, vertex), completing the square, the vertex formula, the discriminant, and the axis of symmetry.

Quadratic Functions - General, Vertex and Factored Form

A quadratic function is the first function in this course whose graph genuinely curves — a parabola, not a straight line. It is also the first function for which the shape of the formula itself carries useful information: depending how it is written, the same quadratic can instantly reveal its intercepts, its turning point, or neither. This chapter develops the three standard forms of a quadratic, derives the vertex formula by completing the square, and builds fluency converting between forms — the essential groundwork for Chapter 5's inequalities and nonlinear systems.

You need confident expansion and factorisation of quadratic expressions, and the linear-function toolkit from Chapter 3 (gradient as rate of change will reappear as the tangent gradient at the vertex, in spirit, once calculus arrives in Block D).

1. The Three Standard Forms

A quadratic function has the form f(x)=ax2+bx+cf(x) = ax^2+bx+c for constants a≠0,b,ca\neq0, b,c. This is the general form. Two other forms express exactly the same function, chosen to expose different features at a glance.

Definition — the three forms.

  • General form: f(x)=ax2+bx+cf(x)=ax^2+bx+c — the constant term c=f(0)c=f(0) is the yy-intercept, read off immediately.
  • Factored form: f(x)=a(x−p)(x−q)f(x)=a(x-p)(x-q) — the roots (zeros) p,qp,q are read off immediately, since f(p)=f(q)=0f(p)=f(q)=0.
  • Vertex form: f(x)=a(x−h)2+kf(x)=a(x-h)^2+k — the vertex (turning point) (h,k)(h,k) is read off immediately.

In every form, the leading coefficient aa is the same number, and it controls the parabola's width and direction: a>0a>0 opens upward (a minimum at the vertex), a<0a<0 opens downward (a maximum).

2. From General Form to Vertex Form: Completing the Square

Vertex form is not a separate fact to memorise — it is derived from general form by completing the square, a technique worth doing from scratch rather than recalling a formula.

Worked example 1. Convert f(x)=2x2−12x+7f(x) = 2x^2-12x+7 to vertex form.

Factor the leading coefficient out of the first two terms only:

f(x)=2(x2−6x)+7f(x) = 2(x^2-6x)+7

Complete the square inside the brackets: take half the coefficient of xx (which is −6-6, so half is −3-3), square it (99), add and subtract it inside the bracket:

f(x)=2(x2−6x+9−9)+7=2((x−3)2−9)+7f(x) = 2\left(x^2-6x+9-9\right)+7 = 2\left((x-3)^2-9\right)+7

Distribute the 22 back through, being careful it multiplies both terms inside:

f(x)=2(x−3)2−18+7=2(x−3)2−11f(x) = 2(x-3)^2-18+7 = 2(x-3)^2-11

So the vertex is (3,−11)(3,-11), and since a=2>0a=2>0, this is a minimum.

Warning. The constant subtracted inside the bracket must be multiplied by aa when it is moved outside — forgetting this (moving −9-9 straight to +7+7 without multiplying by 22 first) is the single most common error in this technique.

3. The Vertex Formula

Completing the square on the general form f(x)=ax2+bx+cf(x)=ax^2+bx+c once, symbolically, produces a reusable formula:

f(x)=a(x+b2a)2+(c−b24a)f(x) = a\left(x+\frac{b}{2a}\right)^2 + \left(c-\frac{b^2}{4a}\right)

so the vertex is at h=−b2ah=-\dfrac{b}{2a}, and k=f(h)k=f(h) is most reliably found by substituting hh back into the original function rather than memorising the expression for kk above.

Worked example 2. Find the vertex of f(x)=−3x2+6x+1f(x)=-3x^2+6x+1 using the formula.

h=−b2a=−62(−3)=1,k=f(1)=−3(1)2+6(1)+1=4h = -\frac{b}{2a} = -\frac{6}{2(-3)} = 1, \qquad k = f(1) = -3(1)^2+6(1)+1 = 4

Vertex: (1,4)(1,4), a maximum since a=−3<0a=-3<0.

4. From General Form to Factored Form

Factored form requires finding the roots of f(x)=0f(x)=0 — by factoring directly when possible, or by the quadratic formula otherwise:

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

Worked example 3. Convert f(x)=x2−x−12f(x)=x^2-x-12 to factored form.

Look for two numbers multiplying to −12-12 and summing to −1-1: these are −4-4 and 33. So f(x)=(x−4)(x+3)f(x)=(x-4)(x+3), with roots x=4x=4 and x=−3x=-3.

Worked example 4 (the edge case — no real factorisation). Attempt to write f(x)=x2+2x+5f(x)=x^2+2x+5 in factored form over the reals.

The discriminant Δ=b2−4ac=4−20=−16<0\Delta = b^2-4ac = 4-20=-16 <0. Since Δ<0\Delta<0 gives no real square root, there is no real factorisation — the parabola never crosses the xx-axis. This is not a failure of the method; it is the method correctly reporting that factored form over R\mathbb{R} does not exist for this quadratic. (The complex roots x=−1±2ix=-1\pm2i exist, but are outside this chapter's scope.)

Key distinction. Every quadratic has a vertex form and a general form, but not every quadratic has a real factored form — factored form exists over R\mathbb{R} exactly when Δ=b2−4ac≥0\Delta=b^2-4ac\geq0.

5. From Factored or Vertex Form Back to General Form

Going the other direction is pure expansion.

Worked example 5. Expand f(x)=3(x−2)(x+5)f(x)=3(x-2)(x+5) to general form.

f(x)=3(x2+5x−2x−10)=3(x2+3x−10)=3x2+9x−30f(x) = 3\left(x^2+5x-2x-10\right) = 3\left(x^2+3x-10\right) = 3x^2+9x-30

Worked example 6. Expand f(x)=−2(x+1)2+6f(x)=-2(x+1)^2+6 to general form.

f(x)=−2(x2+2x+1)+6=−2x2−4x−2+6=−2x2−4x+4f(x) = -2(x^2+2x+1)+6 = -2x^2-4x-2+6 = -2x^2-4x+4

6. The Axis of Symmetry and Reading Off Features

The vertical line x=hx=h through the vertex is the axis of symmetry: the parabola is a mirror image of itself across this line, since f(h−t)=f(h+t)f(h-t)=f(h+t) for every tt. This gives a fast way to find a second root once one root and the vertex's xx-coordinate are known: the two roots are symmetric about x=hx=h.

Worked example 7. A parabola has a root at x=−1x=-1 and axis of symmetry x=3x=3. Find the other root.

The other root is the reflection of −1-1 across x=3x=3: distance from −1-1 to 33 is 44, so the other root is 3+4=73+4=7.

Common Exam Pitfalls

  • Forgetting to multiply the completed-square constant by aa before moving it outside the bracket. The constant correction is −a×(half the inner coefficient)2-a\times(\text{half the inner coefficient})^2, not just that squared number alone.
  • Reading the vertex straight off general form. The vertex is not (b,c)(b,c) or any direct reading of the general-form coefficients — it requires completing the square or the formula h=−b2ah=-\frac{b}{2a}.
  • Assuming every quadratic factors over the reals. Check the discriminant first; Δ<0\Delta<0 means no real roots and no real factored form.
  • Sign errors expanding (x−p)(x−q)(x-p)(x-q), especially when pp or qq is itself negative — rewrite (x−(−3))(x-(-3)) as (x+3)(x+3) explicitly before expanding.
  • Confusing the sign of aa's effect: a>0a>0 gives a minimum (opens upward), a<0a<0 gives a maximum (opens downward) — stating the wrong one after correctly finding the vertex coordinates.
  • Using the vertex formula for kk from memory incorrectly. It is far safer to compute h=−b2ah=-\frac{b}{2a} and then substitute into the original ff to get k=f(h)k=f(h), rather than recalling the symbolic expression for kk.

Summary

  • Three equivalent forms: general ax2+bx+cax^2+bx+c (shows yy-intercept cc), factored a(x−p)(x−q)a(x-p)(x-q) (shows roots p,qp,q), vertex a(x−h)2+ka(x-h)^2+k (shows vertex (h,k)(h,k)).
  • Vertex form is derived from general form by completing the square; the vertex is also given directly by h=−b2ah=-\dfrac{b}{2a}, k=f(h)k=f(h).
  • The sign of aa determines the parabola's direction: a>0a>0 minimum, a<0a<0 maximum; ∣a∣|a| controls its width.
  • Factored form exists over R\mathbb{R} exactly when the discriminant Δ=b2−4ac≥0\Delta=b^2-4ac\geq0; the roots are x=−b±Δ2ax=\dfrac{-b\pm\sqrt{\Delta}}{2a}.
  • The axis of symmetry x=hx=h reflects the parabola onto itself; given one root and the axis, the other root is the mirror image across x=hx=h.
  • Converting to general form from either other form is pure expansion; converting from general form requires completing the square (vertex) or factoring/the quadratic formula (factored).