# 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 [latex]\left(0,0\right)[/latex], we see that the vertices, co-vertices, and foci are related by the equation [latex]{c}^{2}={a}^{2}+{b}^{2}[/latex]. Note that this equation can also be rewritten as [latex]{b}^{2}={c}^{2}-{a}^{2}[/latex]. 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 [latex]\left(0,\text{0}\right)[/latex], write its equation in standard form.

- Determine whether the transverse axis lies on the
*x*- or*y*-axis.- If the given coordinates of the vertices and foci have the form [latex]\left(\pm a,0\right)[/latex] and [latex]\left(\pm c,0\right)[/latex], respectively, then the transverse axis is the
*x*-axis. Use the standard form [latex]\frac{{x}^{2}}{{a}^{2}}-\frac{{y}^{2}}{{b}^{2}}=1[/latex]. - If the given coordinates of the vertices and foci have the form [latex]\left(0,\pm a\right)[/latex] and [latex]\left(0,\pm c\right)[/latex], respectively, then the transverse axis is the
*y*-axis. Use the standard form [latex]\frac{{y}^{2}}{{a}^{2}}-\frac{{x}^{2}}{{b}^{2}}=1[/latex].

- If the given coordinates of the vertices and foci have the form [latex]\left(\pm a,0\right)[/latex] and [latex]\left(\pm c,0\right)[/latex], respectively, then the transverse axis is the
- Find [latex]{b}^{2}[/latex] using the equation [latex]{b}^{2}={c}^{2}-{a}^{2}[/latex].
- Substitute the values for [latex]{a}^{2}[/latex] and [latex]{b}^{2}[/latex] 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 [latex]\left(\pm 6,0\right)[/latex] and foci [latex]\left(\pm 2\sqrt{10},0\right)?[/latex]

### Solution

The vertices and foci are on the*x*-axis. Thus, the equation for the hyperbola will have the form [latex]\frac{{x}^{2}}{{a}^{2}}-\frac{{y}^{2}}{{b}^{2}}=1[/latex]. The vertices are [latex]\left(\pm 6,0\right)[/latex], so [latex]a=6[/latex] and [latex]{a}^{2}=36[/latex]. The foci are [latex]\left(\pm 2\sqrt{10},0\right)[/latex], so [latex]c=2\sqrt{10}[/latex] and [latex]{c}^{2}=40[/latex]. Solving for [latex]{b}^{2}[/latex], we have

[latex]\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}[/latex]

Finally, we substitute [latex]{a}^{2}=36[/latex] and [latex]{b}^{2}=4[/latex] into the standard form of the equation, [latex]\frac{{x}^{2}}{{a}^{2}}-\frac{{y}^{2}}{{b}^{2}}=1[/latex]. The equation of the hyperbola is [latex]\frac{{x}^{2}}{36}-\frac{{y}^{2}}{4}=1[/latex].
**Figure 6**

### Try It 2

What is the standard form equation of the hyperbola that has vertices [latex]\left(0,\pm 2\right)[/latex] and foci [latex]\left(0,\pm 2\sqrt{5}\right)?[/latex] 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 [latex]h[/latex] units horizontally and [latex]k[/latex] units vertically, the center of the**hyperbola**will be [latex]\left(h,k\right)[/latex]. This translation results in the standard form of the equation we saw previously, with [latex]x[/latex] replaced by [latex]\left(x-h\right)[/latex] and [latex]y[/latex] replaced by [latex]\left(y-k\right)[/latex].

### 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 [latex]\left(h,k\right)[/latex] and transverse axis parallel to the *x*-axis is

[latex]\frac{{\left(x-h\right)}^{2}}{{a}^{2}}-\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1[/latex]

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

**point-slope formula**, it is simple to show that the equations of the asymptotes are [latex]y=\pm \frac{b}{a}\left(x-h\right)+k[/latex]. The standard form of the equation of a hyperbola with center [latex]\left(h,k\right)[/latex] and transverse axis parallel to the

*y*-axis is

[latex]\frac{{\left(y-k\right)}^{2}}{{a}^{2}}-\frac{{\left(x-h\right)}^{2}}{{b}^{2}}=1[/latex]

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

**Figure 7.**(a) Horizontal hyperbola with center [latex]\left(h,k\right)[/latex] (b) Vertical hyperbola with center [latex]\left(h,k\right)[/latex]

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

- Determine whether the transverse axis is parallel to the
*x*- or*y*-axis.- 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 [latex]\frac{{\left(x-h\right)}^{2}}{{a}^{2}}-\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1[/latex]. - 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 [latex]\frac{{\left(y-k\right)}^{2}}{{a}^{2}}-\frac{{\left(x-h\right)}^{2}}{{b}^{2}}=1[/latex].

- If the
- Identify the center of the hyperbola, [latex]\left(h,k\right)[/latex], using the midpoint formula and the given coordinates for the vertices.
- Find [latex]{a}^{2}[/latex] by solving for the length of the transverse axis, [latex]2a[/latex] , which is the distance between the given vertices.
- Find [latex]{c}^{2}[/latex] using [latex]h[/latex] and [latex]k[/latex] found in Step 2 along with the given coordinates for the foci.
- Solve for [latex]{b}^{2}[/latex] using the equation [latex]{b}^{2}={c}^{2}-{a}^{2}[/latex].
- Substitute the values for [latex]h,k,{a}^{2}[/latex], and [latex]{b}^{2}[/latex] 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 [latex]\left(0,-2\right)[/latex] and [latex]\left(6,-2\right)[/latex] and foci at [latex]\left(-2,-2\right)[/latex] and [latex]\left(8,-2\right)?[/latex]

### 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

[latex]\frac{{\left(x-h\right)}^{2}}{{a}^{2}}-\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1[/latex]

First, we identify the center, [latex]\left(h,k\right)[/latex]. The center is halfway between the vertices [latex]\left(0,-2\right)[/latex] and [latex]\left(6,-2\right)[/latex]. Applying the midpoint formula, we have
[latex]\left(h,k\right)=\left(\frac{0+6}{2},\frac{-2+\left(-2\right)}{2}\right)=\left(3,-2\right)[/latex]

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

[latex]\begin{array}{l}2a=|0 - 6|\hfill \\ 2a=6\hfill \\ \text{ }a=3\hfill \\ {a}^{2}=9\hfill \end{array}[/latex]

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

[latex]\begin{array}{l}h+c=8\hfill \\ 3+c=8\hfill \\ \text{ }c=5\hfill \\ \text{ }{c}^{2}=25\hfill \end{array}[/latex]

Next, solve for [latex]{b}^{2}[/latex] using the equation [latex]{b}^{2}={c}^{2}-{a}^{2}:[/latex]
[latex]\begin{array}{l}{b}^{2}={c}^{2}-{a}^{2}\hfill \\ \text{ }=25 - 9\hfill \\ \text{ }=16\hfill \end{array}[/latex]

Finally, substitute the values found for [latex]h,k,{a}^{2}[/latex], and [latex]{b}^{2}[/latex] into the standard form of the equation.
[latex]\frac{{\left(x - 3\right)}^{2}}{9}-\frac{{\left(y+2\right)}^{2}}{16}=1[/latex]

### Try It 3

What is the standard form equation of the hyperbola that has vertices [latex]\left(1,-2\right)[/latex] and [latex]\left(1,\text{8}\right)[/latex] and foci [latex]\left(1,-10\right)[/latex] and [latex]\left(1,16\right)?[/latex] Solution## Licenses & Attributions

### CC licensed content, Specific attribution

- Precalculus.
**Provided by:**OpenStax**Authored by:**OpenStax College.**Located at:**https://cnx.org/contents/[email protected]:1/Preface.**License:**CC BY: Attribution.