Module 5 · Polynomial and rational functions · Lesson 33 of 84

Rational functions

Vertical and horizontal asymptotes, holes, intercepts and graphs of rational functions.

In this lesson · about 22 minutes

  • Find the domain of a rational function
  • Find vertical asymptotes and holes
  • Find horizontal and slant asymptotes
  • Sketch a rational function

A rational function is one polynomial divided by another: f(x) = P(x)/Q(x). They model averages and rates. If a printer costs $200 and each page costs $0.05, the average cost per page after x pages is C(x) = (200 + 0.05x)/x. It is huge for a few pages and slowly settles towards $0.05.

The domain is every x except where the bottom is zero. What happens at those x-values depends on whether the factor cancels:

  • A factor that is only on the bottom gives a vertical asymptote: the graph shoots up or down towards ±∞ beside an invisible vertical line.
  • A factor that is on the top and the bottom cancels and leaves a hole, a single missing point.

Factor the top and bottom first, cancel what you can, and then look.

Horizontal asymptotes

The horizontal asymptote tells you where the graph heads as x goes far left or right. Compare the degree of the top (n) with the bottom (d):

  • n < d: the asymptote is y = 0.
  • n = d: the asymptote is y = (leading coefficient of top) / (leading coefficient of bottom).
  • n = d + 1: no horizontal asymptote, but a slant asymptote: the quotient you get from dividing.
  • n > d + 1: no horizontal or slant asymptote.

A graph can cross a horizontal asymptote in the middle; it can never cross a vertical one.

Whiteboard · watch and try

Analysing a rational function

5 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Try it · interactive

Rational function explorer

Add the same factor to the top and the bottom to make a hole. Change the number of factors to see the horizontal asymptote change.

f(x) = (x − 2) / ((x + 1)(x − 3))

Top factors (zeros)
Bottom factors

Vertical asymptotes

x = −1, x = 3

Horizontal asymptote

y = 0

x-intercepts

2

Holes

none

−5−4−3−2−112345−6−4−2246

A factor only on the bottom makes a vertical asymptote (red dashes). A factor on top and bottom cancels and leaves a hole (open dot). Compare the degrees of top and bottom for the horizontal asymptote (blue dashes).

Loading practice…

Check your understanding0 of 5 correct

Question 1

1.What is the vertical asymptote of f(x) = (x + 5)/(x − 3)?

Question 2

2.What is the horizontal asymptote of f(x) = (6x² + 1)/(2x² − 5)?

Question 3

3.f(x) = (x − 4)/(x² − 16). What happens at x = 4?

Question 4

4.The average cost per item is C(x) = (500 + 3x)/x. What value does it approach as x grows very large?

Question 5

5.Which function has a slant asymptote?

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 5

Practice sets mastered: 0 of 1

Tip: answer every quiz question correctly first.

Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.