Find a course

Module 5: Rational Functions and SequencesLesson 10 of 1112 min

Rational Functions and Equations

Find holes and vertical and horizontal asymptotes of rational functions, then solve rational equations and work-rate problems without extraneous answers.

Step 1 of 12Learn

Ratios of polynomials

A rational function is a fraction with polynomials on top and bottom, such as f(x) = (x + 1)/(x − 3). The cost per person of renting a $300 bus, C(n) = 300/n, is one: the more people share, the cheaper it gets, but never free.

The domain excludes any x that makes the denominator zero. What happens there depends on whether the factor cancels:

  • If the factor stays in the denominator, the graph has a vertical asymptote: it shoots up or down toward infinity. f(x) = (x + 1)/(x − 3) has a vertical asymptote at x = 3.
  • If the factor cancels with the numerator, the graph has a hole. g(x) = (x² − 4)/(x − 2) = (x + 2)(x − 2)/(x − 2) acts like the line y = x + 2, with a single missing point at (2, 4).

So always factor first. Find the domain from the original denominator, then cancel to see which excluded values are holes and which are asymptotes.

Step 2 of 12Practice · Chart

Cost per person for a $300 bus: C(n) = 300/n

More riders, lower cost, but the curve flattens toward $0 without ever reaching it: a horizontal asymptote at y = 0.

How many people bring the cost down to $15 each?

Tap the point that answers the question, then press Check.

Cost per person for a $300 bus: C(n) = 300/nLine chart with 6 categories: 5: $60; 10: $30; 15: $20; 20: $15; 25: $12; 30: $10.$0$20$40$6051015202530People sharing (n)
Cost per person for a $300 bus: C(n) = 300/n
People sharing (n)Cost per person
5$60
10$30
15$20
20$15
25$12
30$10

Step 3 of 12Practice · Choose one

For f(x) = (x − 5)/((x − 5)(x + 2)), which statement is correct?

Step 4 of 12Learn

Horizontal asymptotes: the long-run level

A horizontal asymptote describes where the graph settles as x becomes very large or very negative. Compare the degree of the numerator (top) with the degree of the denominator (bottom):

  • Top degree smaller: the asymptote is y = 0. In 5x/(x² + 1), the bottom grows faster, so the fraction shrinks toward 0.
  • Degrees equal: the asymptote is the ratio of leading coefficients. (3x² + 1)/(x² − 4) approaches y = 3/1 = 3.
  • Top degree larger: no horizontal asymptote. If the top is exactly one degree higher, there is a slanted asymptote found by division.

The idea is the same as end behavior for polynomials: far away, only the leading terms matter. For (3x² + 1)/(x² − 4) at x = 1,000, the value is 3,000,001/999,996 ≈ 3.00001.

A graph can cross a horizontal asymptote in the middle; it is a statement about the far ends. A graph can never cross a vertical asymptote, because the function is undefined there.

Step 5 of 12Practice · Match the pairs

Match each rational function with its horizontal asymptote.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. f(x) = (6x + 1)/(2x − 5)
  2. f(x) = (x + 4)/(x² − 9)
  3. f(x) = (x³ − 1)/(x + 2)
  4. f(x) = (−4x²)/(x² + 7)

Step 6 of 12Practice · Diagram

Finding a horizontal asymptote

Which branch does f(x) = (5x² + 1)/(2x² − x) follow?

Tap the shape that answers the question, then press Check.

Finding a horizontal asymptoteHierarchy diagram: Compare degrees, top vs. bottom, Top smaller, Equal, Top bigger.Compare degrees, topvs. bottomTop smallerEqualTop bigger
Compare degrees, top vs. bottom
Top smaller

The bottom grows faster: y = 0.

Equal

y = ratio of the leading coefficients.

Top bigger

No horizontal asymptote; the graph keeps climbing or falling.

Step 7 of 12Explore

Asymptote explorer

The graph shows y = (a·x + b)/(x − c). Watch the vertical asymptote follow c and the horizontal asymptote follow a. What happens when b = −a·c?

-10-50510 -10-50510
Vertical asymptote x =
1
Horizontal asymptote y =
2

Step 8 of 12Learn

Solving rational equations

To solve an equation with fractions, multiply every term by the least common denominator (LCD). The fractions disappear and you solve an ordinary equation.

Solve 1/x + 1/3 = 1/2. The LCD is 6x. Multiply every term: 6 + 2x = 3x, so x = 6. Check: 1/6 + 1/3 = 1/6 + 2/6 = 1/2.

Now a trap. Solve x/(x − 2) = 2/(x − 2) + 3. Multiply by x − 2: x = 2 + 3(x − 2), so x = 3x − 4 and x = 2. But x = 2 makes the original denominators zero. It is extraneous, and the equation has no solution.

Multiplying by an expression containing x can introduce values the original equation forbids, so write down the excluded values (here x ≠ 2) before you start and compare at the end.

Rational equations appear in work problems. If one pipe fills a tank in 3 hours and another in 6 hours, their rates are 1/3 and 1/6 tank per hour. Together they fill 1/3 + 1/6 = 1/2 tank per hour, so the job takes 2 hours, not the average of 4.5.

Step 9 of 12Practice · Work it out

Ana can paint a room in 4 hours and Ben can paint it in 6 hours. Working together at those rates, how many hours does the job take?

Step 10 of 12Note

Step 11 of 12Practice · True or false

The function f(x) = (x² − 9)/(x − 3) has a vertical asymptote at x = 3.

Step 12 of 12Practice · Work it out

Solve 2/x + 1/4 = 3/4.