## Writing Equations of Hyperbolas in Standard Form

Just as with ellipses, writing the equation for a hyperbola in standard form allows us to calculate the key features: its center, vertices, co-vertices, foci, asymptotes, and the lengths and positions of the transverse and conjugate axes. Conversely, an equation for a hyperbola can be found given its key features. We begin by finding standard equations for hyperbolas centered at the origin. Then we will turn our attention to finding standard equations for hyperbolas centered at some point other than the origin.

## Hyperbolas Centered at the Origin

Reviewing the standard forms given for hyperbolas centered at $\left(0,0\right)$, we see that the vertices, co-vertices, and foci are related by the equation ${c}^{2}={a}^{2}+{b}^{2}$. Note that this equation can also be rewritten as ${b}^{2}={c}^{2}-{a}^{2}$. This relationship is used to write the equation for a hyperbola when given the coordinates of its foci and vertices.

### How To: Given the vertices and foci of a hyperbola centered at $\left(0,\text{0}\right)$, write its equation in standard form.

1. Determine whether the transverse axis lies on the x– or y-axis.
1. If the given coordinates of the vertices and foci have the form $\left(\pm a,0\right)$ and $\left(\pm c,0\right)$, respectively, then the transverse axis is the x-axis. Use the standard form $\frac{{x}^{2}}{{a}^{2}}-\frac{{y}^{2}}{{b}^{2}}=1$.
2. If the given coordinates of the vertices and foci have the form $\left(0,\pm a\right)$ and $\left(0,\pm c\right)$, respectively, then the transverse axis is the y-axis. Use the standard form $\frac{{y}^{2}}{{a}^{2}}-\frac{{x}^{2}}{{b}^{2}}=1$.
2. Find ${b}^{2}$ using the equation ${b}^{2}={c}^{2}-{a}^{2}$.
3. Substitute the values for ${a}^{2}$ and ${b}^{2}$ into the standard form of the equation determined in Step 1.

### Example 2: Finding the Equation of a Hyperbola Centered at (0,0) Given its Foci and Vertices

What is the standard form equation of the hyperbola that has vertices $\left(\pm 6,0\right)$ and foci $\left(\pm 2\sqrt{10},0\right)?$

### Solution

The vertices and foci are on the x-axis. Thus, the equation for the hyperbola will have the form $\frac{{x}^{2}}{{a}^{2}}-\frac{{y}^{2}}{{b}^{2}}=1$.

The vertices are $\left(\pm 6,0\right)$, so $a=6$ and ${a}^{2}=36$.

The foci are $\left(\pm 2\sqrt{10},0\right)$, so $c=2\sqrt{10}$ and ${c}^{2}=40$.

Solving for ${b}^{2}$, we have

$\begin{array}{ll}{b}^{2}={c}^{2}-{a}^{2}\hfill & \hfill \\ {b}^{2}=40 - 36\hfill & \begin{array}{cccc}& & & \end{array}\text{Substitute for }{c}^{2}\text{ and }{a}^{2}.\hfill \\ {b}^{2}=4\hfill & \begin{array}{cccc}& & & \end{array}\text{Subtract}.\hfill \end{array}$

Finally, we substitute ${a}^{2}=36$ and ${b}^{2}=4$ into the standard form of the equation, $\frac{{x}^{2}}{{a}^{2}}-\frac{{y}^{2}}{{b}^{2}}=1$. The equation of the hyperbola is $\frac{{x}^{2}}{36}-\frac{{y}^{2}}{4}=1$.

Figure 6

### Try It 2

What is the standard form equation of the hyperbola that has vertices $\left(0,\pm 2\right)$ and foci $\left(0,\pm 2\sqrt{5}\right)?$

Solution

## Hyperbolas Not Centered at the Origin

Like the graphs for other equations, the graph of a hyperbola can be translated. If a hyperbola is translated $h$ units horizontally and $k$ units vertically, the center of the hyperbola will be $\left(h,k\right)$. This translation results in the standard form of the equation we saw previously, with $x$ replaced by $\left(x-h\right)$ and $y$ replaced by $\left(y-k\right)$.

### A General Note: Standard Forms of the Equation of a Hyperbola with Center (h, k)

The standard form of the equation of a hyperbola with center $\left(h,k\right)$ and transverse axis parallel to the x-axis is

$\frac{{\left(x-h\right)}^{2}}{{a}^{2}}-\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1$

where

• the length of the transverse axis is $2a$
• the coordinates of the vertices are $\left(h\pm a,k\right)$
• the length of the conjugate axis is $2b$
• the coordinates of the co-vertices are $\left(h,k\pm b\right)$
• the distance between the foci is $2c$, where ${c}^{2}={a}^{2}+{b}^{2}$
• the coordinates of the foci are $\left(h\pm c,k\right)$

The asymptotes of the hyperbola coincide with the diagonals of the central rectangle. The length of the rectangle is $2a$ and its width is $2b$. The slopes of the diagonals are $\pm \frac{b}{a}$, and each diagonal passes through the center $\left(h,k\right)$. Using the point-slope formula, it is simple to show that the equations of the asymptotes are $y=\pm \frac{b}{a}\left(x-h\right)+k$.

The standard form of the equation of a hyperbola with center $\left(h,k\right)$ and transverse axis parallel to the y-axis is

$\frac{{\left(y-k\right)}^{2}}{{a}^{2}}-\frac{{\left(x-h\right)}^{2}}{{b}^{2}}=1$

where

• the length of the transverse axis is $2a$
• the coordinates of the vertices are $\left(h,k\pm a\right)$
• the length of the conjugate axis is $2b$
• the coordinates of the co-vertices are $\left(h\pm b,k\right)$
• the distance between the foci is $2c$, where ${c}^{2}={a}^{2}+{b}^{2}$
• the coordinates of the foci are $\left(h,k\pm c\right)$

Using the reasoning above, the equations of the asymptotes are $y=\pm \frac{a}{b}\left(x-h\right)+k$.

Figure 7. (a) Horizontal hyperbola with center $\left(h,k\right)$ (b) Vertical hyperbola with center $\left(h,k\right)$

Like hyperbolas centered at the origin, hyperbolas centered at a point $\left(h,k\right)$ have vertices, co-vertices, and foci that are related by the equation ${c}^{2}={a}^{2}+{b}^{2}$. We can use this relationship along with the midpoint and distance formulas to find the standard equation of a hyperbola when the vertices and foci are given.

### How To: Given the vertices and foci of a hyperbola centered at $\left(h,k\right)$, write its equation in standard form.

1. Determine whether the transverse axis is parallel to the x– or y-axis.
1. If the y-coordinates of the given vertices and foci are the same, then the transverse axis is parallel to the x-axis. Use the standard form $\frac{{\left(x-h\right)}^{2}}{{a}^{2}}-\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1$.
2. If the x-coordinates of the given vertices and foci are the same, then the transverse axis is parallel to the y-axis. Use the standard form $\frac{{\left(y-k\right)}^{2}}{{a}^{2}}-\frac{{\left(x-h\right)}^{2}}{{b}^{2}}=1$.
2. Identify the center of the hyperbola, $\left(h,k\right)$, using the midpoint formula and the given coordinates for the vertices.
3. Find ${a}^{2}$ by solving for the length of the transverse axis, $2a$ , which is the distance between the given vertices.
4. Find ${c}^{2}$ using $h$ and $k$ found in Step 2 along with the given coordinates for the foci.
5. Solve for ${b}^{2}$ using the equation ${b}^{2}={c}^{2}-{a}^{2}$.
6. Substitute the values for $h,k,{a}^{2}$, and ${b}^{2}$ into the standard form of the equation determined in Step 1.

### Example 3: Finding the Equation of a Hyperbola Centered at (h, k) Given its Foci and Vertices

What is the standard form equation of the hyperbola that has vertices at $\left(0,-2\right)$ and $\left(6,-2\right)$ and foci at $\left(-2,-2\right)$ and $\left(8,-2\right)?$

### Solution

The y-coordinates of the vertices and foci are the same, so the transverse axis is parallel to the x-axis. Thus, the equation of the hyperbola will have the form

$\frac{{\left(x-h\right)}^{2}}{{a}^{2}}-\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1$

First, we identify the center, $\left(h,k\right)$. The center is halfway between the vertices $\left(0,-2\right)$ and $\left(6,-2\right)$. Applying the midpoint formula, we have

$\left(h,k\right)=\left(\frac{0+6}{2},\frac{-2+\left(-2\right)}{2}\right)=\left(3,-2\right)$

Next, we find ${a}^{2}$. The length of the transverse axis, $2a$, is bounded by the vertices. So, we can find ${a}^{2}$ by finding the distance between the x-coordinates of the vertices.

$\begin{array}{l}2a=|0 - 6|\hfill \\ 2a=6\hfill \\ \text{ }a=3\hfill \\ {a}^{2}=9\hfill \end{array}$

Now we need to find ${c}^{2}$. The coordinates of the foci are $\left(h\pm c,k\right)$. So $\left(h-c,k\right)=\left(-2,-2\right)$ and $\left(h+c,k\right)=\left(8,-2\right)$. We can use the x-coordinate from either of these points to solve for $c$. Using the point $\left(8,-2\right)$, and substituting $h=3$,

$\begin{array}{l}h+c=8\hfill \\ 3+c=8\hfill \\ \text{ }c=5\hfill \\ \text{ }{c}^{2}=25\hfill \end{array}$

Next, solve for ${b}^{2}$ using the equation ${b}^{2}={c}^{2}-{a}^{2}:$

$\begin{array}{l}{b}^{2}={c}^{2}-{a}^{2}\hfill \\ \text{ }=25 - 9\hfill \\ \text{ }=16\hfill \end{array}$

Finally, substitute the values found for $h,k,{a}^{2}$, and ${b}^{2}$ into the standard form of the equation.

$\frac{{\left(x - 3\right)}^{2}}{9}-\frac{{\left(y+2\right)}^{2}}{16}=1$

### Try It 3

What is the standard form equation of the hyperbola that has vertices $\left(1,-2\right)$ and $\left(1,\text{8}\right)$ and foci $\left(1,-10\right)$ and $\left(1,16\right)?$

Solution