How do you write an equation of a line going through (1,2) (-1,2)?

1 Answer
May 26, 2016

y=2

Equation of a straight line parallel to the X-axis

Explanation:

First find the slope of the line passing through the two
points (1,2) and (-1,2)

slope=y2y1x2x1

slope=(22)((1)1)

slope=0

y=ax+b

the point (1,2) is a point on the line.

y=0(1)+2

y=2 is the equation of a straight line parallel to the X-axis.

graph{0*x+2 [-2.662, 2.74, -0.276, 2.423]}