Learn
Lesson · Rational and Radical Expressions · Rational expressions

Rational Expressions and Their Domains

A rational expression is one polynomial over another, and it means nothing at all where the bottom is zero. Those excluded values come from the denominator you were handed — never from the tidier one you end up with.

P(x)/Q(x) P, Q polynomials, Q not the zero polynomial domain: every real x with Q(x) ≠ 0 (x² − 4)/(x − 2) is UNDEFINED at x = 2 — it is not 4 the exclusions come from the ORIGINAL denominator
One expression, one forbidden value

Core ideas

What this lesson establishes

Everything in the first half of this course is a rule about factors, and every one of those rules is false at a value where the expression does not exist. So the domain comes first, on its own line.

1

A rational expression is a quotient of polynomials

(3x + 1)/(x² − 5) is one; so is x + 2, with denominator 1. What is not one is anything with a variable under a root or in an exponent — those arrive in “Simplifying Radical Expressions” and in Exponential and Logarithmic Functions.

2

The denominator alone decides the domain

The numerator may be anything, zero included. (x − 4)/(x + 1) is perfectly well defined at x = 4, where its value is 0. It is x = −1 that is excluded.

3

Undefined is not a value

0/0 is not 0, not 1, and not "infinity". Division is defined as the inverse of multiplication, and no number times 0 gives 4, while every number times 0 gives 0. Neither case yields an answer.

The material

What the expression is, and where it lives

The definition, then the question you ask before any algebra.

Definition · Rational expression

A rational expression is a quotient P(x)/Q(x) of two polynomials in which Q is not the zero polynomial. It is the algebraic version of a fraction, and it obeys the same rules for the same reasons.

The condition on Q is about the polynomial, not about x. Q(x) = x − 2 is a perfectly good denominator even though it takes the value zero somewhere; what is forbidden is Q(x) = 0 for every x, which would leave nothing to divide by anywhere.

Definition · Domain

The domain of a rational expression is the set of real numbers x for which Q(x) ≠ 0. A number c with Q(c) = 0 is an excluded value: the expression assigns nothing to it.

For the denominators this course asks you to solve, finding the domain starts as a factoring problem. Factor the denominator, set each factor to zero, and collect the real solutions. This is the first of many places in this course where an unfactored denominator hides the answer.

Example · Two exclusions

For (x + 1)/(x² − x − 6), factor the bottom: x² − x − 6 = (x − 3)(x + 2). It is zero when x = 3 and when x = −2, so the domain is every real number except those two. The numerator's zero at x = −1 excludes nothing — the expression is simply 0 there.

Now the case that gives this lesson its point. (x² − 4)/(x − 2) has denominator zero at x = 2, so 2 is excluded. Factor the top and the expression becomes ((x − 2)(x + 2))/(x − 2), which for every x ≠ 2 equals x + 2. At x = 2 it equals nothing: the substitution gives 0/0.

x 1.9 1.99 2 2.01 2.1 value 3.9 3.99 —— 4.01 4.1

The values approach 4 from both sides and the expression still has no value at 2. That gap is called a hole, and “Graphs and Asymptotes” puts it on a graph. What matters now is that x + 2 — the answer to the simplification — carries no record of it. The exclusion is a fact about where you started.

Theorem · Equality of rational expressions

Two rational expressions are equal when they agree at every value in the domain of both. So (x² − 4)/(x − 2) = x + 2 is a true statement for x ≠ 2, and writing it without that condition is writing something false at one point.

Interactive

The domain, before anything else

Every denominator, set to zero, while it is still there to set

Rational expression
the domainexcluded values

Method

Finding the domain

Four steps, and the first one is not optional.

1

Factor the denominator completely

An unfactored quadratic hides its zeros. x² − x − 6 looks harmless; (x − 3)(x + 2) says exactly which two numbers are forbidden.

2

Set each distinct factor to zero

One linear equation per factor. A repeated factor such as (x + 2)² contributes the single value x = −2, not two of them.

3

Solve, and exclude every solution

Each solution leaves the domain. Note that you never test the numerator: it has no say in whether the expression exists.

4

Write the exclusions down before simplifying

Put x ≠ 3, x ≠ −2 beside the expression now. After you cancel, the surviving form may be defined at those values, and you will have no way to recover them.

Domain first

Score 0 / 0

The domain of (x + 1)/(x² − x − 6)

Factor, solve, exclude. The check at the end costs one line and catches a mis-factored denominator immediately.

(x + 1)/(x² − x − 6) x² − x − 6 = (x − 3)(x + 2) x − 3 = 0 ⟹ x = 3 x + 2 = 0 ⟹ x = −2 domain: all real x with x ≠ 3 and x ≠ −2 check x = 3 : 9 − 3 − 6 = 0 ✓ excluded check x = −2 : 4 + 2 − 6 = 0 ✓ excluded check x = −1 : 1 + 1 − 6 = −4 defined, value 0

The last line is the one students skip. x = −1 makes the numerator zero, and a beginner who has learned "zero is a problem" excludes it. It is not a problem: 0/(−4) = 0, an ordinary value at an ordinary point of the domain.

For a faded domain pass, take (2x − 1)/(x² + x − 12). The supplied factorisation is x² + x − 12 = (x + 4)(x − 3). Write the domain, then decide whether the numerator's zero at x = 1/2 is allowed. Check against x ≠ −4, 3, with 1/2 retained. If you excluded 1/2, you tested both levels instead of asking only where division fails.

Common mistakes

1
Excluding the values that make the numerator zeroA zero on top is a zero for the whole expression, which is a perfectly good output. Only the bottom can destroy the expression.
2
Reading the domain off the simplified form(x² − 4)/(x − 2) simplifies to x + 2, whose natural domain is every real number. The original excluded 2, and it still does. Simplifying changes the formula, not the expression you were asked about.
3
Treating 0/0 as a numberIt is not 0, 1, or ∞. Both of the usual arguments for a value — 0/n = 0 and n/n = 1 — apply and disagree, which is precisely why the case is left undefined.

Check your understanding

✓
Finish when you write the exclusions before you write anything else.

Given any rational expression you should produce its domain in one line, from the factored denominator, without simplifying first. If your habit is to simplify and then look for trouble, you will lose an exclusion in “Simplifying Rational Expressions” and an extraneous root in “Solving Rational Equations”.

Note: The lab names rational zeros as exact fractions and irrational zeros of quadratic factors as exact surds. For a higher-degree factor with no rational zero it says that the remaining real zeros are unnamed rather than pretending the domain is larger than it is; 3x − 1, for example, excludes the exact value 1/3, never a rounded 0.333.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.