An elliptical window on a building plan sits wherever the architect put it, not at the origin of the grid. Moving a conic changes its equation, and once that equation is multiplied out it can look like a jumble such as . Completing the square turns the jumble back into a form that shows at a glance where the curve sits and what shape it has.
Key terms
Translated conics
Definition Let and be real numbers. Moving every point of the plane units horizontally and units vertically sends to . If a curve is the solution set of an equation , the moved curve is the solution set of
because lies on the moved curve exactly when lies on the original one. A translation keeps all distances, so a translated conic has the same type, size, shape and eccentricity as the original.
In plain words To move a curve units to the right, replace by . The minus sign looks backwards, but the new curve at does what the old curve did at .
Example Move the ellipse three units right and two units down, so and . The new equation is
The vertex of the original moves to , and indeed .
Shifted parabolas
Definition Let . The parabola with vertex , focus and directrix has the equation
Its axis is the horizontal line , and it opens to the right when and to the left when . The parabola with vertex , focus and directrix has the equation
Its axis is the vertical line , and it opens upward when and downward when .
In plain words The number is the signed distance from the vertex to the focus. Moving the vertex to carries the focus and the directrix along with it.
Example The parabola with vertex that opens to the right with is
Its focus is and its directrix is . At the equation gives , so or . The point is units from the focus and units from the directrix, as a point of a parabola should be.
Shifted ellipses
Definition Let and . The ellipse with center and a horizontal major axis is
Its vertices are , its covertices are and its foci are . When stands under instead, the major axis is vertical, the vertices are , the covertices are and the foci are . If both denominators equal , the equation describes the circle of radius about instead.
In plain words The center replaces the origin. Every other point is found by stepping , or units from the center along the axes.
Example The ellipse with center , along the horizontal and is
Here , so the foci are and , and the vertices are and . The covertex is units from each focus, and .
Shifted hyperbolas
Definition Let , and . The hyperbola with center and a horizontal transverse axis is
with vertices , foci and asymptotes . The hyperbola with center and a vertical transverse axis is
with vertices , foci and asymptotes .
In plain words The asymptotes move with the curve. They still cross at the center, and their slopes do not change.
Example Take
The center is , with , and . The transverse axis is vertical, so the vertices are and , the foci are and , and the asymptotes are . As a check, the vertex is units from and units from , a difference of .
Completing the square
Definition For real numbers and ,
An equation with no term, where and are not both zero, is rewritten in shifted form this way. Group the terms and the terms, and factor out the coefficient of each squared variable. Complete the square inside each group that has a square, and add to the other side exactly what this adds to the left side. If both variables are squared and the new right side is not zero, divide by it so that the right side is . If only one variable is squared and the other appears to the first power, move the remaining terms to the right side and factor out the coefficient of that variable, as in the parabola forms above. Some outcomes are degenerate, and the last section shows how to recognize them.
In plain words Turn each group of terms into a perfect square plus a constant, and keep track of what you added. The most common slip is forgetting that a number added inside a group gets multiplied by the coefficient in front of it.
Example Return to . Grouping and factoring gives
Adding inside the first group adds to the left side, and adding inside the second adds , so
That is , and dividing by gives
It is an ellipse with center , a vertical major axis, , and . Its vertices are and and its foci are . The vertex satisfies the original equation, since .
Shifting vertices
Definition The translation by horizontally and vertically moves every feature of a conic by the same amount. The center, the vertices, the covertices and the foci move from to , and the axes, directrices and asymptotes move to parallel lines through the moved points. The numbers , , , and do not change. So each point feature of a shifted conic is the matching point of the unshifted conic plus . In the other direction, the equation of an ellipse or a hyperbola can be found from shifted features by locating the center first, as the midpoint of the vertices or of the foci, and then reading , and as distances from it.
In plain words A shift moves the whole picture at once. Distances inside the picture stay the same, so you only have to find where the center went.
Example An ellipse has vertices and and foci and . The center is the midpoint . The vertices are apart, so , and the foci are apart, so . Then and the equation is
It is the ellipse moved units right and unit up, so its covertices are and .
Recognizing the type and degenerate cases
Definition Consider with and not both zero.
- If , the graph is an ellipse (a circle when ), a single point, or empty.
- If , the graph is a hyperbola or a pair of lines crossing at one point.
- If exactly one of and is zero, the graph is a parabola, a pair of parallel lines, a single line, or empty.
Completing the square decides which case happens. When the result has the form , and the graph is an ellipse or a hyperbola exactly when and, in the case , has the same sign as .
In plain words The signs of the two squared terms tell you what the curve can be. Only after completing the square do you know whether it really is that curve or something that collapsed.
Example Completing the square in gives
A sum of squares is zero only when both are zero, so the graph is the single point . With the constant in place of the right side becomes and no point fits. In the same way becomes , which is the pair of lines and crossing at .
Check yourself
- Identify the conic and find its center, vertices, foci and asymptotes.
Show the answer
Grouping gives . Completing both squares adds and subtracts on the left, so
that is
It is a hyperbola with center , , and . The vertices are and , the foci are and the asymptotes are .
- Find the vertex, focus and directrix of the parabola .
Show the answer
Completing the square gives , so
The vertex is and , so and the parabola opens downward. The focus is and the directrix is .
- A hyperbola has vertices and and foci and . Write its equation.
Show the answer
The center is the midpoint and the transverse axis is vertical. The vertices are apart, so , and the foci are apart, so . Then and the equation is