Zeros and Vertical Asymptotes

The top decides one, the bottom decides the other.

A rational function

A rational function is one polynomial divided by another, such as f(x) = (x − 1)/(x − 3). The polynomial on top is the numerator and the one underneath is the denominator. The reciprocal graph y = 6/x is the simplest example, with numerator 6 and denominator x.

Two questions decide most of the shape of its graph: where is the function zero, and where does it have no value at all? The numerator answers the first, and the denominator answers the second.

Zeros come from the numerator

A fraction is zero exactly when its numerator is zero and its denominator is not. A denominator can make a fraction very small, as 6 ÷ 1000 = 0.006, but never zero: for 6 / d to be 0, d × 0 would have to be 6.

The numerator x − 1 is zero at x = 1, and there the denominator is 1 − 3 = −2, not zero. So f(1) = 0 / (−2) = 0, and the graph crosses the x-axis at (1, 0). That is the only zero of f.

The graph crosses the y-axis where x = 0: f(0) = (−1)/(−3) = 1/3.

Where the denominator is zero

The denominator x − 3 is zero at x = 3. There the numerator is 3 − 1 = 2, so f(3) would be 2 ÷ 0. Division by zero is undefined: no number multiplied by 0 gives 2. So f has no value at x = 3, and its graph has no point there.

Close to x = 3

Try values of x just above 3. At x = 3.1 the numerator is 2.1 and the denominator is 0.1, so f(3.1) = 2.1 / 0.1 = 21. At x = 3.01, f = 2.01 / 0.01 = 201, and at x = 3.001, f = 2001.

The numerator stays close to 2 while the denominator shrinks toward 0, and dividing by a smaller and smaller number gives a larger and larger answer. So as x comes down toward 3, the graph climbs without bound. It gets closer and closer to the vertical line x = 3 and never reaches it. That line is a vertical asymptote.

The sign on each side

Now try values just below 3. At x = 2.9 the numerator is 1.9 but the denominator is 2.9 − 3 = −0.1, so f(2.9) = 1.9 / (−0.1) = −19. At x = 2.99, f = −199. The denominator is negative on this side, so the values are large and negative.

In symbols: as x → 3 from above, f(x) → +∞, and as x → 3 from below, f(x) → −∞. The curve runs up on the right of the asymptote and down on the left. To find which way each side goes, work out the sign of the numerator and of the denominator at a number just left and a number just right of the asymptote.

2.92.993.013.1x − 3−0.1−0.010.010.1f(x)−19−19920121

Values of x just below and just above 3. The closer x is to 3, the larger f(x) is in size, negative on the left and positive on the right.

xy

The graph of f(x) = (x − 1)/(x − 3). It crosses the x-axis at (1, 0), where the numerator is 0. The dashed line x = 3 is the vertical asymptote: the curve falls on its left and rises on its right. Far out on both sides the curve levels off toward the height 1, a horizontal asymptote, which is the subject of a later lesson.

x = 2f(1.5) = −21 / (x − 2)(x² − 4) / (x − 2)

at x = 2 the denominator is 0 and the numerator is not, so f grows without bound: a vertical asymptote, with opposite signs either side

Bring x to 0.1 from the forbidden point

The curve is y = 1/(x − 2), with its asymptote dashed at x = 2. Drag x to 1.9 and the value is −10; drag it to 2.1 and it is 10. At x = 2 there is no value at all.

Two asymptotes and a sign test

Take g(x) = (x + 2)/((x − 1)(x − 4)). The numerator is zero at x = −2, and the denominator is not zero there, so the graph crosses the x-axis at (−2, 0). The denominator is zero at x = 1 and at x = 4, and the numerator is not zero at either, so there are two vertical asymptotes, x = 1 and x = 4.

These three values cut the number line into four parts, and g can change sign only at one of them. Test one number in each part, the sign test used for Solving a Rational Inequality. g(−3) = (−1)/((−4) × (−7)) = −1/28, negative. g(0) = 2/((−1) × (−4)) = 1/2, positive. g(2) = 4/(1 × (−2)) = −2, negative. g(5) = 7/(4 × 1) = 7/4, positive.

So near x = 1 the curve rises on the left and falls on the right, and near x = 4 it falls on the left and rises on the right. Between the two asymptotes the whole curve is below the x-axis.

xy

The graph of g(x) = (x + 2)/((x − 1)(x − 4)), with asymptotes dashed at x = 1 and x = 4. It crosses the x-axis at (−2, 0), passes through (0, 1/2), and stays below the axis between the asymptotes, through (2, −2).

When the sign does not change

Not every vertical asymptote has the curve going opposite ways on its two sides. Take h(x) = 1/(x − 2)². The denominator is zero at x = 2, so x = 2 is a vertical asymptote. But the denominator is a square, and a square is never negative.

At x = 1.9, h = 1 / (−0.1)² = 1 / 0.01 = 100. At x = 2.1, h = 1 / 0.1² = 100 as well. On both sides of x = 2 the values are large and positive, so the curve rises on both sides. This is why each side is tested with a number rather than assumed to have the opposite sign.

xy

The graph of h(x) = 1/(x − 2)². The dashed line x = 2 is its vertical asymptote, and the curve rises on both sides of it.

When the numerator is zero too

Both rules need the other part of the fraction to be nonzero. In (x − 3)/((x − 3)(x + 1)), the numerator and the denominator are both zero at x = 3, and 0 ÷ 0 is neither a zero of the function nor a vertical asymptote. What happens there, a single missing point called a hole, is the subject of the next lesson.

The usual mistakes

Taking the zero of the denominator as a zero of the function. At x = 3, (x − 1)/(x − 3) has no value at all; the function is zero where the numerator is zero, at x = 1.

Taking the y-intercept as the zero. f(0) = 1/3, which is where the curve crosses the y-axis; it crosses the x-axis where the numerator is zero, at x = 1.

Getting the sign of the asymptote wrong. The denominator x + 3 is zero at x = −3, so the asymptote of 1/(x + 3) is x = −3, not x = 3.

Assuming the curve always goes up on one side and down on the other. For 1/(x − 2)² it goes up on both sides. Test a number on each side.

Writing f(3) = 0 or f(3) = ∞. f(3) is undefined: there is no point on the graph at x = 3.

Worked example: A Coach Driving Faster or Slower Than Its Timetable: A Vertical Asymptote and a Domain Cut by the Situation

Question A coach has 240 km to drive, and its timetable assumes an average speed of 60 km/h. If the coach averages x km/h more than that, the journey takes T(x) = 24060 + x hours. A negative value of x means that the coach is slower than the timetable. The coach may not drive faster than 100 km/h. (a) Find the vertical asymptote of the graph of T and say what it means. Give the domain that the situation allows. (b) The driver wants to arrive 1 hour sooner than the timetable says. Find x.

  1. 1.The speed of the coach is 60 + x km/h, and the time is the distance divided by the speed: T(x) = 24060 + x. On the timetable x = 0, so the planned time is T(0) = 24060 = 4 hours.

    36912−60−40−2002040km/h faster than the timetable, xhours, T(0, 4)the speed is 60 + x, so T(x) = 240/(60 + x)on the timetable: T(0) = 240/60 = 4 hours
    36912−60−40−2002040km/h faster than the timetable, xhours, T(0, 4)the speed is 60 + x, so T(x) = 240/(60 + x)on the timetable: T(0) = 240/60 = 4 hours
    The speed is 60 + x km/h, so T(x) = 24060 + x. On the timetable x = 0 and the journey takes T(0) = 4 hours.
  2. 2.The bottom 60 + x is zero at x = −60, and the top is 240, which is never zero. So the vertical asymptote is x = −60. Close to it the journey is very long: T(−50) = 24010 = 24 hours.

    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −6060 + x = 0 at x = −60; the top is never 0vertical asymptote x = −60; T(−50) = 24
    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −6060 + x = 0 at x = −60; the top is never 0vertical asymptote x = −60; T(−50) = 24
    The bottom is zero at x = −60 and the top is never zero, so the vertical asymptote is x = −60. Close to it the journey is very long: T(−50) = 24 hours.
  3. 3.(a) The vertical asymptote is x = −60: a coach that is 60 km/h slower than the timetable is not moving, so it never arrives. The speed must be more than 0 and at most 100 km/h, so 0 < 60 + x ≤ 100, and the domain is −60 < x ≤ 40. The shortest possible journey is T(40) = 240100 = 2.4 hours.

    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −60(40, 2.4)60 km/h slower: the coach is standing stillspeed up to 100: −60 < x ≤ 40, and T(40) = 2.4
    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −60(40, 2.4)60 km/h slower: the coach is standing stillspeed up to 100: −60 < x ≤ 40, and T(40) = 2.4
    (a) At x = −60 the coach is standing still and never arrives. The speed is more than 0 and at most 100 km/h, so the domain is −60 < x ≤ 40, and the curve ends at (40, 2.4).
  4. 4.One hour sooner than 4 hours is 3 hours. Put T(x) = 3: 24060 + x = 3, so 240 = 180 + 3x, 3x = 60 and x = 20.

    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −60(40, 2.4)1 hour sooner than 4 hours is 3 hours240 = 3(60 + x) = 180 + 3x, so x = 20
    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −60(40, 2.4)1 hour sooner than 4 hours is 3 hours240 = 3(60 + x) = 180 + 3x, so x = 20
    One hour sooner is 3 hours: 24060 + x = 3, so 240 = 180 + 3x and x = 20.
  5. 5.(b) x = 20: the coach must average 20 km/h more than the timetable, a speed of 80 km/h. Check: 24080 = 3 hours, and 20 ≤ 40, so the value is in the domain.

    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −60(40, 2.4)(20, 3)x = 20: a speed of 80 km/hcheck: 240/80 = 3 hours, and 20 ≤ 40
    36912−60−40−2002040km/h faster than the timetable, xhours, Tx = −60(40, 2.4)(20, 3)x = 20: a speed of 80 km/hcheck: 240/80 = 3 hours, and 20 ≤ 40
    (b) x = 20: the coach must average 80 km/h, and 20 ≤ 40, so the value is in the domain.

Answer: (a) The vertical asymptote is x = −60: a coach 60 km/h slower than its timetable is standing still and never arrives. The domain is −60 < x ≤ 40; (b) x = 20, a speed of 80 km/h

Common mistakes

  • Giving the vertical asymptote as x = 60. The bottom is 60 + x, which is zero when x = −60. In the situation that is a coach slowed by the whole of its planned 60 km/h, which is a coach standing still.
  • Reasoning that 1 hour out of 4 is a quarter, so the speed must rise by a quarter, to 75 km/h. Time and speed are inversely proportional: the time is multiplied by 34, so the speed is multiplied by 43, and 60 × 43 = 80 km/h.

More rational functions problems, worked step by step →

Practice Zeros and Vertical Asymptotes in the app