
Last time, we connected a function's inputs and outputs to its graph. The rule square then subtract 1 had a clear lowest point. Where does that point go when we add a linear term? Completing the square lets us locate the vertex of a quadratic function from its formula, then build a sketch around it.
A form that reveals the vertex
A quadratic function has the form , where are real constants and . Its graph is a parabola. It opens upwards when and downwards when .
This is vertex form. The vertex is and the axis of symmetry is the line . With domain all real numbers, the vertex is the lowest point if and the highest point if .
A square cannot be negative, and is zero exactly when . A positive coefficient adds a non-negative amount to ; a negative coefficient subtracts a non-negative amount. Also, inputs and give the same square. These equal outputs explain why the graph is symmetric about the vertical line through its vertex.
Example 1: handle the leading coefficient first
Let , with domain all real numbers. Find its vertex and axis of symmetry, then sketch its graph. Before halving a linear coefficient, take 2 out of the first two terms. The squared term inside the brackets must have coefficient 1.
- Factor 2 out of the first two terms. Leave the constant outside: .
- The linear coefficient inside is . Half is , whose square is 4. Add and subtract 4: .
- Group the first three terms into a square: . Subtracting 4 keeps the expression unchanged.
- Put this back into the function and multiply both terms by the outer 2: . The correction outside is , not .
- Combine the constants to get vertex form: .
The vertex is and the axis of symmetry is . Check the height in the original formula: . The leading coefficient is positive, so the minimum value is , reached at input 2.

The diagram shows matching heights on either side of the dashed axis: and . Since , the range is . The curve continues upwards without a bound, so there is no maximum value.
Find the intercepts to complete the sketch
An x-intercept is the horizontal coordinate where the graph meets the x-axis. Find it by setting . The y-intercept is the vertical coordinate where the graph meets the y-axis. Find it by setting . An intercept is a value; give both coordinates when naming the intersection point.
- For the y-intercept, substitute : . The intersection point is .
- For the x-intercepts, set the output to zero: . Vertex form makes this equation easy to solve.
- Add 2 to both sides, then divide by 2: . Keep both signs when taking square roots.
- Thus , giving or . The intersection points are and , as marked in the diagram.
For a sketch, mark the vertex, axis of symmetry and intercepts, then draw a smooth, symmetric curve. Do not join the points with straight segments. A parabola need not cross the x-axis: an upward-opening curve whose minimum is above the axis stays above it everywhere.
Example 2: keep track of a negative sign
Now take , again with domain all real numbers. Factoring a negative sign out of the first two terms changes the sign of the linear term inside the brackets. Missing that change puts the vertex on the wrong side of the y-axis.
- Factor out the negative sign: . The linear term inside is now positive.
- Half of the linear coefficient 2 is 1. Add and subtract 1: .
- Substitute back and apply the outer negative sign to both terms: .
- Combine constants: . The square is zero when .
The vertex is and the axis of symmetry is . Check: . Subtracting a non-negative square from 4 gives a maximum of 4. The range is . The graph continues downwards without a bound, so it has no minimum.

Here , at equal distances from the axis of symmetry. For zero output, . Hence , so or . The midpoint of the two x-axis intersection points lies on the axis of symmetry.
- Read the vertex by making the bracket zero: . The horizontal coordinate is , not 1.
- Separate the input from the extreme value. The first example reaches its minimum at , but the minimum value is the output .
- Expand your completed square to check the original formula. Make sure the outer coefficient or negative sign multiplies the correction term too.
The domain matters. If the first example is restricted to , input 2 is no longer allowed. You cannot claim that its minimum is . Next time, we will apply quadratic maximum and minimum values to practical problems, building a formula from a situation and checking whether the vertex is allowed.
Learn more: DSE Mathematics tutoring
To republish this article, please email [email protected].