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

2 Answers
Jun 20, 2018

x=2x=2

Explanation:

"a line with an undefined slope is a vertical line, parallel "a line with an undefined slope is a vertical line, parallel
"to the y-axis and passing through all points with the "to the y-axis and passing through all points with the
"same x-coordinate"same x-coordinate

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

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

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

"the equation is "x=2the equation is x=2
graph{(y-1000x+2000)=0 [-10, 10, -5, 5]}

Jun 20, 2018

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

Explanation:

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

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

The lines would go like this:
enter image source here