Rational Functions and Asymptotes

Understanding rational functions, vertical asymptotes, horizontal asymptotes, and holes

Rational Functions and Asymptotes

What is a Rational Function?

A rational function is a function that can be written as the ratio of two polynomials:

f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)}

where P(x)P(x) and Q(x)Q(x) are polynomials and Q(x)0Q(x) \neq 0.

Example: f(x)=2x23x+1x24f(x) = \frac{2x^2 - 3x + 1}{x^2 - 4}

Domain of Rational Functions

The domain includes all real numbers except where the denominator equals zero.

To find the domain:

  1. Set the denominator Q(x)=0Q(x) = 0
  2. Solve for xx
  3. Domain is all real numbers except these values

Vertical Asymptotes

A vertical asymptote occurs at values of xx where the denominator is zero but the numerator is not zero.

Finding Vertical Asymptotes

  1. Factor both numerator and denominator completely
  2. Cancel any common factors (these create holes, not asymptotes)
  3. Set remaining denominator factors equal to zero
  4. The solutions are the vertical asymptotes

Example: f(x)=x+1x3f(x) = \frac{x + 1}{x - 3} has a vertical asymptote at x=3x = 3

Horizontal Asymptotes

A horizontal asymptote describes the end behavior of the function as x±x \to \pm\infty.

Finding Horizontal Asymptotes

Compare the degrees of the numerator and denominator:

  1. If degree of numerator < degree of denominator:

    • Horizontal asymptote: y=0y = 0
  2. If degree of numerator = degree of denominator:

    • Horizontal asymptote: y=leading coefficient of numeratorleading coefficient of denominatory = \frac{\text{leading coefficient of numerator}}{\text{leading coefficient of denominator}}
  3. If degree of numerator > degree of denominator:

    • No horizontal asymptote (there may be a slant/oblique asymptote)

Holes (Removable Discontinuities)

A hole occurs when there is a common factor in both numerator and denominator.

Finding Holes

  1. Factor completely
  2. Identify common factors
  3. Cancel the common factors
  4. The zero of the canceled factor gives the x-coordinate of the hole
  5. Substitute this x-value into the simplified function to get the y-coordinate

Summary Table

| Feature | How to Find | |---------|-------------| | Domain | All real numbers except where denominator = 0 | | Vertical Asymptotes | Zeros of denominator (after canceling) | | Horizontal Asymptotes | Compare degrees of numerator and denominator | | Holes | Common factors that cancel |

Key Difference

  • Vertical Asymptote: Function approaches ±\pm\infty
  • Hole: Function is undefined but could be "filled in"

📚 Practice Problems

1Problem 1easy

Question:

Find the domain and vertical asymptotes of f(x)=2x+1x29f(x) = \frac{2x + 1}{x^2 - 9}.

💡 Show Solution

Solution:

Step 1: Find where the denominator equals zero. x29=0x^2 - 9 = 0 (x3)(x+3)=0(x - 3)(x + 3) = 0 x=3 or x=3x = 3 \text{ or } x = -3

Step 2: Determine the domain.

Domain: All real numbers except x=3x = 3 and x=3x = -3

In interval notation: (,3)(3,3)(3,)(-\infty, -3) \cup (-3, 3) \cup (3, \infty)

Step 3: Check if numerator is zero at these points.

  • At x=3x = 3: 2(3)+1=702(3) + 1 = 7 \neq 0
  • At x=3x = -3: 2(3)+1=502(-3) + 1 = -5 \neq 0

Since the numerator is not zero at these points, both are vertical asymptotes.

Answer:

  • Domain: xR,x±3x \in \mathbb{R}, x \neq \pm 3
  • Vertical asymptotes: x=3x = 3 and x=3x = -3

2Problem 2medium

Question:

Consider the rational function f(x)=2x28x24x5f(x) = \frac{2x^2 - 8}{x^2 - 4x - 5}.

a) Find all vertical asymptotes. b) Find the horizontal asymptote. c) Find any holes in the graph.

💡 Show Solution

Solution:

Part (a): Vertical asymptotes occur where the denominator equals zero (and the numerator doesn't).

Factor the denominator: x24x5=(x5)(x+1)x^2 - 4x - 5 = (x - 5)(x + 1)

Factor the numerator: 2x28=2(x24)=2(x2)(x+2)2x^2 - 8 = 2(x^2 - 4) = 2(x - 2)(x + 2)

So: f(x)=2(x2)(x+2)(x5)(x+1)f(x) = \frac{2(x - 2)(x + 2)}{(x - 5)(x + 1)}

The denominator is zero when x=5x = 5 or x=1x = -1.

Since neither of these values makes the numerator zero, we have vertical asymptotes at x=5x = 5 and x=1x = -1.

Part (b): For horizontal asymptotes, compare the degrees of numerator and denominator.

Both have degree 2, so we take the ratio of leading coefficients:

y=21=2y = \frac{2}{1} = 2

Horizontal asymptote: y=2y = 2

Part (c): Holes occur when a factor cancels from both numerator and denominator.

Looking at our factored form, there are no common factors, so there are no holes.

3Problem 3medium

Question:

Find the horizontal asymptote of each function: (a) f(x)=3x22x+15x2+4f(x) = \frac{3x^2 - 2x + 1}{5x^2 + 4}, (b) g(x)=2x+5x31g(x) = \frac{2x + 5}{x^3 - 1}, (c) h(x)=4x3+2x2x23h(x) = \frac{4x^3 + 2x}{2x^2 - 3}

💡 Show Solution

Solution:

Part a) f(x)=3x22x+15x2+4f(x) = \frac{3x^2 - 2x + 1}{5x^2 + 4}

Degree of numerator = 2 Degree of denominator = 2 Degrees are equal.

Horizontal asymptote: y=35y = \frac{3}{5} (ratio of leading coefficients)

Part b) g(x)=2x+5x31g(x) = \frac{2x + 5}{x^3 - 1}

Degree of numerator = 1 Degree of denominator = 3 Numerator degree less than denominator degree.

Horizontal asymptote: y=0y = 0

Part c) h(x)=4x3+2x2x23h(x) = \frac{4x^3 + 2x}{2x^2 - 3}

Degree of numerator = 3 Degree of denominator = 2 Numerator degree greater than denominator degree.

No horizontal asymptote (there is a slant asymptote instead)

Answers:

  • a) y=35y = \frac{3}{5}
  • b) y=0y = 0
  • c) No horizontal asymptote

4Problem 4hard

Question:

Given g(x)=x38x24g(x) = \frac{x^3 - 8}{x^2 - 4}:

a) Identify any holes and their coordinates. b) Find all asymptotes (vertical, horizontal, or oblique). c) Find the yy-intercept.

💡 Show Solution

Solution:

Part (a): Factor both numerator and denominator:

Numerator: x38=(x2)(x2+2x+4)x^3 - 8 = (x - 2)(x^2 + 2x + 4) (difference of cubes) Denominator: x24=(x2)(x+2)x^2 - 4 = (x - 2)(x + 2)

g(x)=(x2)(x2+2x+4)(x2)(x+2)g(x) = \frac{(x - 2)(x^2 + 2x + 4)}{(x - 2)(x + 2)}

The factor (x2)(x - 2) cancels, creating a hole at x=2x = 2.

To find the yy-coordinate of the hole, substitute into the simplified function:

g(x)=x2+2x+4x+2g(x) = \frac{x^2 + 2x + 4}{x + 2} (for x2x \neq 2)

At x=2x = 2: y=4+4+42+2=124=3y = \frac{4 + 4 + 4}{2 + 2} = \frac{12}{4} = 3

Hole at (2,3)(2, 3)

Part (b):

Vertical asymptote: From the simplified denominator, x+2=0x + 2 = 0 gives x=2x = -2

Horizontal/Oblique asymptote: The simplified numerator has degree 2, denominator has degree 1.

Since numerator degree > denominator degree by exactly 1, we have an oblique asymptote.

Divide: x2+2x+4x+2\frac{x^2 + 2x + 4}{x + 2}

Using polynomial long division: x2+2x+4=(x+2)(x)+4x^2 + 2x + 4 = (x + 2)(x) + 4 Continue: x+4x+2x + \frac{4}{x+2}

Actually, let me redo this: (x2+2x+4)÷(x+2)(x^2 + 2x + 4) \div (x + 2):

  • x2÷x=xx^2 \div x = x
  • x(x+2)=x2+2xx(x + 2) = x^2 + 2x
  • (x2+2x+4)(x2+2x)=4(x^2 + 2x + 4) - (x^2 + 2x) = 4
  • 4÷(x+2)4 \div (x + 2) leaves remainder

So g(x)=x+4x+2g(x) = x + \frac{4}{x + 2}

Wait, let me be more careful: x2+2x+4x+2=x2+2xx+2+4x+2=x+4x+2\frac{x^2 + 2x + 4}{x + 2} = \frac{x^2 + 2x}{x + 2} + \frac{4}{x + 2} = x + \frac{4}{x + 2}

As x±x \to \pm\infty, the 4x+20\frac{4}{x+2} \to 0, so oblique asymptote: y=xy = x

Part (c): The yy-intercept occurs at x=0x = 0:

g(0)=0804=84=2g(0) = \frac{0 - 8}{0 - 4} = \frac{-8}{-4} = 2

yy-intercept: (0,2)(0, 2)

5Problem 5medium

Question:

Analyze f(x)=x24x2x6f(x) = \frac{x^2 - 4}{x^2 - x - 6}. Find all vertical asymptotes and holes.

💡 Show Solution

Solution:

Step 1: Factor the numerator and denominator completely.

Numerator: x24=(x2)(x+2)x^2 - 4 = (x - 2)(x + 2)

Denominator: x2x6=(x3)(x+2)x^2 - x - 6 = (x - 3)(x + 2)

f(x)=(x2)(x+2)(x3)(x+2)f(x) = \frac{(x - 2)(x + 2)}{(x - 3)(x + 2)}

Step 2: Identify common factors.

Common factor: (x+2)(x + 2)

This means there is a hole at x=2x = -2.

Step 3: Cancel the common factor.

f(x)=x2x3,x2f(x) = \frac{x - 2}{x - 3}, \quad x \neq -2

Step 4: Find vertical asymptotes from the simplified function.

Set denominator equal to zero: x3=0x - 3 = 0

Vertical asymptote at x=3x = 3

Step 5: Find the y-coordinate of the hole.

Substitute x=2x = -2 into the simplified function: y=2223=45=45y = \frac{-2 - 2}{-2 - 3} = \frac{-4}{-5} = \frac{4}{5}

Answer:

  • Hole at (2,45)\left(-2, \frac{4}{5}\right)
  • Vertical asymptote at x=3x = 3