Algebra · real student question

Explain why x = 3 is excluded from the domain of f(x) = (x² − 4x + 3)/(x² − 9), even though x − 3 cancels.

Question

For

f(x)=x24x+3x29f(x)=\frac{x^2-4x+3}{x^2-9}

explain why x=3x=3 must be excluded from the domain, and say what happens there.

Step-by-step solution

  1. Factor both parts before judging the domain.

    x24x+3=(x1)(x3),x29=(x3)(x+3)x^2-4x+3=(x-1)(x-3),\qquad x^2-9=(x-3)(x+3)

    so

    f(x)=(x1)(x3)(x3)(x+3)f(x)=\frac{(x-1)(x-3)}{(x-3)(x+3)}

    The factor x3x-3 appears on both sides — that is exactly what makes this case confusing.

  2. The domain is decided by the original denominator, before any cancelling. Set it to zero:

    x29=0x=3 or x=3x^2-9=0\quad\Longrightarrow\quad x=3 \text{ or } x=-3

    Substituting x=3x=3 into the untouched formula gives

    f(3)=912+399=00f(3)=\frac{9-12+3}{9-9}=\frac{0}{0}

    which is not a number. Division by zero has no meaning: there is no yy with 0y=0\cdot y= a prescribed nonzero value, and when the numerator is also 00 every yy would work, so no single value can be assigned.

  3. Cancelling changes the formula but not the function. For every x3x\neq 3,

    f(x)=x1x+3f(x)=\frac{x-1}{x+3}

    but this simplified expression is a different function unless you keep the restriction x3x\neq 3 attached. Simplifying an expression never adds points to a domain — it only rewrites the rule on the domain you already had.

  4. Classify the two excluded points — they are not the same kind. At x=3x=-3 only the denominator vanishes, so f(x)|f(x)|\to\infty: that is a vertical asymptote. At x=3x=3 numerator and denominator vanish together, so the graph has a removable discontinuity — a hole. Its height is the limit of the cancelled form:

    limx3x1x+3=26=13\lim_{x\to 3}\frac{x-1}{x+3}=\frac{2}{6}=\frac13

    Numerically, f(3.00001)0.333334f(3.00001)\approx 0.333334, confirming the graph approaches 13\tfrac13 without ever reaching it.

  5. State the domain.

    dom(f)={xR:x3, x3}=(,3)(3,3)(3,)\operatorname{dom}(f)=\{x\in\mathbb{R}: x\neq 3,\ x\neq -3\}=(-\infty,-3)\cup(-3,3)\cup(3,\infty)

    The point (3,13)(3,\tfrac13) is an open circle on the graph: the curve gets arbitrarily close, but x=3x=3 is not in the domain.

Answer

x=3 makes x29=0, so f(3)=00 is undefined; the graph has a hole at (3,13)x=3 \text{ makes } x^2-9=0, \text{ so } f(3)=\tfrac{0}{0} \text{ is undefined; the graph has a hole at } \left(3,\tfrac13\right)

Need to solve a different problem like this? Open the solver →