← Precalculus

Domain of a rational function

The x-values that would divide by zero.

Start this lesson

A rational function can’t divide by zero. Its domain is all real numbers except where the denominator is zero. Factor the denominator and set each factor to zero to find the excluded values.

Example: f(x) = 5/(x² + x − 6)

  1. x² + x − 6 = 0 — Where is the bottom zero?
  2. (x + 3)(x − 2) = 0 — Factor
  3. x = −3 or x = 2 — Exclude these

Why it works: Division by zero has no answer, so any x that makes the bottom zero has to be left out.

Tip: Write the domain as “all real numbers except x = −3 and x = 2”.