
To find the gradient of a line, you need two points that lie on it. The formula for the gradient is (y₂ – y₁) / (x₂ – x₁), where (x₁, y₁) and (x₂, y₂) are the coordinates of the two points. Subtract the y-values and divide by the difference between the x-values to get the rate of change.
Next, the y-intercept is the point where the line crosses the y-axis. This value can be found by plugging the coordinates of a point on the line and the gradient into the equation of the line y = mx + b, where m represents the gradient, and b is the y-intercept. Solving for b will give you the value at which the line intersects the y-axis.
Using this information, you can graph the equation and easily identify the slope and y-intercept. The slope tells you how steep the line is, while the y-intercept indicates the line’s starting point on the vertical axis. Understanding both is key to analyzing linear relationships in mathematics.
Practice Problems for Finding Gradient and Y-Intercept

1. Given the points (3, 5) and (7, 13), find the gradient of the line. Then, calculate the y-intercept using the equation y = mx + b.
2. The line passes through the points (-2, 4) and (5, -1). Calculate the slope, then find the y-intercept of the line’s equation.
3. A line goes through the points (1, -3) and (4, 6). Compute the gradient of the line and determine the equation of the line in slope-intercept form.
4. Using the points (-3, -2) and (2, 3), first determine the rate of change. Afterward, find the y-intercept and write the equation of the line.
5. The line passes through (0, 5) and (-4, -3). Calculate the slope and the equation of the line in slope-intercept form.
Work through these examples by applying the formula for the gradient and then solving for the y-intercept to find the equation of the line. Practice helps reinforce the process and build confidence in identifying the relationships between points and lines.
How to Find the Gradient from Two Points on a Line
To find the rate of change between two points on a line, use the following formula:
m = (y₂ – y₁) / (x₂ – x₁)
Where:
- m is the gradient of the line
- (x₁, y₁) and (x₂, y₂) are the coordinates of the two points
Follow these steps to calculate:
- Identify the coordinates of the two points, (x₁, y₁) and (x₂, y₂).
- Subtract the y-values (y₂ – y₁) to find the difference in vertical position.
- Subtract the x-values (x₂ – x₁) to find the difference in horizontal position.
- Divide the difference in vertical positions by the difference in horizontal positions to get the gradient.
For example, given the points (3, 2) and (7, 6):
- Subtract y-values: 6 – 2 = 4
- Subtract x-values: 7 – 3 = 4
- Divide: 4 ÷ 4 = 1
So, the gradient of the line is 1.
Step-by-Step Guide to Calculating the Y-Intercept

To calculate the value where a line crosses the vertical axis, follow these steps:
- Identify the slope (m) and a known point on the line (x₁, y₁).
- Use the point-slope form equation:
- Substitute the known values into the equation. Replace m with the slope value and (x₁, y₁) with the coordinates of a known point.
- Set x = 0 to find where the line crosses the vertical axis.
- Solve for y to find the value of the vertical crossing point.
y – y₁ = m(x – x₁)
For example, if the slope is 2, and the known point is (3, 4):
- Point-slope equation: y – 4 = 2(x – 3)
- Set x = 0: y – 4 = 2(0 – 3)
- y – 4 = -6
- y = -6 + 4 = -2
Thus, the vertical crossing point is y = -2.
Using Slope-Intercept Form for Graphing Linear Equations
The slope-intercept equation is written as y = mx + b, where m is the rate of change, and b is the point where the line crosses the vertical axis. This form is useful for graphing linear equations quickly and efficiently. Follow these steps:
- Identify the slope (m) and the vertical crossing point (b) from the equation.
- Plot the vertical crossing point (b) on the graph. This is where the line crosses the vertical axis.
- Use the slope (m) to find the next points. If the slope is positive, move up and to the right. If it’s negative, move down and to the right.
- Draw the line through the plotted points.
For example, the equation y = 2x + 3 has a slope of 2 and a vertical crossing point at 3. Start by plotting the point (0, 3), then move up 2 units and right 1 unit to plot the next point. Draw the line through these points.
Common Mistakes to Avoid When Determining Slope and Y-Intercept
1. Mixing up the coordinates: When calculating the rate of change or vertical crossing, ensure you are using the correct points. Always subtract the y-values first, followed by the x-values. Reversing this process leads to incorrect results.
2. Incorrectly interpreting negative values: Be cautious when dealing with negative numbers. If the rate of change is negative, the line will decline from left to right. Ensure the vertical crossing point is plotted at the correct location on the graph.
3. Forgetting to simplify fractions: After calculating the rate of change, always simplify the fraction if possible. For example, a rate of change of 4/2 should be simplified to 2. Leaving fractions unsimplified can lead to confusion when graphing the line.
4. Assuming the horizontal line has a slope of zero: While the slope of a horizontal line is indeed zero, make sure that the equation reflects this. For horizontal lines, the vertical crossing point should be equal to the constant y-value in the equation.
5. Overlooking the vertical line case: For vertical lines, the rate of change is undefined, and the equation will not fit the y = mx + b form. Instead, the equation will be in the form of x = constant.