Example
Factor, cancel the common factor, and keep original domain restrictions.
highlighted = computed this step
Step 1 — Set up
Set up the expression.
x2−x−6x2−9
Step 2 — Factor numerator
Factor the numerator: use 3 and 3 for x squared minus 9.
x2−9=(x+3)(x−3)
Step 3 — Factor denominator
Factor the denominator: use 2 and 3 for x squared minus x minus 6.
x2−x−6=(x+2)(x−3)
Step 4 — Cancel common factor
Cancel the common factor x minus 3; it matches x minus 3.
(x+2)(x−3)(x+3)(x−3)
Step 5 — Simplified expression
Keep the uncancelled factors: x plus 3 over x plus 2.
x+2x+3
Step 6 — Domain restrictions
State original restrictions: x cannot be 3 or negative 2.
x=3,x=−2
rational-expression-simplify
Factor both numerator and denominator completely. Cancel common factors. State all x values that make the original denominator zero as domain restrictions.