# How do you write an equation of a line given (2, 5) and has slope undifined?

##### 2 Answers

Jun 20, 2018

#### Explanation:

#"a line with an undefined slope is a vertical line, parallel "#

#"to the y-axis and passing through all points with the "#

#"same x-coordinate"#

#"for this reason it's equation is "x=c#

#"where c is the value of the x-coordinate it goes through"#

#"given the point "(color(red)(2),5)#

#"the equation is "x=2#

graph{(y-1000x+2000)=0 [-10, 10, -5, 5]}

Jun 20, 2018

#### Explanation:

Any line is given on the form

You want this line to go through (2, 5), i.e. for

Therefore,

The general equation for the line would, therefore, be:

The lines would go like this: