SOLUTION: write an equation for the line containing each pair of points (-2,-4) , (5,-1)

Algebra ->  Linear-equations -> SOLUTION: write an equation for the line containing each pair of points (-2,-4) , (5,-1)      Log On


   



Question 100461: write an equation for the line containing each pair of points
(-2,-4) , (5,-1)

Answer by edjones(8007) About Me  (Show Source):
You can put this solution on YOUR website!
(-2,-4) (5,-1)
Solved by pluggable solver: Finding the Equation of a Line
First lets find the slope through the points (-2,-4) and (5,-1)


m=%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29 Start with the slope formula (note: (x%5B1%5D,y%5B1%5D) is the first point (-2,-4) and (x%5B2%5D,y%5B2%5D) is the second point (5,-1))


m=%28-1--4%29%2F%285--2%29 Plug in y%5B2%5D=-1,y%5B1%5D=-4,x%5B2%5D=5,x%5B1%5D=-2 (these are the coordinates of given points)


m=+3%2F7 Subtract the terms in the numerator -1--4 to get 3. Subtract the terms in the denominator 5--2 to get 7



So the slope is

m=3%2F7





------------------------------------------------


Now let's use the point-slope formula to find the equation of the line:




------Point-Slope Formula------
y-y%5B1%5D=m%28x-x%5B1%5D%29 where m is the slope, and (x%5B1%5D,y%5B1%5D) is one of the given points


So lets use the Point-Slope Formula to find the equation of the line


y--4=%283%2F7%29%28x--2%29 Plug in m=3%2F7, x%5B1%5D=-2, and y%5B1%5D=-4 (these values are given)



y%2B4=%283%2F7%29%28x--2%29 Rewrite y--4 as y%2B4



y%2B4=%283%2F7%29%28x%2B2%29 Rewrite x--2 as x%2B2



y%2B4=%283%2F7%29x%2B%283%2F7%29%282%29 Distribute 3%2F7


y%2B4=%283%2F7%29x%2B6%2F7 Multiply 3%2F7 and 2 to get 6%2F7

y=%283%2F7%29x%2B6%2F7-4 Subtract 4 from both sides to isolate y


y=%283%2F7%29x-22%2F7 Combine like terms 6%2F7 and -4 to get -22%2F7 (note: if you need help with combining fractions, check out this solver)



------------------------------------------------------------------------------------------------------------

Answer:



So the equation of the line which goes through the points (-2,-4) and (5,-1) is:y=%283%2F7%29x-22%2F7


The equation is now in y=mx%2Bb form (which is slope-intercept form) where the slope is m=3%2F7 and the y-intercept is b=-22%2F7


Notice if we graph the equation y=%283%2F7%29x-22%2F7 and plot the points (-2,-4) and (5,-1), we get this: (note: if you need help with graphing, check out this solver)


Graph of y=%283%2F7%29x-22%2F7 through the points (-2,-4) and (5,-1)


Notice how the two points lie on the line. This graphically verifies our answer.