Simplify
Factor the numerator. Both terms share a factor of :
The visible is what makes it tempting to expect a cancellation — the rest of the work decides whether one actually exists.
Take out the common x in the denominator. The perfect square , so
Note that — not — is the highest common factor, because the second term carries only one .
Expand and collect inside the bracket. This is the step that decides the answer:
The does not survive as a factor once it is added to .
Assemble and test for a common factor.
Would divide ? Evaluate at : , so by the factor theorem it does not. Nothing cancels.
State the simplified form.
valid for and (the roots of ).
Spot-check numerically. At the original is , and the simplified form gives . They agree, so the factoring introduced no error.
Need to solve a different problem like this? Open the solver →