Circles, ellipses, parabolas and hyperbolas are the curves a plane cuts from a double cone, and each is the set of points at given distances from a center, a focus or a line. Completing the square turns a general second-degree equation into a standard form that shows the center and radius of a circle, and the vertices, foci and asymptotes of the other conics.
Mark the point (3,−2) and find points exactly 5 units away. Four need no formula, straight right, left, up and down, at (8,−2),(−2,−2),(3,3) and (3,−7). Others need the distance formula. The point (6,2) is 3 units across and 4 units up, and √32+42=√25=5, so it belongs too.
Every such point (x,y) is x−3 units across and y+2 units up or down from (3,−2), so √(x−3)2+(y+2)2=5. Squaring both sides gives the circle’s equation. Multiplied out, the same equation is x2+y2−6x+4y−12=0, which hides both the center and the radius.
(x−3)2+(y+2)2=25
Points 5 units from (3,−2)
Point
Across
Up or down
Distance
(8,−2)
5
0
√25=5
(3,3)
0
5
√25=5
(6,2)
3
4
√9+16=5
(−1,−5)
−4
−3
√16+9=5
The rule
Four curves defined by distances
A circle with center (h,k) and radius r is every point at distance r from the center. A parabola is every point as far from a fixed point, its focus, as from a fixed line, its directrix. An ellipse is every point whose distances to two foci add to the same total, 2a. A hyperbola is every point whose distances to two foci differ by the same amount, 2a.
The table gives each one’s standard form with its center or vertex at the origin. Replacing x with x−h and y with y−k moves any of them so that the center or vertex is at (h,k).
(x−h)2+(y−k)2=r2
Standard forms centered at the origin
Conic
Equation
Key features
Circle
x2+y2=r2
Radius r
Ellipse
x2/a2+y2/b2=1 with a>b
Vertices (±a,0), foci (±c,0),c2=a2−b2
Parabola
y2=4px
Focus (p,0), directrix x=−p
Hyperbola
x2/a2−y2/b2=1
Vertices (±a,0), asymptotes y=±(b/a)x,c2=a2+b2
Reading a,b,c and p
In an ellipse, a2 is the larger of the two denominators, and the variable above it names the major axis. The vertices sit a units from the center along that axis, the co-vertices b units along the other, and the foci c units along the major axis, with c2=a2−b2.
In a hyperbola, the positive squared term names the direction the two branches open. Its denominator is a2, the vertices sit a units from the center, and the foci sit c units out, with c2=a2+b2. The branches approach two lines through the center, the asymptotes, with slopes ±b/a for a hyperbola opening left and right.
In a parabola, p is the directed distance from the vertex to the focus. In y2=4px the parabola opens right when p>0 and left when p<0. In x2=4py it opens up or down.
a2x2+b2y2=1,c2=a2−b2a2x2−b2y2=1,c2=a2+b2
a2x2+b2y2=1,c2=a2−b2a2x2−b2y2=1,c2=a2+b2
Why it works
Where the equations come from
Each equation is a distance condition written out and squared. For the circle in the opening case, the distance to (3,−2) equals 5, and squaring gives (x−3)2+(y+2)2=25.
For a parabola with focus (0,p) and directrix y=−p, a point (x,y) is √x2+(y−p)2 from the focus and ∣y+p∣ from the line. Setting these equal and squaring gives x2+y2−2py+p2=y2+2py+p2. The y2 and p2 cancel, leaving x2=4py.
In an ellipse, the co-vertex (0,b) is equally far from both foci, and the two distances add to 2a, so each is a. That distance is the hypotenuse of a right triangle with legs b and c, which gives a2=b2+c2. In a hyperbola the foci lie beyond the vertices, so c>a, and b is defined by b2=c2−a2. That is the same statement as c2=a2+b2.
Far from the center of a hyperbola, x2 and y2 are huge and the 1 hardly matters. The equation is then close to x2/a2=y2/b2, whose graph is the pair of lines y=±(b/a)x, the asymptotes.
The method
From a general equation to standard form
A conic often arrives multiplied out, as Ax2+Cy2+Dx+Ey+F=0. These steps put it back in standard form. The table follows 4x2+9y2−16x+18y−11=0.
The steps on 4x2+9y2−16x+18y−11=0
Step
What to do
For this equation
1
Group the x-terms and the y-terms, and move the constant right
4x2−16x+9y2+18y=11
2
Factor out each squared term’s coefficient
4(x2−4x)+9(y2+2y)=11
3
Complete each square, adding to the right what was really added
4(x2−4x+4)+9(y2+2y+1)=11+16+9
4
Write the squares
4(x−2)2+9(y+1)2=36
5
Divide so that the right side is 1
(x−2)2/9+(y+1)2/4=1
6
Classify and read the features
An ellipse, center (2,−1),a=3 across, b=2,c=√5
Telling the conics apart
Before completing any square, the squared terms name the curve. With only one variable squared, as in y2−2y−8x−15=0, it is a parabola. With both squared and the same coefficient, it is a circle. With both squared, the same sign and different coefficients, it is an ellipse. With opposite signs, it is a hyperbola.
x2+y2,4x2+9y2,y2−8x,4x2−9y2
x2+y2,4x2+9y2,y2−8x,4x2−9y2
Where it breaks
Where it breaks
The sign test assumes the equation has a graph at all. The equation x2+y2+2x+5=0 becomes (x+1)2+y2=−4, and no point makes a sum of squares negative. The equation x2+y2=0 holds only at the origin, and x2−y2=0 is the pair of lines y=x and y=−x. The point and the pair of lines are the degenerate cases, slices of a cone through its tip. An equation with no points at all is not a slice of any cone.
A hyperbola is not two parabolas. Each branch of x2/9−y2/4=1 straightens out toward its asymptotes, while a parabola keeps bending and has no asymptote.
A sideways parabola such as y2=12x is not the graph of a function of x. Each x>0 has two y-values, so a graph of it needs two halves, y=√12x and y=−√12x.
The forms here have no xy term. The curve xy=1 is a hyperbola too, turned 45°, and putting it in standard form needs a rotation of the axes.
Check your answer
Check your answer
Put a point you found back into the original equation. A vertex of an ellipse or hyperbola, or the points straight across from the center of a circle, should satisfy it.
Check the sizes. An ellipse has c<a, since its foci lie inside it. A hyperbola has c>a, since its foci lie beyond its vertices. A radius is the square root of the number on the right, not that number.
Multiply your standard form back out. It should give the original equation, or a multiple of it.
In a Math box, write the original equation on the first row and each completing-the-square step below it. Each right step reads ✓. A wrong step there reads ✗, with a message such as “This step loses points of row 2.” Adding a number to one side only is the usual cause.
Write c2=a2−b2 with numbers, such as c2=9−4, and then c2=5. Below the ellipse’s equation the first reads ?, because no rule Chalk knows ties the new letter c to the ellipse. The arithmetic row below it reads ✓. A row c=√5 below them reads ? (“+1 root”), with a note that row 3 has a negative solution too. The dropped value waits behind Show the value. Write c>0 on a row above because a distance cannot be negative, and c=√5 reads ✓.
Do x2/25−y2/9=1 and y2/9−x2/25=1 have the same asymptotes?
Yes, both are y=±(3/5)x. Far from the center the 1 hardly matters, and both equations come close to x2/25=y2/9. What changes is the direction each opens. The first has vertices (±5,0), the second (0,±3), and their foci sit √34 out on different axes. Answering ±(5/3)x for the second mixes up which number sits under which square.
Eccentricity, reflections and orbits
Every conic except the circle is the set of points whose distance to a focus is e times their distance to a directrix. The number e is the eccentricity. An ellipse has 0<e<1, a parabola has e=1 and a hyperbola has e>1. For an ellipse e=c/a, and a circle is the limit e=0.
The definitions give the curves their reflecting powers. A parabolic dish sends every incoming ray parallel to its axis to the focus, which is where the receiver sits. Sound from one focus of an elliptical room bounces to the other focus, the whispering gallery.
Planets move on ellipses with the Sun at one focus. Earth’s orbit has eccentricity about 0.017, so close to a circle that a drawing cannot show the difference.
The full second-degree equation Ax2+Bxy+Cy2+Dx+Ey+F=0 is classified by B2−4AC. A negative value means an ellipse, zero a parabola and a positive value a hyperbola, apart from the degenerate cases.
Common mistakes
Adding the completing-the-square numbers to one side only. In x2−6x+y2+4y=12, adding 9 and 4 on the left means adding 9 and 4 on the right, which gives 25. Adding to one side changes the equation.
Reading the center’s signs straight from the equation. The circle (x−3)2+(y+2)2=25 has center (3,−2), not (−3,2), because y+2 is y−(−2).
Giving r2 as the radius. The circle (x−3)2+(y+2)2=25 has radius 5, not 25, because the equation squares the distance.
Using c2=a2−b2 for a hyperbola. For 4x2−9y2=36,c2=9+4=13, and the foci are (±√13,0). Subtracting would put the foci inside the vertices, where a hyperbola has none.
Assuming the x-denominator is always a2. In x2/4+y2/9=1 the larger denominator, 9, is under y2, so a=3 and the major axis is vertical, with vertices (0,±3).
Taking 4p for p. In y2=12x,4p=12 gives p=3, so the focus is (3,0), not (12,0). The 4 is part of the standard form.
Key terms
Conic section
A curve that a plane cuts from a double cone: a circle, an ellipse, a parabola or a hyperbola. Each is the graph of a second-degree equation in x and y.
Equation of a circle
The equation (x−h)2+(y−k)2=r2, satisfied by exactly the points at distance r from the center (h,k). It is the distance formula, squared.
Completing the square
Rewriting x2+bx as (x+b/2)2−(b/2)2 by adding and subtracting (b/2)2. It turns a quadratic equation into a square equal to a constant, and a quadratic function into vertex form.
Ellipse
The set of points whose distances to two fixed foci add to a constant 2a. Centered at the origin and stretched along the x-axis, its equation is x2/a2+y2/b2=1 with a≥b>0, and its foci are at (±c,0), where c2=a2−b2.
Parabola
The set of points equally far from a fixed point, the focus, and a fixed line, the directrix. With its vertex at the origin, x2=4py opens upward if p>0, with focus (0,p) and directrix y=−p. The graph of every quadratic function is a parabola.
Hyperbola
The set of points whose distances to two fixed foci differ by a constant 2a. Centered at the origin and opening left and right, its equation is x2/a2−y2/b2=1. Its foci are at (±c,0), where c2=a2+b2, and its asymptotes, the lines the branches approach, are y=±(b/a)x.
Focus and directrix
The fixed point and fixed line that define a parabola: every point on the curve is as far from the focus as from the directrix. An ellipse or a hyperbola has two foci, and the sum or the difference of the distances to them is constant.
Work through an example
Find the center and radius of the circle x2+y2−6x+4y−12=0.