Equations: (x² − 9)/(x − 3) = 6 requires x ≠ 3. Cancelling gives x + 3 = 6 and candidate x = 3. Reject it: the original equation has no solution.
Logarithms: solve log₂[(x² − 4)/(x − 2)] = 3. The fraction requires x ≠ 2; after simplification its value is x + 2, which must be positive. Thus x > −2 and x ≠ 2. Now x + 2 = 2³ = 8 gives x = 6, which satisfies both conditions.
Differentiation: if f(x) = (x³ − 8)/(x − 2), factor the difference of cubes to get f(x) = x² + 2x + 4 for x ≠ 2. Hence f′(x) = 2x + 2 for x ≠ 2. The original f is not defined at 2, so it has no derivative there.
Why is the derivative valid everywhere else?
Around each allowed input, the rational expression and polynomial agree on a small interval. Their rates of change therefore agree there. Adding a new value at the missing input would define a different, extended function.