Graphing Rational Functions: Asymptotes, Discontinuities, and Curve Sketching

Fundamentals of Rational Functions
  • Definition: A rational function is expressed in the form f(x)=p(x)q(x)f(x) = \frac{p(x)}{q(x)}, where p(x)p(x) and q(x)q(x) are non-zero polynomial functions.

  • Domain: All real numbers R\mathbb{R} except any input values where the original denominator equals zero (q(x)=0q(x) = 0).

  • Core Elements:

    • Vertical Asymptotes (VAs): Occur at real zeros of the denominator q(x)q(x) that do not cancel out.

    • Horizontal or Slant Asymptotes: Governed strictly by the relationship between the degrees of p(x)p(x) and q(x)q(x).

    • xx-intercepts: Located at the real zeros of the simplified numerator p(x)p(x).

    • yy-intercept: The value of f(0)f(0), provided 00 is in the domain.

    • Pointwise Discontinuities (Holes): Occur at values corresponding to common factors that cancel from both numerator and denominator.

Pointwise Discontinuities (Holes)
  • Definition: A hole is an input value (xx-value) that makes the original function undefined due to a shared factor canceling between the numerator and denominator.

  • Algebraic Method:

    1. Completely factor both p(x)p(x) and q(x)q(x).

    2. Identify and cancel all shared factors.

    3. Set each canceled factor equal to 00 and solve for xx to determine the xx-coordinate.

    4. Substitute that xx-value into the simplified expression to compute the corresponding yy-coordinate.

  • Example:

    • Given: f(x)=x2−x−2x−2f(x) = \frac{x^2 - x - 2}{x - 2}

    • Factored form: f(x)=(x−2)(x+1)x−2f(x) = \frac{(x - 2)(x + 1)}{x - 2}

    • Simplified form: f(x)=x+1f(x) = x + 1, where x≠2x \neq 2

    • The canceling factor (x−2)(x - 2) gives an xx-coordinate of x=2x = 2.

    • Substitute into the simplified function: f(2)=2+1=3f(2) = 2 + 1 = 3

    • Hole coordinate: (2,3)\left(2, 3\right)

Vertical Asymptotes and Domain Restrictions
  • Definition: Vertical lines x=cx = c occurring at values where the denominator is zero after all common factors have been canceled.

  • Procedure:

    1. Simplify the rational function completely by canceling shared factors.

    2. Set the remaining denominator equal to zero (q(x)=0q(x) = 0).

    3. Solve for xx.

  • Domain Rule: The domain includes all real numbers R\mathbb{R} except values causing q(x)=0q(x) = 0 in the unsimplified function (both vertical asymptotes and holes).

  • Example:

    • Given: y=x2−4x2+4x+3=(x+2)(x−2)(x+3)(x+1)y = \frac{x^2 - 4}{x^2 + 4x + 3} = \frac{(x + 2)(x - 2)}{(x + 3)(x + 1)}

    • Denominator zeros: (x+3)(x+1)=0  ⟹  x=−3(x + 3)(x + 1) = 0 \implies x = -3 and x=−1x = -1

    • Vertical asymptotes: x=−3x = -3 and x=−1x = -1

    • Domain: R\mathbb{R}, where x≠−3x \neq -3 and x≠−1x \neq -1

Horizontal and Oblique (Slant) Asymptotes
  • Role: Determine the end behavior of the rational curve as x→∞x \rightarrow \infty and x→−∞x \rightarrow -\infty.

  • Important Note: Unlike vertical asymptotes, rational functions can intersect horizontal or slant asymptotes.

  • Degree Comparison Rules for y=cxa+…dxb+…y = \frac{c x^a + \dots}{d x^b + \dots}:

    • Case 1: Equal Degrees (a=ba = b):

    • Horizontal asymptote is the ratio of the leading coefficients: y=cdy = \frac{c}{d}

    • Example: f(x)=x2+4x−9x2+10x+21  ⟹  y=11=1f(x) = \frac{x^2 + 4x - 9}{x^2 + 10x + 21} \implies y = \frac{1}{1} = 1

    • Case 2: Denominator Degree is Greater (a<ba < b):

    • Horizontal asymptote is always the line: y=0y = 0

    • Example: y=3xx(x+3)(x−5)  ⟹  y=0y = \frac{3x}{x(x + 3)(x - 5)} \implies y = 0

    • Case 3: Numerator Degree is Greater (a>ba > b):

    • No horizontal asymptote exists.

    • Linear Slant Asymptote: Occurs when aa is exactly one degree greater than bb (a=b+1a = b + 1).

    • Found using polynomial long division or synthetic division to write f(x)=mx+b+R(x)q(x)f(x) = mx + b + \frac{R(x)}{q(x)}, where the linear quotient y=mx+by = mx + b is the slant asymptote.

Graphing Guidelines and Step-by-Step Analysis
  • Graphing Checklist:

    • Factor completely and locate all holes.

    • Find and sketch vertical asymptotes.

    • Determine and sketch horizontal or slant asymptotes.

    • Plot the xx-intercepts and yy-intercept.

    • Plot additional points: at least 22 points on the outer branches and at least 33 points between consecutive vertical asymptotes.

  • Comprehensive Graphing Example:

    • Given function: f(x)=2x2−x−1x2−1=(2x+1)(x−1)(x+1)(x−1)f(x) = \frac{2x^2 - x - 1}{x^2 - 1} = \frac{(2x + 1)(x - 1)}{(x + 1)(x - 1)}

    • Simplified form: f(x)=2x+1x+1f(x) = \frac{2x + 1}{x + 1}, where x≠1x \neq 1

    • Hole: Setting canceled factor to zero gives x=1x = 1. Evaluating f(1)=2(1)+11+1=1.5f(1) = \frac{2(1) + 1}{1 + 1} = 1.5 yields the hole at (1,1.5)\left(1, 1.5\right).

    • Vertical Asymptote: x+1=0  ⟹  x=−1x + 1 = 0 \implies x = -1

    • Horizontal Asymptote: Degrees are equal (2=22 = 2)   ⟹  y=21=2\implies y = \frac{2}{1} = 2

    • Intercepts: xx-intercept at (−12,0)\left(-\frac{1}{2}, 0\right); yy-intercept at (0,1)\left(0, 1\right)

    • Domain: R,x≠−1,1\mathbb{R}, x \neq -1, 1

    • Range: R,y≠2\mathbb{R}, y \neq 2

Slant Asymptote Determination and Analysis
  • Example Analysis: f(x)=x2−4x+1f(x) = \frac{x^2 - 4}{x + 1}

  • Division Process:

    • Divide x2−4x^2 - 4 by x+1x + 1 using synthetic division with root x=−1x = -1 on coefficients [1,0,−4][1, 0, -4].

    • The resulting quotient is x−1x - 1 with remainder −3-3:     f(x)=(x−1)−3x+1f(x) = (x - 1) - \frac{3}{x + 1}

  • Key Features:

    • Slant Asymptote (SA): y=x−1y = x - 1

    • Vertical Asymptote (VA): x=−1x = -1

    • xx-intercepts: x2−4=0  ⟹  (−2,0)x^2 - 4 = 0 \implies \left(-2, 0\right) and (2,0)\left(2, 0\right)

    • yy-intercept: f(0)=0−40+1=−4  ⟹  (0,−4)f(0) = \frac{0 - 4}{0 + 1} = -4 \implies \left(0, -4\right)

    • Domain: R,x≠−1\mathbb{R}, x \neq -1