Question: how to find the slope of a line x=5?
Answer: Which means that, regardless of the value of y, x is always −5 . It has no y-intercept because it never crosses the y-axis. ...  If you subtract −5−(−5), you get zero, and division by zero is undefined. So the equation x=−5 has no defined slope and no y-intercept.