SOLUTION: determine the equation of the line containing the points (0,2) and (2,0) when i did this problem i did y2-y1/x2-x1 and got 0-2/2-0 then got -2/0 then got 0 for my slope. then i cho

Algebra ->  Linear-equations -> SOLUTION: determine the equation of the line containing the points (0,2) and (2,0) when i did this problem i did y2-y1/x2-x1 and got 0-2/2-0 then got -2/0 then got 0 for my slope. then i cho      Log On


   



Question 94114: determine the equation of the line containing the points (0,2) and (2,0) when i did this problem i did y2-y1/x2-x1 and got 0-2/2-0 then got -2/0 then got 0 for my slope. then i chose the point (0,2) and got my answer y-2=0(x-0) so is that correct? if not what did i do wrong?
Answer by jim_thompson5910(35256) About Me  (Show Source):
You can put this solution on YOUR website!
First lets find the slope through the points (0,2) and (2,0)

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

m=%280-2%29%2F%282-0%29 Plug in y%5B2%5D=0,y%5B1%5D=2,x%5B2%5D=2,x%5B1%5D=0 (these are the coordinates of given points)

m=+-2%2F2 Subtract the terms in the numerator 0-2 to get -2. Subtract the terms in the denominator 2-0 to get 2


m=-1 Reduce

So the slope is
m=-1

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


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 is one of the given points

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

y-2=%28-1%29%28x-0%29 Plug in m=-1, x%5B1%5D=0, and y%5B1%5D=2 (these values are given)


y-2=-x%2B%28-1%29%280%29 Distribute -1

y-2=-x%2B0 Multiply -1 and 0 to get 0

y=-x%2B0%2B2 Add 2 to both sides to isolate y

y=-x%2B2 Combine like terms 0 and 2 to get 2
------------------------------------------------------------------------------------------------------------
Answer:


So the equation of the line which goes through the points (0,2) and (2,0) is:y=-x%2B2

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

Notice if we graph the equation y=-x%2B2 and plot the points (0,2) and (2,0), we get this: (note: if you need help with graphing, check out this solver)

Graph of y=-x%2B2 through the points (0,2) and (2,0)

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