Graphing rational functions

    Graphing Rational Functions

    Rational functions are expressed as the ratio of two polynomial functions, f(x) = P(x) / Q(x), where Q(x) ≠ 0. Graphing these functions involves identifying key features that reveal their behavior.

    Vertical Asymptotes

    Vertical asymptotes occur at the x-values where the denominator Q(x) equals zero, provided that the numerator P(x) is not also zero at that x-value. If both P(x) and Q(x) are zero at a particular x-value, then there might be a hole in the graph instead of a vertical asymptote. To find vertical asymptotes, set the denominator to zero and solve for x after simplifying the function by canceling any common factors between P(x) and Q(x).

    • Example: For f(x) = (x - 1) / ((x - 2)(x + 3)), vertical asymptotes are at x = 2 and x = -3.

    Horizontal Asymptotes

    Horizontal asymptotes describe the end behavior of the rational function as x approaches positive or negative infinity. Their existence and location depend on the degrees of the numerator and denominator polynomials.

    • Let n be the degree of P(x) and m be the degree of Q(x).
    • If n < m, the horizontal asymptote is y = 0.
    • If n = m, the horizontal asymptote is y = a / b, where a is the leading coefficient of P(x) and b is the leading coefficient of Q(x).
    • If n > m, there is no horizontal asymptote. Instead, there might be a slant (oblique) asymptote if n = m + 1.

    Slant Asymptotes

    A slant asymptote (or oblique asymptote) occurs when the degree of the numerator P(x) is exactly one greater than the degree of the denominator Q(x) (i.e., n = m + 1). To find the equation of the slant asymptote, perform polynomial long division of P(x) by Q(x). The quotient, neglecting the remainder, will be a linear equation y = mx + b, which represents the slant asymptote.

    • Example: For f(x) = (x^2 + 1) / (x - 1), dividing (x^2 + 1) by (x - 1) yields x + 1 with a remainder. The slant asymptote is y = x + 1.

    Holes (Removable Discontinuities)

    A hole, also known as a removable discontinuity, occurs at an x-value where a factor (x - c) is common to both the numerator P(x) and the denominator Q(x). When this common factor is canceled, the function simplifies, but the original function is still undefined at x = c. To find the y-coordinate of the hole, substitute c into the simplified function.

    • Example: For f(x) = (x^2 - 4) / (x - 2) = ((x - 2)(x + 2)) / (x - 2), there is a hole at x = 2. The simplified function is g(x) = x + 2. So, the hole is at (2, g(2)) = (2, 4).

    Intercepts

    • x-intercepts: Occur where f(x) = 0, which means setting the numerator P(x) equal to zero and solving for x, after simplifying the function to account for any holes.
    • y-intercept: Occurs where x = 0. Substitute x = 0 into the function to find f(0).

    Practice questions

    1

    What is the location of the vertical asymptote(s) for the function f(x) = (x - 3) / (x^2 - 4)?

    2

    Determine the equation of the horizontal asymptote for the function f(x) = (3x^2 + 2x) / (x^2 - 5).

    3

    Does the function f(x) = (x^3 - 1) / (x^2 + x) have a slant asymptote? If so, what is its equation?

    4

    Identify any holes in the graph of f(x) = (x^2 - 9) / (x - 3).

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/precalculus/unit-1-polynomial-and-rational-functions/graphing-rational-functions