Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Rational functions

Print Algebra II only

The lessons of this topic taught in Algebra II, ready for paper.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Rational functions: vertical and horizontal asymptotes

Warm-up

Three quick questions from earlier lessons.

  1. Two models for a club's members after tt years: L(t)=5+5tL(t) = 5 + 5t and E(t)=5⋅2tE(t) = 5 \cdot 2^t.
    1. The average rate of change of L on [0,3][0, 3]:
    2. The average rate of change of E on [0,3][0, 3]:
    3. E is multiplied by the same factor each year. That factor:
    4. Write a model that starts at 5 and triples every year:
    5. The models are used for 0≤t≤50 \le t \le 5 only. The largest value of E on this domain:
  2. What is the domain of f(x)=x−9f(x) = \sqrt{x - 9}? Give it as an interval.
  3. What is the domain of f(x)=9x−6f(x) = \dfrac{ 9 }{x - 6}? Give it as an interval or a union of intervals.

Discover

Move the sliders and watch the graph of y=ax−hy = \dfrac{a}{x - h}.

The graph of y = a over (x − h): two branches separated by a vertical asymptote at x = h, approaching the x-axis far left and far right.

Where is the vertical line that the graph never touches?

  1. At x=hx = h
  2. At x=ax = a

Key idea

A rational function is a quotient of polynomials.

Vertical asymptotes are where the denominator is 0 (and the numerator is not). Horizontal asymptote: if the top degree is smaller, y=0y = 0; if the degrees are equal, y=leading coefficient on topleading coefficient belowy = \dfrac{\text{leading coefficient on top}}{\text{leading coefficient below}}; if the top degree is larger, there is none.

Worked example

Find the asymptotes of f(x)=6x+12x−8f(x) = \dfrac{6x + 1}{2x - 8}.

Vertical asymptote: x=4x = 4
Denominator 0: 2x − 8 = 0.
Horizontal asymptote: y=62=3y = \dfrac{6}{2} = 3
Same degree: ratio of leading coefficients.

Your turn, guided

Your turn: f(x)=5x−2x+3f(x) = \dfrac{5x - 2}{x + 3}.

Vertical asymptote: x=−3x = -3
x + 3 = 0.
Horizontal asymptote: y=5y = 5
Same degree: 5 over 1.

Practice ★

  1. f(x)=9x+6x−3f(x) = \dfrac{ 9x + 6 }{x - 3} has a vertical asymptote x=cx = c. What is cc?
  2. f(x)=37x+26x−34f(x) = \dfrac{ 37x + 26 }{x - 34} has a vertical asymptote x=cx = c. What is cc?
  3. f(x)=7x+7x−3f(x) = \dfrac{ 7x + 7 }{x - 3} has a vertical asymptote x=cx = c. What is cc?
  4. f(x)=45x+10x−18f(x) = \dfrac{ 45x + 10 }{x - 18} has a vertical asymptote x=cx = c. What is cc?

Watch out!

Practice ★★

  1. f(x)=1x+52x+8f(x) = \dfrac{ 1x + 5 }{ 2x + 8 } has a horizontal asymptote y=ky = k. What is kk?
  2. f(x)=36x+148x+36f(x) = \dfrac{ 36x + 14 }{ 8x + 36 } has a horizontal asymptote y=ky = k. What is kk?
  3. f(x)=3x+12x+4f(x) = \dfrac{ 3x + 1 }{ 2x + 4 } has a horizontal asymptote y=ky = k. What is kk?
  1. What is the horizontal asymptote of f(x)=4x+1x2+6f(x) = \dfrac{ 4x + 1}{x^2 + 6}?
    1. y=0y = 0
    2. y=4y = 4
    3. There is none, because the degrees are different
  2. What is the horizontal asymptote of f(x)=8x+1x2+5f(x) = \dfrac{ 8x + 1}{x^2 + 5}?
    1. y=0y = 0
    2. y=8y = 8
    3. There is none, because the degrees are different

Exit ticket

Three questions to check you have got it.

  1. f(x)=1x+52x+8f(x) = \dfrac{ 1x + 5 }{ 2x + 8 } has a horizontal asymptote y=ky = k. What is kk?
  2. f(x)=36x+148x+36f(x) = \dfrac{ 36x + 14 }{ 8x + 36 } has a horizontal asymptote y=ky = k. What is kk?
  3. f(x)=3x+12x+4f(x) = \dfrac{ 3x + 1 }{ 2x + 4 } has a horizontal asymptote y=ky = k. What is kk?

Summary card

Asymptotes of rational functions

  • Vertical: zeros of the denominator.
  • Horizontal: compare degrees. Top smaller: y=0y = 0. Equal: ratio of leading coefficients. Top larger: none.

Watch out: use the leading coefficients, not the constants.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. For which aa does f(x)=ax+12x−3f(x) = \dfrac{ax + 1}{2x - 3} have horizontal asymptote y=−2y = -2?

2. Rational functions: intercepts and holes

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=9x+6x−3f(x) = \dfrac{ 9x + 6 }{x - 3} has a vertical asymptote x=cx = c. What is cc?
  2. f(x)=1x+52x+8f(x) = \dfrac{ 1x + 5 }{ 2x + 8 } has a horizontal asymptote y=ky = k. What is kk?
  3. What is the horizontal asymptote of f(x)=4x+1x2+6f(x) = \dfrac{ 4x + 1}{x^2 + 6}?
    1. y=0y = 0
    2. y=4y = 4
    3. There is none, because the degrees are different

Discover

f(x)=(x−2)(x+1)x−2f(x) = \dfrac{(x - 2)(x + 1)}{x - 2}. Simplified, it looks like x+1x + 1. Is ff exactly the same function as x+1x + 1?

  1. Almost: ff is not defined at x=2x = 2
  2. Yes, exactly the same

Key idea

The numerator and a cancelled factor tell you where the graph meets the axis and where it has a gap.

x-intercepts: zeros of the numerator that are not zeros of the denominator. Hole: a factor that cancels from top and bottom; the hole is at that xx, and its height is the value of the simplified rule there. y-intercept: f(0)f(0).

Worked example

Analyze f(x)=(x−3)(x+4)(x−3)(x−1)f(x) = \dfrac{(x - 3)(x + 4)}{(x - 3)(x - 1)}.

f(x)=x+4x−1f(x) = \dfrac{x + 4}{x - 1} for x≠3x \ne 3
x − 3 cancels.
Hole at (3,72)\left(3, \dfrac{7}{2}\right)
The simplified rule at x = 3: 7/2.
xx-intercept: x=−4x = -4
Numerator zero that remains.
Vertical asymptote: x=1x = 1
Denominator zero that remains.

Your turn, guided

Your turn: f(x)=(x+2)(x−5)x+2f(x) = \dfrac{(x + 2)(x - 5)}{x + 2}.

Hole at x=−2x = -2
x + 2 cancels: f(x) = x − 5 for x ≠ −2.
The hole is at (−2,−7)(-2, -7)
The simplified rule at x = −2: −2 − 5.

Practice ★

  1. Where does the graph of f(x)=x−4x+2f(x) = \dfrac{x - 4}{x + 2} cross the xx-axis? Give xx.
  2. Where does the graph of f(x)=x−57x+95f(x) = \dfrac{x - 57}{x + 95} cross the xx-axis? Give xx.
  3. Where does the graph of f(x)=x−1x+8f(x) = \dfrac{x - 1}{x + 8} cross the xx-axis? Give xx.
  4. Where does the graph of f(x)=x−17x+13f(x) = \dfrac{x - 17}{x + 13} cross the xx-axis? Give xx.

Watch out!

Practice ★★

  1. f(x)=(x−1)(x+1)x−1f(x) = \dfrac{(x - 1)(x + 1)}{x - 1}. At which xx does the graph have a hole?
  2. f(x)=(x−33)(x+82)x−33f(x) = \dfrac{(x - 33)(x + 82)}{x - 33}. At which xx does the graph have a hole?
  3. f(x)=(x−1)(x+4)x−1f(x) = \dfrac{(x - 1)(x + 4)}{x - 1}. At which xx does the graph have a hole?
  1. f(x)=(x−1)(x+2)x−1f(x) = \dfrac{(x - 1)(x + 2)}{x - 1} has a hole at x=1x = 1. What is the yy-coordinate of the hole?
  2. f(x)=(x−10)(x+39)x−10f(x) = \dfrac{(x - 10)(x + 39)}{x - 10} has a hole at x=10x = 10. What is the yy-coordinate of the hole?

Exit ticket

Three questions to check you have got it.

  1. f(x)=(x−1)(x+2)x−1f(x) = \dfrac{(x - 1)(x + 2)}{x - 1} has a hole at x=1x = 1. What is the yy-coordinate of the hole?
  2. f(x)=(x−10)(x+39)x−10f(x) = \dfrac{(x - 10)(x + 39)}{x - 10} has a hole at x=10x = 10. What is the yy-coordinate of the hole?
  3. f(x)=(x−2)(x+3)x−2f(x) = \dfrac{(x - 2)(x + 3)}{x - 2} has a hole at x=2x = 2. What is the yy-coordinate of the hole?

Summary card

Intercepts and holes

  1. Cancel common factors: each one leaves a hole.
  2. Hole height: the simplified rule at that xx.
  3. xx-intercepts: remaining zeros of the numerator; yy-intercept: f(0)f(0).

Watch out: zeros of the denominator give asymptotes, not intercepts.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=(x−6)(x+4)(x−6)(x+3)f(x) = \dfrac{(x - 6)(x + 4)}{(x - 6)(x + 3)}. What is the yy-coordinate of the hole in the graph?

3. Solving rational equations

Warm-up

Three quick questions from earlier lessons.

  1. Expand (x+3)(x+2)(x + 3)(x + 2). What is the coefficient of xx?
  2. What is the constant term of (x+3)(x2+3x+2)(x + 3)(x^2 + 3x + 2)?
  3. A polynomial of degree 3 is multiplied by a polynomial of degree 3. What is the degree of the product?

Discover

Solve 6x=2\dfrac{6}{x} = 2. Which value works?

  1. x=3x = 3
  2. x=12x = 12

Key idea

Clear the denominators, solve, then check.

Multiply both sides by the common denominator, solve the resulting polynomial equation, then check every solution in the original equation: a value that makes a denominator 0 is extraneous and must be rejected.

Worked example

xx−2=2x−2+1\dfrac{x}{x - 2} = \dfrac{2}{x - 2} + 1.

x=2+(x−2)x = 2 + (x - 2), so x=xx = x
Multiply by x − 2.
…except where the denominator is 0
True for every x.
Solutions: every x≠2x \ne 2
x = 2 is excluded.

Your turn, guided

Your turn: xx+1=23\dfrac{x}{x + 1} = \dfrac{2}{3}.

x=2x = 2
3x = 2x + 2.

Practice ★

  1. Solve xx+2=27\dfrac{x}{x + 2} = \dfrac{ 2 }{ 7 }.
  2. Solve xx+2=46\dfrac{x}{x + 2} = \dfrac{ 4 }{ 6 }.
  3. Solve xx+6=58\dfrac{x}{x + 6} = \dfrac{ 5 }{ 8 }.

Watch out!

Practice ★★

  1. Solve 1x+16=12\dfrac{1}{x} + \dfrac{1}{ 6 } = \dfrac{1}{ 2 }.
  2. Solve 1x+123=110\dfrac{1}{x} + \dfrac{1}{ 23 } = \dfrac{1}{ 10 }.
  1. Solve x2−4x−2=4\dfrac{x^2 - 4}{x - 2} = 4.
    1. No solution: simplifying gives x = 2, but x = 2 makes the denominator 0
    2. x = 2
    3. Every x except 2

Exit ticket

Three questions to check you have got it.

  1. Solve xx+2=27\dfrac{x}{x + 2} = \dfrac{ 2 }{ 7 }.
  2. Solve xx+2=46\dfrac{x}{x + 2} = \dfrac{ 4 }{ 6 }.
  3. Solve xx+6=58\dfrac{x}{x + 6} = \dfrac{ 5 }{ 8 }.

Summary card

Rational equations

Clear denominators → solve → check in the original.

Watch out: reject values that make a denominator 0.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Solve x+5x−5=3\dfrac{x + 5}{x - 5} = 3.

4. Simplifying, multiplying and dividing rational expressions

Warm-up

Three quick questions from earlier lessons.

  1. Divide: x2+8x+15x+3\dfrac{x^2 + 8x + 15}{x + 3}. Enter the quotient.
  2. Divide x3−1x^3 - 1 by x−1x - 1. Enter the quotient.
  3. Find the remainder when x2+1x+7x^2 + 1x + 7 is divided by x−2x - 2.

Discover

Simplify 6/9.

  1. 2/3
  2. 6/9 cannot be simplified

Key idea

Rational expressions work like fractions.

Factor numerators and denominators, then cancel common factors (never terms). Multiply numerators and denominators; to divide, multiply by the reciprocal. Keep the values that make an original denominator zero excluded.

Worked example

Simplify (x² − 9)/(x² + 3x).

(x − 3)(x + 3) / (x(x + 3))
Factor.
(x − 3)/x, for x ≠ 0 and x ≠ −3
Cancel x + 3.

Your turn, guided

Your turn: the value of (x² − 4)/(x − 2), simplified, at x = 3.

55
x + 2 at x = 3.

Practice ★

  1. Simplify (x² − 4) ÷ (x − 2), that is, the fraction with numerator x² − 4 and denominator x − 2. Which answer is right?
    1. x + 2, for x ≠ 2
    2. x − 2
    3. x + 2, for every x
  2. Simplify (x² − 25) ÷ (x − 5), that is, the fraction with numerator x² − 25 and denominator x − 5. Which answer is right?
    1. x + 5, for x ≠ 5
    2. x − 5
    3. x + 5, for every x
  1. Multiply and simplify: (x + 8)/(x − 1) · (x − 1)/(x + 4).

Watch out!

Practice ★★

  1. Divide and simplify: x/(x + 3) ÷ x²/(x + 3).
  2. Divide and simplify: x/(x + 6) ÷ x²/(x + 6).
  1. Multiply and simplify: (x + 8)/(x − 1) · (x − 1)/(x + 4).

Exit ticket

Three questions to check you have got it.

  1. Simplify (x² − 4) ÷ (x − 2), that is, the fraction with numerator x² − 4 and denominator x − 2. Which answer is right?
    1. x + 2, for x ≠ 2
    2. x − 2
    3. x + 2, for every x
  2. Simplify (x² − 25) ÷ (x − 5), that is, the fraction with numerator x² − 25 and denominator x − 5. Which answer is right?
    1. x + 5, for x ≠ 5
    2. x − 5
    3. x + 5, for every x
  3. Simplify (x² − 9) ÷ (x − 3), that is, the fraction with numerator x² − 9 and denominator x − 3. Which answer is right?
    1. x + 3, for x ≠ 3
    2. x − 3
    3. x + 3, for every x

Summary card

Multiplying and dividing rational expressions

Factor, cancel common factors, multiply; divide by multiplying by the reciprocal.

Watch out: cancel factors, never terms.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Simplify as far as possible: (x² − 25)/(x² + 10x + 25).

5. Adding and subtracting rational expressions

Warm-up

Three quick questions from earlier lessons.

  1. Boss task. Solve the rational equation 5x−1=57\dfrac{ 5 }{x - 1} = \dfrac{ 5 }{ 7 }.
    1. For which value of xx is the denominator 0?
    2. The solution xx:
    3. The value of both sides at this solution:
    4. Write 5x−1+1x−1\dfrac{ 5 }{x - 1} + \dfrac{1}{x - 1} as a single fraction.
    5. Simplify 5x−1⋅x−15\dfrac{ 5 }{x - 1} \cdot \dfrac{x - 1}{ 5 }.
  2. Simplify (x² − 4) ÷ (x − 2), that is, the fraction with numerator x² − 4 and denominator x − 2. Which answer is right?
    1. x + 2, for x ≠ 2
    2. x − 2
    3. x + 2, for every x
  3. Multiply and simplify: (x + 8)/(x − 1) · (x − 1)/(x + 4).

Discover

What is 1/2 + 1/3?

  1. 5/6
  2. 2/5

Key idea

Add rational expressions over a common denominator.

Factor the denominators, find the least common denominator, rewrite each fraction over it, then add or subtract the numerators only. Simplify at the end.

Worked example

Write 2/x + 3/(x + 1) as one fraction.

x(x + 1)
LCD.
2(x + 1)/(x(x + 1)) + 3x/(x(x + 1))
Rewrite.
(5x + 2)/(x(x + 1))
Add.

Your turn, guided

Your turn: the value of 1/x + 1/x at x = 4.

12\tfrac12
2/x at x = 4.

Practice ★

  1. Simplify 4/(x − 1) − 9/(x − 1).
  2. Simplify 22/(x − 1) − 12/(x − 1).
  1. What is the least common denominator of 1/(x² − 16) and 1/(x + 4)?

Watch out!

Practice ★★

  1. Write 1/x + 1/(x + 8) as a single fraction.
  2. Write 1/x + 1/(x + 1) as a single fraction.
  1. Simplify 4/(x − 1) − 9/(x − 1).

Exit ticket

Three questions to check you have got it.

  1. Write 1/x + 1/(x + 8) as a single fraction.
  2. Write 1/x + 1/(x + 1) as a single fraction.
  3. Write 1/x + 1/(x + 4) as a single fraction.

Summary card

Adding rational expressions

Common denominator, then add the numerators.

Watch out: never add the denominators.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Write 1/(x − 8) − 1/(x + 8) as a single fraction.