How do you write the equation of the line that contains (-2, 5) and (4, 5)?

1 Answer
Nov 24, 2016

#y=5#

Explanation:

First, find the slope of the line using this formula:

#m=(y_2-y_1)/(x_2-x_1)#

Where #m# is the slope and

#(-2,5) => (x_1,y_1)#

#(4,5) => (x_2,y_2)#

#m=(5-5)/(4+2)=0/6=0#

Because the slope of this line is #0#, that means that the line is going to be a horizontal line.

Now, to find the equation of the line, use point slope form:

#y-y_1=m(x-x_1)#

Choose a set of points to plug into #x_1# and #y_1#

The equation should be the same regardless of the points you choose

Using #(-2,5)# and slope of #0#:

#y-5=0(x+2)#

Distribute #0# throughout the set of parenthesis

#y-5=0x+0#

Perform the opposite operation to isolate y by adding #5# on both sides of the equation

#y=0x+5 or y=5#

https://www.desmos.com/calculator