92.8k views
4 votes
How to find Gradient and y intercept

User Jen R
by
4.9k points

1 Answer

3 votes
Gradient:

Find two points on the line and with those two points, calculate the difference in height(y coordinates) divided by the difference in width(x coordinates). If you get a positive value, then your line will be uphill.

Y-intercept:

Use y=mx+b
Find the slope first using the slope formula which is y2-y1 OVER x2-x1. Once you have that, take a point from the line and substitute the x and y coordinates along with the slope into y=mx+b.

So if your slope was 2/1 and your point was (4,8), it would be:

8=2(4)+b
8=6+b
*subtract 6 from both sides*
b=2

User Athan Clark
by
4.4k points