A line that is perpendicular to the x-axis is a vertical like with a slope equal to infinity. A line parallel to it would have the same slope and will also be a vertical line perpendicular to the x-axis. As the line passes through the point (2, -1) its equation is x = 2.

**The equation of the required line is x - 2 = 0**

Since the line is perpendicular to the x-axis, then, the line is vertical.

And if the line passes throught the point (2,-1), hence the equation is x = 2.

**Answer: Equation of the line is x=2 .**

## See eNotes Ad-Free

Start your **48-hour free trial** to get access to more than 30,000 additional guides and more than 350,000 Homework Help questions answered by our experts.

Already a member? Log in here.