Graphing Rational Functions: Complete Guide

Master the art of graphing rational functions: domain, intercepts, asymptotes, and step-by-step techniques for accurate representation.

Graphing Techniques: Exercises 1 to 3
1 Basic Graphing with Simple Asymptotes
Exercise 1
Graph: \(f(x) = \frac{2x + 1}{x - 3}\)
Key Definitions:

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

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

Vertical Asymptote: Vertical line where function approaches ±∞

Horizontal Asymptote: Horizontal line approached as \(x \to \pm\infty\)

Graphing Strategy:
  1. Factor numerator and denominator completely
  2. Find domain restrictions
  3. Identify vertical asymptotes and holes
  4. Determine horizontal/oblique asymptotes
  5. Find x and y intercepts
  6. Plot additional points and sketch
Function
\(f(x) = \frac{2x + 1}{x - 3}\)
VA at
\(x = 3\)
HA at
\(y = 2\)
Step 1: Analyze the function

Numerator: \(2x + 1\) (degree 1)

Denominator: \(x - 3\) (degree 1)

Since degrees are equal, HA: \(y = \frac{2}{1} = 2\)

Step 2: Find vertical asymptote

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

Vertical Asymptote: \(x = 3\)

Step 3: Find horizontal asymptote

Since numerator degree = denominator degree, HA is ratio of leading coefficients

HA: \(y = \frac{2}{1} = 2\)

Step 4: Find x-intercept

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

\(x = -\frac{1}{2}\)

x-intercept: \(\left(-\frac{1}{2}, 0\right)\)

Step 5: Find y-intercept

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

y-intercept: \(\left(0, -\frac{1}{3}\right)\)

Step 6: Plot additional points

Test points around VA: \(f(2) = \frac{5}{-1} = -5\), \(f(4) = \frac{9}{1} = 9\)

VA: \(x = 3\)
HA: \(y = 2\)
x-int: \(\left(-\frac{1}{2}, 0\right)\)
y-int: \(\left(0, -\frac{1}{3}\right)\)
Final Graph Features:

Vertical Asymptote at \(x = 3\)

Horizontal Asymptote at \(y = 2\)

Passes through \(\left(-\frac{1}{2}, 0\right)\) and \(\left(0, -\frac{1}{3}\right)\)

Applied Rules:

• VA Rule: Denominator = 0, numerator ≠ 0

• HA Rule: Equal degrees → ratio of leading coefficients

• Intercepts: x-int when numerator = 0, y-int when x = 0

2 Graphing with Multiple Asymptotes
Exercise 2
Graph: \(f(x) = \frac{x^2 - 4}{x^2 - x - 6}\)
Factoring Reminder:

Difference of Squares: \(a^2 - b^2 = (a+b)(a-b)\)

Quadratic Factoring: Look for two numbers that multiply to constant and add to linear coefficient

Original
\(f(x) = \frac{x^2 - 4}{x^2 - x - 6}\)
Factored
\(f(x) = \frac{(x+2)(x-2)}{(x-3)(x+2)}\)
Simplified
\(f(x) = \frac{x-2}{x-3}\) (hole at x=-2)
Step 1: Factor completely

Numerator: \(x^2 - 4 = (x+2)(x-2)\) (Difference of squares)

Denominator: \(x^2 - x - 6 = (x-3)(x+2)\) (Numbers -3 and 2 multiply to -6, add to -1)

Step 2: Simplify by canceling common factors

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

with restriction: \(x \neq -2\) (creates a hole)

Step 3: Find vertical asymptote

From simplified form: denominator is \(x - 3 = 0\)

Vertical Asymptote: \(x = 3\)

Step 4: Find horizontal asymptote

From simplified form: \(\frac{x-2}{x-3}\)

Both numerator and denominator have degree 1, so HA: \(y = \frac{1}{1} = 1\)

Step 5: Find intercepts

x-intercept: Set numerator equal to zero: \(x - 2 = 0\), so \(x = 2\)

y-intercept: Set \(x = 0\): \(f(0) = \frac{-2}{-3} = \frac{2}{3}\)

Step 6: Identify hole location

At \(x = -2\) (where factor canceled): \(f(-2) = \frac{-2-2}{-2-3} = \frac{-4}{-5} = \frac{4}{5}\)

Hole at \(\left(-2, \frac{4}{5}\right)\)

VA: \(x = 3\)
HA: \(y = 1\)
x-int: \((2, 0)\)
y-int: \(\left(0, \frac{2}{3}\right)\)
Hole: \(\left(-2, \frac{4}{5}\right)\)
Final Graph Features:

Vertical Asymptote at \(x = 3\)

Horizontal Asymptote at \(y = 1\)

Hole at \(\left(-2, \frac{4}{5}\right)\)

Passes through \((2, 0)\) and \(\left(0, \frac{2}{3}\right)\)

Applied Rules:

• Common Factors: Create holes, not vertical asymptotes

• Simplification: Helps identify true asymptotic behavior

• Hole Calculation: Use simplified function to find y-value

3 Graphing with Oblique Asymptote
Exercise 3
Graph: \(f(x) = \frac{x^2 + 2x - 3}{x - 1}\)
Oblique Asymptote Rule:

When numerator degree = denominator degree + 1: Perform polynomial long division to find oblique asymptote

Oblique Asymptote: Linear function that the rational function approaches as \(x \to \pm\infty\)

Function
\(f(x) = \frac{x^2 + 2x - 3}{x - 1}\)
Long Division
\(x + 3 + \frac{0}{x-1}\)
OA: y = x + 3
No remainder
Step 1: Identify degrees

Numerator degree: 2, Denominator degree: 1

Since 2 = 1 + 1, we have an oblique asymptote

Step 2: Perform polynomial long division

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

First term: \(\frac{x^2}{x} = x\)

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

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

Next term: \(\frac{3x}{x} = 3\)

\(3(x-1) = 3x - 3\)

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

Step 3: Write result

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

Oblique Asymptote: \(y = x + 3\)

Step 4: Find vertical asymptote

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

Vertical Asymptote: \(x = 1\)

Step 5: Find intercepts

x-intercept: Set numerator equal to zero: \(x^2 + 2x - 3 = 0\)

Factor: \((x+3)(x-1) = 0\), so \(x = -3\) or \(x = 1\)

Since \(x = 1\) makes denominator zero, only x-intercept is \((-3, 0)\)

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

Step 6: Sketch the graph

Function approaches the line \(y = x + 3\) as \(x \to \pm\infty\)

Has vertical asymptote at \(x = 1\)

VA: \(x = 1\)
OA: \(y = x + 3\)
x-int: \((-3, 0)\)
y-int: \((0, 3)\)
Final Graph Features:

Vertical Asymptote at \(x = 1\)

Oblique Asymptote at \(y = x + 3\)

Passes through \((-3, 0)\) and \((0, 3)\)

Applied Rules:

• Oblique Asymptotes: Occur when numerator degree is exactly 1 more than denominator

• Long Division: Quotient gives equation of oblique asymptote

• Remainder: Approaches 0 as \(x \to \pm\infty\)

Graphing Rational Functions: Complete Summary
\(f(x) = \frac{P(x)}{Q(x)}\)
Rational Function Standard Form
Domain
Exclude zeros of Q(x)
All x where Q(x) ≠ 0
Vertical Asymptotes
Q(x) = 0, P(x) ≠ 0
Where denominator = 0
Holes
Q(x) = 0, P(x) = 0
Common factors cancel
Core Definitions:

Rational Function: A function expressed as the ratio of two polynomial functions

Domain: Set of all real numbers except values that make the denominator zero

Vertical Asymptote: Vertical line where function approaches positive or negative infinity

Horizontal Asymptote: Horizontal line that function approaches as x approaches infinity

Oblique/Slant Asymptote: Diagonal line approached when numerator degree is exactly 1 more than denominator

Hole: Point where function is undefined but has a finite limit

Complete Graphing Procedure:
  1. Factor completely: Both numerator and denominator
  2. Find domain: Exclude values that make denominator zero
  3. Identify VAs vs Holes: Check if numerator also equals zero
  4. Determine HA/OA: Compare degrees of numerator and denominator
  5. Find intercepts: x-int when numerator = 0, y-int when x = 0
  6. Plot key points: Test points around asymptotes
  7. Sketch the graph: Connect points respecting asymptotic behavior
Tip 1: Always factor first - it reveals holes vs vertical asymptotes.
Tip 2: The function can cross its horizontal asymptote but never its vertical asymptote.
Tip 3: For HA, only leading terms matter as x approaches infinity.
Tip 4: Use test points in each interval created by vertical asymptotes.
Common Mistakes: Forgetting to factor, confusing holes with VAs, misapplying HA rules.
Key Insights: Asymptotes define the function's end behavior, intercepts provide anchor points.
Asymptote Classification Rules:

Vertical Asymptotes: Occur at zeros of denominator that are not zeros of numerator

Horizontal Asymptotes: Compare degrees of numerator (n) and denominator (d)

• If n < d: HA at y = 0

• If n = d: HA at y = (leading coeff of num)/(leading coeff of den)

• If n > d: No HA (possibly oblique asymptote if n = d + 1)

Advanced Graphing: Exercises 4 to 5
4 Complex Graphing with Multiple Features
Exercise 4
Graph: \(f(x) = \frac{x^3 - 2x^2 - 5x + 6}{x^2 - 4}\)
Advanced Factoring:

Cubic Factoring: May require synthetic division or grouping methods

End Behavior: Determined by leading terms of numerator and denominator

Function
\(f(x) = \frac{x^3 - 2x^2 - 5x + 6}{x^2 - 4}\)
Factored
\(f(x) = \frac{(x-1)(x+2)(x-3)}{(x-2)(x+2)}\)
Simplified
\(f(x) = \frac{(x-1)(x-3)}{x-2}\) (hole at x=-2)
Step 1: Factor the denominator

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

Step 2: Factor the numerator

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

Testing x = 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) = (x-1)(x-3)(x+2)\)

Step 3: Rewrite with factored forms

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

Step 4: Simplify by canceling common factors

\(f(x) = \frac{(x-1)(x-3)}{x-2}\) with restriction \(x \neq -2\)

Step 5: Find vertical asymptotes and holes

At \(x = -2\): Both numerator and denominator = 0 → Hole

At \(x = 2\): Denominator = 0, numerator ≠ 0 → Vertical Asymptote

Step 6: Determine horizontal/oblique asymptote

Numerator degree: 3, Denominator degree: 2

Since 3 = 2 + 1, we have an oblique asymptote

Perform long division on \(\frac{(x-1)(x-3)}{x-2} = \frac{x^2-4x+3}{x-2}\)

Result: \(x - 2 - \frac{1}{x-2}\), so oblique asymptote is \(y = x - 2\)

Step 7: Find intercepts

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

So \(x = 1\) and \(x = 3\)

y-intercept: \(f(0) = \frac{(0-1)(0-3)}{0-2} = \frac{3}{-2} = -\frac{3}{2}\)

VA: \(x = 2\)
OA: \(y = x - 2\)
x-ints: \((1, 0)\) and \((3, 0)\)
y-int: \(\left(0, -\frac{3}{2}\right)\)
Hole: \(\left(-2, \frac{(-2-1)(-2-3)}{-2-2} = \frac{(-3)(-5)}{-4} = -\frac{15}{4}\right)\)
Final Graph Features:

Vertical Asymptote at \(x = 2\)

Oblique Asymptote at \(y = x - 2\)

Hole at \(\left(-2, -\frac{15}{4}\right)\)

Passes through \((1, 0)\), \((3, 0)\), and \(\left(0, -\frac{3}{2}\right)\)

Applied Rules:

• Complex Factoring: Use rational root theorem and polynomial division

• Hole Location: Substitute x-value into simplified function

• Oblique Asymptotes: Perform long division when n = d + 1

5 End Behavior and Sign Analysis
Exercise 5
Graph: \(f(x) = \frac{(x+1)^2(x-2)}{(x-1)^2(x+3)}\)
Multiplicity Effects:

Even Multiplicity: Graph touches but doesn't cross x-axis or asymptote

Odd Multiplicity: Graph crosses x-axis or approaches from opposite sides of asymptote

Function
\(f(x) = \frac{(x+1)^2(x-2)}{(x-1)^2(x+3)}\)
Zeros/Multiplicities
x = -1(mult 2), x = 2(mult 1)
VA: x = 1(mult 2), x = -3(mult 1)
Step 1: Identify all zeros and their multiplicities

Numerator zeros: \(x = -1\) (multiplicity 2), \(x = 2\) (multiplicity 1)

Denominator zeros: \(x = 1\) (multiplicity 2), \(x = -3\) (multiplicity 1)

Step 2: Find vertical asymptotes

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

At \(x = 1\): Even multiplicity in denominator → graph approaches same direction on both sides

At \(x = -3\): Odd multiplicity in denominator → graph approaches opposite directions

Step 3: Determine horizontal asymptote

Numerator degree: 3, Denominator degree: 3

Equal degrees → HA: \(y = \frac{\text{leading coeff of num}}{\text{leading coeff of den}} = \frac{1}{1} = 1\)

Step 4: Find x-intercepts

At \(x = -1\): Even multiplicity → graph touches x-axis but doesn't cross

At \(x = 2\): Odd multiplicity → graph crosses x-axis

Step 5: Find y-intercept

\(f(0) = \frac{(0+1)^2(0-2)}{(0-1)^2(0+3)} = \frac{1 \cdot (-2)}{1 \cdot 3} = -\frac{2}{3}\)

Step 6: Perform sign analysis

Test intervals: \((-\infty, -3)\), \((-3, -1)\), \((-1, 1)\), \((1, 2)\), \((2, \infty)\)

At \(x = -4\): \(\frac{(-3)^2(-6)}{(-5)^2(-1)} = \frac{54}{25} > 0\)

At \(x = 0\): \(f(0) = -\frac{2}{3} < 0\)

At \(x = 1.5\): \(\frac{(2.5)^2(-0.5)}{(0.5)^2(4.5)} < 0\)

Step 7: Sketch considering multiplicity effects

At \(x = -1\): Graph touches x-axis and turns around (even multiplicity)

At \(x = 2\): Graph crosses x-axis (odd multiplicity)

At \(x = 1\): Graph approaches from same direction on both sides (even multiplicity)

At \(x = -3\): Graph approaches from opposite directions (odd multiplicity)

VA: \(x = -3, x = 1\)
HA: \(y = 1\)
x-ints: \((-1, 0)\) (touches), \((2, 0)\) (crosses)
y-int: \(\left(0, -\frac{2}{3}\right)\)
Final Graph Features:

Vertical Asymptotes at \(x = -3\) and \(x = 1\)

Horizontal Asymptote at \(y = 1\)

Touches x-axis at \((-1, 0)\), crosses at \((2, 0)\)

Approaches same direction near \(x = 1\), opposite directions near \(x = -3\)

Applied Rules:

• Multiplicity Effects: Even → touch/turn, Odd → cross

• Sign Analysis: Test values in each interval to determine behavior

• Asymptote Approach: Even multiplicity → same side, Odd → opposite sides

Advanced Graphing Concepts and Memory Aids
\(\lim_{x \to \pm\infty} \frac{P(x)}{Q(x)}\)
End Behavior Analysis
Advanced Concepts:

End Behavior: How the function behaves as x approaches positive or negative infinity

Multiplicity: The number of times a factor appears in the polynomial

Sign Analysis: Determining the sign of the function in different intervals

Behavior Near Asymptotes: Whether function approaches from above or below

Sign Analysis Process:
  1. List all critical values: Zeros and vertical asymptotes
  2. Order them: From least to greatest on number line
  3. Test each interval: Choose test point and determine sign
  4. Record behavior: Positive or negative in each interval
  5. Sketch accordingly: Respecting sign changes and asymptotic behavior
Memory Aid: "Bottom heavy → y=0, Top heavy → no HA, Same degree → ratio of leading coefficients"
Tip 1: Even multiplicity at x-intercept means the graph touches and turns.
Tip 2: Even multiplicity at VA means graph approaches from same direction.
Tip 3: The function can cross its horizontal asymptote but not vertical asymptotes.
Key Relationships: Domain restrictions → VAs/Holes, Degree comparison → HA/OA, Multiplicity → Behavior at intercepts/asymptotes.
Memorization Strategy: Practice with factored forms first, then move to unfactored forms.
Comprehensive Asymptote Rules:

Vertical Asymptotes: Occur where denominator = 0 and numerator ≠ 0

Horizontal Asymptotes: Compare degrees of numerator (n) and denominator (d)

• If n < d: HA at y = 0

• If n = d: HA at y = (leading coeff of num)/(leading coeff of den)

• If n > d: No HA (possibly oblique if n = d + 1)

Oblique Asymptotes: Occur when n = d + 1, found by polynomial long division

Visual Comparison: Different Asymptotic Behaviors
Behavior Analysis Exercise
Compare these functions showing different asymptotic behaviors:
\(f_1(x) = \frac{1}{x}\) (HA: y=0, VA: x=0)
\(f_2(x) = \frac{x}{x-1}\) (HA: y=1, VA: x=1)
\(f_3(x) = \frac{x^2}{x-2}\) (OA: y=x+2, VA: x=2)

Analysis: Each function demonstrates unique asymptotic characteristics based on degree relationships.

  • \(f_1(x) = \frac{1}{x}\): Lower degree numerator → HA at y=0
  • \(f_2(x) = \frac{x}{x-1}\): Equal degrees → HA at y=1
  • \(f_3(x) = \frac{x^2}{x-2}\): Higher degree numerator → Oblique asymptote

Questions & Answers

Question: I'm having trouble understanding when a rational function can cross its horizontal asymptote but can't cross its vertical asymptote. Can you explain this concept?

Answer: This is a great conceptual question! The key difference lies in how these asymptotes are formed:

  • Vertical Asymptotes: These occur where the function is undefined (denominator = 0). Since the function doesn't exist at these x-values, it cannot cross the vertical line.
  • Horizontal Asymptotes: These describe the function's behavior as x approaches infinity. The function can have values at any finite x-location, including crossing the horizontal line, as long as it approaches the asymptote as x gets larger.

Think of it this way: a vertical asymptote represents a "wall" that the function cannot pass through because it's undefined there. A horizontal asymptote is more like a "ceiling" or "floor" that the function approaches but can cross in the middle portion of the graph.

For example, consider \(f(x) = \frac{x}{x^2 + 1}\). This function has a horizontal asymptote at y = 0, but it crosses this line at x = 0, passing through the origin.

Question: How does the multiplicity of factors affect the graph's behavior near zeros and vertical asymptotes? I'm confused about even vs odd multiplicity.

Answer: Multiplicity determines whether the graph crosses or touches at a particular point:

  • Odd Multiplicity: Graph crosses the x-axis or passes through the point. For vertical asymptotes, the graph approaches from opposite directions (one side goes to +∞, other to -∞).
  • Even Multiplicity: Graph touches but doesn't cross the x-axis (like a parabola at its vertex). For vertical asymptotes, the graph approaches from the same direction on both sides (both sides go to +∞ or both to -∞).

For x-intercepts:

If \(f(x) = (x-2)^3(x+1)^2\), at x = 2 (odd mult 3), the graph crosses the x-axis.

At x = -1 (even mult 2), the graph touches the x-axis but turns around.

For vertical asymptotes:

If \(f(x) = \frac{1}{(x-3)^2(x+2)^1}\), at x = 3 (even mult 2), both sides approach +∞.

At x = -2 (odd mult 1), one side approaches +∞ and the other -∞.

Question: In Exercise 4, how did you determine that the oblique asymptote was y = x - 2? Can you walk me through the polynomial long division?

Answer: Sure! To find the oblique asymptote of \(\frac{x^2-4x+3}{x-2}\), we perform polynomial long division:

Step 1: Divide leading term of dividend by leading term of divisor

\(\frac{x^2}{x} = x\)

Step 2: Multiply this result by the divisor

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

Step 3: Subtract from the dividend

\((x^2 - 4x + 3) - (x^2 - 2x) = -2x + 3\)

Step 4: Repeat with new dividend

\(\frac{-2x}{x} = -2\)

Step 5: Multiply and subtract

\(-2(x-2) = -2x + 4\)

\((-2x + 3) - (-2x + 4) = -1\)

So: \(\frac{x^2-4x+3}{x-2} = x - 2 + \frac{-1}{x-2}\)

As \(x \to \pm\infty\), the remainder \(\frac{-1}{x-2} \to 0\), so the oblique asymptote is \(y = x - 2\).