Equation of a Hyperbola

The equation of a hyperbola describes all points forming a hyperbola with center at (h, k), used when modeling two-branch curves in coordinate geometry.

(xh)2a2(yk)2b2=1\frac{(x-h)^2}{a^2} - \frac{(y-k)^2}{b^2} = 1

Solve a problem with Equation of a Hyperbola

Type the problem. The solver will use Equation of a Hyperbola where Equation of a Hyperbola is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Equation of a Hyperbola takes
aa
bb
hh
kk
xx
yy
Equation of a Hyperbola
SymbolMeaning
aaThe semi-transverse axis length; the horizontal distance from the center (h,k)(h,k) to each vertex; students often confuse it with the denominator a2a^2, causing wrong vertex positions.
bbThe semi-conjugate axis length; it is not itself a point on the curve but determines the asymptote slopes ±ba\pm \frac{b}{a}.
hhThe x-coordinate of the center; leaving it out shifts the hyperbola horizontally to the origin.
kkThe y-coordinate of the center; omitting it shifts the hyperbola vertically to the x-axis.
xxThe x-coordinate of any point on the hyperbola; it ranges over all real numbers except the interval [ha,h+a][h-a, h+a] for this horizontal-opening form.
yyThe y-coordinate of any point on the hyperbola; not all yy values are possible, only those that satisfy the equation for a chosen xx.

When to use it

Use this when you need to find the coordinates of all points that form a hyperbola or when you're given a hyperbola and need to identify its key features like center and axis lengths.

Level

Usually taught in: Pre-Calculus

Worked examples

1. Check if a point lies on a hyperbola

Problem

Determine whether the point (5,3)(5, 3) lies on the hyperbola (x1)29(y2)24=1\frac{(x-1)^2}{9} - \frac{(y-2)^2}{4} = 1.
  1. (51)29(32)24\frac{(5-1)^2}{9} - \frac{(3-2)^2}{4}

    Substitute x=5x = 5 and y=3y = 3 into the hyperbola equation.

  2. 16914\frac{16}{9} - \frac{1}{4}

    Simplify the numerators: (51)2=16(5-1)^2 = 16 and (32)2=1(3-2)^2 = 1.

  3. 6436936=5536\frac{64}{36} - \frac{9}{36} = \frac{55}{36}

    Convert to a common denominator of 36: 169=6436\frac{16}{9} = \frac{64}{36} and 14=936\frac{1}{4} = \frac{9}{36}.

  4. 55361\frac{55}{36} \neq 1

    The result is not equal to 1, so the point does not satisfy the equation.

Answer: (5,3) does not lie on the hyperbola(5, 3) \text{ does not lie on the hyperbola}

We verified membership by substitution: a point is on the hyperbola if and only if its coordinates satisfy the equation exactly. Since our result was 5536\frac{55}{36} instead of 1, the point is not on the curve.

2. Find the missing parameter of a hyperbola given a point

Problem

A hyperbola has the form (x1)24(y2)2b2=1\frac{(x-1)^2}{4} - \frac{(y-2)^2}{b^2} = 1. If the point (7,6)(7, 6) lies on the hyperbola, find b2b^2.
  1. (71)24(62)2b2=1\frac{(7-1)^2}{4} - \frac{(6-2)^2}{b^2} = 1

    Substitute x=7x = 7 and y=6y = 6 into the equation.

  2. 36416b2=1\frac{36}{4} - \frac{16}{b^2} = 1

    Calculate the squares: (71)2=36(7-1)^2 = 36 and (62)2=16(6-2)^2 = 16.

  3. 916b2=19 - \frac{16}{b^2} = 1

    Simplify the first fraction: 364=9\frac{36}{4} = 9.

  4. 16b2=8\frac{16}{b^2} = 8

    Rearrange by subtracting 9 from both sides; note that 19=81 - 9 = -8, so 16b2=8-\frac{16}{b^2} = -8.

  5. b2=2b^2 = 2

    Solve for b2b^2 by division: b2=168=2b^2 = \frac{16}{8} = 2.

Answer: b2=2b^2 = 2

We substituted the given point into the equation with unknown b2b^2, then solved algebraically. This technique works whenever one parameter is unknown but other points on the hyperbola are known.

3. Find a hyperbola equation from a cyclist's training route

Problem

A cyclist trains on a hillside where the path follows a hyperbola centered at a base camp at (0,0)(0, 0). The cyclist's outbound and return trails are symmetric, reaching a minimum horizontal distance of 3 km from camp. The cyclist passes through the point 5 km east and 4 km north of camp. Find the equation of the hyperbola modeling the training route.
  1. x2a2y2b2=1\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1

    Since the center is at the origin (0,0)(0, 0) and the branches open horizontally, use this standard form.

  2. a=3, so a2=9a = 3, \text{ so } a^2 = 9

    The minimum horizontal distance from camp to the trail is 3 km, which is the semi-transverse axis length aa.

  3. 52942b2=1\frac{5^2}{9} - \frac{4^2}{b^2} = 1

    The cyclist passes through (5,4)(5, 4), so substitute x=5x = 5 and y=4y = 4.

  4. 25916b2=1\frac{25}{9} - \frac{16}{b^2} = 1

    Evaluate the squares: 52=255^2 = 25 and 42=164^2 = 16.

  5. 2591=16b2\frac{25}{9} - 1 = \frac{16}{b^2}

    Isolate 16b2\frac{16}{b^2} by subtracting 1 from both sides.

  6. 169=16b2\frac{16}{9} = \frac{16}{b^2}

    Simplify the left side: 25999=169\frac{25}{9} - \frac{9}{9} = \frac{16}{9}.

  7. b2=9b^2 = 9

    Since both fractions have numerator 16, equate the denominators: b2=9b^2 = 9.

Answer: x29y29=1\frac{x^2}{9} - \frac{y^2}{9} = 1

We used the constraint that the trail has minimum horizontal extent 3 km to set a=3a = 3, then leveraged the point (5,4)(5, 4) to solve for b2b^2. This combined approach—using geometric constraints and coordinate points—is essential for constructing hyperbola equations from real-world scenarios.

Common mistakes

Where Equation of a Hyperbola usually goes wrong
Answer came out wrong
(xh)2a2+(yk)2b2=1\frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1 or (yk)2a2(xh)2b2=1\frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1
Always verify the middle operator is a minus and the (xh)2(x-h)^2 term comes first in the standard form.
Reading a=9a = 9 directly from the denominator in (xh)29\frac{(x-h)^2}{9} instead of taking the square root to get a=9=3a = \sqrt{9} = 3.
Always take the square root of the denominator under the positive term: if a2=9a^2 = 9, then a=3a = 3.
Using (yk)2a2(xh)2b2=1\frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1 (the vertical form) when the problem gives a horizontal-opening hyperbola, or vice versa.
Identify which variable term is positive: if (xh)2(x-h)^2 is positive, the hyperbola opens horizontally; if (yk)2(y-k)^2 is positive, it opens vertically.
The mistakeWhy it is wrongThe fix
(xh)2a2+(yk)2b2=1\frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1 or (yk)2a2(xh)2b2=1\frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1The minus sign between the terms is essential to a hyperbola; using a plus sign gives an ellipse, and switching the order changes which direction the hyperbola opens.Always verify the middle operator is a minus and the (xh)2(x-h)^2 term comes first in the standard form.
Reading a=9a = 9 directly from the denominator in (xh)29\frac{(x-h)^2}{9} instead of taking the square root to get a=9=3a = \sqrt{9} = 3.The value aa is the semi-transverse axis length, not the denominator itself; a2a^2 is the denominator.Always take the square root of the denominator under the positive term: if a2=9a^2 = 9, then a=3a = 3.
Using (yk)2a2(xh)2b2=1\frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1 (the vertical form) when the problem gives a horizontal-opening hyperbola, or vice versa.These two forms open in perpendicular directions; using the wrong form yields incorrect vertices and asymptotes.Identify which variable term is positive: if (xh)2(x-h)^2 is positive, the hyperbola opens horizontally; if (yk)2(y-k)^2 is positive, it opens vertically.

Tips and when to use something else

  • The value aa always appears in the denominator under the positive (first) term; it governs the distance from the center to the vertices along the axis of symmetry.
  • The asymptotes of this hyperbola have slopes ±ba\pm \frac{b}{a} and pass through the center (h,k)(h, k)—use Point-Slope Form to write their equations when needed.
  • A hyperbola opens outward (away from the center) into two branches, unlike an ellipse which forms a single closed curve; this behavior is why the equation has a minus sign.
  • To classify a conic from the general form Ax2+Bxy+Cy2+Dx+Ey+F=0Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0 as a hyperbola, check the discriminant: if AC<0AC < 0, it is a hyperbola.

Frequently asked questions

What is the key difference between a hyperbola and an ellipse equation?
A hyperbola uses a minus sign (-) between the terms, while an ellipse uses a plus sign (++). The minus sign causes the hyperbola to split into two separate branches opening away from each other, whereas the plus sign creates a single closed curve. This single operator difference fundamentally changes the shape and behavior of the entire curve.
How do I find the asymptotes of a hyperbola from its equation?
For the hyperbola (xh)2a2(yk)2b2=1\frac{(x-h)^2}{a^2} - \frac{(y-k)^2}{b^2} = 1, the asymptotes pass through the center (h,k)(h, k) with slopes ±ba\pm \frac{b}{a}. Write the asymptote equations using Point-Slope Form: yk=±ba(xh)y - k = \pm \frac{b}{a}(x - h). The asymptotes guide the shape of the branches as they extend toward infinity.
What do aa and bb represent, and how do they differ from an ellipse?
In this hyperbola form, aa is the semi-transverse axis length—the distance from the center to each vertex along the horizontal direction. The value bb is the semi-conjugate axis length, which does not correspond to any point on the hyperbola itself, but instead controls the steepness of the asymptotes via the slope ba\frac{b}{a}. In an ellipse, both aa and bb represent points on the curve; in a hyperbola, only aa does.
Can I shift or rotate a hyperbola like other curves?
Yes, the (h,k)(h, k) in this equation shifts the center away from the origin, and this form represents a hyperbola with axes parallel to the coordinate axes. Rotated hyperbolas exist but require a more complex equation that includes an xyxy term, which is beyond the scope of this standard form.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18