Solved Exercises on Graphing Rational Functions with Asymptotes and Holes

Master graphing rational functions: vertical asymptotes, horizontal asymptotes, holes, and intercepts through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Vertical Asymptote
Exercise 1
Graph the function:
\(f(x) = \frac{1}{x-2}\)
Definition:

Rational Function: A function of the form \(f(x) = \frac{P(x)}{Q(x)}\) where P(x) and Q(x) are polynomials.

Vertical Asymptote: A vertical line x = a where the function approaches infinity as x approaches a.

Graphing Method:
  1. Find vertical asymptotes by setting denominator equal to zero
  2. Find horizontal asymptotes by comparing degrees of numerator and denominator
  3. Find x-intercepts by setting numerator equal to zero
  4. Find y-intercept by evaluating f(0)
  5. Plot key points and sketch the curve
Function
\(f(x) = \frac{1}{x-2}\)
VA: x = 2
Denominator: x-2=0
HA: y = 0
Degree num < degree den
Step 1: Identify vertical asymptote

Set denominator equal to zero: x - 2 = 0 → x = 2

The function has a vertical asymptote at x = 2

Step 2: Identify horizontal asymptote

Degree of numerator = 0, degree of denominator = 1

Since numerator degree < denominator degree, HA: y = 0

Step 3: Check for x-intercepts

Numerator = 1 (never equals 0), so no x-intercepts

Step 4: Find y-intercept

f(0) = 1/(0-2) = -1/2

y-intercept: (0, -1/2)

VA: x = 2, HA: y = 0, No x-int, y-int: (0, -1/2)
Final answer:

The graph has a vertical asymptote at x = 2 and a horizontal asymptote at y = 0.

Applied rules:

• Vertical Asymptote: Set denominator = 0 (but not numerator)

• Horizontal Asymptote: Compare degrees of numerator and denominator

• X-intercept: Set numerator = 0 (and check denominator ≠ 0)

2 Horizontal Asymptote
Exercise 2
Graph the function:
\(f(x) = \frac{2x}{x+1}\)
Definition:

Horizontal Asymptote: A horizontal line y = L that the graph approaches as x goes to positive or negative infinity.

Slant Asymptote: Occurs when degree of numerator is one more than degree of denominator.

Function
\(f(x) = \frac{2x}{x+1}\)
VA: x = -1
x+1=0 → x=-1
HA: y = 2
Same degree → ratio of leading coefficients
Step 1: Identify vertical asymptote

Set denominator equal to zero: x + 1 = 0 → x = -1

The function has a vertical asymptote at x = -1

Step 2: Identify horizontal asymptote

Degree of numerator = 1, degree of denominator = 1

Since degrees are equal, HA: y = coefficient of x in numerator/coefficient of x in denominator = 2/1 = 2

Step 3: Find x-intercepts

Set numerator equal to zero: 2x = 0 → x = 0

x-intercept: (0, 0)

Step 4: Find y-intercept

f(0) = 2(0)/(0+1) = 0/1 = 0

y-intercept: (0, 0)

Step 5: Plot additional points

f(-2) = 2(-2)/(-2+1) = -4/(-1) = 4 → (-2, 4)

f(1) = 2(1)/(1+1) = 2/2 = 1 → (1, 1)

VA: x = -1, HA: y = 2, x-int: (0, 0), y-int: (0, 0)
Final answer:

The graph has a vertical asymptote at x = -1 and a horizontal asymptote at y = 2. It passes through the origin (0, 0).

Applied rules:

• Vertical Asymptote: Set denominator = 0 (but not numerator)

• Horizontal Asymptote: If degrees equal, y = ratio of leading coefficients

• Behavior: Graph approaches asymptotes but never touches them

3 Hole in Graph
Exercise 3
Graph the function:
\(f(x) = \frac{x^2-4}{x-2}\)
Definition:

Hole: A point where both numerator and denominator equal zero, creating a removable discontinuity.

Removable Discontinuity: A hole in the graph where the function is undefined but can be made continuous by defining a value.

Original
\(f(x) = \frac{x^2-4}{x-2}\)
Factored
\(f(x) = \frac{(x+2)(x-2)}{x-2}\)
Simplified
\(f(x) = x+2\) (except x≠2)
Step 1: Factor numerator and denominator

Numerator: x² - 4 = (x+2)(x-2)

So f(x) = [(x+2)(x-2)]/(x-2)

Step 2: Identify common factors

(x-2) appears in both numerator and denominator

This indicates a hole at x = 2 (where x-2 = 0)

Step 3: Simplify the function

For x ≠ 2: f(x) = [(x+2)(x-2)]/(x-2) = x+2

But x = 2 makes the original function undefined

Step 4: Find coordinates of the hole

Substitute x = 2 into the simplified function: y = 2+2 = 4

Hole at point (2, 4)

Step 5: Graph the function

Graph the line y = x+2 with a hole at (2, 4)

No vertical asymptote since the factor canceled out

Hole at (2, 4), simplified to y = x+2 for x ≠ 2
Final answer:

The graph is the line y = x+2 with a hole at the point (2, 4).

Applied rules:

• Hole Detection: Factor and cancel common terms

• Hole Location: Values that make both numerator and denominator zero

• Coordinate Calculation: Substitute into simplified function

Rules and methods, laws,...
\(f(x) = \frac{P(x)}{Q(x)}\)
Rational Function
Vertical Asymptote
Set Q(x) = 0
If P(x) ≠ 0 at this x-value
Horizontal Asymptote
Compare degrees
Deg num < Deg den: y=0
Hole
Common factor
Both num and den = 0
Vertical Asymptotes: Lines where function grows without bound. Found by setting denominator to zero (excluding holes).
Horizontal Asymptotes: Lines that the graph approaches as x goes to ±∞. Determined by degree comparison.
Holes: Points where both numerator and denominator equal zero, creating removable discontinuities.
Solution: Exercises 4 to 5
4 Complex Asymptotes
Exercise 4
Graph the function:
\(f(x) = \frac{x^2-1}{x^2-4}\)
Definition:

Multiple Vertical Asymptotes: When denominator has multiple distinct zeros that don't cancel with numerator.

Same Degree Numerator/Denominator: Horizontal asymptote is ratio of leading coefficients.

Original
\(f(x) = \frac{x^2-1}{x^2-4}\)
Factored
\(f(x) = \frac{(x+1)(x-1)}{(x+2)(x-2)}\)
Asymptotes
VA: x=-2, x=2; HA: y=1
Step 1: Factor numerator and denominator

Numerator: x² - 1 = (x+1)(x-1)

Denominator: x² - 4 = (x+2)(x-2)

So f(x) = [(x+1)(x-1)]/[(x+2)(x-2)]

Step 2: Identify vertical asymptotes

Set denominator equal to zero: (x+2)(x-2) = 0

So x = -2 and x = 2 (neither makes numerator zero)

Vertical asymptotes at x = -2 and x = 2

Step 3: Identify horizontal asymptote

Degree of numerator = 2, degree of denominator = 2

Since degrees are equal, HA: y = 1/1 = 1

Step 4: Find x-intercepts

Set numerator equal to zero: (x+1)(x-1) = 0

So x = -1 and x = 1

x-intercepts: (-1, 0) and (1, 0)

Step 5: Find y-intercept

f(0) = (0²-1)/(0²-4) = -1/(-4) = 1/4

y-intercept: (0, 1/4)

Step 6: Analyze behavior near asymptotes

As x → -2⁻: f(x) → +∞

As x → -2⁺: f(x) → -∞

As x → 2⁻: f(x) → -∞

As x → 2⁺: f(x) → +∞

VA: x = -2, x = 2; HA: y = 1; x-int: (-1,0), (1,0); y-int: (0, 1/4)
Final answer:

The graph has vertical asymptotes at x = -2 and x = 2, a horizontal asymptote at y = 1, x-intercepts at (-1, 0) and (1, 0), and a y-intercept at (0, 1/4).

Applied rules:

• Vertical Asymptotes: Set denominator = 0 (but not numerator)

• Horizontal Asymptotes: Equal degrees → ratio of leading coefficients

• Sign Analysis: Test intervals around vertical asymptotes

5 Slant Asymptote
Exercise 5
Graph the function:
\(f(x) = \frac{x^2+3x+2}{x+1}\)
Definition:

Slant/Oblique Asymptote: A non-horizontal, non-vertical line that the graph approaches as x goes to ±∞.

Polynomial Long Division: Required when degree of numerator is exactly one more than denominator.

Original
\(f(x) = \frac{x^2+3x+2}{x+1}\)
Division
x+2 remainder 0
Simplified
y = x+2 (with hole)
Step 1: Factor numerator and denominator

Numerator: x² + 3x + 2 = (x+1)(x+2)

Denominator: x + 1

So f(x) = [(x+1)(x+2)]/(x+1)

Step 2: Perform polynomial division

(x² + 3x + 2) ÷ (x + 1) = x + 2 remainder 0

Or notice: [(x+1)(x+2)]/(x+1) = x+2 when x ≠ -1

Step 3: Identify the hole

At x = -1, both numerator and denominator equal zero

So there's a hole at x = -1

Step 4: Find coordinates of the hole

Substitute x = -1 into simplified function: y = (-1) + 2 = 1

Hole at point (-1, 1)

Step 5: Determine slant asymptote

Since degree of numerator is one more than denominator, the quotient gives the slant asymptote

Slant asymptote: y = x + 2

Step 6: Find intercepts

After simplification, the function is y = x+2 with a hole at (-1, 1)

x-intercept: Set y = 0 → 0 = x+2 → x = -2, so (-2, 0)

y-intercept: Set x = 0 → y = 0+2 = 2, so (0, 2)

Hole at (-1, 1), slant asymptote y = x+2, x-int: (-2, 0), y-int: (0, 2)
Final answer:

The graph is the line y = x+2 with a hole at (-1, 1). The slant asymptote is y = x+2.

Applied rules:

• Slant Asymptote: Occurs when numerator degree = denominator degree + 1

• Polynomial Division: Divide numerator by denominator

• Quotient: Gives the equation of the slant asymptote

Rational Functions: Laws, Methods, and Key Concepts
\(f(x) = \frac{P(x)}{Q(x)}, Q(x) \neq 0\)
Rational Function Definition
Key definitions:

Rational Function: A function expressed as the ratio of two polynomials.

Domain: All real numbers except where denominator equals zero.

Asymptote: A line that the graph approaches but never touches.

Complete methodology:
  1. Factor: Completely factor numerator and denominator
  2. Identify holes: Common factors indicate holes
  3. Find vertical asymptotes: Zeros of denominator (not canceled)
  4. Determine horizontal/slant asymptotes: Compare degrees
  5. Find intercepts: X-intercepts from numerator zeros, y-intercept from f(0)
  6. Sketch: Plot all features and draw the curve
Tip 1: Always factor completely before analyzing asymptotes and holes.
Tip 2: Holes occur when a factor cancels in numerator and denominator.
Tip 3: Vertical asymptotes occur where denominator is zero but numerator is not.
Tip 4: For horizontal asymptotes, compare highest powers in numerator and denominator.
Common errors: Forgetting to factor, misidentifying holes vs asymptotes, incorrect asymptote rules.
Exam preparation: Practice factoring, memorize asymptote rules, sketch many graphs.
Asymptote Rules to know:

• Vertical: Set denominator = 0 (exclude holes)

• Horizontal: If deg(num) < deg(den), y = 0

• Horizontal: If deg(num) = deg(den), y = ratio of leading coefficients

• Slant: If deg(num) = deg(den) + 1, divide polynomials

Exercise with Visualization: Rational Functions
Exercise 6: Comparing Rational Functions
Consider the following rational functions:
\(f_1(x) = \frac{1}{x}\)
\(f_2(x) = \frac{x}{x-1}\)
\(f_3(x) = \frac{x^2}{x^2+1}\)

Analysis: The chart shows the behavior of different rational functions with various types of asymptotes.

  • \(f_1(x) = \frac{1}{x}\): Vertical asymptote at x=0, horizontal asymptote at y=0
  • \(f_2(x) = \frac{x}{x-1}\): Vertical asymptote at x=1, horizontal asymptote at y=1
  • \(f_3(x) = \frac{x^2}{x^2+1}\): No vertical asymptotes, horizontal asymptote at y=1

Questions & Answers

Question: I'm confused about when to expect a hole versus a vertical asymptote. Both seem to happen when the denominator equals zero. Can you clarify the difference?

Answer: Great question! The key difference lies in whether the factor that makes the denominator zero also makes the numerator zero:

  • Hole: A factor exists in both the numerator AND denominator, allowing cancellation. Example: In \(f(x) = \frac{(x-2)(x+1)}{x-2}\), the factor (x-2) cancels out, leaving a hole at x=2.
  • Vertical Asymptote: A factor exists in the denominator but NOT in the numerator. Example: In \(f(x) = \frac{x+1}{x-2}\), there's a vertical asymptote at x=2 because (x-2) doesn't cancel.

To identify which occurs:

  1. Factor both numerator and denominator completely
  2. Look for common factors
  3. If a factor cancels completely, it creates a hole at that x-value
  4. If a factor remains in the denominator, it creates a vertical asymptote

Think of it this way: holes represent removable discontinuities (the function could be redefined to fill the hole), while vertical asymptotes represent infinite behavior.

Question: How do I determine horizontal asymptotes? I get confused with the degree comparisons.

Answer: The horizontal asymptote rules depend on the degrees of the numerator and denominator polynomials. Let n = degree of numerator, d = degree of denominator:

  • Case 1: n < d (numerator degree less than denominator degree)
  • Horizontal asymptote: y = 0 (the x-axis)

    Example: \(f(x) = \frac{2x}{x^2+1}\), HA: y = 0

  • Case 2: n = d (numerator degree equals denominator degree)
  • Horizontal asymptote: y = ratio of leading coefficients

    Example: \(f(x) = \frac{3x^2+2}{2x^2-1}\), HA: y = 3/2

  • Case 3: n > d (numerator degree greater than denominator degree)
  • No horizontal asymptote (there might be a slant asymptote if n = d+1)

    Example: \(f(x) = \frac{x^3}{x^2+1}\), no HA

Tip: Always identify the leading terms (highest power terms) in both numerator and denominator to determine degrees and leading coefficients.

Question: What exactly is a slant asymptote and how do I find it? I've seen some problems mention it but I'm not sure when it occurs.

Answer: A slant (or oblique) asymptote occurs when the degree of the numerator is exactly one more than the degree of the denominator in a rational function.

When does it occur? Only when: degree of numerator = degree of denominator + 1

How to find it? Use polynomial long division or synthetic division:

  1. Divide the numerator by the denominator
  2. The quotient (ignoring the remainder) gives the equation of the slant asymptote
  3. The remainder approaches 0 as x approaches ±∞

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

Using polynomial division: (x²+2x+3) ÷ (x-1) = x+3 with remainder 6

So the slant asymptote is y = x+3

Note: The graph approaches the slant asymptote as x gets very large in either direction, but never touches it.

Question: How can I tell if my rational function graph is correct? What should I check?

Answer: Here's a systematic approach to verify your rational function graph:

  1. Asymptotes: Check that vertical asymptotes are drawn as dashed lines and the graph approaches but doesn't cross them (except for special cases)
  2. Holes: Ensure holes are marked with open circles at the correct coordinates
  3. Intercepts: Verify x-intercepts (where graph crosses x-axis) and y-intercept (where graph crosses y-axis)
  4. Behavior near asymptotes: Test points on either side of vertical asymptotes to ensure correct behavior (approaching +∞ or -∞)
  5. End behavior: Confirm that the graph approaches horizontal or slant asymptotes as x → ±∞

Additional verification methods:

  • Substitute test points into the original function to verify they lie on the graph
  • Check that the domain restrictions are respected (no values where denominator = 0)
  • Ensure the function maintains its sign in each interval between vertical asymptotes

Question: What happens if both numerator and denominator have the same repeated factor? Does it still create just one hole?

Answer: Yes, if both numerator and denominator contain the same factor, even if repeated, the behavior depends on the multiplicity of that factor in each polynomial:

  • Same multiplicity in both: Creates a hole (completely cancels out)
  • Example: \(f(x) = \frac{(x-2)^2}{(x-2)^2}\) has a hole at x=2

  • Higher multiplicity in numerator: Still results in a hole, but with different local behavior
  • Example: \(f(x) = \frac{(x-2)^3}{(x-2)^2} = (x-2)\) (hole at x=2 after simplification)

  • Higher multiplicity in denominator: Creates a vertical asymptote
  • Example: \(f(x) = \frac{(x-2)^2}{(x-2)^3} = \frac{1}{x-2}\) (vertical asymptote at x=2)

The key principle: After factoring and canceling all common factors, any remaining factors in the denominator create vertical asymptotes, while completely canceled factors create holes.