Free calculator tools. Fast, simple, no sign up.
The slope of a line tells you how steep it is, and the y-intercept tells you where it crosses the y-axis. Together they describe the whole line in...
The slope of a line tells you how steep it is, and the y-intercept tells you where it crosses the y-axis. Together they describe the whole line in the form y = mx + b.
The slope m is the change in y divided by the change in x between two points: m = (y2 - y1) divided by (x2 - x1). A positive slope rises to the right, a negative slope falls, a slope of 0 is flat, and a vertical line has no slope at all. The y-intercept b is the value of y when x is 0. If you know m and b, you can write the equation at once and plot the line by starting at b and following the slope.
If you are given two points, find the slope first, then use one point to find b. Put the point into y = mx + b and solve for b. That gives the full equation.
Find the equation of the line through (2, 3) and (6, 11). The slope is (11 - 3) divided by (6 - 2), which is 8 divided by 4, so m = 2. Using the point (2, 3): 3 = 2 times 2 + b, so b = -1. The equation is y = 2x - 1.
The most common slip is swapping the x and y differences, or subtracting the points in different orders. Keep the order the same in the top and bottom of the fraction.
Find the slope of the line through (1, 4) and (5, 12). (Answer: m = 2.)
The best way to make this stick is to use it three times: once while reading this guide, once tomorrow from memory, and once on a fresh problem. Each round takes a few minutes, and by the third the steps feel natural. If a step feels unclear, go back to the worked example and cover the answer while you redo it. Maths is a skill built from small correct repetitions, and this topic is a good place to practise that habit.
What if the numbers change? The method stays the same, so try the practice question with different numbers and check that the steps still work. That is how you know you have learned the method rather than memorised one answer.