This lesson introduces rational functions and the main properties of their graphs, including the domain, x- and y-intercepts, and vertical, horizontal, and slant asymptotes. Worked examples and interactive resources are included to reinforce understanding.
A rational function is defined as the quotient of two polynomial functions:
\[ f(x) = \frac{P(x)}{Q(x)} \]The graph below represents the function
\[ f(x) = \frac{x^2 - 1}{(x + 2)(x - 3)} \]Since the denominator equals zero at \(x = -2\) and \(x = 3\), the function is undefined at these values. As a result, the graph is discontinuous there. The dashed vertical lines indicate values where the function is undefined and foreshadow the concept of vertical asymptotes.
Because division by zero is undefined, the domain of a rational function consists of all real numbers except those that make the denominator equal to zero.
Find the domain of each function:
A hole occurs when the numerator and denominator share a common factor.
Factor the numerator:
\[ f(x) = \frac{2(x + 1)}{x + 1} = 2, \quad x \neq -1 \]The graph is the horizontal line \(y = 2\) with a hole at \(x = -1\).
Consider the function:
\[ f(x) = \frac{1}{x} \]The function is undefined at \(x = 0\). As \(x\) approaches zero:
\[ \lim_{x \to 0^+} f(x) = +\infty, \qquad \lim_{x \to 0^-} f(x) = -\infty \]The vertical line \(x = 0\) is a vertical asymptote. In general, vertical asymptotes occur at zeros of the denominator that do not cancel with the numerator.
As \(|x|\) becomes very large, the graph of \(f(x) = \frac{1}{x}\) approaches the horizontal line:
\[ y = 0 \]Using limits:
\[ \lim_{x \to +\infty} f(x) = 0, \qquad \lim_{x \to -\infty} f(x) = 0 \]Let \(f(x) = \frac{P(x)}{Q(x)}\), where:
If the degree of the numerator is exactly one more than the degree of the denominator, the graph has a slant asymptote.
Divide:
\[ \frac{x^2}{2x - 2} = \frac{x}{2} + \frac{1}{2} + \frac{1}{2x - 2} \]The slant asymptote is:
\[ y = \frac{x}{2} + \frac{1}{2} \]