true,
considering the definition of slope is "rise over run"
the rise would be infinite whereas the run would be zero
so the result would be infinity over zero.
problem is, you cant multiply by infinity nor can you divide by zero, hence its undefined