What is the Slope of a Straight Line?
The slope of a straight line quantifies how steep the line is and in which direction it moves across the coordinate plane. It tells us how much the vertical coordinate (y) changes for a given change in the horizontal coordinate (x).
If the slope is positive, the line rises as we move from left to right. If it is negative, the line falls. A slope of zero means the line is perfectly horizontal, and an undefined slope corresponds to a vertical line, where the horizontal change is zero.
- Slope measures steepness and direction of a line.
- Positive slope: line rises left to right.
- Negative slope: line falls left to right.
- Zero slope: horizontal line.
- Undefined slope: vertical line.
Calculating the Slope Using Two Points
To find the slope of a line, select any two distinct points on the line. Suppose these points have coordinates \((x_1, y_1)\) and \((x_2, y_2)\).
Calculate the vertical change (rise) as \(\Delta y = y_2 - y_1\) and the horizontal change (run) as \(\Delta x = x_2 - x_1\).
The slope \(m\) is the ratio of rise to run: \[ m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} \] This formula gives the rate of change of \(y\) with respect to \(x\).
- Choose two points \((x_1, y_1)\) and \((x_2, y_2)\) on the line.
- Calculate \(\Delta y = y_2 - y_1\).
- Calculate \(\Delta x = x_2 - x_1\).
- Compute slope \(m = \frac{\Delta y}{\Delta x}\).
Worked Example: Calculating Slope
Find the slope of the line passing through points \((2, 3)\) and \((5, 11)\).
Step 1: Calculate the change in \(y\): \(11 - 3 = 8\).
Step 2: Calculate the change in \(x\): \(5 - 2 = 3\).
- Slope \(m = \frac{8}{3} \approx 2.67\).
- The positive slope means the line rises steeply from left to right.
Interpreting Different Slope Values
Positive slope: The line goes upwards as \(x\) increases.
Negative slope: The line goes downwards as \(x\) increases.
Zero slope: The line is horizontal, so \(y\) does not change as \(x\) changes (e.g., points \((1,4)\) and \((5,4)\)). Here, \(\Delta y=0\) and slope \(m=0\). Undefined slope: The line is vertical, so \(x\) does not change as \(y\) changes (e.g., points \((3,2)\) and \((3,7)\)). Here, \(\Delta x=0\) and slope is undefined because division by zero is not possible.
- Positive slope: line rises left to right.
- Negative slope: line falls left to right.
- Zero slope: horizontal line, slope = 0.
- Undefined slope: vertical line, slope undefined.
Common Mistakes and How to Avoid Them
Mixing up the order of points: Always subtract coordinates in the same order (\(y_2 - y_1\) and \(x_2 - x_1\)) to get the correct slope sign.
Forgetting that division by zero is undefined: If \(x_2 = x_1\), the slope is undefined, indicating a vertical line.
Confusing slope with intercept: Slope measures steepness, not where the line crosses the axes.
- Subtract coordinates consistently to maintain correct sign.
- Recognise vertical lines have undefined slope.
- Do not confuse slope with y-intercept.
At-a-glance summary
Comparison table
| Step | Detail | Example | Exam Use |
|---|---|---|---|
| Identify two points | Choose any two points on the line with coordinates \((x_1, y_1)\) and \((x_2, y_2)\) | Points \((1,2)\) and \((4,8)\) | Always label points clearly to avoid confusion |
| Calculate vertical change | Compute \(\Delta y = y_2 - y_1\) | \(8 - 2 = 6\) | Show subtraction explicitly for marks |
| Calculate horizontal change | Compute \(\Delta x = x_2 - x_1\) | \(4 - 1 = 3\) | Avoid sign errors by consistent order |
| Calculate slope | Divide vertical change by horizontal change: \(m = \frac{\Delta y}{\Delta x}\) | \(m = \frac{6}{3} = 2\) | Write formula and substitution clearly |
| Interpret slope | Positive slope means line rises left to right | Slope 2 means steep upward line | Explain slope meaning if asked |
Active recall
Quick check
1. What is the slope of the line through points \((3, 5)\) and \((7, 13)\)?
Calculate \(\Delta y = 13 - 5 = 8\) and \(\Delta x = 7 - 3 = 4\). Slope \(m = \frac{8}{4} = 2\). The slope is 2, meaning the line rises 2 units vertically for every 1 unit horizontally.
2. What does a slope of zero indicate about a line?
A slope of zero means the line is horizontal; there is no vertical change as \(x\) changes.
3. If two points on a line have the same x-coordinate, what can you say about the slope?
The slope is undefined because \(\Delta x = 0\), indicating a vertical line.
