Skip to main content
Mathematics LibreTexts

8.5: Hyperbolas

  • Page ID
    119183
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

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

    \( \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}}\)

    \( \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}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

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

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

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

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

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

    Math 370 Learning Objectives
    • Graph hyperbolas.
    • State the equation of a hyperbola given the graph.

    The Definition of a Hyperbola

    In the definition of an ellipse, we fixed two points called foci and looked at points whose distances to the foci always added to a constant distance \(d\). Those prone to syntactical tinkering may wonder what, if any, curve we’d generate if we replaced added with subtracted. The answer is a hyperbola.

    Definition: Hyperbola

    Given two distinct points \(F_{1}\) and \(F_{2}\) in the plane and a fixed distance \(d\), a hyperbola is the set of all points \((x, y)\) in the plane such that the absolute value of the difference of each of the distances from \(F_{1}\) and \(F_{2}\) to \((x, y)\) is \(d\). The points \(F_{1}\) and \(F_{2}\) are called the foci of the hyperbola.

    Screen Shot 2022-04-28 at 6.51.54 PM.png

    In the figure above:

    \[\begin{array}{rcl}
    \text{the distance from $F_1$ to $(x_1, y_1)$} - \text{the distance from $F_2$ to $(x_1, y_1)$} & = & d \\
    \end{array}\nonumber\]

    and

    \[\begin{array}{rcl}
    \text{the distance from $F_2$ to $(x_2, y_2)$} - \text{the distance from $F_1$ to $(x_2, y_2)$} & = & d \\
    \end{array}\nonumber\]

    Note that the hyperbola has two parts, called branches. The center of the hyperbola is the midpoint of the line segment connecting the two foci. The transverse axis of the hyperbola is the line segment connecting two opposite ends of the hyperbola which also contains the center and foci. The vertices of a hyperbola are the points of the hyperbola which lie on the transverse axis. In addition, we will show momentarily that there are lines called asymptotes which the branches of the hyperbola approach for large \(x\) and \(y\) values. They serve as guides to the graph. In pictures,

    Screen Shot 2022-04-28 at 6.53.20 PM.png
    A hyperbola with center \(C\); foci \(F_{1}\), \(F_{2}\); and vertices \(V_{1}\), \(V_{2}\) and asymptotes (dashed)

    Before we derive the standard equation of the hyperbola, we need to discuss one further parameter, the conjugate axis of the hyperbola. The conjugate axis of a hyperbola is the line segment through the center which is perpendicular to the transverse axis and has the same length as the line segment through a vertex which connects the asymptotes. In pictures we have

    Screen Shot 2022-04-28 at 6.54.49 PM.png

    Note that in the diagram, we can construct a rectangle using line segments with lengths equal to the lengths of the transverse and conjugate axes whose center is the center of the hyperbola and whose diagonals are contained in the asymptotes. This guide rectangle, much akin to the one we saw Section 8.4 to help us graph ellipses, will aid us in graphing hyperbolas.

    Suppose we wish to derive the equation of a hyperbola. For simplicity, we shall assume that the center is \((0,0)\), the vertices are \((a,0)\) and \((-a,0)\) and the foci are \((c,0)\) and \((-c,0)\). We label the endpoints of the conjugate axis \((0,b)\) and \((0,-b)\). (Although \(b\) does not enter into our derivation, we will have to justify this choice as you shall see later.) As before, we assume \(a\), \(b\), and \(c\) are all positive numbers. Schematically we have

    Screen Shot 2022-04-28 at 6.57.27 PM.png

    Since \((a,0)\) is on the hyperbola, it must satisfy the conditions of the definition of a hyperbola. That is, the distance from \((-c,0)\) to \((a,0)\) minus the distance from \((c,0)\) to \((a,0)\) must equal the fixed distance \(d\). Since all these points lie on the \(x\)-axis, we get

    \[\begin{array}{rrcl}
    & \text{distance from $(-c,0)$ to $(a,0)$} - \text{distance from $(c,0)$ to $(a,0)$} & = & d \\
    \implies & (a+c) - (c-a) & = & d \\
    \implies & 2a & = & d \\
    \end{array}\nonumber\]

    In other words, the fixed distance \(d\) from the definition of the hyperbola is actually the length of the transverse axis! (Where have we seen that type of coincidence before?) Now consider a point \((x,y)\) on the hyperbola. Applying the definition of a hyperbola, we get

    \[\begin{array}{rrcl}
    & \text{distance from $(-c,0)$ to $(x,y)$} - \text{distance from $(c,0)$ to $(x,y)$} & = & 2a \\
    \implies & \sqrt{(x-(-c))^2+(y-0)^2} - \sqrt{(x-c)^2+(y-0)^2} & = & 2a \\
    \implies & \sqrt{(x+c)^2+y^2} - \sqrt{(x-c)^2+y^2} & = & 2a \\
    \end{array}\nonumber\]

    Using the same arsenal of Intermediate Algebra weaponry we used in deriving the standard formula of an ellipse, we arrive at the following.1

    \[\begin{array}{rcl}
    \left(a^2 - c^2\right) x^2 +a^2 y^2 & = & a^2 \left(a^2 - c^2\right) \\
    \end{array}\nonumber\]

    What remains is to determine the relationship between \(a\), \(b\) and \(c\). To that end, we note that since \(a\) and \(c\) are both positive numbers with \(a < c\), we get \(a^2 < c^2\) so that \(a^2 - c^2\) is a negative number. Hence, \(c^2 - a^2\) is a positive number. For reasons which will become clear soon, we rewrite the equation by solving for \(y^2/x^2\) to get

    \[\begin{array}{rrcl}
    & \left(a^2 - c^2\right) x^2 +a^2 y^2 & = & a^2 \left(a^2 - c^2\right) \\
    \implies & -\left(c^2 - a^2\right) x^2 +a^2 y^2 & = & -a^2 \left(c^2 - a^2\right) \\
    \implies & a^2 y^2 & = & \left(c^2 - a^2\right) x^2 - a^2\left(c^2 - a^2\right) \\
    \implies & \dfrac{y^2}{x^2} & = & \dfrac{\left(c^2 - a^2\right)}{a^2} - \dfrac{\left(c^2 - a^2\right)}{x^2} \\
    \end{array}\nonumber\]

    As \(x\) and \(y\) attain very large values, the quantity \(\frac{\left(c^2 - a^2\right)}{x^2} \to 0\) so that \(\frac{y^2}{x^2} \to \frac{\left(c^2 - a^2\right)}{a^2}\). By setting \(b^{2} = c^{2} - a^{2}\) we get \(\frac{y^2}{x^2} \to \frac{b^2}{a^2}\). This shows that \(y \to \pm \frac{b}{a} x\) as \(|x|\) grows large. Thus \(y = \pm \frac{b}{a} x\) are the asymptotes to the graph as predicted and our choice of labels for the endpoints of the conjugate axis is justified. In our equation of the hyperbola we can substitute \(a^2 - c^2 = -b^2\) which yields

    \[\begin{array}{rrcl}
    & \left(a^2 - c^2\right) x^2 +a^2 y^2 & = & a^2 \left(a^2 - c^2\right) \\
    \implies & -b^2 x^2 +a^2 y^2 & = & - a^2 b^2 \\
    \implies & \dfrac{x^2}{a^2} - \dfrac{y^2}{b^2} & = & 1 \\
     \end{array}\nonumber\]

    The equation above is for a hyperbola whose center is the origin and which opens to the left and right. If the hyperbola were centered at a point \((h,k)\), we would get the following.

    Theorem \(\PageIndex{1}\): Standard Equation of a Horizontal2 Hyperbola

    For positive numbers \(a\) and \(b\), the equation of a horizontal hyperbola with center \((h,k)\) is

    \[\dfrac{(x-h)^2}{a^2} - \dfrac{(y-k)^2}{b^2} = 1.\nonumber\]

    If the roles of \(x\) and \(y\) were interchanged, then the hyperbola’s branches would open upwards and downwards and we would get a "vertical" hyperbola.

    Theorem \(\PageIndex{2}\): Standard Equation of a Vertical Hyperbola

    For positive numbers \(a\) and \(b\), the equation of a vertical hyperbola with center \((h,k)\) is:

    \[\dfrac{(y-k)^2}{b^2} - \dfrac{(x-h)^2}{a^2} = 1.\nonumber\]

    The values of \(a\) and \(b\) determine how far in the \(x\) and \(y\) directions, respectively, one counts from the center to determine the rectangle through which the asymptotes pass. In both cases, the distance from the center to the foci, \(c\), as seen in the derivation, can be found by the formula \(c = \sqrt{a^2 + b^2}\). Lastly, note that we can quickly distinguish the equation of a hyperbola from that of a circle or ellipse because the hyperbola formula involves a difference of squares where the circle and ellipse formulas both involve the sum of squares.

    Example \( \PageIndex{1} \)

    Graph the equation \(\frac{(x-2)^2}{4} -\frac{y^2}{25} = 1.\) Find the center, the lines which contain the transverse and conjugate axes, the vertices, the foci and the equations of the asymptotes.

    Solution

    We first see that this equation is given to us in the standard form of Theorem \( \PageIndex{1} \). Here \(x-h\) is \(x-2\) so \(h = 2\), and \(y-k\) is \(y\) so \(k = 0\). Hence, our hyperbola is centered at \((2,0)\). We see that \(a^2 = 4\) so \(a = 2\), and \(b^2 = 25\) so \(b=5\). This means we move \(2\) units to the left and right of the center and \(5\) units up and down from the center to arrive at points on the guide rectangle. The asymptotes pass through the center of the hyperbola as well as the corners of the rectangle. This yields the following set up.

    Screen Shot 2022-04-28 at 9.58.34 PM.png

    Since the \(y^2\) term is being subtracted from the \(x^2\) term, we know that the branches of the hyperbola open to the left and right. This means that the transverse axis lies along the \(x\)-axis. Hence, the conjugate axis lies along the vertical line \(x = 2\). Since the vertices of the hyperbola are where the hyperbola intersects the transverse axis, we get that the vertices are \(2\) units to the left and right of \((2,0)\) at \((0,0)\) and \((4,0)\). To find the foci, we need \(c = \sqrt{a^2 + b^2} = \sqrt{4+25} = \sqrt{29}\). Since the foci lie on the transverse axis, we move \(\sqrt{29}\) units to the left and right of \((2,0)\) to arrive at \((2 - \sqrt{29},0)\) (approximately \((-3.39, 0)\)) and \((2 + \sqrt{29}, 0)\) (approximately \((7.39, 0)\)). To determine the equations of the asymptotes, recall that the asymptotes go through the center of the hyperbola, \((2,0)\), as well as the corners of guide rectangle, so they have slopes of \(\pm \frac{b}{a} = \pm \frac{5}{2}\). Using the point-slope equation of a line yields \(y -0 = \pm \frac{5}{2} (x - 2)\), so we get \(y = \frac{5}{2}x - 5\) and \(y = -\frac{5}{2}x + 5\). Putting it all together, we get

    Screen Shot 2022-04-28 at 10.05.06 PM.png

    Example \( \PageIndex{2} \)

    Find the equation of the hyperbola with asymptotes \(y= \pm 2x\) and vertices \((\pm 5,0)\).

    Solution

    Plotting the data given to us, we have

    Screen Shot 2022-04-28 at 10.17.56 PM.png

    This graph not only tells us that the branches of the hyperbola open to the left and to the right, it also tells us that the center is \((0,0)\). Hence, our standard form is \(\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1\). Since the vertices are \((\pm 5, 0)\), we have \(a=5\) so \(a^2 = 25\). In order to determine \(b^2\), we recall that the slopes of the asymptotes are \(\pm \frac{b}{a}\). Since \(a = 5\) and the slope of the line \(y=2x\) is \(2\), we have that \(\frac{b}{5} = 2\), so \(b=10\). Hence, \(b^2 = 100\) and our final answer is \(\frac{x^2}{25} - \frac{y^2}{100} = 1\).

    As with the other conic sections, an equation whose graph is a hyperbola may not be given in either of the standard forms. To rectify that, we have the following example.

    Example \( \PageIndex{3} \)

    Consider the equation \(9y^2-x^2-6x=10\). Put this equation in to standard form and graph. Find the center, the lines which contain the transverse and conjugate axes, the vertices, the foci, and the equations of the asymptotes.

    Solution

    We need only complete the square on \(x\):

    \[\begin{array}{rrcl}
    & 9y^2-x^2-6x & = & 10 \\
    \implies & 9y^2-1\left(x^2+6x\right) & = & 10 \\
    \implies & 9y^2-\left(x^2+6x + 9\right) & = & 10 - 1(9) \\
    \implies & 9y^2-(x+3)^2 & = & 1 \\
    \implies & \dfrac{y^2}{\frac{1}{9}} - \dfrac{(x+3)^2}{1} & = & 1 \\
     \end{array}\nonumber\]

    Now that this equation is in the standard form of Theorem \( \PageIndex{2} \), we see that \(x-h\) is \(x+3\) so \(h = -3\), and \(y-k\) is \(y\) so \(k = 0\). Hence, our hyperbola is centered at \((-3, 0)\). We find that \(a^2 = 1\) so \(a=1\), and \(b^2 = \frac{1}{9}\) so \(b=\frac{1}{3}\). This means that we move \(1\) unit to the left and right of the center and \(\frac{1}{3}\) units up and down from the center to arrive at points on the guide rectangle. Since the \(x^2\) term is being subtracted from the \(y^2\) term, we know the branches of the hyperbola open upwards and downwards. This means the transverse axis lies along the vertical line \(x=-3\) and the conjugate axis lies along the \(x\)-axis. Since the vertices of the hyperbola are where the hyperbola intersects the transverse axis, we get that the vertices are \(\frac{1}{3}\) of a unit above and below \((-3, 0)\) at \(\left(-3, \frac{1}{3}\right)\) and \(\left(-3, -\frac{1}{3}\right)\). To find the foci, we use \[c = \sqrt{a^2 + b^2} = \sqrt{\frac{1}{9} + 1} = \frac{\sqrt{10}}{3}\nonumber\] Since the foci lie on the transverse axis, we move \(\frac{\sqrt{10}}{3}\) units above and below \((-3, 0)\) to arrive at \(\left(-3, \frac{\sqrt{10}}{3}\right)\) and \(\left(-3, -\frac{\sqrt{10}}{3}\right)\). To determine the asymptotes, recall that the asymptotes go through the center of the hyperbola, \((-3,0)\), as well as the corners of guide rectangle, so they have slopes of \(\pm \frac{b}{a} = \pm \frac{1}{3}\). Using the point-slope equation of a line, we get \(y = \frac{1}{3}x + 1\) and \(y = -\frac{1}{3}x - 1\). Putting it all together, we get

    Screen Shot 2022-04-28 at 10.35.53 PM.png

    Subsection Footnotes

    1 It is a good exercise to actually work this out.

    2 That is, a hyperbola whose branches open to the left and right.


    Applications Involving Hyperbolics

    Hyperbolas can be used in so-called "trilateration," or "positioning" problems. The procedure outlined in the next example is the basis of the (now virtually defunct) LOng Range Aid to Navigation (LORAN for short) system.3

    Example \( \PageIndex{4} \)

    Jeff is stationed \(10\) miles due west of Carl in an otherwise empty forest in an attempt to locate an elusive Sasquatch. At the stroke of midnight, Jeff records a Sasquatch call \(9\) seconds earlier than Carl. If the speed of sound that night is \(760\) miles per hour, determine a hyperbolic path along which Sasquatch must be located.

    Solution

    Since Jeff hears Sasquatch sooner, it is closer to Jeff than it is to Carl. Since the speed of sound is \(760\) miles per hour, we can determine how much closer Sasquatch is to Jeff by multiplying \[760 \, \frac{\text{miles}}{\text{hour}} \times \frac{ 1 \, \text{hour}}{ 3600 \, \text{seconds}} \times 9 \, \text{seconds} = 1.9 \, \text{miles}\nonumber\]This means that Sasquatch is \(1.9\) miles closer to Jeff than it is to Carl. In other words, Sasquatch must lie on a path where \[\text{(the distance to Carl)} - \text{(the distance to Jeff)} = 1.9\nonumber\]This is exactly the situation in the definition of a hyperbola. In this case, Jeff and Carl are located at the foci, and our fixed distance \(d\) is 1.9. For simplicity, we assume the hyperbola is centered at \((0,0)\) with its foci at \((-5, 0)\) and \((5, 0)\). Schematically, we have

    Screen Shot 2022-04-28 at 10.50.43 PM.png

    We are seeking a curve of the form \(\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1\) in which the distance from the center to each focus is \(c = 5\). As we saw in the derivation of the standard equation of the hyperbola, Theorem \( \PageIndex{1} \), \(d = 2a\), so that \(2a = 1.9\), or \(a = 0.95\) and \(a^2 = 0.9025\). All that remains is to find \(b^2\). To that end, we recall that \(a^2 + b^2 = c^2\) so \(b^2 = c^2 - a^2 = 25 - 0.9025 = 24.0975\). Since Sasquatch is closer to Jeff than it is to Carl, it must be on the western (left hand) branch of \(\frac{x^2}{0.9025} - \frac{y^2}{24.0975} = 1\).

    In our previous example, we did not have enough information to pin down the exact location of Sasquatch. To accomplish this, we would need a third observer.

    Example \( \PageIndex{5} \)

    By a stroke of luck, Kai was also camping in the woods during the events of the previous example. He was located \(6\) miles due north of Jeff and heard the Sasquatch call \(18\) seconds after Jeff did. Use this added information to locate Sasquatch.

    Solution

    Kai and Jeff are now the foci of a second hyperbola where the fixed distance \(d\) can be determined as before \[760 \, \dfrac{\text{miles}}{\text{hour}} \times \dfrac{ 1 \, \text{hour}}{ 3600 \, \text{seconds}} \times 18 \, \text{seconds} = 3.8 \, \text{miles}\nonumber\]Since Jeff was positioned at \((-5, 0)\), we place Kai at \((-5, 6)\). This puts the center of the new hyperbola at \((-5, 3)\). Plotting Kai’s position and the new center gives us the diagram below on the left. The second hyperbola is vertical, so it must be of the form \(\frac{(y-3)^2}{b^2} - \frac{(x+5)^2}{a^2} = 1\). As before, the distance \(d\) is the length of the major axis, which in this case is \(2b\). We get \(2b = 3.8\) so that \(b = 1.9\) and \(b^2 = 3.61\). With Kai \(6\) miles due North of Jeff, we have that the distance from the center to the focus is \(c = 3\). Since \(a^2 + b^2 = c^2\), we get \(a^2 = c^2 - b^2 = 9 - 3.61 = 5.39\). Kai heard the Sasquatch call after Jeff, so Kai is farther from Sasquatch than Jeff. Thus Sasquatch must lie on the southern branch of the hyperbola \(\frac{(y-3)^2}{3.61} - \frac{(x+5)^2}{5.39} = 1\). Looking at the western branch of the hyperbola determined by Jeff and Carl along with the southern branch of the hyperbola determined by Kai and Jeff, we see that there is exactly one point in common, and this is where Sasquatch must have been when it called.

    Screen Shot 2022-04-28 at 10.57.47 PM.png

    To determine the coordinates of this point of intersection exactly, we would need techniques for solving systems of non-linear equations (which we won’t see until Section 9.3), so we use the calculator.4 Doing so, we get Sasquatch is approximately at \((-0.9629, -0.8113)\).

    Each of the conic sections we have studied in this chapter result from graphing equations of the form \(Ax^2 + Cy^2 + Dx + Ey + F = 0\) for different choices of \(A\), \(C\), \(D\), \(E\), and \(F\).5 While we’ve seen examples demonstrate how to convert an equation from this general form to one of the standard forms, we close this chapter with some advice about which standard form to choose.

    Strategies for Identifying Conic Sections

    Suppose the graph of equation \(Ax^2 + Cy^2 + Dx + Ey + F = 0\) is a non-degenerate conic section.6

    • If just one variable is squared, the graph is a parabola. Put the equation in the form of Theorem 8.3.1 (if \(x\) is squared) or Theorem 8.3.2 (if \(y\) is squared).

    If both variables are squared, look at the coefficients of \(x^2\) and \(y^2\), \(A\) and \(B\).

    • If \(A=B\), the graph is a circle. Put the equation in the form of Theorem 8.2.1.
    • If \(A \neq B\) but \(A\) and \(B\) have the same sign, the graph is an ellipse. Put the equation in the form of Theorem 8.4.1.
    • If \(A\) and \(B\) have the different signs, the graph is a hyperbola. Put the equation in the form of either Theorem \( \PageIndex{1} \) or Theorem \( \PageIndex{2} \).
    Subsection Footnotes

    3 GPS now rules the positioning kingdom.

    4 First solve each hyperbola for \(y\), and choose the correct equation (branch) before proceeding.

    5 See Section 11.6 to see why we skip \(B\).

    6 That is, a parabola, circle, ellipse, or hyperbola – see Section 8.1.


    This page titled 8.5: Hyperbolas is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Carl Stitz & Jeff Zeager via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.