The equation of the x-axis is y =0. Lines that are vertical have no slope(it does not exist, undefined). They have "rise", but no "run". The rise/run formula for slope always has a zerodenominator and is undefined.