Gradient of a Straight Line
Hello SS2 learners! Today we will discover how to find the gradient (or slope) of a straight line. The gradient tells us how steep the line is and whether it rises or falls. It is a simple idea that you will use in many maths topics and even in everyday life, like calculating speed.
💡 What is Gradient?
The gradient of a line is the ratio of the vertical change (rise) to the horizontal change (run) between any two points on the line. It is written as m = rise/run. If the line goes up as you move right, the gradient is positive; if it goes down, the gradient is negative.
🧠 How to Calculate the Gradient
Choose two points on the line, say (x1, y1) and (x2, y2). Compute the difference in y‑coordinates (y2 – y1) and the difference in x‑coordinates (x2 – x1). Then m = (y2 – y1) / (x2 – x1). Remember to simplify the fraction if possible.
🔍 Gradient and the Equation of a Line
When the gradient is known, the equation of a straight line can be written in the form y = mx + c, where c is the y‑intercept (the point where the line meets the y‑axis). Knowing m helps you plot the line quickly.
📌 Special Cases
If the line is horizontal, the rise is zero, so the gradient is 0. If the line is vertical, the run is zero and the gradient is undefined (we say it is infinite).
✏️ Worked examples
⭐ Remember
- Gradient = rise ÷ run = (y2 – y1)/(x2 – x1).
- Positive gradient = line rises to the right; negative gradient = line falls to the right.
- Horizontal line → gradient 0; vertical line → gradient undefined.
- In y = mx + c, m is the gradient and c is the y‑intercept.
- Always simplify the gradient fraction.
🙌 Try this
Find the gradient of the line that passes through the points (–3, 4) and (5, –2).
Sign up free to take the exam and save progress
✍️ Sign up free10 questions · pass mark 50% · Have an account? Log in to take the exam
✨ Lesson written by AI from the Nigerian curriculum. Please tell us if you spot a mistake.