Question: what is the equation of a line that goes straight up?
Answer: The equation of a vertical line always takes the form x = k, where k is any number and k is also the x-intercept . (link) For instance in the graph below, the vertical line has the equation x = 2 As you can see in the picture below, the line goes straight up and down at x = 2.