Answer :
With even just two points, you can find the equation of a line in slope-intercept form.
Slope-intercept form: [tex]y=mx+b[/tex] where [tex]m[/tex] is the slope and [tex]b[/tex] is the y-intercept
1) Solve for the slope ([tex]m[/tex])
The equation to solve for the slope is [tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex] when the two points are [tex](x_1,y_1)[/tex] and [tex](x_2,y_2)[/tex]. Plug the coordinates of these points into the equation and solve for [tex]m[/tex].
Then, plug [tex]m[/tex] into [tex]y=mx+b[/tex].
1) Solve for the y-intercept ([tex]b[/tex])
Then, take any of the given points and plug it into [tex]y=mx+b[/tex] along with the slope. Isolate [tex]b[/tex] to get the y-intercept. Then, plug both m and b back into [tex]y=mx+b[/tex] to get your final equation.
I hope this helps!
You only need two points to write the equation of a line.
Slope intercept form of a line is y=mx+b, where m is the slope and b is the y intercept.
I’m going to use the points (5,3) and (8,5) to show how to write the equation.
First, find the slope. The formula to find the slope is y2-y1/x2-x1. With my points, the slope equation would look like this:
m=(5-3)/(8-5)
m=2/3
I put this into my point slope formula
y=2/3x+b
To find out the b (y-intercept), I plug in one pair of points, then solve for b. I will use (5,3)
3=2/3(5)+b
3=10/3+b
-1/3=b
I can now add b to my equation, and get y=2/3x-1/3
To double check this, I could graph this line and make sure that it crosses my selected points. Hope this helps!
Slope intercept form of a line is y=mx+b, where m is the slope and b is the y intercept.
I’m going to use the points (5,3) and (8,5) to show how to write the equation.
First, find the slope. The formula to find the slope is y2-y1/x2-x1. With my points, the slope equation would look like this:
m=(5-3)/(8-5)
m=2/3
I put this into my point slope formula
y=2/3x+b
To find out the b (y-intercept), I plug in one pair of points, then solve for b. I will use (5,3)
3=2/3(5)+b
3=10/3+b
-1/3=b
I can now add b to my equation, and get y=2/3x-1/3
To double check this, I could graph this line and make sure that it crosses my selected points. Hope this helps!