Skip to main content

Math Trailhead

Section Quadratic functions, equations, and zeros

Your guide to this three-page lesson.

  1. Quadratic functions, equations, and zeros: distinguish a function from an equation, read parabolas, and connect solutions to zeros and horizontal-axis intercepts.
  2. Solving with the quadratic formula: use the quadratic formula, compare it with factoring, and practice with exercises and worked solutions.
  3. Where the quadratic formula comes from: complete a square with an area diagram, derive the formula, and interpret its two branches on a graph.

A function gives outputs.

A quadratic function is a function of the form
\begin{equation*} f(x)=ax^2+bx+c,\qquad a\ne0. \end{equation*}
Here \(a,b,c\) are fixed real numbers, called coefficients, and \(x\) is the input variable. Unless a context restricts the inputs, its domain is all real numbers. Note that if \(a=0\text{,}\) the function becomes linear (or constant if \(b=0\)), so it is no longer quadratic. Either \(b\) or \(c\) can be zero in a quadratic function.

Example 95.

For \(f(x)=x^2-2x-3\text{,}\) find \(f(2)\) and identify the corresponding point on the graph.
Solution.
Substitute \(2\) for every occurrence of \(x\text{:}\) \(f(2)=2^2-2(2)-3=4-4-3=-3\text{.}\) Thus \((2,-3)\) lies on the graph. Evaluating a function gives an output for a specified input.
The graph of every quadratic function is a parabola.
An upward-opening parabola with vertex at (1,-4), dashed symmetry line x=1, zeros marked at (-1,0) and (3,0), and points at (0,-3) and (2,-3).
Figure 96. The graph of \(f(x)=x^2-2x-3\) is the bowl-shaped curve above. It has vertex \((1,-4)\) and symmetry line \(x=1\) (the symmetry line is not part of the graph of \(f\)). The points \((0,-3)\) and \((2,-3)\) have equal heights.
If \(a>0\text{,}\) the parabola opens upward and the vertex is its minimum. If \(a<0\text{,}\) it opens downward and the vertex is its maximum. Multiplying a function by a positive number greater than one stretches its graph vertically; multiplying by a negative number also reflects it across the horizontal axis. In the displayed graph, \(f(x)=(x-1)^2-4\text{,}\) so the minimum output is \(-4\) and the range is \([-4,\infty)\text{.}\)

Quadratic Equations.

A quadratic equation is an equation that can be written in the form
\begin{equation*} ax^2+bx+c=0,\qquad a\ne0. \end{equation*}
A solution is a number that makes the equation true when substituted for \(x\text{.}\) The function \(f(x)=x^2-2x-3\) describes all the outputs; the equation \(x^2-2x-3=0\) asks for just the inputs whose output is zero. For instance, \(3^2-2(3)-3=0\text{,}\) so \(x=3\) is a solution.
A zero (or root) of \(f\) is an input \(r\) such that \(f(r)=0\text{.}\) Thus the real solutions of \(ax^2+bx+c=0\) are exactly the real zeros of the corresponding quadratic function. On a graph, a real zero \(r\) gives the x-intercept \((r,0)\text{.}\) The zero is a number; the intercept is a point.
In the graph above for the function \(f(x)=x^2-2x-3\text{,}\) the zeros are \(-1\) and \(3\text{,}\) so the equation
\begin{equation*} x^2-2x-3=0 \end{equation*}
has solutions \(x=-1\) and \(x=3\text{.}\) The point \((0,-3)\) is the y-intercept, not a zero: it records \(f(0)=c=-3\text{.}\)
Not every quadratic equation starts with zero on one side. To solve \(x^2-2x=3\text{,}\) subtract \(3\) from both sides to obtain \(x^2-2x-3=0\text{.}\) Equivalently, you are finding where the parabola \(y=x^2-2x\) meets the horizontal line \(y=3\text{.}\)

Two, one, or no real zeros.

Three graphs: y=x squared minus 1 crosses at -1 and 1; y=x squared touches at 0; y=x squared plus 1 stays above the axis and has no real zeros.
Figure 97. A parabola can cross, touch, or miss the horizontal axis. Count distinct real zeros, not the number of times you write a root.
  1. \(x^2-1=0\) has two distinct real solutions, \(-1\) and \(1\text{.}\)
  2. \(x^2=0\) has one distinct real solution, \(0\text{.}\) It is a repeated root: the factor \(x\) occurs twice in \(x^2=x\cdot x\text{.}\)
  3. \(x^2+1=0\) has no real solutions because a real square cannot be negative. Its graph never reaches height zero.
A quadratic has at most two distinct real zeros. In many applications we will only consider the real solutions, but if you work with complex numbers, the last equation has solutions \(\pm i\text{,}\) where \(i^2=-1\text{.}\)

Example 98.

Let \(g(x)=(x-2)^2\text{.}\) Find its real zeros, x-intercepts, and y-intercept. Does its graph cross the x-axis?
Solution.
Solving \((x-2)^2=0\) gives the repeated zero \(x=2\) and the x-intercept \((2,0)\text{.}\) Since \(g(0)=4\text{,}\) the y-intercept is \((0,4)\text{.}\) The parabola opens upward and touches the x-axis at its vertex; it does not cross it.

Try it with instant feedback.

These problems also appear in Part I. Enter your answers and use β€œCheck Responses” for feedback. Try β€œRandomize” for another version. For more practice, visit Functions and Polynomial Roots.

Checkpoint 99.

Evaluate \(f(x)={-4x^{2}-2x}\) at the following values:
Answer 1.
Answer 2.
Answer 3.
\(-4p^{2}-2p\)
Solution.
\(=-4(-2)^2 - 2(-2)\)
\(=-4 \cdot 4 - 2(-2)\)
\(= {-12}\)
\(=-4(2)^2 - 2(2)\)
\(=-4 \cdot 4 - 2(2)\)
\(= {-20}\)
\(={-4p^{2}-2p}\)

Checkpoint 100.

The graph below is a polynomial function in the form \(f(x) = (x-a)(x-b).\) Find suitable real numbers \(a\) and \(b\) that describe the graph.
Answers: \(a =\) and \(b =\)
Note: You can click on the graph to enlarge the image.
Answer 1.
Answer 2.

Checkpoint 101.

For \(f(x)=x^2-2x-3\text{,}\) state the zeros, the x-intercepts, and the y-intercept. Is \(x=0\) a solution of \(f(x)=0\text{?}\) Explain the difference between \(f(0)\) and a zero of \(f\text{.}\)
Solution.
The zeros are \(-1,3\text{;}\) the x-intercepts are \((-1,0),(3,0)\text{;}\) the y-intercept is \((0,-3)\text{.}\) Since \(f(0)=-3\ne0\text{,}\) zero is not a solution. The value \(f(0)\) is an output at input zero; a zero of \(f\) is an input that produces output zero.