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

2 Answers
Jun 20, 2018

#x=2#

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

#y=ax+(5-2a)# for any #a#

Explanation:

Any line is given on the form #y=ax+b#

You want this line to go through (2, 5), i.e. for #x=2 y=5#:
#5=2a+b#
Therefore, #b=5-2a#
The general equation for the line would, therefore, be:
#y=ax+(5-2a)#

The lines would go like this:
enter image source here