Ma · Mathematics

How to Change a Parabola to Canonical Form

Published By the 9to5Science editorial team

At a glance

  1. 1. Check the quadratic part

    For Ax² + Bxy + Cy² + Dx + Ey + F = 0, check whether B² − 4AC = 0.

  2. 2. Rotate the axes

    Choose coordinates along the quadratic form’s principal directions to remove the xy term.

  3. 3. Complete the square

    Rewrite the equation as a squared coordinate plus a linear coordinate and a constant.

  4. 4. Shift to the vertex

    Translate the coordinates to remove the constant and obtain U² = 4pV or V² = 4pU.

A parabola may be written in coordinates that are rotated or shifted relative to its usual position. In those coordinates, its equation can contain an xyxy term and linear terms, so it will not look like the familiar U2=4pVU^2=4pV. You can put it into canonical form by rotating the axes to remove the cross term, completing the square, and translating the origin to the vertex.

The method below applies to a general second-degree equation in two variables. It also explains an important caveat: the usual discriminant test identifies a parabolic-type quadratic part, but does not by itself prove that the whole equation describes a nondegenerate parabola.

General equation and parabolic condition

Write the conic as

Ax2+Bxy+Cy2+Dx+Ey+F=0.Ax^2+Bxy+Cy^2+Dx+Ey+F=0.

For this convention, the quadratic part is parabolic when

B2−4AC=0.B^2-4AC=0.

This condition means the quadratic part has one zero direction. It is necessary for a nondegenerate parabola, but the equation could instead describe parallel lines, a repeated line, or have no real points. To get an ordinary parabola, the linear part must vary along the zero direction of the quadratic part.

Procedure for reaching canonical form

1. Rotate to remove xyxy

If B≠0B\ne 0, the squared terms are generally not aligned with the coordinate axes. Rotate the axes so that the quadratic part has no cross term. For example, use

x=ucos⁡θ−vsin⁡θ,y=usin⁡θ+vcos⁡θ.x=u\cos\theta-v\sin\theta,\qquad y=u\sin\theta+v\cos\theta.

With this convention, choose θ\theta so that tan⁡(2θ)=B/(A−C)\tan(2\theta)=B/(A-C) when that ratio is defined. In special cases, it is simpler to identify the directions directly. After rotation, the equation has the form

λu2+αu+βv+γ=0,\lambda u^2+\alpha u+\beta v+\gamma=0,

where λ≠0\lambda\ne 0 and there is no v2v^2 term. If the original equation already has no cross term, this rotation may not be needed.

2. Complete the square

Group the terms in uu and complete the square:

λ(u+α2λ)2+βv+γ−α24λ=0.\lambda\left(u+\frac{\alpha}{2\lambda}\right)^2+\beta v+\gamma-\frac{\alpha^2}{4\lambda}=0.

The square is now centered at the vertex’s coordinate in the uu direction.

3. Translate the origin

Define

U=u+α2λ,V=v+γ−α2/(4λ)β,U=u+\frac{\alpha}{2\lambda},\qquad V=v+\frac{\gamma-\alpha^2/(4\lambda)}{\beta},

provided β≠0\beta\ne 0. The equation becomes

U2=−βλV=4pV,U^2=-\frac{\beta}{\lambda}V=4pV,

where p=−β/(4λ)p=-\beta/(4\lambda). This is the canonical form of a parabola whose axis is the VV-axis. If the squared coordinate is vv instead, the corresponding form is V2=4pUV^2=4pU.

The sign of pp gives the direction of opening: in U2=4pVU^2=4pV, the parabola opens toward increasing VV if p>0p>0 and decreasing VV if p<0p<0.

Worked example

Put

(x+y)2−2x+2y=0(x+y)^2-2x+2y=0

into canonical form. The quadratic terms are x2+2xy+y2x^2+2xy+y^2, so the cross term means a rotation is needed. Choose rotated coordinates

u=x+y2,v=x−y2.u=\frac{x+y}{\sqrt{2}},\qquad v=\frac{x-y}{\sqrt{2}}.

Then x+y=2ux+y=\sqrt{2}u and x−y=2vx-y=\sqrt{2}v. Rewrite the original equation using these expressions:

(x+y)^2-2x+2y&=0,\\ 2u^2-2(x-y)&=0,\\ 2u^2-2\sqrt{2}v&=0,\\ u^2&=\sqrt{2}v. \end{aligned}$$ This is already in canonical form. Comparing it with $U^2=4pV$ gives $U=u$, $V=v$, and $4p=\sqrt{2}$, so $p=\sqrt{2}/4$. The vertex is at $(u,v)=(0,0)$, and the axis is the $v$-axis in the rotated coordinates. ## What if the equation is degenerate? In the rotated equation $\lambda u^2+\alpha u+\beta v+\gamma=0$, a proper parabola requires $\lambda\ne0$ and $\beta\ne0$. If $\beta=0$, completing the square leaves an equation involving only $u^2$ and a constant. Depending on that constant, the result may be two parallel lines, a repeated line, or no real points—not a parabola opening along $v$. For instance, $u^2-1=0$ is the pair of parallel lines $u=1$ and $u=-1$. Its quadratic part has the same parabolic-type discriminant, but the full equation is not a parabola. ## Common mistakes - **Stopping at $B^2-4AC=0$.** This tests the quadratic part; check the linear terms too to rule out degeneracy. - **Trying to complete the square before removing a cross term.** With an $xy$ term, rotation is usually the clean first step. - **Forgetting to translate after completing the square.** Completing the square centers the squared coordinate, but a constant may remain in the other coordinate. - **Mixing canonical-form conventions.** Some books write $U^2=4pV$; others use a parameter such as $a$ instead of $p$. Compare coefficients to identify the parameter rather than assuming the symbols mean the same thing.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.