Precalculus · Grades 11, 12

Conic Sections in General Form

Quick answer

Every circle, ellipse, parabola and hyperbola with axes parallel to the coordinate axes can be written as Ax² + Cy² + Dx + Ey + F = 0. The two squared coefficients name the curve: equal gives a circle, unequal with the same sign an ellipse, opposite signs a hyperbola, and exactly one of them zero a parabola. Completing the square in x and in y rewrites the equation in terms of x − h and y − k, which locates the center or vertex and puts the curve in standard form.

What you'll learn

  • Classify a conic from the coefficients of x² and y²
  • Complete the square in x and in y to reach standard form
  • Read the center, radius, vertices and axes from standard form
  • Recognize the degenerate cases

One family, four curves

Slice a cone with a plane and the edge of the cut is a circle, an ellipse, a parabola or a hyperbola. In coordinates, all four, with axes parallel to the coordinate axes, are the same kind of equation:

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

The two squared coefficients decide which curve appears.

AA and CCCurve
equal and nonzerocircle
same sign, not equalellipse
opposite signshyperbola
exactly one is 00parabola

So 3x2+3y2−12x=03x^2 + 3y^2 - 12x = 0 is a circle, x2+4y2=16x^2 + 4y^2 = 16 an ellipse, 2x2−5y2+4=02x^2 - 5y^2 + 4 = 0 a hyperbola, and y=x2−4xy = x^2 - 4x a parabola, since it has no y2y^2 term.

Completing the square

Classifying takes a glance. Locating the curve takes completing the square, once in xx and once in yy:

  1. Group the xx terms and the yy terms, and move the constant to the right.
  2. Factor the coefficient out of each group.
  3. Complete each square, adding the matching amount to the right side.
  4. Divide to reach standard form.

Why completing the square finds the center

Expanding (x−h)2=x2−2hx+h2(x - h)^2 = x^2 - 2hx + h^2 shows that a shift left or right puts a linear term in xx into the equation, with coefficient −2h-2h. Reading that backward, a linear term is the trace of a shift, and completing the square recovers it: h=−D2Ah = -\tfrac{D}{2A}. The same holds for yy. A conic in general form is a standard conic moved off the origin, and completing the square rewrites it in x−hx - h and y−ky - k, which names the move.

Once the equation reads

(x−h)2a2+(y−k)2b2=1\frac{(x - h)^2}{a^2} + \frac{(y - k)^2}{b^2} = 1

everything is where it was for a centered curve, shifted by (h,k)(h, k).

The ellipse (x − 1)²/9 + (y + 2)²/4 = 1 An ellipse centered at (1, −2), 6 units wide and 4 units tall. Its center is marked, along with the four ends of its axes at (4, −2), (−2, −2), (1, 0) and (1, −4). -224-6-4-22xy (4, −2) (−2, −2) (1, 0) (1, −4)
  • ellipse centered at (1, −2)
The ellipse (x − 1)²/9 + (y + 2)²/4 = 1

Worked examples

Common mistakes

Practice problems

  1. Classify 2x2+2y2−8x+12y−6=02x^2 + 2y^2 - 8x + 12y - 6 = 0.

    Answer

    A circle

    Full solution

    The coefficients of x2x^2 and y2y^2 are both 22.

  2. Put the equation in exercise 1 in standard form, and give its center and radius.

    Answer

    (x−2)2+(y+3)2=16(x - 2)^2 + (y + 3)^2 = 16; center (2,−3)(2, -3), radius 44

    Full solution

    Divide by 22: x2+y2−4x+6y−3=0x^2 + y^2 - 4x + 6y - 3 = 0. Completing both squares gives (x−2)2−4+(y+3)2−9=3(x - 2)^2 - 4 + (y + 3)^2 - 9 = 3.

  3. Classify 9x2+4y2+18x−16y−11=09x^2 + 4y^2 + 18x - 16y - 11 = 0, then put it in standard form.

    Answer

    An ellipse: (x+1)24+(y−2)29=1\tfrac{(x + 1)^2}{4} + \tfrac{(y - 2)^2}{9} = 1

    Full solution

    9(x2+2x)+4(y2−4y)=119\left(x^2 + 2x\right) + 4\left(y^2 - 4y\right) = 11. Completing the squares adds 99 and 1616 to the right: 9(x+1)2+4(y−2)2=369(x + 1)^2 + 4(y - 2)^2 = 36. Divide by 3636.

  4. Give the center of the ellipse in exercise 3, and say which axis is longer.

    Answer

    Center (−1,2)(-1, 2); the vertical axis is longer

    Full solution

    Under (y−2)2(y - 2)^2 sits 99, larger than the 44 under (x+1)2(x + 1)^2, so the curve reaches 33 up and down but only 22 left and right.

  5. Put x2+6x−4y+13=0x^2 + 6x - 4y + 13 = 0 in standard form, and give its vertex.

    Answer

    (x+3)2=4(y−1)(x + 3)^2 = 4(y - 1); vertex (−3,1)(-3, 1)

    Full solution

    x2+6x=4y−13x^2 + 6x = 4y - 13, so (x+3)2=4y−13+9=4(y−1)(x + 3)^2 = 4y - 13 + 9 = 4(y - 1). It is a parabola opening upward.

  6. Find the focus of the parabola in exercise 5.

    Answer

    (−3,2)(-3, 2)

    Full solution

    Matching (x−h)2=4p(y−k)(x - h)^2 = 4p(y - k) gives 4p=44p = 4, so p=1p = 1. The focus sits 11 unit above the vertex.

  7. Classify 4y2−x2+8y+4x−16=04y^2 - x^2 + 8y + 4x - 16 = 0, then put it in standard form.

    Answer

    A hyperbola: (y+1)24−(x−2)216=1\tfrac{(y + 1)^2}{4} - \tfrac{(x - 2)^2}{16} = 1

    Full solution

    4(y2+2y)−(x2−4x)=164\left(y^2 + 2y\right) - \left(x^2 - 4x\right) = 16. Completing the squares adds 44 to the left from the first group and subtracts 44 from the second: 4(y+1)2−(x−2)2=164(y + 1)^2 - (x - 2)^2 = 16. Divide by 1616.

  8. Which way does the hyperbola in exercise 7 open, and where is its center?

    Answer

    Up and down, centered at (2,−1)(2, -1)

    Full solution

    The positive square is the one in yy, so the branches open along the vertical axis from the center (2,−1)(2, -1).

  9. What does x2−y2=0x^2 - y^2 = 0 graph?

    Answer

    The pair of lines y=xy = x and y=−xy = -x

    Full solution

    Factor: (x−y)(x+y)=0(x - y)(x + y) = 0, so either y=xy = x or y=−xy = -x. It is a degenerate hyperbola, the cut a plane makes straight through the cone’s tip.

  10. A student sees 4x2−9y2+8x+36y−68=04x^2 - 9y^2 + 8x + 36y - 68 = 0, notices two squared terms, and calls it an ellipse. What went wrong?

    Hint

    Compare the signs of the two coefficients.

    Answer

    The signs are opposite, so it is a hyperbola.

    Full solution

    An ellipse needs AA and CC to share a sign, so that the curve closes up. Here A=4A = 4 and C=−9C = -9, and completing the squares gives 4(x+1)2−9(y−2)2=364(x + 1)^2 - 9(y - 2)^2 = 36, a hyperbola centered at (−1,2)(-1, 2).

Frequently asked questions

What is the general form of a conic section?

Ax² + Cy² + Dx + Ey + F = 0, for a conic whose axes are parallel to the coordinate axes. An xy term would mean the curve is rotated.

How do you tell which conic an equation describes?

Compare A and C. Equal and nonzero gives a circle, unequal with the same sign an ellipse, opposite signs a hyperbola, and exactly one zero a parabola.

Why complete the square for a conic?

It collects the x terms into (x − h)² and the y terms into (y − k)², which reveals the center or vertex and puts the equation in standard form.

What is a degenerate conic?

An equation in the conic family whose graph is a point, a line, a pair of lines, or nothing at all. x² + y² = 0 is the single point (0, 0).

Does a parabola have both squared terms?

No. A parabola squares exactly one variable. If both x² and y² appear, the curve is a circle, an ellipse or a hyperbola.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSG.GPE.A.1Expressing Geometric Properties with EquationsDerive the equation of a circle of given center and radius using the Pythagorean Theorem; complete the square to find the center and radius of a circle given by an equation.
  • CCSS.MATH.CONTENT.HSG.GPE.A.3Expressing Geometric Properties with Equations(+) Derive the equations of ellipses and hyperbolas given the foci, using the fact that the sum or difference of distances from the foci is constant.