Just my thought but What you showed is not really the best approach. In a sense you start with a false premise, that x is allowed to be y. Then show something bad happens. In a proof, if you start with a false premise, anything can be true.

Looking at the left and right hand limits of 1/x as x — >0 and seeing they do not equal is more intuitive.