Graphing Rational Functions

How to graph a rational function? A step-by-step tutorial. Properties such as domain, vertical and horizontal asymptotes, intercepts, and sign charts of rational functions are investigated in detail. Free graph paper is available.

Review: Properties of Rational Functions

A rational function \( f \) has the form: \[ f(x) = \frac{g(x)}{h(x)} \] where \( g(x) \) and \( h(x) \) are polynomial functions.

Theorem for Horizontal Asymptotes: Let \( f(x) = \dfrac{a_m x^m + \dots + a_1 x + a_0}{b_n x^n + \dots + b_1 x + b_0} \), where \( m \) is the degree of the numerator and \( n \) is the degree of the denominator.

Examples & Step-by-Step Solutions

Example 1: Rational Function with Linear Terms \( f(x) = \dfrac{x + 1}{x - 1} \)

Problem: Let \( f \) be a rational function defined by \( f(x) = \dfrac{x + 1}{x - 1} \).

  1. Find the domain of \( f \).
  2. Find the \( x \)- and \( y \)-intercepts of the graph of \( f \).
  3. Find the vertical and horizontal asymptotes for the graph of \( f \) if there are any.
  4. Use your answers to sketch the graph of \( f \).

Solution:

  1. Domain: All real numbers except \( x = 1 \), since this value makes the denominator zero.
  2. Intercepts:
    * \( x \)-intercept: Solve \( x + 1 = 0 \implies x = -1 \), yielding point \((-1, 0)\).
    * \( y \)-intercept: Evaluate \( f(0) = \frac{0 + 1}{0 - 1} = -1 \), yielding point \((0, -1)\).
  3. Asymptotes:
    * Vertical asymptote: Set denominator \( x - 1 = 0 \implies x = 1 \).
    * Horizontal asymptote: Degrees of numerator and denominator are both equal to \( 1 \), so \( y = \frac{1}{1} = 1 \).
  4. Sign Chart & Sketching:
    The zeros of numerator and denominator (\(-1\) and \(1\)) split the number line into intervals: \( (-\infty, -1) \), \((-1, 1)\), and \((1, +\infty)\).
    \( x \) \(-\infty\) \(-1\) \(1\) \(+\infty\)
    \( f(x) \) \(+\) \(0\) (x-intercept) \(-\) V.A. \(+\)

    * For \( x \in (-\infty, -1) \), \( f(x) > 0 \) and approaches \( y = 1 \) on the left.
    * For \( x \in (-1, 1) \), \( f(x) < 0 \), passes through \((0, -1)\), and decreases without bound near \( x = 1 \).
    * For \( x \in (1, +\infty) \), \( f(x) > 0 \), increases without bound from \( x = 1 \), and approaches \( y = 1 \) on the right.

    Graph of f(x) = (x + 1)/(x - 1)

Example 2: Rational Function with Negative Numerator \( f(x) = \dfrac{-x + 2}{x + 4} \)

Problem: Let \( f \) be a rational function defined by \( f(x) = \dfrac{-x + 2}{x + 4} \).

  1. Find the domain of \( f \).
  2. Find the \( x \)- and \( y \)-intercepts of the graph of \( f \).
  3. Find the vertical and horizontal asymptotes for the graph of \( f \).
  4. Sketch the graph of \( f \).

Solution:

  1. Domain: All real numbers except \( x = -4 \).
  2. Intercepts:
    * \( x \)-intercept: Solve \(-x + 2 = 0 \implies x = 2\), yielding \((2, 0)\).
    * \( y \)-intercept: Evaluate \( f(0) = \frac{2}{4} = \frac{1}{2}\), yielding \(\left(0, \frac{1}{2}\right)\).
  3. Asymptotes:
    * Vertical asymptote: \( x = -4 \).
    * Horizontal asymptote: \( y = \frac{-1}{1} = -1 \).
  4. Graph:

    Graph of rational function f(x) = (-x + 2)/(x + 4)

More References and Links on Graphing and Rational Functions

Explore additional graphing tutorials, applets, and solvers:

Graphing Functions | Rational Functions - Applet | Solver to Analyze and Graph a Rational Function | Home Page