Tutorials › Calculus I › Rational Expressions and Domain Restrictions

Algebraic Function Structures · Tutorial 61 of 1495

Rational Expressions and Domain Restrictions

Determine the domain of a rational expression by finding and excluding the real zeros of its denominator.

Beginner 9 min read

What You'll Learn

  • Define a rational expression and its natural real domain.
  • Find denominator zeros and use them to state domain restrictions.
  • Distinguish restrictions caused by the denominator from zeros of the numerator.
  • Check proposed exclusions by substituting them into the original denominator.
  • Record restrictions before simplifying or using an expression in an equation.

Why Domain Restrictions Matter

A formula can look meaningful for many inputs but fail at particular values. For example, the expression \(\frac{1}{x-2}\) has a real value for most real numbers \(x\), but not for \(x=2\): substituting \(2\) makes the denominator zero. That input must be excluded from the domain.

For a polynomial, every real input is allowed. A rational expression is different because it involves division by a polynomial, and division by zero is undefined. The first task when working with a rational expression is therefore to identify the real inputs that make its denominator zero.

Key idea: The domain restriction comes from the denominator of the original expression. Find its real zeros and exclude them before simplifying or solving with the expression.

Rational Expressions and Their Domains

A polynomial is an expression formed from real constants and nonnegative integer powers of a variable using addition, subtraction, and multiplication. A rational expression in \(x\) is a quotient of two polynomials, written \(\frac{P(x)}{Q(x)}\), where \(P\) and \(Q\) are polynomials and \(Q\) is not the zero polynomial.

When we treat this expression as a real-valued function, its natural domain is the set of real inputs for which the displayed quotient is defined. The denominator must be nonzero. The numerator may be zero; that does not make the quotient undefined.

Definition: For a rational expression \(\frac{P(x)}{Q(x)}\), where \(P\) and \(Q\) are real polynomials and \(Q\) is not the zero polynomial, the natural real domain is
$$ \{x\in\mathbb{R}:Q(x)\ne 0\}. $$
In other words, exclude every real zero of the denominator \(Q(x)\).

This definition concerns the expression as it is written. Finding the domain is not the same task as finding where the numerator is zero, nor is it a question about the graph’s appearance. Begin with the denominator and determine exactly which real inputs make it zero.

Why the Denominator Determines the Domain

The definition follows directly from what division means. At an input \(x=a\), the value of \(\frac{P(x)}{Q(x)}\) would have to be the quotient of \(P(a)\) by \(Q(a)\). Division by a real number is defined when the divisor is nonzero. Thus, if \(Q(a)\ne 0\), the quotient is defined; if \(Q(a)=0\), it is not.

$$ \frac{P(a)}{Q(a)}\text{ is defined} \quad\Longleftrightarrow\quad Q(a)\ne 0. $$

This gives a complete domain test: solve \(Q(x)=0\) over the real numbers, then remove those solutions from \(\mathbb{R}\). If the denominator has no real zeros, there are no real inputs to exclude.

A Reliable Procedure

For a rational expression in one real variable, use this sequence:

1
Identify the original denominator.
Do not use the numerator to decide which inputs are excluded.
2
Set the denominator equal to zero.
Solve this equation over the real numbers. Factoring can help when the denominator is a polynomial that factors.
3
Check the proposed zeros.
Substitute each candidate into the original denominator and verify that it gives zero.
4
State the domain.
Write the real numbers with all denominator zeros excluded, or list the allowed values explicitly.

Writing the restriction down immediately is useful even if you intend to perform more algebra afterward. It preserves the information about where the original expression was defined.

Worked Examples

Worked Example: A Difference of Squares in the Denominator

Find the real domain of \(\frac{x+2}{x^2-9}\).

Step 1: Identify the denominator. The denominator is \(x^2-9\). It must not equal zero.

Step 2: Find its zeros. Factor using the difference of squares:

$$ x^2-9=(x-3)(x+3). $$

Set each factor equal to zero. From \(x-3=0\), we obtain \(x=3\). From \(x+3=0\), we obtain \(x=-3\).

Step 3: Check both candidates in the original denominator.

$$ 3^2-9=9-9=0, \qquad (-3)^2-9=9-9=0. $$

Both values make the denominator zero, so both must be excluded. The numerator does not change these restrictions.

Domain:

$$ \mathbb{R}\setminus\{-3,3\}. $$

Check an allowed input. At \(x=0\), the denominator is \(0^2-9=-9\), which is nonzero, so the expression is defined there. The exclusions are exactly the two denominator zeros found above.

Worked Example: A Denominator with No Real Zeros

Find the real domain of \(\frac{5}{x^2+4}\).

Step 1: Identify the denominator. It is \(x^2+4\).

Step 2: Determine whether it can be zero for real \(x\). For every real \(x\), \(x^2\ge 0\). Therefore,

$$ x^2+4\ge 4>0. $$

So \(x^2+4\) is never zero for real \(x\), and there are no real denominator zeros to exclude.

Domain:

$$ \mathbb{R}. $$

Check. For example, at \(x=0\), the denominator is \(0^2+4=4\), so the quotient is \(\frac{5}{4}\), a defined real number. The inequality above verifies that the denominator remains nonzero for every real input, not only this test value.

Worked Example: A Numerator Zero Does Not Remove a Restriction

Find the real domain of \(\frac{x-3}{x^2-3x+2}\).

Step 1: Use the denominator only. The denominator must be nonzero, so solve \(x^2-3x+2=0\).

Step 2: Factor and solve.

$$ x^2-3x+2=(x-1)(x-2). $$

The equation \((x-1)(x-2)=0\) gives \(x=1\) or \(x=2\).

Step 3: Check the denominator at both values.

$$ 1^2-3(1)+2=1-3+2=0, \qquad 2^2-3(2)+2=4-6+2=0. $$

Thus both values are excluded. Notice that the numerator is zero at \(x=3\), but this does not exclude \(x=3\): the numerator can be zero while the denominator is nonzero.

Domain:

$$ \mathbb{R}\setminus\{1,2\}. $$

Check a numerator zero that is allowed. At \(x=3\), the numerator is \(3-3=0\), while the denominator is \(3^2-3(3)+2=9-9+2=2\). The quotient is \(0/2=0\), which is defined. This confirms that numerator zeros are not domain restrictions.

State Restrictions Before Further Algebra

Domain restrictions should be recorded from the original denominator before you simplify an expression or use it in an equation. The reason is that any later algebra is performed on an expression whose original domain has already been determined. If the restriction is forgotten, a later answer may include an input at which the original expression had no value.

For instance, in the third example, \(x=1\) is excluded because it makes the displayed denominator zero. The fact that the numerator also vanishes there does not make division by zero defined. A numerator value of zero is permitted; a denominator value of zero is not.

When an expression is part of an equation, first record the restrictions on each rational expression in that equation. Any proposed solution must be among the allowed inputs for the original expressions. This is a domain check, separate from the algebra used to solve the equation.

Common Mistake: Checking the Numerator Instead

A frequent error is to exclude the zeros of the numerator instead of the zeros of the denominator. Consider \(\frac{x-3}{x^2-3x+2}\). A mistaken calculation might set the numerator equal to zero, find \(x-3=0\), and report that \(x=3\) is excluded. That is incorrect: a zero numerator produces a quotient of zero when the denominator is nonzero.

The correction is to set the denominator equal to zero:

$$ x^2-3x+2=(x-1)(x-2)=0 \quad\Longrightarrow\quad x=1\text{ or }x=2. $$

Substitution confirms that the denominator is zero at \(1\) and \(2\), while at \(3\) it equals \(2\). Therefore, \(1\) and \(2\) are excluded, and \(3\) is allowed. Always ask: Which values make the denominator zero?

Summary

A rational expression is defined at a real input precisely when its denominator is nonzero there. To find its natural real domain, identify the original denominator, solve the equation that sets it equal to zero, check the candidate values, and exclude those values from \(\mathbb{R}\). Zeros of the numerator do not by themselves restrict the domain.

Check Your Understanding

For each question, focus on the original denominator and state any real inputs that must be excluded.

  1. What condition must hold for \(\frac{P(x)}{Q(x)}\) to be defined at a real input \(x=a\)?
  2. Find the real domain of \(\frac{2x+1}{x^2-16}\).
  3. Find the real domain of \(\frac{7}{x^2+1}\). Explain why there are no real exclusions.
  4. For \(\frac{x-5}{x^2-5x+6}\), which values are excluded, and is \(x=5\) allowed?
  5. Why should restrictions be recorded before further algebra is performed with a rational expression?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon