SOLUTION: what equation would go through the points (-2,1)(2,-1)

Algebra ->  Linear-equations -> SOLUTION: what equation would go through the points (-2,1)(2,-1)       Log On


   



Question 482238: what equation would go through the points (-2,1)(2,-1)

Found 2 solutions by Alan3354, MathLover1:
Answer by Alan3354(69443) About Me  (Show Source):
You can put this solution on YOUR website!
Use determinants:
------------
|+x +y +1|
|-2 +1 +1| = 0
|+2 -1 +1|
-----------
x(1+1) - y(-2-2) + (2-2) = 0
2x + 4y = 0
x + 2y = 0
-------------
Without determinants:
Find the slope, m = diffy/diffx
m = -2/4 = -1/2
Use y = mx+b and either point to find b. I'll use (2,-1)
-1 = (-1/2)*2 + b
b = 0
y = (-1/2)x
y = -x/2
x + 2y = 0

Answer by MathLover1(20850) About Me  (Show Source):
You can put this solution on YOUR website!

Solved by pluggable solver: FIND EQUATION of straight line given 2 points
hahaWe are trying to find equation of form y=ax+b, where a is slope, and b is intercept, which passes through points (x1, y1) = (-2, 1) and (x2, y2) = (2, -1).
Slope a is a+=+%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29+=+%28-1-1%29%2F%282--2%29+=+-0.5.
Intercept is found from equation a%2Ax%5B1%5D%2Bb+=+y%5B1%5D, or -0.5%2A-2+%2Bb+=+0. From that,
intercept b is b=y%5B1%5D-a%2Ax%5B1%5D, or b=1--0.5%2A-2+=+0.

y=(-0.5)x + (0)

Your graph: