Notice that

so on the left side, a factor of x - 7 in the numerator and denominator can cancel

But we can only cancel them out as long as x ≠ 7 (because otherwise we'd have the indeterminate form 0/0 on the left side).
So, the equation is true for all x except x = 7. In set notation,

In interval notation,
