Quarry School

Vertical asymptotes and holes

Subject: MathematicsLeans on: Factoring a trinomialLeans on: Difference of squaresLeans on: A product equal to zeroLeans on: CancelingLeans on: The domain comes from the original bottomLeans on: Dividing by a small numberLeans on: Signs when dividingLeans on: Dividing by zeroLeans on: Arrow notation
Level 2 · BuildingAbout 27 min read4 new termsKeystone idea. Later lessons build on this one.
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Picture a long sidewalk.

    Rule

    Factor the top and the bottom and cancel every common factor. If x = a still makes the bottom zero after canceling, the line x = a is a vertical asymptote. If x = a makes the original bottom zero but no longer makes the simplified bottom zero, the graph has a hole (a removable discontinuity) at x = a, and the height of the hole is the value of the simplified formula at a.

    Step

    1. Factor the top and the bottom completely.

    2. Set the original bottom equal to 0 and solve. These are the inputs the function cannot take. Every break in the graph sits at one of them.

    3. Cancel every factor that appears in both the top and the bottom. Write the simplified formula, and keep a note of every input you excluded in step 2.

    4. Test each excluded input in the simplified bottom. If the bottom is still zero there, the line x = a is a vertical asymptote.

    5. If the simplified bottom is no longer zero there, the graph has a hole at x = a. Plug a into the simplified formula to get the height b, and write the hole as the point (a, b).

    6. Count. The vertical asymptotes and the holes together must account for every excluded input from step 2.

    Question

    Find the vertical asymptote of g(x) = x+1x−4 and describe each side of it in arrow notation. In plain words: find the input where the outputs run away without limit, then say which way they run on each side.

    Answer

    Vertical asymptote: x = 4
    As x → 4+, g(x) → ∞
    As x → 4−, g(x) → −∞

    Strategy

    1. Factor the top and the bottom completely.

    2. Set the original bottom equal to 0 and list every solution. These inputs are out of the domain.

    3. Cancel the factors shared by the top and the bottom, and write the simplified formula with a note of the excluded inputs.

    4. For each excluded input a, check the simplified bottom. Still zero: vertical asymptote x = a.

    5. Not zero any more: hole at x = a. Plug a into the simplified formula for the height.

    6. Count: walls plus holes must equal the number of excluded inputs.

    Trap

    The most common mistake is to stop at the domain: you find the zeros of the bottom and call every one of them a vertical asymptote. Some of them may be holes. Always factor and cancel first, then sort each excluded input by whether it still makes the simplified bottom zero. Still zero means a wall. No longer zero means a hole, with its height taken from the simplified formula.

    Term

    rational function

    Definition

    A function written as a fraction: one polynomial on top, another polynomial on the bottom. It is defined everywhere except where the bottom equals zero.

    Term

    vertical asymptote

    Definition

    A vertical line x = a that the graph shoots up or down beside and never touches. It sits at an input where the bottom is zero after canceling. Say it AS-im-toht.

    Term

    removable discontinuity

    Definition

    A single missing point in a graph, also called a hole. It appears when a factor (x − a) cancels from top and bottom with no copy of it left in the bottom: the curve looks unbroken, but that one input has no output.

    Term

    arrow notation

    Definition

    Shorthand for a trend. x → 2 means x moves toward 2. A raised plus or minus means from the right or the left. f(x) → ∞ means outputs grow without end.

    1 In plain words

    Picture a long sidewalk. In the last lesson you found the inputs where the bottom of a rational function is zero: places where the sidewalk has no pavement. This lesson sorts those places into two kinds. One kind is a wall. Near it the graph shoots straight up or straight down, hugging an invisible vertical line it never touches. That line is called a vertical asymptote. The other kind is a missing paving stone: one single point is gone, and the path carries on at the same height on the other side. That is called a hole. To tell which one you have, factor the top and the bottom. A factor (x − a) that cancels away, with no copy of it left in the bottom, leaves a hole at x = a. A factor (x − a) that stays in the bottom builds a wall at x = a.

    2 Picture it

    hole (4, 1/2)−2246−4−224hole (4, 1/2)−2−1123456−4−224
    The graph of f(x) = x−4x2−6x+8 has a wall at x = 2, where the curve runs off the page.

    Reminder

    Reminder: Factoring a trinomial, Difference of squares, A product equal to zero, Canceling, The domain comes from the original bottom, Dividing by a small number, Signs when dividing, Dividing by zero, Arrow notation
    • Factoring a trinomial. For x2 + bx + c, find two numbers that multiply to c and add to b: x2 − 4x + 3 = (x − 1)(x − 3), since (−1)(−3) = 3 and −1 + (−3) = −4.
    • Difference of squares. a2 − b2 = (a − b)(a + b), so x2 − 9 = (x − 3)(x + 3).
    • A product equal to zero. A product is zero only when one of its factors is zero: (x − 1)(x − 3) = 0 gives x = 1 or x = 3.
    • Canceling. Only factors cancel, meaning pieces joined by multiplication: 2(x−3)(x−1)(x−3) = 2x−1. Pieces joined by + or − do not cancel.
    • The domain comes from the original bottom. Find the excluded inputs before you cancel: x−3(x−1)(x−3) excludes both 1 and 3, even though it simplifies to 1x−1.
    • Dividing by a small number. With a positive top, the smaller a positive bottom, the bigger the result: 2 ÷ 0.1 = 20 and 2 ÷ 0.01 = 200.
    • Signs when dividing. A positive divided by a negative is negative: 2 ÷ (−0.01) = −200.
    • Dividing by zero. No number divided by 0 has a value, and 0 ÷ 0 has no value either.
    • Arrow notation. x → 1+ means x moves toward 1 through numbers a little bigger, such as 1.1 and 1.01. x → 1− means through numbers a little smaller, such as 0.9 and 0.99.

    3 Why

    Near a zero of the bottom that survives canceling, the top is close to some number that is not zero, while the bottom is close to zero. A fixed number divided by a tiny number is huge: 2 ÷ 0.1 = 20, 2 ÷ 0.01 = 200. So the outputs grow without limit. A factor that cancels with no copy of it left in the bottom acts differently. The fraction x−3x−3 equals exactly 1 for every x except 3, so removing it changes nothing anywhere else. Only at x = 3 does the original formula read 0 ÷ 0, which has no value. One point is missing.

    4 The rule

    Factor the top and the bottom and cancel every common factor.

    If x = a still makes the bottom zero after canceling, the line x = a is a vertical asymptote. If x = a makes the original bottom zero but no longer makes the simplified bottom zero, the graph has a hole (a removable discontinuity) at x = a, and the height of the hole is the value of the simplified formula at a.

    The same idea, five ways

    Say it

    the line x equals 1 is a vertical asymptote. Say it: there is a hole at the point 3 comma 1. For the wall you can also say: as x approaches 1 from the right, f of x goes to infinity.

    Write it

    Near a vertical asymptote the outputs grow without limit, positive or negative, and the graph never touches the line. At a hole the graph is missing exactly one point and is unbroken on both sides of it.

    In math
    • vertical asymptote: x = 1
    • as x → 1+, f(x) → ∞
    • as x → 1−, f(x) → −∞
    • hole at (3, 1)
    • f(x)=2x−1,x≠3
    Like

    A vertical asymptote is a cliff face the path climbs beside and never crosses. A hole is one missing paving stone in a sidewalk that otherwise carries on at the same level.

    See it
    hole (3, 1)−224−6−4−2246
    This is f(x) = 2x−6x2−4x+3.

    The same idea, other ways

    As a picture

    Look at the graph of f(x) = x−4x2−6x+8. The bottom factors as (x − 2)(x − 4), so it is zero at 2 and at 4. At x = 2 the curve runs up on one side and down on the other beside a dashed vertical line: a wall. At x = 4 the curve passes straight through with one dot removed at height 12: a hole. Two zeros of the bottom, two different pictures.

    hole (4, 1/2)−2246−4−224
    The wall stands at x = 2, where the curve runs off the page.
    As a story

    You are walking a sidewalk, and the map says the pavement is missing at two addresses. At the first address a cliff face blocks the way. The path bends up the cliff and you cannot follow it across. At the second address one paving stone is gone. You step over the gap and keep walking at the same level. A vertical asymptote is the cliff. A hole is the missing stone.

    With small numbers, at the wall

    Take 1x−2 and feed it inputs closer and closer to 2. In the table, read the outputs from the outside columns toward the middle: 10, 100, 1000 on the right side and −10, −100, −1000 on the left side. Each step ten times closer to 2 makes the output ten times farther from 0. The outputs never settle on a number. That is what a vertical asymptote looks like in numbers.

    input xoutput 1/(x − 2)1.9−101.99−1001.999−10002.00110002.011002.110
    Read from the outside columns toward the middle.
    With small numbers, at the hole

    Now take f(x) = x−4x2−6x+8 and feed it inputs near 4. In the table, the outputs on both sides settle toward 0.5. The column under 4 has no output at all, because the formula reads 0 ÷ 0 there. Outputs that settle toward one number, with one input left out: that is what a hole looks like in numbers.

    input xoutput f(x)3.90.5263.990.5034none4.010.4984.10.476
    The outputs, rounded to three decimal places, close in on 0.5 from both sides.
    As a rule of thumb

    Cancels out: hole. Stays down: wall. If the factor that makes the bottom zero cancels completely out of the bottom, you get a hole. If any copy of it stays down in the bottom, you get a vertical asymptote.

    QuestionVertical asymptote (wall)Hole (missing point)
    What happened to the factor (x − a)?At least one copy stays in the bottom after cancelingIt cancels completely out of the bottom
    What do outputs do near a?They grow without limit, toward ∞ or toward −∞They settle toward one number from both sides
    What does the graph look like?The curve climbs or dives beside a dashed vertical lineAn unbroken curve with one open circle
    How do you write it?As a line: x = aAs a point: (a, b)
    Formal namevertical asymptoteremovable discontinuity

    Part 1: The vertical asymptote: a wall

    A vertical asymptote is an invisible up-and-down line that the graph runs beside and never touches. Think of a cliff face next to a trail. As you walk toward the cliff, the trail turns steeper and steeper until it is climbing almost straight up, or dropping almost straight down. The graph cannot touch the line, because the function has no output at that input.

    • Where: at x = a when the factor (x − a) is still in the bottom after canceling.
    • Written as: the equation x = a. It is a line, so it gets an equation, not a point.
    • Outputs near a: grow without limit, toward ∞ or toward −∞.
    • The two sides may go opposite ways, as in 1x−2, or the same way, as in 1(x−2)2.
    • Arrow notation: as x → a+ or x → a−, f(x) → ∞ or f(x) → −∞.
    • The graph never touches it, because a is not in the domain.
    • A rational function may have none, one or several.
    −2246−4−224
    The graph of 1x−2 climbs on the right of the dashed vertical line x = 2 and dives on the left of it.

    Worked example

    A wall with nothing to cancel

    Find the vertical asymptote of g(x) = x+1x−4 and describe each side of it in arrow notation. In plain words: find the input where the outputs run away without limit, then say which way they run on each side.

    Show the steps and the answer
    input xoutput g(x)3.9−493.99−4993.999−49994.00150014.015014.151
    On both sides of 4 the outputs grow about ten times larger with each step closer.
    1. Set the bottom equal to 0: x−4=0, so x=4.This finds the one input that makes the bottom zero, the only place the graph can break. Plug back in: 4 − 4 = 0.
    2. Evaluate the top at x = 4: 4+1=5.The top is not zero at 4, so (x − 4) is not a factor of the top and nothing cancels.
    3. State the vertical asymptote: x=4.The factor (x − 4) stays in the bottom. Near 4 the top is about 5 and the bottom is tiny, so the outputs are huge.
    4. Right side: try x=4.01. g(4.01)=5.010.01=501. So as x→4+,g(x)→∞.A little right of 4 the bottom is a small positive number, and a positive top over a small positive bottom is large and positive.
    5. Left side: try x=3.99. g(3.99)=4.99−0.01=−499. So as x→4−,g(x)→−∞.A little left of 4 the bottom is a small negative number, and a positive divided by a negative is negative.
    Answer
    • Vertical asymptote: x = 4
    • As x → 4+, g(x) → ∞
    • As x → 4−, g(x) → −∞
    Double-check Look at the table. Reading toward the middle from the right, the outputs are 51, 501, 5001: growing and positive. Reading toward the middle from the left, they are −49, −499, −4999: growing and negative. Nothing settles, so x = 4 is a wall, and the signs match the arrows.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The asymptote of g(x) = x+1x−4 is at x = −1, because that is where the top is zero.
    A zero of the top gives the output 0, which is an ordinary value: g(−1) = 0−5 = 0. Walls come from zeros of the bottom, not zeros of the top.
    ✓ Instead: The bottom is zero at x = 4 and nothing cancels, so the vertical asymptote is x = 4.

    Tips and tricks

    • Draw a vertical asymptote as a dashed line, so nobody mistakes it for part of the graph.
    • To find which way each side goes, plug in one input to the right of a and one to the left, each closer to a than any other zero of the top or bottom, and read the sign of each output.

    Part 2: The hole: one missing point

    A hole is a single point removed from an otherwise unbroken graph. Think of one paving stone lifted out of a sidewalk: the path on both sides is at the same level, and only that one spot is gone. Its formal name is removable discontinuity. A discontinuity is a break in a graph. This one is called removable because filling in that one point would repair the break completely.

    • Where: at x = a when the factor (x − a) cancels completely out of the bottom.
    • Written as: the point (a, b), where b is the value of the simplified formula at a.
    • Outputs near a: settle toward the single number b from both sides.
    • At a itself: no output. The original formula reads 0 ÷ 0.
    • On paper: a small open circle on the curve.
    • Formal name: removable discontinuity.
    hole (−3, −6)−8−6−4−224−10−8−6−4−22
    The graph of x2−9x+3 is the line y = x − 3 with the single point (−3, −6) removed.

    Worked example

    A line with one point missing

    Find the hole of h(x) = x2−9x+3 and say what the rest of the graph looks like. In plain words: find the one input where the formula reads 0 ÷ 0, and the height the graph would have had there.

    input xoutput h(x)−3.1−6.1−3.01−6.01−3none−2.99−5.99−2.9−5.9
    A table of 5 values of h(x), for x from −3.1 to −2.9.
    Show the steps and the answer
    input xoutput h(x)−3.1−6.1−3.01−6.01−3none−2.99−5.99−2.9−5.9
    The outputs close in on −6 from both sides, and the column under −3 is empty.
    1. Set the bottom equal to 0: x+3=0, so x=−3.This finds the one input the function cannot take. Plug back in: −3 + 3 = 0.
    2. Evaluate the top at x = −3: (−3)2−9=9−9=0.The top and the bottom are both zero, so the formula reads 0 ÷ 0. That signals a shared factor.
    3. Factor the top: x2−9=(x−3)(x+3).It is a difference of squares, x2 − 32.
    4. Cancel (x+3): h(x)=(x−3)(x+3)x+3=x−3, for x≠−3.x+3x+3 is 1 for every x except −3. The note x ≠ −3 records that −3 is still not allowed.
    5. Look at the simplified formula x−3. Its bottom is 1, which is never zero. So x=−3 is a hole, not a wall.The factor that made the bottom zero left the bottom completely.
    6. Find the height: −3−3=−6. The hole is at (−3,−6).The graph follows y = x − 3 everywhere else, so the missing point is where that line would be at x = −3.
    Answer
    • Hole: (−3, −6)
    • The graph is the line y = x − 3 with that one point removed
    • Vertical asymptotes: none
    Double-check Use the original formula on both sides of −3. h(−2.9) = 8.41−90.1 = −0.590.1 = −5.9 and h(−3.1) = 9.61−9−0.1 = 0.61−0.1 = −6.1. The outputs close in on −6 from both sides and do not blow up. The table shows the same thing even closer in.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: h(−3) = −6, because the simplified formula x − 3 gives −6.
    The function h has no value at −3: the original formula reads 0 ÷ 0 there. The number −6 is the height where the point would have been.
    ✓ Instead: h(−3) is undefined. The hole is at the point (−3, −6).

    Tips and tricks

    • The height of a hole always comes from the simplified formula. The original formula can only give you 0 ÷ 0.
    • Draw a hole as a small open circle sitting on the curve.

    5 How

    1. Factor the top and the bottom completely.
    2. Set the original bottom equal to 0 and solve. These are the inputs the function cannot take. Every break in the graph sits at one of them.
    3. Cancel every factor that appears in both the top and the bottom. Write the simplified formula, and keep a note of every input you excluded in step 2.
    4. Test each excluded input in the simplified bottom. If the bottom is still zero there, the line x = a is a vertical asymptote.
    5. If the simplified bottom is no longer zero there, the graph has a hole at x = a. Plug a into the simplified formula to get the height b, and write the hole as the point (a, b).
    6. Count. The vertical asymptotes and the holes together must account for every excluded input from step 2.

    Sorting each zero of the bottom into a wall or a hole

    1
    Does x = a make the original bottom zero?
    YesThen a is not in the domain and the graph breaks there. Go on.
    NoNothing breaks at a. The graph passes through as usual.
    ↓
    2
    Does x = a also make the top zero?
    YesYou have 0 ÷ 0. Factor the top and the bottom, cancel the common factor, and go on.
    NoThe factor that makes the bottom 0 here cannot cancel. Vertical asymptote: the line x = a.
    ↓
    3
    After canceling, does x = a still make the bottom zero?
    YesVertical asymptote: the line x = a.
    NoHole at x = a. Plug a into the simplified formula to get its height.
    1. Factor the top and the bottom completely.
    2. Set the original bottom equal to 0 and list every solution. These inputs are out of the domain.
    3. Cancel the factors shared by the top and the bottom, and write the simplified formula with a note of the excluded inputs.
    4. For each excluded input a, check the simplified bottom. Still zero: vertical asymptote x = a.
    5. Not zero any more: hole at x = a. Plug a into the simplified formula for the height.
    6. Count: walls plus holes must equal the number of excluded inputs.

    6 Worked example

    Worked example

    One wall and one hole in the same function

    Find every vertical asymptote and every hole of f(x) = 2x−6x2−4x+3. In plain words: find each input where the graph breaks, and say whether the break is a wall or a single missing point.

    hole (3, 1)−224−6−4−2246
    The curve is y = 2x−1.
    Show the steps and the answer
    1. Factor the top: 2x−6=2(x−3).Both terms share a 2. Pulling it out shows the factor (x − 3).
    2. Factor the bottom: x2−4x+3=(x−1)(x−3).You need two numbers that multiply to 3 and add to −4. Those are −1 and −3.
    3. Set the original bottom equal to 0: (x−1)(x−3)=0, so x=1 or x=3.This finds the inputs that make the bottom zero, the only places the graph can break. Plug back in: 12 − 4(1) + 3 = 0 and 32 − 4(3) + 3 = 9 − 12 + 3 = 0.
    4. Cancel the common factor (x−3): f(x)=2(x−3)(x−1)(x−3)=2x−1, for x≠3.x−3x−3 is 1 for every x except 3. The note x ≠ 3 keeps the record that 3 is still not allowed.
    5. Test x=1 in the simplified bottom: 1−1=0. Still zero, so x=1 is a vertical asymptote.The factor (x − 1) did not cancel. Near 1 the top is 2 and the bottom is tiny, so the outputs are huge.
    6. Test x=3 in the simplified bottom: 3−1=2. Not zero, so there is a hole at x=3.The factor that made the bottom zero at 3 canceled away, so the simplified formula has an ordinary value there.
    7. Find the height of the hole: 23−1=22=1. The hole is at (3, 1).The graph follows the simplified formula everywhere else, so the missing point sits where that formula would have put it.
    8. Describe the wall in arrow notation: as x→1+,f(x)→∞, and as x→1−,f(x)→−∞.A little right of 1 the bottom x − 1 is a small positive number, and 2 over a small positive number is large and positive. A little left of 1 the bottom is a small negative number, so the output is large and negative.
    Answer
    • Vertical asymptote: x = 1
    • Hole: (3, 1)
    Double-check Use the original formula on a calculator. Near 1: f(1.01) = 2(1.01)−61.012−4(1.01)+3 = −3.98−0.0199 = 200 and f(0.99) = −4.020.0201 = −200. Huge outputs with opposite signs: a wall, with the signs the arrows predicted. Near 3: f(2.9) = −0.2−0.19 ≈ 1.053 and f(3.1) = 0.20.21 ≈ 0.952. Both sit close to 1: a hole at height 1. Two excluded inputs, one wall and one hole, so every one is accounted for.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 6

    Nothing to cancel

    Find the vertical asymptotes and holes of f(x) = 3x−5. In plain words: where does the bottom hit zero, and is that spot a wall or a missing point?

    Show the steps and the answer
    246810−8−448
    The curve climbs on the right of the dashed vertical line x = 5 and dives on the left of it.
    1. Set the bottom equal to 0: x−5=0, so x=5.This finds the only input that can break the graph. Plug back in: 5 − 5 = 0.
    2. Look for a common factor. The top is the number 3, which has no factor (x−5).Nothing can cancel, so the factor (x − 5) stays in the bottom.
    3. Conclude: x=5 is a vertical asymptote, and there are no holes.A zero of the bottom that survives canceling is a wall.
    Answer
    • Vertical asymptote: x = 5
    • Holes: none
    Double-check f(5.1) = 30.1 = 30 and f(5.01) = 30.01 = 300. On the other side, f(4.9) = 3−0.1 = −30. The outputs get huge as x closes in on 5: a wall.

    Rung 2 of 6

    Only a hole

    Find the vertical asymptotes and holes of f(x) = x2+2xx. In plain words: find where the bottom is zero, then decide whether the graph blows up there or only loses one point.

    hole (0, 2)−4−224−2246
    The graph is the line y = x + 2 with the single point (0, 2) removed, shown by the open circle there.
    Show the steps and the answer
    1. Set the bottom equal to 0: x=0.The bottom is x itself, so it is zero exactly when x is 0. That is the only excluded input.
    2. Factor the top: x2+2x=x(x+2).Both terms contain an x, so x comes out front. Multiply back to confirm: x · x + x · 2 = x2 + 2x.
    3. Cancel the common factor x: f(x)=x(x+2)x=x+2, for x≠0.xx is 1 for every x except 0.
    4. Look at the simplified formula x+2. Its bottom is 1, not zero, so x=0 is a hole.The factor that made the bottom zero left the bottom completely.
    5. Find the height: 0+2=2. The hole is at (0, 2).The hole sits where the simplified formula would have put the point.
    Answer
    • Vertical asymptotes: none
    • Hole: (0, 2)
    Double-check From the original formula, f(0.1) = 0.01+0.20.1 = 0.210.1 = 2.1 and f(−0.1) = 0.01−0.2−0.1 = −0.19−0.1 = 1.9. Both sides close in on 2 and nothing blows up: a hole at height 2.

    Rung 3 of 6

    One wall and one hole

    Find the vertical asymptotes and holes of f(x) = x+3x2+x−6. In plain words: find the two inputs that make the bottom zero and sort each one into wall or hole.

    Show the steps and the answer
    hole−4−2246−4−224
    The wall stands at x = 2, and the open circle at (−3, −15), a little below the x-axis.
    1. Factor the bottom: x2+x−6=(x+3)(x−2).You need two numbers that multiply to −6 and add to 1. Those are 3 and −2.
    2. Set the bottom equal to 0: (x+3)(x−2)=0, so x=−3 or x=2.This finds the excluded inputs. Plug back in: (−3)2 + (−3) − 6 = 9 − 3 − 6 = 0 and 22 + 2 − 6 = 0.
    3. Cancel (x+3): f(x)=x+3(x+3)(x−2)=1x−2, for x≠−3.When the whole top cancels, a 1 is left on top, not a 0, because x+3x+3 is 1.
    4. Test x=2 in the simplified bottom: 2−2=0. Still zero, so x=2 is a vertical asymptote.The factor (x − 2) stayed in the bottom.
    5. Test x=−3 in the simplified bottom: −3−2=−5. Not zero, so there is a hole at x=−3.The factor (x + 3) canceled completely.
    6. Find the height: 1−3−2=1−5=−15. The hole is at (−3,−15).Plug the excluded input into the simplified formula, never into the original.
    Answer
    • Vertical asymptote: x = 2
    • Hole: (−3, −15)
    Double-check Original formula near −3: f(−2.9) = 0.18.41−2.9−6 = 0.1−0.49 ≈ −0.204, close to −15 = −0.2. Near 2: f(2.1) = 5.14.41+2.1−6 = 5.10.51 = 10 and f(2.01) = 5.010.0501 = 100. The outputs settle near −3 and blow up near 2.

    Rung 4 of 6

    Factor both the top and the bottom

    Find the vertical asymptotes and holes of f(x) = x2−5x+4x2−1. In plain words: factor both parts, find the inputs that make the bottom zero, and sort each one.

    Show the steps and the answer
    −11wallhole(−∞, −1) ∪ (−1, 1) ∪ (1, ∞)
    Both −1 and 1 are left out of the domain, but for different reasons.
    1. Factor the top: x2−5x+4=(x−1)(x−4).Two numbers that multiply to 4 and add to −5 are −1 and −4.
    2. Factor the bottom: x2−1=(x−1)(x+1).It is a difference of squares, x2 − 12.
    3. Set the bottom equal to 0: (x−1)(x+1)=0, so x=1 or x=−1.This finds the excluded inputs. Plug back in: 12 − 1 = 0 and (−1)2 − 1 = 0.
    4. Cancel (x−1): f(x)=(x−1)(x−4)(x−1)(x+1)=x−4x+1, for x≠1.x−1x−1 is 1 for every x except 1.
    5. Test x=−1 in the simplified bottom: −1+1=0. Still zero, so x=−1 is a vertical asymptote.The factor (x + 1) stayed in the bottom.
    6. Test x=1 in the simplified bottom: 1+1=2. Not zero, so there is a hole at x=1.The factor (x − 1) canceled completely.
    7. Find the height: 1−41+1=−32=−32. The hole is at (1,−32).The simplified formula gives the height the graph would have had.
    Answer
    • Vertical asymptote: x = −1
    • Hole: (1, −32)
    Double-check Original formula near 1: f(1.01) = 1.0201−5.05+41.0201−1 = −0.02990.0201 ≈ −1.488 and f(0.99) = 0.9801−4.95+40.9801−1 = 0.0301−0.0199 ≈ −1.513. Both are close to −1.5 = −32. Near −1: f(−0.9) = 0.81+4.5+40.81−1 = 9.31−0.19 = −49 and f(−1.1) = 1.21+5.5+41.21−1 = 10.710.21 = 51. Large outputs with opposite signs: a wall.

    Rung 5 of 6

    The gotcha, a factor that cancels only partly

    Find the vertical asymptotes and holes of f(x) = x−3x2−6x+9. In plain words: a factor will cancel here, so decide carefully whether that makes a hole.

    Show the steps and the answer
    −22468−4−224
    After one copy of the factor cancels.
    1. Factor the bottom: x2−6x+9=(x−3)(x−3)=(x−3)2.Two numbers that multiply to 9 and add to −6 are −3 and −3.
    2. Set the bottom equal to 0: (x−3)2=0, so x=3.This finds the only excluded input. Plug back in: 32 − 6(3) + 9 = 9 − 18 + 9 = 0.
    3. Cancel one copy of (x − 3): f(x)=x−3(x−3)(x−3)=1x−3.One factor on top can cancel only one factor on the bottom. The second copy stays.
    4. Test x=3 in the simplified bottom: 3−3=0. Still zero, so x=3 is a vertical asymptote and there is no hole.A hole needs the factor to leave the bottom completely. Here one copy is still down there.
    Answer
    • Vertical asymptote: x = 3
    • Holes: none
    Double-check Original formula: f(3.1) = 0.19.61−18.6+9 = 0.10.01 = 10 and f(3.01) = 0.019.0601−18.06+9 = 0.010.0001 = 100. On the left, f(2.9) = −0.18.41−17.4+9 = −0.10.01 = −10. The outputs blow up, so this is a wall even though a factor canceled.

    Rung 6 of 6

    Three zeros of the bottom

    Find the vertical asymptotes and holes of f(x) = 2x2−8x3−x2−6x. In plain words: the bottom is zero at three inputs, so find all three and sort each one into wall or hole.

    Show the steps and the answer
    −203holewallwall(−∞, −2) ∪ (−2, 0) ∪ (0, 3) ∪ (3, ∞)
    Three inputs are left out of the domain.
    1. Factor the top: 2x2−8=2(x2−4)=2(x−2)(x+2).Both terms share a 2. What is left, x2 − 4, is a difference of squares.
    2. Factor the bottom: x3−x2−6x=x(x2−x−6)=x(x−3)(x+2).Every term contains an x, so x comes out front. Then two numbers that multiply to −6 and add to −1 are −3 and 2.
    3. Set the bottom equal to 0: x(x−3)(x+2)=0, so x=0,x=3 or x=−2.This finds the three excluded inputs. Plug back in: 0 − 0 − 0 = 0, then 27 − 9 − 18 = 0, then −8 − 4 + 12 = 0.
    4. Cancel (x+2): f(x)=2(x−2)(x+2)x(x−3)(x+2)=2(x−2)x(x−3), for x≠−2.(x + 2) is the only factor in both the top and the bottom.
    5. Test x=0 in the simplified bottom: 0·(0−3)=0. Still zero, so x=0 is a vertical asymptote.The factor x stayed in the bottom.
    6. Test x=3 in the simplified bottom: 3·(3−3)=0. Still zero, so x=3 is a vertical asymptote.The factor (x − 3) stayed in the bottom.
    7. Test x=−2 in the simplified bottom: (−2)(−2−3)=(−2)(−5)=10. Not zero, so there is a hole at x=−2.The factor (x + 2) canceled completely.
    8. Find the height: 2(−2−2)10=−810=−45. The hole is at (−2,−45).Plug −2 into the simplified formula. The bottom was already worked out as 10.
    9. Count: three excluded inputs, two walls and one hole.Every excluded input must be one or the other, so the count confirms nothing was missed.
    Answer
    • Vertical asymptotes: x = 0 and x = 3
    • Hole: (−2, −45)
    Double-check Use the original formula. Near −2: f(−2.1) = 2(4.41)−8−9.261−4.41+12.6 = 0.82−1.071 ≈ −0.766 and f(−1.9) = 2(3.61)−8−6.859−3.61+11.4 = −0.780.931 ≈ −0.838. The height −0.8 = −45 lies between them, and nothing blows up. Near 0: f(0.1) = −7.98−0.609 ≈ 13.1 and f(0.01) = −7.9998−0.060099 ≈ 133.1. Near 3: f(3.1) = 11.221.581 ≈ 7.1 and f(3.01) = 10.12020.150801 ≈ 67.1. At both walls, ten times closer gives an output about ten times bigger.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The bottom of f(x) = x−4(x−2)(x−4) is zero at 2 and at 4, so there are vertical asymptotes at x = 2 and x = 4.
    The factor (x − 4) is also in the top and cancels. Near 4 the outputs do not blow up: f(3.9) ≈ 0.526 and f(4.1) ≈ 0.476, both close to 12.
    ✓ Instead: There is a vertical asymptote at x = 2 only. At x = 4 there is a hole, at the point (4, 12).
    ✗ Not this: x2−4x−2 simplifies to x + 2, so the graph is the full line y = x + 2 and nothing happens at x = 2.
    The original formula reads 0 ÷ 0 at x = 2, so 2 is not an input. Canceling changes the look of the formula, not the list of allowed inputs.
    ✓ Instead: f(x) = x + 2 for x ≠ 2. The graph is the line y = x + 2 with a hole at (2, 4).
    ✗ Not this: In f(x) = x−3(x−3)2 the factor (x − 3) cancels, so x = 3 is a hole.
    The bottom holds two copies of (x − 3) and the top holds one. After canceling, one copy is still in the bottom: f(x) = 1x−3. At x = 3 the simplified bottom is still zero.
    ✓ Instead: x = 3 is a vertical asymptote. A hole needs the factor to leave the bottom completely.
    ✗ Not this: To find the height of the hole of f(x) = 2x−6x2−4x+3 at x = 3, plug 3 into the original formula: 00, so the hole is at height 0.
    0 ÷ 0 is not 0. It has no value, which is the reason the point is missing in the first place.
    ✓ Instead: Plug 3 into the simplified formula 2x−1: 22 = 1. The hole is at (3, 1).
    ✗ Not this: The vertical asymptote of 2x−1 is y = 1.
    A vertical line is made of all the points that share one x value, so its equation starts with x. The equation y = 1 describes a flat line.
    ✓ Instead: The vertical asymptote is the line x = 1.
    ✗ Not this: In x+2x+5 the x on top cancels the x on the bottom, leaving 25, so the function has a hole.
    Only factors cancel, meaning pieces that are multiplied. Here x is added to 2 and added to 5, so nothing cancels.
    ✓ Instead: The bottom is zero at x = −5 and the top is −3 there, so x = −5 is a vertical asymptote and there is no hole.

    Tips and tricks

    • Memory device for a factor (x − a): cancels out of the bottom completely, hole. Any copy stays down, wall.
    • Fast pre-test: plug the excluded input into the top. If the top is not zero there, the bottom's factor for that input cannot cancel and you have a vertical asymptote for certain. If the top is zero too, you have 0 ÷ 0, so factor and cancel before you decide.
    • Check the factoring with numbers. Put inputs closer and closer to a into the original formula, on each side. Outputs that keep growing in size point to a wall. Outputs that settle near one number point to a hole at that height. The factoring decides; the numbers confirm it.
    • Write a vertical asymptote as an equation, x = a, because it is a line. Write a hole as a point, (a, b), because it is one missing dot.
    • Count at the end. Every excluded input is either a wall or a hole. If you excluded three inputs, your walls and holes must add up to three.
    • A graphing calculator often draws straight through a hole, because one missing dot is thinner than a pixel. Trust the algebra over the screen.
    • On paper, draw a vertical asymptote as a dashed line and a hole as a small open circle.

    7 The trap

    The most common mistake is to stop at the domain: you find the zeros of the bottom and call every one of them a vertical asymptote. Some of them may be holes. Always factor and cancel first, then sort each excluded input by whether it still makes the simplified bottom zero. Still zero means a wall. No longer zero means a hole, with its height taken from the simplified formula.

    Flash cards

    Say the answer out loud, then flip.

    You factored and canceled. How do you tell whether an excluded input x = a is a wall or a missing paving stone?
    • Test a in the simplified bottom.
    • Still zero: a vertical asymptote, the wall.
    • No longer zero: a hole, the missing paving stone.
    The graph has a hole at x = a. How do you find the height of the hole?
    Plug a into the simplified formula, the one left after canceling. The result is the height b, and the hole is the point (a, b).
    Why does the graph shoot up or down near a vertical asymptote?
    Near that input the top, after every common factor is canceled, is close to a number that is not zero, and the bottom is close to zero. A fixed number divided by a tiny number is huge: 2 ÷ 0.1 = 20, 2 ÷ 0.01 = 200.
    Sort the breaks in f(x) = (x−3)(x+1)(x−3)(x−2).
    • The bottom is zero at x = 3 and x = 2.
    • The factor x − 3 cancels, leaving x+1x−2.
    • x = 2 still makes the bottom zero: vertical asymptote at x = 2.
    • x = 3 no longer does: hole at height 3+13−2 = 4, the point (3, 4).