Domain and Range of a Rational Function — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

Key method

To find the range, solve y=p(x)/q(x)y=p(x)/q(x) for xx, then check for impossible targets and forbidden solutions. Removable holes can exclude an otherwise attainable output.

Example

For f(x)=(x+1)/(x−2)f(x)=(x+1)/(x-2), the domain excludes 22. Solve y(x−2)=x+1y(x-2)=x+1:

x=2y+1y−1,x=\frac{2y+1}{y-1}, y≠1.y\ne1.

This expression never equals 22, so every y≠1y\ne1 is attained. At y=1y=1, the equation would say −2=1-2=1, impossible. The range excludes 11.

Avoid this mistake

For (x2−1)/(x−1)(x^2-1)/(x-1), canceling gives x+1x+1 only when x≠1x\ne1. The hole means the range also excludes 22.