Quadratic functions
Theory
A quadratic function \(y=ax^{2}+bx+c\) (with \(a\neq 0\)) graphs as a parabola. It can also be written in turning-point form \(y=a(x-h)^{2}+k\) or factored form \(y=a(x-p)(x-q)\). The sign of \(a\) fixes the concavity, the axis of symmetry is \(x=-\dfrac{b}{2a}\), and the discriminant \(\Delta=b^{2}-4ac\) counts the \(x\)-intercepts.
A quadratic function is any function of the form \(y=ax^{2}+bx+c\) with \(a\neq 0\); its graph is a parabola. The coefficient \(a\) controls the shape: when \(a>0\) the parabola is concave up and has a minimum turning point, and when \(a<0\) it is concave down with a maximum. The constant \(c\) is the \(y\)-intercept, since setting \(x=0\) gives \(y=c\).
The same parabola can be written in three equivalent forms. The general form \(y=ax^{2}+bx+c\) is handy for the \(y\)-intercept and the discriminant; the turning-point (vertex) form \(y=a(x-h)^{2}+k\) shows the turning point \((h,k)\) directly; and the factored (intercept) form \(y=a(x-p)(x-q)\) shows the \(x\)-intercepts \(x=p\) and \(x=q\). Completing the square converts the general form to turning-point form.
Every parabola is symmetric about the vertical line through its turning point, the axis of symmetry \(x=-\dfrac{b}{2a}\). The number of \(x\)-intercepts is decided by the discriminant \(\Delta=b^{2}-4ac\): two if \(\Delta>0\), one (a touch) if \(\Delta=0\), and none if \(\Delta<0\). When factorising is awkward, the quadratic formula \(x=\dfrac{-b\pm\sqrt{b^{2}-4ac}}{2a}\) solves \(ax^{2}+bx+c=0\).
The three equivalent forms of a quadratic:
The axis of symmetry, and the \(x\)-coordinate of the turning point:
The discriminant, which counts the real solutions of \(ax^{2}+bx+c=0\):
The quadratic formula, for solving \(ax^{2}+bx+c=0\):
How to sketch and analyse a parabola
- Read off \(a\), \(b\), \(c\) and the concavity. If \(a>0\) the parabola is concave up (minimum); if \(a<0\) it is concave down (maximum).
- Find the \(y\)-intercept. Put \(x=0\): the \(y\)-intercept is \(c\).
- Find the \(x\)-intercepts. Solve \(ax^{2}+bx+c=0\) by factorising, or by the quadratic formula; use \(\Delta=b^{2}-4ac\) to check how many there are.
- Find the turning point. The axis of symmetry is \(x=-\dfrac{b}{2a}\); substitute this \(x\) back in to get the \(y\)-value, or read \((h,k)\) from \(y=a(x-h)^{2}+k\).
- Plot and draw. Mark the intercepts and turning point, then join them with a smooth, symmetric curve.
| \(a=1>0\) | \(\Rightarrow\) | concave up (minimum) |
| turning point | \(=\) | \((2,-1)\) |
| \(y\) | \(=\) | \((0-2)^{2}-1=3\) |
| \((x-2)^{2}-1\) | \(=\) | \(0\) |
| \((x-2)^{2}\) | \(=\) | \(1\) |
| \(x-2\) | \(=\) | \(\pm 1\) |
| \(x\) | \(=\) | \(1 \text{ or } 3\) |
| \(y\) | \(=\) | \(x^{2}+6x+5\) |
| \(=\) | \((x^{2}+6x+9)-9+5\) |
| \(y\) | \(=\) | \((x+3)^{2}-4\) |
| turning point | \(=\) | \((-3,-4)\) |
| \(\Delta\) | \(=\) | \(3^{2}-4(2)(5)\) |
| \(=\) | \(9-40=-31\) |
| \(k^{2}-4(1)(9)\) | \(=\) | \(0\) |
| \(k^{2}\) | \(=\) | \(36\) |
| \(k\) | \(=\) | \(\pm 6\) |
| \(x\) | \(=\) | \(-\dfrac{-8}{2(2)}=2\) |
| \(y\) | \(=\) | \(2(2)^{2}-8(2)+5\) |
| \(=\) | \(8-16+5=-3\) |
| turning point | \(=\) | \((2,-3)\), a minimum |
| \(x\) | \(=\) | \(\dfrac{8\pm\sqrt{24}}{4}=2\pm\dfrac{\sqrt{6}}{2}\) |
Common pitfalls
Frequently asked questions
What are the three forms of a quadratic function?
General form \(y=ax^{2}+bx+c\), turning-point (vertex) form \(y=a(x-h)^{2}+k\) with turning point \((h,k)\), and factored (intercept) form \(y=a(x-p)(x-q)\) with \(x\)-intercepts \(p\) and \(q\). Choose the form that shows the feature you need.
How do you find the turning point of a parabola?
The axis of symmetry is \(x=-\dfrac{b}{2a}\); substitute this \(x\) back into the rule for the \(y\)-coordinate. In turning-point form \(y=a(x-h)^{2}+k\) the turning point is simply \((h,k)\).
What is completing the square used for?
It rewrites \(y=ax^{2}+bx+c\) as \(y=a(x-h)^{2}+k\), which shows the turning point directly and how the parabola is transformed from \(y=x^{2}\).
What does the discriminant tell you?
\(\Delta=b^{2}-4ac\). If \(\Delta>0\) there are two \(x\)-intercepts; if \(\Delta=0\) the parabola touches the axis once; if \(\Delta<0\) there are no real solutions.
How do you tell if a parabola is concave up or concave down?
The sign of \(a\) decides it: \(a>0\) gives concave up with a minimum, and \(a<0\) gives concave down with a maximum. A larger \(|a|\) makes it narrower.
When do you use the quadratic formula?
Use \(x=\dfrac{-b\pm\sqrt{b^{2}-4ac}}{2a}\) to solve \(ax^{2}+bx+c=0\) when it does not factorise neatly; the term under the root is the discriminant.