Hyperbolas Advanced. This lesson goes beyond core Algebra II. You can skip it.
Learning goals
Define a hyperbola by a constant absolute difference of distances
Contrast b2=c2−a2 with the ellipse's flipped subtraction
Let the positive term name the opening axis
Draw the central rectangle, whose diagonals are the asymptotes
Show the curve never touches an asymptote
Read eccentricity above one, with ab=e2−1
The distance condition
Fix two points F1 and F2, the foci, and fix a positive constant. A hyperbola is the set
of points P whose distances to the two foci have that constant absolute difference:
PF1−PF2=2a.
Two details in that sentence do all the work.
The constant is written 2a rather than k purely for convenience, exactly as with the ellipse. The
algebra below turns it into a clean a2, and a will turn out to be the distance from the center to
each turning point of the curve.
The absolute value is what creates two branches. Drop it and you are left with
PF1−PF2=2a, which says “I am 2a closer to F2 than to F1”. That condition describes
only the points on the side of F2: one branch. The equation PF1−PF2=−2a describes the mirror-image
branch on the side of F1. The absolute value accepts both, so a hyperbola is one curve made of two
separate pieces.
How large can the constant be
Not every constant produces a curve. Let 2c be the distance F1F2 between the foci, and pick a
point P of the set that is off the line through the foci, so P, F1, F2 form a real triangle.
In any triangle, one side is always shorter than the sum of the other two, and that squeeze also
bounds how far apart two sides can be: the difference of two sides is always strictly less than the
third side. Applied here, that is ∣PF1−PF2∣<F1F2, so the constant must satisfy 2a<2c,
that is
0<a<c.
The excluded cases are worth naming, because they tell you what a hyperbola is not. If 2a=2c the
only points that qualify lie on the line through the foci, outside the segment joining them, and you
get two rays instead of a curve. If 2a>2c nothing qualifies at all and the set is empty. A real
hyperbola needs 0<a<c, and this is the exact opposite of the ellipse, where the sum condition
forces a>c.
Check your understanding
Foci at (−5,0) and (5,0), with the constant absolute difference set to 6. What is a, and does a genuine two-branch hyperbola exist?
The constant difference is 2a, so 2a=6 gives a=3. Here c=5, half the distance between the foci, and a genuine hyperbola needs 0<a<c. Since 3<5, that holds, so the curve exists with two real branches. The second option uses the constant itself instead of half of it, and that value would also fail a<c. The third option has the right numbers but the wrong verdict: 3<5 is exactly what a valid hyperbola needs, not what disqualifies it. The fourth option adds a and c instead of finding a from the given constant.
From the condition to the equation
Set up coordinates so the foci are F1(−c,0) and F2(c,0), one on each side of the origin. The
origin is then the center of the hyperbola.
Let P(x,y) be a point of the curve. The distance between two points is the hypotenuse of a right
triangle whose legs are the horizontal and vertical separations, so the Pythagorean theorem gives
PF1=(x+c)2+y2,PF2=(x−c)2+y2.
The condition ∣PF1−PF2∣=2a means PF1−PF2 is either 2a or −2a, so carry both at once
with a single sign symbol:
(x+c)2+y2−(x−c)2+y2=±2a.
Two radicals cannot both be removed in one squaring, so isolate one of them first and square:
The y2 terms cancel, and (x+c)2−(x−c)2=4cx, so the whole left side collapses to 4cx:
4cx=4a2±4a(x−c)2+y2.
Divide by 4 and put the surviving radical alone on one side:
cx−a2=±a(x−c)2+y2.
Square a second time. Here the sign symbol disappears, because (±a)2=a2 either way, and that
single fact is why one equation ends up describing both branches at once:
c2x2−2a2cx+a4=a2[(x−c)2+y2]=a2x2−2a2cx+a2c2+a2y2.
The term −2a2cx appears on both sides and cancels. Collecting the rest,
(c2−a2)x2−a2y2=a2c2−a4=a2(c2−a2).
We proved above that c>a, so c2−a2 is a positive number and we are entitled to give it a
name that looks like a square. Define b>0 by
b2=c2−a2.
Substituting, the equation reads b2x2−a2y2=a2b2, and dividing through by the positive
number a2b2 leaves
a2x2−b2y2=1.
The converse. Squaring can invent solutions that the original condition never had, so the argument
is only half finished until we run it backwards. Suppose (x,y) satisfies the boxed equation. Then
y2=a2b2x2−b2, and since b2=c2−a2,
so PF2=acx−a, and the same computation with (x+c)2 gives
PF1=acx+a. The equation forces a2x2=1+b2y2≥1,
so ∣x∣≥a. On the right branch x≥a, hence acx≥c>a and both expressions
inside the absolute values are positive, giving
PF1−PF2=(acx+a)−(acx−a)=2a.
On the left branch x≤−a, both expressions are negative, the two absolute values each flip a sign,
and the same subtraction gives −2a. Either way ∣PF1−PF2∣=2a. So the equation and the distance
condition describe precisely the same set of points, with nothing extra picked up on the way.
∎
The sign flip is the whole story of this chapter, so put the two results side by side and stare at
them. For an ellipse the sum condition forces a>c, and b2=a2−c2. For a hyperbola
the difference condition forces c>a, and
b2=c2−a2,equivalentlyc2=a2+b2.
For a hyperbola c is the largest of the three, and it is the hypotenuse of a right triangle with legs
a and b. For an ellipse a is the largest and it is the hypotenuse. Same three letters, same
Pythagorean relation, different letter in the starring role.
Check your understanding
A hyperbola has foci (±5,0) and vertices (±4,0), so c=5 and a=4. What is b2?
A hyperbola uses b2=c2−a2, not the ellipse's b2=a2−c2. Here c=5 is larger than a=4, as it must be.
b2=52−42=25−16=9
The answer 41 comes from adding instead of subtracting, and 3 is the value of b, not of b2.
Reading the standard form
With the center at the origin and the foci on the x-axis, the hyperbola is
a2x2−b2y2=1,
and every feature can be read straight off it.
Vertices. Set y=0: then x2=a2, so x=±a. The two points (±a,0) are the
vertices, the turning points where each branch is closest to the center. The segment joining them
is the transverse axis, of length 2a.
No y-intercepts. Set x=0: the equation becomes −b2y2=1, which no real y
satisfies. The curve never crosses the y-axis. In fact
a2x2=1+b2y2≥1 forces ∣x∣≥a, so the vertical strip −a<x<a is
completely empty. That gap in the middle is what separates the two branches.
Foci. They sit at (±c,0) where c=a2+b2, so each focus is beyond its vertex:
c>a always.
The conjugate axis. The segment from (0,−b) to (0,b) has length 2b and is called the
conjugate axis, even though it touches no point of the curve. So what is b good for? It sets the
slopes of the two lines the branches chase, which is the next section.
The central rectangle. Draw the rectangle with corners (±a,±b). Its half-width is a and
its half-height is b, so the distance from the center to any corner is a2+b2=c. Swing
a compass from a corner down to the axis and you land exactly on a focus. This rectangle is the fastest
way to sketch a hyperbola by hand.
The dashed central rectangle has half-width a and half-height b. Its diagonals, extended, are the asymptotes, and the distance from the center to a corner is exactly c, which is why the arc from the corner lands on the focus. Each branch turns back at a vertex and then runs off along the diagonals.
The other orientation. Swap the roles of the variables and the branches open up and down:
a2y2−b2x2=1.
Now y=±a at the vertices (0,±a), the foci are (0,±c), and b2=c2−a2 exactly
as before. Which term is positive is what tells you the orientation, and a2 is always the
denominator under the positive term. Nothing anywhere forces a>b for a hyperbola. The curve
4y2−9x2=1 opens up and down even though 9>4, because the y2 term is
the positive one. If you learned “the bigger denominator tells you the axis” from ellipses, unlearn it
here: it is simply false for hyperbolas.
Check your understanding
Which way does 25y2−144x2=1 open, and where are its vertices?
The y2 term is the positive one, so the curve opens up and down, no matter that 144 is the bigger denominator.
a2=25⟹a=5
Since a2 always sits under the positive term, a=5 and the vertices are (0,±5). Setting x=0 confirms it: 25y2=1 gives y=±5.
Worked example 1Read everything off 9x2−16y2=1
The x2 term is positive, so the branches open left and right and a2 is the denominator under it:
a2=9 and b2=16, giving a=3 and b=4.
The vertices are (±3,0) and the transverse axis has length 2a=6. That 6 is also the
constant in the definition: every point of this curve is exactly 6 units further from one focus than
from the other.
For the foci, use the hyperbola’s relation (add, do not subtract):
c2=a2+b2=9+16=25⟹c=5.
So the foci are (±5,0), safely outside the vertices at (±3,0), as c>a requires. The
eccentricity is e=ac=35, and the asymptotes, derived in the next section, are
y=±abx=±34x.
Notice that b=4 is larger than a=3. That is perfectly legal, and it does not change the
orientation one bit.
Worked example 2Build the equation from the foci and the constant difference
Find the equation of the hyperbola whose foci are (0,±5) and for which the absolute difference of
the distances to the foci is 6.
The foci lie on the y-axis, so the branches open up and down and the form is
a2y2−b2x2=1. Reading the foci gives c=5.
The constant difference is 2a by definition, so
2a=6⟹a=3.
Check the legality condition first: a=3 is less than c=5, so a genuine hyperbola exists. Now
find b2 with the hyperbola relation:
b2=c2−a2=25−9=16.
The equation is
9y2−16x2=1.
Its asymptotes are y=±bax=±43x, with slope ba and not
ab, because this hyperbola opens vertically. Here a=3 is smaller than b=4, and the
larger denominator 16 sits under the negative term. Orientation is decided by the sign, never by
the size.
Why the curve hugs two lines
Look at the upper half of the right branch and solve the standard equation for y:
Now set that beside the straight line y=abx, which is the same formula with the −a2
thrown away. Since x2−a2<x2 and both sides are nonnegative, x2−a2<x, so the
curve runs strictly below the line. The vertical gap between them at a given x is
gap(x)=abx−abx2−a2=ab(x−x2−a2).
A number minus a radical is exactly the shape that a radical conjugate flattens. Multiply and
divide by x+x2−a2, which is positive for every x≥a, so it is legal:
The difference of two square roots has turned into a difference of squares, which is the entire point
of the conjugate trick. Multiplying by ab gives an exact formula for the gap:
gap(x)=x+x2−a2ab
This one identity settles everything, with no appeal to infinity anywhere.
The gap is never zero. The numerator ab is a fixed positive number and the denominator is a
positive real number for every x≥a, so gap(x)>0 at every single x. The curve stays
strictly below the line forever; it never touches it and never crosses it.
The gap can be made as small as you please. Since x2−a2≥0, the denominator is at
least x, so
gap(x)≤xab.
That single inequality says the gap shrinks at least as fast as xab does, and xab
can be pushed below any number you name just by making x big enough. Challenge it to get under
0.001: once x is bigger than both a and 0.001ab, the bound xab is already
under 0.001, so the true gap is even smaller. However small a distance you challenge it to beat,
going far enough out along the branch always beats it. That is the entire content of the claim that
the curve “approaches” the line.
Here are the numbers for 9x2−16y2=1, where a=3, b=4, and so
ab=12:
x
line 34x
curve 34x2−9
gap =x+x2−912
3
4
0
4
5
6.667
5.333
1.333
10
13.333
12.719
0.614
30
40
39.799
0.201
100
133.333
133.273
0.060
1000
1333.333
1333.327
0.006
The gap never reaches 0, and it never rises above the bound x12: the two are equal exactly
at the vertex, where the radical vanishes, and the gap falls strictly below the bound at every row
after that.
The upper right of a hyperbola against the line through the center with slope b over a. The vertical gaps (marked) shrink steadily but stay positive, because the gap equals ab divided by a denominator you can make as large as you like (it is at least x).
By symmetry, the equation contains only x2 and y2, so whatever happens in the first quadrant is
mirrored in the other three. The lower half of the right branch chases y=−abx, and the
left branch chases both lines on its side. Those two lines,
y=±abx,
are the asymptotes of the hyperbola.
The shortcut, and why it works. To find the asymptotes, replace the 1 on the right with 0:
a2x2−b2y2=0⟺(ax−by)(ax+by)=0⟺y=±abx.
That is not a coincidence. The hyperbola itself factors the same way, into
(ax−by)(ax+by)=1, which says the two
factors are reciprocals of each other. Far out along a branch one factor is large, so the other must
be tiny, meaning the point very nearly satisfies one of the two linear equations. The vertical-gap
computation above is the precise version of that idea.
For the vertical form a2y2−b2x2=1 the same replacement gives
a2y2=b2x2, so the asymptotes are y=±bax. The slope is
ba this time. Rather than memorizing which fraction goes with which picture, set the right
side to 0 and solve; it works for both.
Sketching by hand. The diagonals of the central rectangle have slope ±ab and pass
through the center, so the diagonals are the asymptotes. Draw the rectangle, extend its diagonals,
mark the vertices, and sweep each branch from its vertex out along the diagonals. That is the whole
sketching procedure.
Check your understanding
For 16x2−9y2=1, use the central rectangle to find the asymptotes.
Here a2=16 so a=4, and b2=9 so b=3. The central rectangle has half-width a=4 and half-height b=3, and its diagonals, extended, are the asymptotes: since the x2 term is positive, the slope is ab=43, giving y=±43x. The second option inverts the slope, borrowing the rule for a vertically opening hyperbola. The third adds an intercept the asymptotes do not have, since they pass through the center. The fourth uses the denominators themselves instead of their square roots.
Check your understanding
For 9x2−16y2=1 (so a=3, b=4), how far below the asymptote is the curve at x=5?
Use the exact gap identity gap(x)=x+x2−a2ab with a=3, b=4, and x=5. First 25−9=4.
gap(5)=5+43⋅4=912=34
Check it directly: the line is at 34(5)=320 and the curve is at 3416=316, and the difference is 34. The gap is small but never 0.
Rectangular hyperbolas
When a=b the central rectangle is a square, and the asymptotes are
y=±abx=±x,
whose slopes 1 and −1 multiply to −1: the two asymptotes are perpendicular. Such a hyperbola
is called rectangular (or equilateral), and its equation can be written x2−y2=a2.
Every rectangular hyperbola has the same eccentricity, whatever its size, because
c2=a2+b2=2a2⟹c=a2⟹e=ac=2.
You have already met a rectangular hyperbola without being told. The graph of y=x1 from
the rational functions chapter, with the two coordinate axes as its asymptotes, is a rectangular
hyperbola resting on its side. That curve is a turned copy of x2−y2=2.
Hyperbolas with a shifted center
Moving the center from the origin to (h,k) uses the same replacement rule as every other graph
transformation: put x−h where x was and y−k where y was.
a2(x−h)2−b2(y−k)2=1
has center (h,k), vertices (h±a,k), foci (h±c,k), and asymptotes
y−k=±ab(x−h).
Everything is measured from the new center; nothing else changes. An equation of the form
Ax2+Cy2+Dx+Ey+F=0 with A and Copposite in sign is a hyperbola or, in one
degenerate case, a pair of intersecting lines. To find out which, group the terms, complete the square,
and divide. The degenerate case is exactly the one where the constant lands on 0. Then you are left
with a2(x−h)2=b2(y−k)2, a difference of squares equal to zero, which factors
into the two asymptote lines and is not a hyperbola at all.
Worked example 3Put 9x2−16y2−54x−64y−127=0 into standard form
Group the x terms and the y terms, move the constant across, and factor out the leading
coefficients:
9(x2−6x)−16(y2+4y)=127.
Complete each square inside its own bracket. For x2−6x, half of −6 is −3 and (−3)2=9, so
add 9 inside. For y2+4y, half of 4 is 2 and 22=4, so add 4 inside.
Now the step everyone rushes. Adding 9 inside the first bracket really adds 9⋅9=81 to the
left side, so add 81 to the right. Adding 4 inside the second bracket adds
(−16)⋅4=−64 to the left side, because that bracket is multiplied by −16. So the right side
must gain −64 as well, not +64:
9(x2−6x+9)−16(y2+4y+4)=127+81−64=144.
Write the completed squares and divide by 144:
9(x−3)2−16(y+2)2=144⟹16(x−3)2−9(y+2)2=1.
The center is (3,−2), with a2=16 and b2=9, so a=4 and b=3. The x term is
positive, so the branches open left and right: the vertices are (3±4,−2), that is (7,−2) and
(−1,−2). Then
c2=a2+b2=16+9=25⟹c=5,
so the foci are (8,−2) and (−2,−2), and the asymptotes are
y+2=±43(x−3). The eccentricity is e=45.
Eccentricity
The eccentricity of a hyperbola is the same ratio used for the other conics:
e=ac.
Because c>a for every hyperbola, e>1 always. That single inequality is what sorts these two
conic sections: an ellipse has 0≤e<1 (its c is smaller than its a), and a hyperbola has
e>1. Push a conic’s eccentricity up past 1 and the closed oval bursts open into two branches.
Check your understanding
A hyperbola has vertices (±6,0) and foci (±10,0). What is its eccentricity, and what does that confirm?
Eccentricity is always e=ac. Here a=6 and c=10, so
e=ac=610=35
Because c>a for every hyperbola, that ratio is always bigger than 1, exactly as it should be here. The second option inverts the fraction; the third has the inequality backwards, borrowing the ellipse's e<1 rule where it does not belong; the fourth subtracts a from c instead of dividing, but eccentricity is a ratio, not a difference.
Eccentricity also controls the shape directly. Divide b2=c2−a2 by a2:
a2b2=a2c2−1=e2−1⟹ab=e2−1.
Read that carefully, because the ratio and the slope are not the same thing in both orientations. The
identity ab=e2−1 holds for every hyperbola. It is the asymptote slope for the
horizontal form a2x2−b2y2=1, whose slopes are ±ab. For the
vertical form a2y2−b2x2=1 the slopes are ±ba, the reciprocal,
so there the slope is e2−11 instead. Worked example 2 is the check:
9y2−16x2=1 has e=35 and e2−1=34, while its
asymptote slope is the reciprocal 43.
Check your understanding
A vertical hyperbola has e=513. What is ab, and what is the actual asymptote slope for this orientation?
ab=e2−1=(513)2−1=25169−2525=25144=512. That ratio always equals e2−1, but it is only the asymptote slope for a horizontally opening hyperbola. This one opens vertically, so the slope is the reciprocal, ba=125. The second option uses ab directly as the slope, forgetting the orientation flip; the third miscalculates the square root; the fourth mistakes ab for e itself.
Take a horizontal hyperbola and watch the shape follow e. When e is just above 1 the slope
e2−1 is close to 0, the asymptotes are nearly flat, and the branches are narrow and
sharply pointed. As e grows the branches flare open. A vertical hyperbola with the same e is the
same picture turned a quarter turn. That hyperbola’s asymptotes are nearly vertical rather
than nearly flat, and its branches are just as narrow, because either way they hug their own
transverse axis. A rectangular hyperbola has a=b, so e2−1=1 and e=2,
matching what we found above, and that is the one case where the two orientations agree on the slope.
Eccentricity is not only a shape number. Substituting e=ac into the converse computation
from the proof turns PF1=acx+a and PF2=acx−a
into PF1=∣ex+a∣ and PF2=∣ex−a∣: exact formulas for both focal distances, written with e
in place of c.
Worked example 4Find the hyperbola with asymptotes y=±32x through (6,23)
A hyperbola centered at the origin with asymptote slopes ±32 could open either way, so try
the horizontal form first and let the algebra confirm or reject it. For
a2x2−b2y2=1 the slopes are ±ab, so ab=32
gives b=32a and therefore b2=94a2.
Substitute the point (6,23), whose square is y2=4⋅3=12:
a236−94a212=1⟹a236−a227=1⟹a29=1.
So a2=9 and b2=94(9)=4, and the hyperbola is
9x2−4y2=1.
Check the point: 936−412=4−3=1. It works.
Was the guess about the orientation lucky? No, it was forced. Had we tried the vertical form
A2y2−B2x2=1, its slopes are ±BA=±32, so
B2=49A2, and the point would demand
A212−49A236=A212−A216=−A24=1,
which needs A2=−4 and is impossible. Asymptotes alone never fix the orientation; the point
does. Geometrically, (6,23)≈(6,3.46) sits below the line y=32x, which
passes through (6,4), so it lies in the left-right region between the asymptotes, where only the
horizontal hyperbola lives.
Common mistakes
Practice
Multiple Choice Questions (MCQ)
Progressively harder sets of questions. Each opens on its own page.
Practice problems at the level of the course, to be worked out on paper. Hints one at a
time, then the answer or the full worked solution, with your progress kept in this browser.
Out of sight of land, a ship used to be lost in a very particular way. The crew knew their heading
and their speed, so they could work out roughly how far they had traveled. Small errors piled up
over days, the estimate drifted, and there was nothing on open water to check it against. Fog or
cloud took away even the stars.
Radio changed that during the Second World War. One station on the coast fires a pulse, and a partner
station far along the coast answers after a fixed, published delay. A receiver at sea cannot tell how
far away either station is, and it never tries. It measures one thing only: the gap between the two
arrivals, with that known delay subtracted back out.
That gap is a difference of distances, and this lesson has already told you what a fixed difference
means. The ship lies somewhere on a hyperbola whose foci are the two stations. One curve is not a
position, so a second pair of stations supplies a second hyperbola, and the ship is where the two
curves cross. Navigators knew the system as LORAN, and the curves were printed straight onto the
charts, a fan of them for every pair.
Watch how much work the sign of that corrected gap is doing. It says which of the two stations is
nearer, and that alone picks one branch out of the two. Strip the sign away and what remains is the
absolute value this lesson began with, which accepts both branches and cannot tell them apart.