Skip to main content
\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)
Mathematics LibreTexts

9.1: Conic Sections


\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

The ancient Greeks recognized that interesting shapes can be formed by intersecting a plane with a double napped cone (i.e., two identical cones placed tip--to--tip as shown in the following figures). As these shapes are formed as sections of conics, they have earned the official name "conic sections.''

The three "most interesting'' conic sections are given in the top row of Figure \(\PageIndex{1}\). They are the parabola, the ellipse (which includes circles) and the hyperbola. In each of these cases, the plane does not intersect the tips of the cones (usually taken to be the origin). 

Figure \(\PageIndex{1}\): Conic Sections

When the plane does contain the origin, three degenerate sections can be formed as shown the bottom row of Figure \(\PageIndex{1}\): a point, a line, and crossed lines. We focus here on the nondegenerate cases. 

While the above geometric constructs define the conics in an intuitive, visual way, these constructs are not very helpful when trying to analyze the shapes algebraically or consider them as the graph of a function. It can be shown that all conics can be defined by the general second--degree equation


While this algebraic definition has its uses, most find another geometric perspective of the conics more beneficial. Each nondegenerate conic can be defined as the locus, or set, of points that satisfy a certain distance property. These distance properties can be used to generate an algebraic formula, allowing us to study each conic as the graph of a function.

Large Parabolas

Definition 40: parabolas

A parabola is the locus of all points equidistant from a point (called a focus) and a line (called the directrix) that does not contain the focus.

Figure \(\PageIndex{2}\): Illustrating the definition of the parabola and establishing an algebraic formula.

Figure \(\PageIndex{1}\) illustrates this definition. The point halfway between the focus and the directrix is the vertex. The line through the focus, perpendicular to the directrix, is the axis of symmetry, as the portion of the parabola on one side of this line is the mirror--image of the portion on the opposite side.

The definition leads us to an algebraic formula for the parabola. Let \(P=(x,y)\) be a point on a parabola whose focus is at \(F=(0,p)\) and whose directrix is at \(y=-p\). (We'll assume for now that the focus lies on the \(y\)- axis; by placing the focus \(p\) units above the \(x\)- axis and the directrix \(p\) units below this axis, the vertex will be at \((0,0)\).)

We use the Distance Formula to find the distance \(d_1\) between \(F\) and \(P\):


The distance \(d_2\) from \(P\) to the directrix is more straightforward:

\[d_2=y-(-p) = y+p.\]

These two distances are equal. Setting \(d_1=d_2\), we can solve for \(y\) in terms of \(x\):

d_1&= d_2 \\
\sqrt{x^2+(y-p)^2} &= y+p \\
\text{Now square both sides.}& \\
x^2+(y-p)^2 &= (y+p)^2 \\
x^2+y^2-2yp+p^2 &= y^2+2yp+p^2\\
x^2 &=4yp\\
y&= \frac{1}{4p}x^2.

The geometric definition of the parabola has led us to the familiar quadratic function whose graph is a parabola with vertex at the origin. When we allow the vertex to not be at \((0,0)\), we get the following standard form of the parabola.

key idea 33: general equation of a parabola

  1. Vertical Axis of Symmetry: The equation of the parabola with vertex at \((h,k)\) and directrix \(y=k-p\) in standard form is \[y=\frac{1}{4p}(x-h)^2+k.\] The focus is at \((h,k+p)\).
  2. Horizontal Axis of Symmetry: The equation of the parabola with vertex at \((h,k)\) and directrix \(x=h-p\) in standard form is \[x=\frac{1}{4p}(y-k)^2+h.\] The focus is at \((h+p,k)\).

Note: \(p\) is not necessarily a positive number.

Example \(\PageIndex{1}\): Finding the equation of a parabola

Give the equation of the parabola with focus at \((1,2)\) and directrix at \(y=3\).


The vertex is located halfway between the focus and directrix, so \((h,k) = (1,2.5)\). This gives \(p=-0.5\). Using Key Idea 33 we have the equation of the parabola as

\[y=\frac{1}{4(-0.5)}(x-1)^2+2.5 = -\frac12(x-1)^2+2.5.\]

The parabola is sketched in Figure \(\PageIndex{3}\).

Figure \(\PageIndex{3}\): The parabola described in Example 9.1.1 

Example \(\PageIndex{2}\): Finding the focus and directrix of a parabola

Find the focus and directrix of the parabola \(x=\frac18y^2-y+1\). The point \((7,12)\) lies on the graph of this parabola; verify that it is equidistant from the focus and directrix.


We need to put the equation of the parabola in its general form. This requires us to complete the square:

x &= \frac18y^2-y+1 \\
&= \frac18\big(y^2-8y+8\big)\\
&= \frac18\big(y^2-8y+16 -16+8\big)\\
&= \frac18\big((y-4)^2 - 8\big)\\
&= \frac18(y-4)^2 -1.

Hence the vertex is located at \((-1,4)\). We have \(\frac18=\frac1{4p}\), so \(p=2\). We conclude that the focus is located at \((1,4)\) and the directrix is \(x=-3\). The parabola is graphed in Figure \(\PageIndex{4}\), along with its focus and directrix.

The point \((7,12)\) lies on the graph and is \(7-(-3)=10\) units from the directrix. The distance from \((7,12)\) to the focus is:

\[\sqrt{(7-1)^2 + (12-4)^2} = \sqrt{100}=10.\]

Indeed, the point on the parabola is equidistant from the focus and directrix.

Figure \(\PageIndex{4}\): The parabola described in Example \(\PageIndex{2}\). The distances from a point on the parabola to the focus and directrix is given.

Reflective Property

One of the fascinating things about the nondegenerate conic sections is their reflective properties. Parabolas have the following reflective property:

Any ray emanating from the focus that intersects the parabola reflects off along a line perpendicular to the directrix.

This is illustrated in Figure \(\PageIndex{5}\). The following theorem states this more rigorously.

Figure \(\PageIndex{5}\): Illustrating the parabola's reflective property.


Let \(P\) be a point on a parabola. The tangent line to the parabola at \(P\) makes equal angles with the following two lines:

  1. The line containing \(P\) and the focus \(F\), and
  2. The line perpendicular to the directrix through \(P\).

Because of this reflective property, paraboloids (the 3D analogue of parabolas) make for useful flashlight reflectors as the light from the bulb, ideally located at the focus, is reflected along parallel rays. Satellite dishes also have paraboloid shapes. Signals coming from satellites effectively approach the dish along parallel rays. The dish then focuses these rays at the focus, where the sensor is located.


Definition 41: ellipse

An ellipse is the locus of all points whose sum of distances from two fixed points, each a focus of the ellipse, is constant.

An easy way to visualize this construction of an ellipse is to pin both ends of a string to a board. The pins become the foci. Holding a pencil tight against the string places the pencil on the ellipse; the sum of distances from the pencil to the pins is constant: the length of the string. See Figure \(\PageIndex{6}\).

Figure \(\PageIndex{6}\): Illustrating the construction of an ellipse with pins, pencil and string.

We can again find an algebraic equation for an ellipse using this geometric definition. Let the foci be located along the \(x\)- axis, \(c\) units from the origin. Let these foci be labeled as \(F_1 = (-c,0)\) and \(F_2=(c,0)\). Let \(P=(x,y)\) be a point on the ellipse. The sum of distances from \(F_1\) to \(P\) (\(d_1\)) and from \(F_2\) to \(P\) (\(d_2\)) is a constant \(d\). That is, \(d_1+d_2=d\). Using the Distance Formula, we have 

\[\sqrt{(x+c)^2+y^2} + \sqrt{(x-c)^2+y^2} = d.\]

Using a fair amount of algebra can produce the following equation of an ellipse (note that the equation is an implicitly defined function; it has to be, as an ellipse fails the Vertical Line Test):

\[\frac{x^2}{\left(\frac d2\right)^2} + \frac{y^2}{\left(\frac d2\right)^2-c^2} = 1.\]

This is not particularly illuminating, but by making the substitution \(a=d/2\) and \(b=\sqrt{a^2-c^2}\), we can rewrite the above equation as 

\[\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1.\]

This choice of \(a\) and \(b\) is not without reason; as shown in Figure \(\PageIndex{7}\), the values of \(a\) and \(b\) have geometric meaning in the graph of the ellipse. 

Figure \(\PageIndex{7}\): Labeling the significant features of an ellipse.

In general, the two foci of an ellipse lie on the major axis of the ellipse, and the midpoint of the segment joining the two foci is the center. The major axis intersects the ellipse at two points, each of which is a vertex. The line segment through the center and perpendicular to the major axis is the minor axis. The "constant sum of distances'' that defines the ellipse is the length of the major axis, i.e., \(2a\).

Allowing for the shifting of the ellipse gives the following standard equations.

key idea 34: standard equation of the ellipse

The equation of an ellipse centered at \((h,k)\) with major axis of length \(2a\) and minor axis of length \(2b\) in standard form is:

  1. Horizontal major axis: \( \frac{(x-h)^2}{a^2}+\frac{(y-k)^2}{b^2}=1.\)
  2. Vertical major axis: \( \frac{(x-h)^2}{b^2}+\frac{(y-k)^2}{a^2}=1.\)

The foci lie along the major axis, \(c\) units from the center, where \(c^2=a^2-b^2\).

Example \(\PageIndex{3}\): Finding the equation of an ellipse

Find the general equation of the ellipse graphed in Figure \(\PageIndex{8}\).


The center is located at \((-3,1)\). The distance from the center to a vertex is 5 units, hence \(a=5\). The minor axis seems to have length 4, so \(b=2\). Thus the equation of the ellipse is

\[\frac{(x+3)^2}{4}+\frac{(y-1)^2}{25} = 1.\]

Figure \(\PageIndex{8}\): The ellipse used in Example \(\PageIndex{3}\).

Example \(\PageIndex{4}\): Graphing an ellipse

Graph the ellipse defined by \(4x^2+9y^2-8x-36y=-4\).

It is simple to graph an ellipse once it is in standard form. In order to put the given equation in standard form, we must complete the square with both the \(x\) and \(y\) terms. We first rewrite the equation by regrouping:

\[4x^2+9y^2-8x-36y=-4 \quad \Rightarrow \quad (4x^2-8x) + (9y^2-36y) = -4.\]

Now we complete the squares.

(4x^2-8x) + (9y^2-36y) &= -4\\
4(x^2-2x) + 9(y^2-4y) &= -4 \\
4(x^2-2x +1 - 1) + 9(y^2-4y+4-4) &= - 4\\
4\big((x-1)^2-1\big) + 9\big((y-2)^2-4\big) &= -4\\
4(x-1)^2 -4 + 9(y-2)^2-36 &= -4 \\
4(x-1)^2 + 9(y-2)^2 &= 36 \\
\frac{(x-1)^2}{9} + \frac{(y-2)^2}{4} &= 1.

We see the center of the ellipse is at \((1,2)\). We have \(a=3\) and \(b=2\); the major axis is horizontal, so the vertices are located at \((-2,2)\) and \((4,2)\). We find \(c=\sqrt{9-4} = \sqrt{5}\approx 2.24.\) The foci are located along the major axis, approximately \(2.24\) units from the center, at \((1\pm 2.24,2)\). This is all graphed in Figure \(\PageIndex{9}\).

Figure \(\PageIndex{9}\): Graphing the ellipse in Example \(\PageIndex{4}\).


When \(a=b\), we have a circle. The general equation becomes

\[\frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{a^2} = 1 \quad \Rightarrow (x-h)^2 + (y-k)^2 = a^2,\]

the familiar equation of the circle centered at \((h,k)\) with radius \(a\). Since \(a=b\), \(c = \sqrt{a^2-b^2}=0\). The circle has "two'' foci, but they lie on the same point, the center of the circle. 

Consider Figure \(\PageIndex{1}\), where several ellipses are graphed with \(a=1\). In (a), we have \(c=0\) and the ellipse is a circle. As \(c\) grows, the resulting ellipses look less and less circular. A measure of this "noncircularness'' is eccentricity.

Figure \(\PageIndex{10}\): Understanding the eccentricity of an ellipse.

Definition 42: eccentricity of an ellipse

The eccentricity \(e\) of an ellipse is \( e=\frac{c}{a}\).

The eccentricity of a circle is 0; that is, a circle has no "noncircularness.'' As \(c\) approaches \(a\), \(e\) approaches 1, giving rise to a very noncircular ellipse, as seen in Figure \(\PageIndex{10d}\). 

It was long assumed that planets had circular orbits. This is known to be incorrect; the orbits are elliptical. Earth has an eccentricity of \(0.0167\) -- it has a nearly circular orbit. Mercury's orbit is the most eccentric, with \(e=0.2056\). (Pluto's eccentricity is greater, at \(e=0.248\), the greatest of all the currently known dwarf planets.) The planet with the most circular orbit is Venus, with \(e=0.0068\). The Earth's moon has an eccentricity of \(e=0.0549\), also very circular.

Reflective Property

The ellipse also possesses an interesting reflective property. Any ray emanating from one focus of an ellipse reflects off the ellipse along a line through the other focus, as illustrated in Figure \(\PageIndex{11}\). This property is given formally in the following theorem.

Figure \(\PageIndex{11}\): Illustrating the reflective property of an ellipse.

theorem 80: reflective property of an ellipse

Let \(P\) be a point on a ellipse with foci \(F_1\) and \(F_2\). The tangent line to the ellipse at \(P\) makes equal angles with the following two lines:

  1. The line through \(F_1\) and \(P\), and
  2. The line through \(F_2\) and \(P\).

This reflective property is useful in optics and is the basis of the phenomena experienced in whispering halls.


The definition of a hyperbola is very similar to the definition of an ellipse; we essentially just change the word "sum'' to "difference.''

Definition 43: hyperbola

A hyperbola is the locus of all points where the absolute value of difference of distances from two fixed points, each a focus of the hyperbola, is constant.

We do not have a convenient way of visualizing the construction of a hyperbola as we did for the ellipse. The geometric definition does allow us to find an algebraic expression that describes it. It will be useful to define some terms first.

The two foci lie on the transverse axis of the hyperbola; the midpoint of the line segment joining the foci is the center of the hyperbola. The transverse axis intersects the hyperbola at two points, each a vertex of the hyperbola. The line through the center and perpendicular to the transverse axis is the conjugate axis. This is illustrated in Figure \(\PageIndex{1}\). It is easy to show that the constant difference of distances used in the definition of the hyperbola is the distance between the vertices, i.e., \(2a\).

Figure \(\PageIndex{12}\): Labeling the significant features of a hyperbola.

key idea 35 standard equation of a hyperbola

The equation of a hyperbola centered at \((h,k)\) in standard form is:

  1. Horizontal Transverse Axis: \( \frac{(x-h)^2}{a^2} - \frac{(y-k)^2}{b^2} = 1.\)
  2. Vertical Transverse Axis: \( \frac{(y-k)^2}{a^2}-\frac{(x-h)^2}{b^2} = 1.\)

The vertices are located \(a\) units from the center and the foci are located \(c\) units from the center, where \(c^2 = a^2+b^2\).

Graphing Hyperbolas

Consider the hyperbola \(\frac{x^2}9-\frac{y^2}1 = 1\). Solving for \(y\), we find \(y=\pm\sqrt{x^2/9-1}\). As \(x\) grows large, the "\(- 1\)'' part of the equation for \(y\) becomes less significant and \(y\approx \pm\sqrt{x^2/9} = \pm x/3\). That is, as \(x\) gets large, the graph of the hyperbola looks very much like the lines \(y=\pm x/3\). These lines are asymptotes of the hyperbola, as shown in Figure \(\PageIndex{13}\).

Figure \(\PageIndex{13}\): Graphing the hyperbola \(\frac{x^2}9-\frac{y^2}1 = 1\) along with its asymptotes, \(y=\pm x/3\).

This is a valuable tool in sketching. Given the equation of a hyperbola in general form, draw a rectangle centered at \((h,k)\) with sides of length \(2a\) parallel to the transverse axis and sides of length \(2b\) parallel to the conjugate axis. (See Figure \(\PageIndex{14}\) for an example with a horizontal transverse axis.) The diagonals of the rectangle lie on the asymptotes. 

Figure \(\PageIndex{14}\):
Using the asymptotes of a hyperbola as a graphing aid.

These lines pass through \((h,k)\). When the transverse axis is horizontal, the slopes are \(\pm b/a\); when the transverse axis is vertical, their slopes are \(\pm a/b\). This gives equations:


Example \(\PageIndex{5}\): Graphing a hyperbola

Sketch the hyperbola given by \( \frac{(y-2)^2}{25}-\frac{(x-1)^2}{4}=1.\)


The hyperbola is centered at \((1,2)\); \(a=5\) and \(b=2\). In Figure \(\PageIndex{15}\) we draw the prescribed rectangle centered at \((1,2)\) along with the asymptotes defined by its diagonals. The hyperbola has a vertical transverse axis, so the vertices are located at \((1,7)\) and \((1,-3)\). This is enough to make a good sketch.

Figure \(\PageIndex{15}\): Graphing the hyperbola in Example \(\PageIndex{5}\).

We also find the location of the foci: as \(c^2= a^2+b^2\), we have \(c=\sqrt{29}\approx 5.4\). Thus the foci are located at \((1,2\pm 5.4)\) as shown in Figure \(\PageIndex{15}\).

Example \(\PageIndex{6}\): Graphing a hyperbola

Sketch the hyperbola given by \(9x^2-y^2+2y=10.\)


We must complete the square to put the equation in general form. (We recognize this as a hyperbola since it is a general quadratic equation and the \(x^2\) and \(y^2\) terms have opposite signs.)

9x^2-y^2+2y &=10\\
9x^2- (y^2-2y) &= 10\\
9x^2 - (y^2-2y+1-1) &= 10\\
9x^2 -\big((y-1)^2-1\big) &= 10\\
9x^2 - (y-1)^2 &= 9\\
x^2 - \frac{(y-1)^2}{9} &=1

Figure \(\PageIndex{16}\): Graphing the hyperbola in Example \(\PageIndex{6}\).

We see the hyperbola is centered at \((0,1)\), with a horizontal transverse axis, where \(a=1\) and \(b=3\). The appropriate rectangle is sketched in Figure \(\PageIndex{16}\) along with the asymptotes of the hyperbola. The vertices are located at \((\pm 1,1)\). We have \(c=\sqrt{10}\approx 3.2\), so the foci are located at \((\pm 3.2,1)\) as shown in the figure.



The eccentricity of a hyperbola is \( e=\frac ca\).

Note that this is the definition of eccentricity as used for the ellipse. When \(c\) is close in value to \(a\) (i.e., \(e\approx 1\)), the hyperbola is very narrow (looking almost like crossed lines). Figure \(\PageIndex{17}\) shows hyperbolas centered at the origin with \(a=1\). The graph in (a) has \(c=1.05\), giving an eccentricity of \(e=1.05\), which is close to 1. As \(c\) grows larger, the hyperbola widens and begins to look like parallel lines, as shown in Figure \(\PageIndex{17d}\).

Figure \(\PageIndex{17}\): Understanding the eccentricity of a hyperbola.

Reflective Property

Hyperbolas share a similar reflective property with ellipses. However, in the case of a hyperbola, a ray emanating from a focus that intersects the hyperbola reflects along a line containing the other focus, but moving away from that focus. This is illustrated in Figure \(\PageIndex{19}\). Hyperbolic mirrors are commonly used in telescopes because of this reflective property. It is stated formally in the following theorem.


Let \(P\) be a point on a hyperbola with foci \(F_1\) and \(F_2\). The tangent line to the hyperbola at \(P\) makes equal angles with the following two lines:

  1. The line through \(F_1\) and \(P\), and
  2. The line through \(F_2\) and \(P\).

Location Determination

Determining the location of a known event has many practical uses (locating the epicenter of an earthquake, an airplane crash site, the position of the person speaking in a large room, etc.).

To determine the location of an earthquake's epicenter, seismologists use trilateration (not to be confused with triangulation). A seismograph allows one to determine how far away the epicenter was; using three separate readings, the location of the epicenter can be approximated.

A key to this method is knowing distances. What if this information is not available? Consider three microphones at positions \(A\), \(B\) and \(C\) which all record a noise (a person's voice, an explosion, etc.) created at unknown location \(D\). The microphone does not "know'' when the sound was created, only when the sound was detected. How can the location be determined in such a situation?

Figure \(\PageIndex{19}\): Illustrating the reflective property of a hyperbola.

If each location has a clock set to the same time, hyperbolas can be used to determine the location. Suppose the microphone at position \(A\) records the sound at exactly 12:00, location \(B\) records the time exactly 1 second later, and location \(C\) records the noise exactly 2 seconds after that. We are interested in the difference of times. Since the speed of sound is approximately 340 m/s, we can conclude quickly that the sound was created 340 meters closer to position \(A\) than position \(B\). If \(A\) and \(B\) are a known distance apart (as shown in Figure \(\PageIndex{1a}\)), then we can determine a hyperbola on which \(D\) must lie. 

The "difference of distances'' is 340; this is also the distance between vertices of the hyperbola. So we know \(2a= 340\). Positions \(A\) and \(B\) lie on the foci, so \(2c=1000\). From this we can find \(b\approx 470\) and can sketch the hyperbola, given in Figure \(\PageIndex{19b}\). We only care about the side closest to \(A\). (Why?)

We can also find the hyperbola defined by positions \(B\) and \(C\). In this case, \(2a = 680\) as the sound traveled an extra 2 seconds to get to \(C\). We still have \(2c=1000\), centering this hyperbola at \((-500,500)\). We find \(b\approx 367\). This hyperbola is sketched in Figure \(\PageIndex{1c}\). The intersection point of the two graphs is the location of the sound, at approximately \((188,-222.5)\).

Figure \(\PageIndex{18}\): Using hyperbolas in location detection.

This chapter explores curves in the plane, in particular curves that cannot be described by functions of the form \(y=f(x)\). In this section, we learned of ellipses and hyperbolas that are defined implicitly, not explicitly. In the following sections, we will learn completely new ways of describing curves in the plane, using parametric equations and polar coordinates, then study these curves using calculus techniques.


  • Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution - Noncommercial (BY-NC) License.