Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

Rational Functions and Zeros

Lesson ~10 min read 8 MCQs

In simple terms: In simple terms, finding the zeros of a rational function means finding where its graph crosses the x-axis, which usually comes from finding the zeros of the top part of the fraction (the numerator).

Why this matters

Imagine you and your friends start a small business over the summer, maybe selling custom-designed t-shirts in your neighborhood. You create a function to model your profit. That function is a ratio: your total revenue on top, and your total costs (like materials, marketing, etc.) on the bottom.

You're not aiming to get rich overnight, but you definitely want to know the "break-even" point. That's the point where you're not losing money, but you haven't made any profit yet. Your profit is exactly $0.

In math, that break-even point is what we call a "zero" of the function. Finding the zeros of rational functions is like finding that crucial moment for your t-shirt business. It's where the value of the whole fraction becomes zero. Today, we'll learn exactly how to pinpoint those values and what traps to avoid along the way.

A profit function showing the break-even point (zero) where profit is $0.

Concept overview

flowchart TD
    A[Start with r(x) = p(x)/q(x)] --> B{Factor p(x) and q(x)};
    B --> C[Find all x-values 'c' where p(c) = 0];
    C --> D{For each 'c', is q(c) = 0?};
    D -- No --> E[x = c is a Zero];
    D -- Yes --> F[x = c creates a Hole];
    E --> G[End];
    F --> G;
This diagram shows a flowchart for finding the zeros of a rational function. The process starts with the function, moves to factoring the numerator and denominator, then finding the zeros of the numerator. A decision point then checks if these zeros also make the denominator zero, branching to "Zero" if no, and "Hole" if yes.
A rational function with a zero at x=-3 and a hole at x=2.

Core explanation

Hey everyone, it's Saavi. Let's dive into one of the most fundamental skills for understanding rational functions: finding their zeros.

A "zero" of a function is simply an x-value that makes the output, f(x), equal to zero. On a graph, these are the points where the curve crosses or touches the x-axis. We sometimes call them x-intercepts or roots.

The Core Idea: It's All About the Numerator

A rational function is just a fraction where the numerator and denominator are both polynomials. Let's call our function r(x), where r(x) = p(x) / q(x).

Think about a simple fraction, like A/B. When is this fraction equal to zero? It's only when the numerator, A, is zero. For example, 0/7 = 0. But what if the denominator, B, is zero? Then the fraction is undefined, like 7/0. We can't divide by zero.

The exact same logic applies to rational functions. The function r(x) can only equal zero if its numerator, p(x), equals zero.

A function where the zero is determined solely by the numerator.

So, our main strategy is: To find the zeros of a rational function, find the zeros of its numerator.

The Catch: Checking the Domain

Here's the part where many students slip up. You find a value c that makes the numerator zero. You're ready to declare it a zero of the function. But you have to pause and ask one critical question:

Does this value c also make the denominator zero?

Remember, any x-value that makes the denominator q(x) equal to zero is not in the domain of the function. The function is undefined at that spot.

Let's break down the possibilities for a value c that makes the numerator zero:

  1. If p(c) = 0 and q(c) ≠ 0: Congratulations! x = c is a true zero of the rational function. The graph will cross or touch the x-axis at this point.
  2. If p(c) = 0 and q(c) = 0: This is a special case. Because c makes the denominator zero, it's not in the domain. It cannot be a zero of the function. Instead, this creates a hole in the graph—a single, removable point of discontinuity.

Think of it like a bridge. A zero is a solid pillar supporting the bridge at ground level (the x-axis). A hole is a spot where a single plank is missing from the bridge. You can't stand there.

Comparing a true zero (where q(c) ≠ 0) with a hole (where q(c) = 0).

A Step-by-Step Method

Let's use a concrete example to build our method. We'll find the zeros of the function: r(x) = (x^2 - 4) / (x^2 - x - 2)

Step 1: Factor the numerator and the denominator completely. This is the most important step. Factoring reveals the building blocks of the function.

  • Numerator: p(x) = x^2 - 4. This is a difference of squares. p(x) = (x - 2)(x + 2)
  • Denominator: q(x) = x^2 - x - 2. We need two numbers that multiply to -2 and add to -1. That's -2 and +1. q(x) = (x - 2)(x + 1)

So, our factored function is:

r(x) = ( (x - 2)(x + 2) ) / ( (x - 2)(x + 1) )

Step 2: Find the zeros of the numerator. Set the factored numerator equal to zero: (x - 2)(x + 2) = 0 This gives us two potential zeros: x = 2 and x = -2.

Step 3: Find the zeros of the denominator. These are the x-values that are not in the domain. Set the factored denominator equal to zero: (x - 2)(x + 1) = 0 This gives us two restricted values: x = 2 and x = -1.

Step 4: Compare the results. Now we check our potential zeros from Step 2 against the restricted values from Step 3.

  • Consider x = -2. Is it a restricted value? No. The denominator is not zero when x = -2. So, x = -2 is a true zero of r(x).
  • Consider x = 2. Is it a restricted value? Yes. It makes both the numerator and the denominator zero. Therefore, x = 2 is not a zero. It corresponds to a hole in the graph.

The factor (x - 2) appears in both the top and bottom. We can cancel it out to simplify the function, which is why it creates a hole: r(x) = (x + 2) / (x + 1), for x ≠ 2.

The value x = -1 only makes the denominator zero, so it corresponds to a vertical asymptote.

Summary for r(x):

  • Zero
    x = -2
  • Hole
    at x = 2
  • Vertical Asymptote
    x = -1

Zeros as Critical Points for Inequalities

The AP Exam wants you to know one more thing (EK 1.8.A.2). The real zeros of the numerator and the real zeros of the denominator are all considered critical points.

Why? Because these are the only x-values where the function can change its sign from positive to negative, or vice-versa. A function can only change sign by either passing through the x-axis (a zero) or by jumping across an asymptote.

For our function r(x), the critical points are x = -2 (the zero), x = -1 (the asymptote), and x = 2 (the hole). If we were asked to solve an inequality like r(x) ≥ 0, we would place these points on a number line and test the intervals between them to see where the function is positive or negative. We're not solving those today, but it's crucial to see how finding zeros is the first step in that more complex process.

Worked examples

Let's walk through a couple of problems together to make sure this process is crystal clear.

Example 1

Finding Zeros, Holes, and Asymptotes

Problem: Determine the real zeros of the function f(x) = (x^2 + x - 6) / (x^2 - 4).

Solution:

  1. 1
    Factor everything first
    This is always your starting point.
    • Numerator: x^2 + x - 6. We need two numbers that multiply to -6 and add to 1. That's +3 and -2. So, (x + 3)(x - 2).
    • Denominator: x^2 - 4. This is a difference of squares. So, (x + 2)(x - 2).

    Our function in factored form is f(x) = ((x + 3)(x - 2)) / ((x + 2)(x - 2)).

  2. 2
    Identify potential zeros from the numerator
    The numerator is (x + 3)(x - 2). Setting this to zero gives us x = -3 and x = 2. These are our candidates.
  3. 3
    Identify restricted values from the denominator
    The denominator is (x + 2)(x - 2). Setting this to zero gives us x = -2 and x = 2. The function is undefined at these points.
  4. 4
    Compare and conclude
    • Let's check our first candidate, x = -3. Does it make the denominator zero? No. So, x = -3 is a real zero of the function.
    • Now let's check our second candidate, x = 2. Does it make the denominator zero? Yes. Since x = 2 makes both the numerator and denominator zero, it is not a zero. The common factor (x - 2) tells us there is a hole at x = 2.

Final Answer: The only real zero of the function is x = -3.

Common Mistake Alert: A student might see x = 2 as a zero of the numerator and immediately list it as an answer. You must always check if that value is in the function's domain by looking at the denominator.

Example 2

A Function with Multiplicity

Problem: Find the real zeros of g(x) = (x(x - 5)^2) / (x^2 - 25).

Solution:

  1. 1
    Factor
    The numerator is already factored. Let's factor the denominator.
    • Denominator: x^2 - 25 = (x - 5)(x + 5).

    So, g(x) = (x(x - 5)^2) / ((x - 5)(x + 5)). Notice that (x - 5)^2 is (x - 5)(x - 5).

  2. 2
    Find potential zeros from the numerator
    The numerator is x(x - 5)^2. Setting it to zero gives us x = 0 and x = 5.
  3. 3
    Find restricted values from the denominator
    The denominator is (x - 5)(x + 5). Setting it to zero gives us x = 5 and x = -5.
  4. 4
    Compare and conclude
    • Check x = 0. Is it a restricted value? No. So, x = 0 is a real zero.
    • Check x = 5. Is it a restricted value? Yes. It makes both top and bottom zero. So, x = 5 is not a zero. It corresponds to a hole.

    Even though the factor (x - 5) appears twice in the numerator and once in the denominator, one of the factors cancels out, leaving a hole. g(x) = (x(x - 5)) / (x + 5) for x ≠ 5.

Final Answer: The only real zero of the function is x = 0.

Graph of Example 1: `f(x) = (x^2 + x - 6) / (x^2 - 4)` showing its zero and hole.

Try it yourself

Time to put your skills to the test. Take your time, factor carefully, and check your work.

Problem 1: Find the real zero(s) of g(x) = (x - 5) / (x^2 - 25).

Problem 2: Find the real zero(s) of h(x) = (x^2 + 3x) / (x^2 + 5x + 6).

Graph of Problem 1: `g(x) = (x - 5) / (x^2 - 25)` with its hole.