CSEC Mathematics · relations, functions and graphs
Gradient of a Straight Line
Before you start
You already know how to plot points on a Cartesian plane using (x,y) coordinates and how to draw straight-line graphs for simple linear relationships.
Builds on: Drawing Straight-Line Graphs
1. The Meaning of Gradient and the Coordinate Formula
In everyday life, we talk about how steep a hill is—like driving up to Morne Fortune in St Lucia or walking up Long Mountain in Jamaica. In mathematics, the steepness of a line is called its gradient (often represented by the letter m).
The gradient measures the vertical change (rise) for every unit of horizontal change (run):
When we have two coordinates on the line, (x1,y1) and (x2,y2), we calculate the gradient using the formula:
Notice the direction of the line:
- **Positive gradient (m>0):** Slopes upwards from left to right.
- **Negative gradient (m<0):** Slopes downwards from left to right.
- **Zero gradient (m=0):** Perfectly horizontal line (parallel to the x-axis).
- Undefined gradient: Perfectly vertical line (parallel to the y-axis).
Worked example
A path up a hill connects point C(−2,−1) to point D(3,9). Calculate the gradient of the line segment CD.
- Label your points: (x1,y1)=(−2,−1) and (x2,y2)=(3,9)
- State the formula: m=x2−x1y2−y1
- Substitute the coordinates carefully: m=3−(−2)9−(−1)
- Simplify the signs: m=3+29+1=510
- Divide to find m: m=2
Answer: m=2
Quick check
Calculate the gradient of the straight line passing through the points (1,−4) and (5,8).
2. Finding the Gradient from a Linear Equation
A straight-line equation can be written in many different ways, but its most useful form is the slope-intercept form:
Here, m represents the gradient and c is the **y-intercept** (where the graph cuts the y-axis).
In CSEC examinations, questions rarely give you the equation in this ready-made form. You will often see equations formatted like ax+by=d or ax+by=1. To find the gradient, you must make y the subject of the formula so that the coefficient of y is +1. Once y is isolated, the coefficient of x is your gradient m.
Worked example
Determine the gradient of the straight line with equation 4x+3y=15.
- Write down the equation: 4x+3y=15
- Subtract 4x from both sides to begin isolating y: 3y=−4x+15
- Divide every single term by 3: y=−34x+315
- Simplify the constant term: y=−34x+5
- Compare with y=mx+c: the coefficient of x is −34
Answer: m=−34
Quick check
What is the gradient of the straight line given by the equation 5x−2y=7?
Common mistakes
- Inverting the formula to y2−y1x2−x1 instead of x2−x1y2−y1. Remember: y goes in the sky (numerator), x stays on the ground (denominator).
- Making sign errors when subtracting negative coordinates. Writing 5−(−3) as 5−3=2 instead of 5+3=8. Use brackets when substituting negatives: y2−(y1).
- Identifying the gradient from an equation before isolating y. For instance, claiming the gradient of 2y=6x−1 is 6. You must divide by 2 first to get y=3x−21, making m=3.
In the exam
- Always write the gradient formula m=x2−x1y2−y1 before substituting numbers. CSEC awards a method mark for showing this step.
- Leave your gradient as a simplified vulgar fraction (e.g. −43) rather than an imprecise rounded decimal unless instructed otherwise.
- Do a quick visual check: if an equation has opposite signs for x and y on the same side (like 3x−4y=5), the gradient will be positive; if they have the same sign (like 3x+4y=5), the gradient will be negative.
Key terms
- Gradient
- A numerical measure of the steepness and direction of a line, defined as vertical change divided by horizontal change.
- Rise
- The vertical distance between two points (y2−y1).
- Run
- The horizontal distance between two points (x2−x1).
- y-intercept
- The value of y where a line intersects the y-axis (where x=0).
Practice
Easier to harder. Use paper for your working.
Practice 1
Determine the gradient of the line segment joining the points (−3,7) and (1,−1).
Practice 2
What is the gradient of the line with equation 3y+6x=11?
Practice 3
A line has the equation 2x+6y=1. Determine the gradient of this line.
Now try real past-paper questions
3 Paper 2 questions and 3 Paper 1 multiple-choice on this topic. Quelpr marks your working point by point, like an examiner.
- Mathematics Q4 4(c)(ii) · 2 marksThe equation of a straight line is given as x/3 + y/7 = 1. This line crosses the y-axis at Q. What is the gradient of this line?
- Mathematics Q4 4(a)(ii) · 1 markThe equation of a straight line, l, is given as 3x - 4y = 5. Hence, determine the gradient of the line, l.
- Mathematics Q4 4(b)(i) · 2 marksP(6, -1) and Q(2, 7) are the end points of a line segment PQ. Determine the gradient of PQ
Finished the lesson?
0 of 5 checks right on this device.
Read more
- Mathematics for CSEC, p. 127
- CSEC Maths Study Guide - Maths Crash Course, p. 188
- Collins - Concise Revision Course for CSEC Mathematics, p. 352
- CXC Study Guide - Mathematics for CSEC, pp. 117, 119