Solved Exercises on Graphing Rational Functions in Precalculus

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

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

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

Graphing Method:
  1. Find vertical asymptotes (where denominator equals zero)
  2. Find horizontal/slant asymptotes (compare degrees)
  3. Find x and y intercepts
  4. Plot key points and sketch the curve
Function
\(f(x) = \frac{2}{x-3}\)
Vertical Asymptote
\(x = 3\)
Horizontal Asymptote
\(y = 0\)
Step 1: Identify the form

This is a basic rational function of the form \(f(x) = \frac{a}{x-h} + k\) where \(a = 2\), \(h = 3\), \(k = 0\)

Step 2: Find vertical asymptote

Set denominator equal to zero: \(x - 3 = 0\), so \(x = 3\) is the vertical asymptote

Step 3: Find horizontal asymptote

Since degree of numerator (0) is less than degree of denominator (1), horizontal asymptote is \(y = 0\)

Step 4: Find intercepts

X-intercept: Set \(f(x) = 0\), but \(\frac{2}{x-3} = 0\) has no solution, so no x-intercept

Y-intercept: \(f(0) = \frac{2}{0-3} = -\frac{2}{3}\), so y-intercept is \((0, -\frac{2}{3})\)

Step 5: Analyze behavior near asymptotes

As \(x \to 3^-\), \(f(x) \to -\infty\)

As \(x \to 3^+\), \(f(x) \to +\infty\)

Vertical asymptote: \(x = 3\)
Horizontal asymptote: \(y = 0\)
Y-intercept: \((0, -\frac{2}{3})\)
Domain: \((-∞, 3) ∪ (3, ∞)\)
Range: \((-∞, 0) ∪ (0, ∞)\)
Final answer:

The graph has a vertical asymptote at \(x = 3\), horizontal asymptote at \(y = 0\), passes through \((0, -\frac{2}{3})\), and approaches the asymptotes as described above.

Applied rules:

• Vertical Asymptotes: Occur where denominator is zero and numerator is non-zero

• Horizontal Asymptotes: Compare degrees of numerator and denominator

• Behavior Analysis: Examine limits approaching asymptotes

2 Rational function with hole
Exercise 2
Graph the function:
\(f(x) = \frac{x^2 - 4}{x - 2}\)
Definition:

Hole in Graph: A point where the function is undefined but the limit exists. Occurs when a factor cancels out in numerator and denominator.

Original
\(\frac{x^2 - 4}{x - 2}\)
Factored
\(\frac{(x+2)(x-2)}{x-2}\)
Simplified
\(x + 2\) (with \(x \neq 2\))
Step 1: Factor numerator

\(x^2 - 4 = (x+2)(x-2)\) using difference of squares

Step 2: Simplify the function

\(f(x) = \frac{(x+2)(x-2)}{x-2} = x + 2\) for \(x \neq 2\)

Step 3: Identify the hole

At \(x = 2\), the original function is undefined because denominator becomes zero

However, \(\lim_{x \to 2} f(x) = \lim_{x \to 2} (x+2) = 4\)

So there is a hole at point \((2, 4)\)

Step 4: Find intercepts

X-intercept: Set \(x + 2 = 0\), so \(x = -2\), giving point \((-2, 0)\)

Y-intercept: At \(x = 0\), \(y = 0 + 2 = 2\), giving point \((0, 2)\)

Step 5: Sketch the graph

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

Hole at: \((2, 4)\)
X-intercept: \((-2, 0)\)
Y-intercept: \((0, 2)\)
Domain: \((-∞, 2) ∪ (2, ∞)\)
Range: \((-∞, 4) ∪ (4, ∞)\)
Final answer:

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

Applied rules:

• Holes: Occur when common factors cancel in numerator and denominator

• Limit Definition: A hole exists where function is undefined but limit exists

• Simplification: Cancel common factors while noting restrictions

3 Rational function with slant asymptote
Exercise 3
Graph the function:
\(f(x) = \frac{x^2 + 2x - 3}{x - 1}\)
Definition:

Slant Asymptote: An oblique asymptote that occurs when the degree of the numerator is exactly one greater than the degree of the denominator.

Original
\(\frac{x^2 + 2x - 3}{x - 1}\)
Polynomial Division
\(x + 3 + \frac{0}{x-1}\)
Result
\(x + 3\) (with \(x \neq 1\))
Step 1: Perform polynomial long division

Divide \(x^2 + 2x - 3\) by \(x - 1\)

\(x^2 ÷ x = x\), then multiply: \(x(x-1) = x^2 - x\)

Subtract: \((x^2 + 2x - 3) - (x^2 - x) = 3x - 3\)

\(3x ÷ x = 3\), then multiply: \(3(x-1) = 3x - 3\)

Subtract: \((3x - 3) - (3x - 3) = 0\)

Step 2: Write in quotient form

\(f(x) = x + 3 + \frac{0}{x-1} = x + 3\) for \(x \neq 1\)

Step 3: Identify asymptotes

Since remainder is 0, the function simplifies to \(y = x + 3\) with a hole at \(x = 1\)

Actually, let's recheck: \(x = 1\) makes denominator zero, so vertical asymptote at \(x = 1\)

Wait: Let's factor the numerator: \(x^2 + 2x - 3 = (x+3)(x-1)\)

So \(f(x) = \frac{(x+3)(x-1)}{x-1} = x + 3\) for \(x \neq 1\)

This creates a hole at \(x = 1\), not an asymptote

Step 4: Find intercepts

X-intercept: Set \(x + 3 = 0\), so \(x = -3\), giving point \((-3, 0)\)

Y-intercept: At \(x = 0\), \(y = 0 + 3 = 3\), giving point \((0, 3)\)

Step 5: Identify the hole

At \(x = 1\), the function is undefined because denominator becomes zero

However, \(\lim_{x \to 1} f(x) = \lim_{x \to 1} (x+3) = 4\)

So there is a hole at point \((1, 4)\)

Hole at: \((1, 4)\)
X-intercept: \((-3, 0)\)
Y-intercept: \((0, 3)\)
Domain: \((-∞, 1) ∪ (1, ∞)\)
Range: \((-∞, 4) ∪ (4, ∞)\)
Final answer:

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

Applied rules:

• Slant Asymptotes: Occur when numerator degree is one more than denominator

• Polynomial Division: Used to find slant asymptotes

• Factoring: Check if common factors exist to identify holes

Rules and methods, laws,...
\(f(x) = \frac{P(x)}{Q(x)}\)
Rational Function
Vertical Asymptote
\(Q(x) = 0, P(x) \neq 0\)
Where denominator is zero
Horizontal Asymptote
Compare degrees of P and Q
Depends on relative degrees
Hole
Common factor in P and Q
Factor cancels out
Vertical Asymptotes: Find where denominator equals zero but numerator doesn't
Horizontal Asymptotes: If deg(P) < deg(Q), y=0; if deg(P)=deg(Q), y=leading coeff ratio; if deg(P)>deg(Q), no HA
Slant Asymptotes: Occur when deg(P) = deg(Q) + 1; found by polynomial division
Tip 1: Always factor numerator and denominator first to identify holes
Tip 2: Holes occur when common factors cancel, vertical asymptotes when they don't
Tip 3: For behavior near vertical asymptotes, test values on both sides
Solution: Exercises 4 to 5
4 Complex rational function
Exercise 4
Graph the function:
\(f(x) = \frac{x^2 - 9}{x^2 - 4}\)
Definition:

Complex Rational Function: A rational function where both numerator and denominator are quadratic or higher-degree polynomials.

Function
\(f(x) = \frac{x^2 - 9}{x^2 - 4}\)
Factored
\(\frac{(x+3)(x-3)}{(x+2)(x-2)}\)
Asymptotes
\(x = -2, x = 2\)
Step 1: Factor numerator and denominator

Numerator: \(x^2 - 9 = (x+3)(x-3)\) (difference of squares)

Denominator: \(x^2 - 4 = (x+2)(x-2)\) (difference of squares)

No common factors, so no holes

Step 2: Find vertical asymptotes

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

So \(x = -2\) and \(x = 2\) are vertical asymptotes

Step 3: Find horizontal asymptote

Degree of numerator = 2, degree of denominator = 2

Since degrees are equal, horizontal asymptote is ratio of leading coefficients

\(y = \frac{1}{1} = 1\)

Step 4: Find intercepts

X-intercepts: Set numerator equal to zero: \((x+3)(x-3) = 0\), so \(x = -3\) and \(x = 3\)

Points: \((-3, 0)\) and \((3, 0)\)

Y-intercept: \(f(0) = \frac{0^2 - 9}{0^2 - 4} = \frac{-9}{-4} = \frac{9}{4}\)

Point: \((0, \frac{9}{4})\)

Step 5: Analyze behavior near asymptotes

Test intervals: \((-∞, -2)\), \((-2, 2)\), \((2, ∞)\)

At \(x = -3\): \(f(-3) = 0\) (intercept)

At \(x = 0\): \(f(0) = \frac{9}{4} > 0\)

At \(x = 3\): \(f(3) = 0\) (intercept)

Vertical asymptotes: \(x = -2, x = 2\)
Horizontal asymptote: \(y = 1\)
X-intercepts: \((-3, 0), (3, 0)\)
Y-intercept: \((0, \frac{9}{4})\)
Domain: \((-∞, -2) ∪ (-2, 2) ∪ (2, ∞)\)
Final answer:

The graph has vertical asymptotes at \(x = -2\) and \(x = 2\), horizontal asymptote at \(y = 1\), x-intercepts at \((-3, 0)\) and \((3, 0)\), and y-intercept at \((0, \frac{9}{4})\).

Applied rules:

• Factoring: Essential for identifying holes and intercepts

• Horizontal Asymptotes: When degrees equal, HA is ratio of leading coefficients

• Interval Testing: Helps determine function behavior between asymptotes

5 Rational function with higher degree
Exercise 5
Graph the function:
\(f(x) = \frac{x^3 - 2x^2 - 5x + 6}{x^2 - 1}\)
Definition:

Higher Degree Rational Function: When the numerator has a higher degree than the denominator, the function may have a slant asymptote.

Function
\(f(x) = \frac{x^3 - 2x^2 - 5x + 6}{x^2 - 1}\)
Vertical Asymptotes
\(x = -1, x = 1\)
Slant Asymptote
Found by division
Step 1: Factor denominator

\(x^2 - 1 = (x+1)(x-1)\)

Vertical asymptotes at \(x = -1\) and \(x = 1\)

Step 2: Attempt to factor numerator

Try factoring \(x^3 - 2x^2 - 5x + 6\)

Testing possible rational roots: ±1, ±2, ±3, ±6

\(f(1) = 1 - 2 - 5 + 6 = 0\), so \((x-1)\) is a factor

Using polynomial division: \(x^3 - 2x^2 - 5x + 6 = (x-1)(x^2 - x - 6)\)

Further factoring: \(x^2 - x - 6 = (x-3)(x+2)\)

So numerator = \((x-1)(x-3)(x+2)\)

Step 3: Simplify the function

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

The \((x-1)\) factor cancels, creating a hole at \(x = 1\)

Simplified: \(f(x) = \frac{(x-3)(x+2)}{x+1}\) for \(x \neq 1\)

Step 4: Find remaining vertical asymptote

From simplified form: denominator is zero when \(x = -1\)

So vertical asymptote is at \(x = -1\)

Step 5: Find horizontal/slant asymptote

After simplification: \(f(x) = \frac{x^2 - x - 6}{x + 1}\)

Degree of numerator (2) = degree of denominator (1) + 1

Perform polynomial division: \(x^2 - x - 6 ÷ (x + 1)\)

\(x^2 ÷ x = x\), multiply: \(x(x+1) = x^2 + x\)

Subtract: \((x^2 - x - 6) - (x^2 + x) = -2x - 6\)

\(-2x ÷ x = -2\), multiply: \(-2(x+1) = -2x - 2\)

Subtract: \((-2x - 6) - (-2x - 2) = -4\)

So \(f(x) = x - 2 + \frac{-4}{x+1}\)

Slant asymptote is \(y = x - 2\)

Step 6: Find intercepts

X-intercepts: Set numerator of simplified form to zero: \((x-3)(x+2) = 0\)

So \(x = 3\) and \(x = -2\), giving points \((3, 0)\) and \((-2, 0)\)

Y-intercept: \(f(0) = \frac{(0-3)(0+2)}{0+1} = \frac{-6}{1} = -6\)

Point: \((0, -6)\)

Step 7: Find the hole

At \(x = 1\): Using simplified form: \(f(1) = \frac{(1-3)(1+2)}{1+1} = \frac{(-2)(3)}{2} = -3\)

Hole at point \((1, -3)\)

Vertical asymptote: \(x = -1\)
Slant asymptote: \(y = x - 2\)
Hole: \((1, -3)\)
X-intercepts: \((-2, 0), (3, 0)\)
Y-intercept: \((0, -6)\)
Domain: \((-∞, -1) ∪ (-1, 1) ∪ (1, ∞)\)
Final answer:

The graph has a vertical asymptote at \(x = -1\), slant asymptote at \(y = x - 2\), a hole at \((1, -3)\), x-intercepts at \((-2, 0)\) and \((3, 0)\), and y-intercept at \((0, -6)\).

Applied rules:

• Rational Root Theorem: Used to find potential zeros for factoring

• Polynomial Division: Essential for finding slant asymptotes

• Common Factors: Identify holes when factors cancel

Key Properties and Characteristics of Rational Functions
\(f(x) = \frac{P(x)}{Q(x)}\)
Rational Function Form
Key definitions:

Rational Function: A function that can be expressed as the quotient of two polynomials

Domain: All real numbers except those that make the denominator zero

Asymptote: A line that the graph approaches but never touches

Complete methodology:
  1. Factor completely: Factor both numerator and denominator
  2. Identify holes: Look for common factors that cancel
  3. Find vertical asymptotes: Values that make denominator zero but not numerator
  4. Determine horizontal/slant asymptotes: Compare degrees of numerator and denominator
  5. Find intercepts: X-intercepts (numerator = 0) and y-intercept (evaluate at x=0)
  6. Analyze end behavior: How the function behaves as x approaches ±∞
Tip 1: Always factor first! This reveals holes and helps identify intercepts.
Tip 2: A factor that appears in both numerator and denominator creates a hole, not an asymptote.
Tip 3: For horizontal asymptotes, compare the leading terms of numerator and denominator.
Tip 4: Test points in each interval to determine the sign of the function between asymptotes.
Common errors: Confusing holes with vertical asymptotes, miscalculating asymptotes based on degree comparison, forgetting to note domain restrictions.
Exam preparation: Practice polynomial factoring, memorize asymptote rules, work on analyzing function behavior near discontinuities.
Asymptote Rules to Know:

• Vertical: Solve \(Q(x) = 0\) where \(P(x) \neq 0\)

• Horizontal: If deg(P) < deg(Q), y = 0; if deg(P) = deg(Q), y = ratio of leading coefficients

• Slant: If deg(P) = deg(Q) + 1, perform polynomial division

• No horizontal asymptote if deg(P) > deg(Q) + 1

Questions & Answers

Question: I'm confused about when to have a hole versus a vertical asymptote. How do I tell the difference?

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

  • Hole: A factor appears in BOTH the numerator AND denominator. When you simplify by canceling this common factor, the function is undefined at that specific x-value, but the limit exists.
  • Vertical Asymptote: A factor appears ONLY in the denominator. The function approaches infinity as x approaches this value.

Example: In \(f(x) = \frac{(x-2)(x+1)}{(x-2)(x-3)}\), the factor \((x-2)\) appears in both numerator and denominator, so there's a hole at \(x = 2\).

But the factor \((x-3)\) only appears in the denominator, so there's a vertical asymptote at \(x = 3\).

Always factor completely first to identify all common factors!

Question: How do I determine the horizontal asymptote when the degrees of numerator and denominator are the same?

Answer: When the degrees of the numerator and denominator are equal, the horizontal asymptote is the ratio of the leading coefficients:

If \(f(x) = \frac{a_nx^n + ...}{b_nx^n + ...}\), then the horizontal asymptote is \(y = \frac{a_n}{b_n}\).

For example, in \(f(x) = \frac{3x^2 + 2x - 1}{2x^2 - 5x + 4}\), both numerator and denominator have degree 2.

The leading coefficient of the numerator is 3, and the leading coefficient of the denominator is 2.

Therefore, the horizontal asymptote is \(y = \frac{3}{2}\).

This happens because as x approaches infinity, the lower-degree terms become negligible compared to the leading terms.

Question: What's the difference between a slant asymptote and a horizontal asymptote? When do I get each one?

Answer: The type of asymptote depends on the relationship between the degrees of the numerator and denominator:

  • Horizontal Asymptote: Occurs when the degree of the numerator is less than or equal to the degree of the denominator
  • Slant (Oblique) Asymptote: Occurs when the degree of the numerator is exactly one greater than the degree of the denominator

To find a slant asymptote, you perform polynomial long division:

If \(f(x) = \frac{P(x)}{Q(x)}\) and deg(P) = deg(Q) + 1, divide P(x) by Q(x) to get quotient q(x) and remainder r(x).

The slant asymptote is the quotient y = q(x).

For example, in \(f(x) = \frac{x^2 + 3x + 2}{x - 1}\), since the numerator has degree 2 and denominator has degree 1, there's a slant asymptote.

Division gives us \(y = x + 4\) as the slant asymptote.