Mada za sehemu hiiUse basic coordinate geometry, trigonometry, and vectors skills in daily lifeMada 5
- Explore the basic tenets of coordinate geometry (gradient and equations of a straight line, graphs of linear equations)
- Find the gradient/slope of a line
- Determine the equation of a straight line and draw its graph
- Solve linear simultaneous equations graphically
- Use mathematical software to solve and draw graphs of simultaneous equations
Finding the Gradient (Slope) of a Line
What is Gradient?
The gradient (also called slope) of a line tells us how steep the line is. It shows the ratio of the vertical change to the horizontal change between any two points on the line.
A positive gradient means the line goes upward from left to right. A negative gradient means the line goes downward from left to right. A horizontal line has a gradient of zero, while a vertical line has an undefined gradient.
The Formula
For two points on a line with coordinates and , the gradient is:
This formula compares the change in y (vertical change) to the change in x (horizontal change).
Steps to Find the Gradient
- Identify two points on the line and label them as and .
- Subtract the first y-coordinate from the second: .
- Subtract the first x-coordinate from the second: .
- Divide the result of step 2 by the result of step 3.
Worked Example

Problem: A straight line passes through points and . Find the gradient of this line.
Solution:
Let be the first point so , .
Let be the second point so , .
Now apply the formula:
Therefore, the gradient of the line is 2. This means for every 1 unit the line moves to the right, it rises by 2 units.
Important Notes
- The order of points does not matter; you will get the same result if you swap them, as long as you keep the subtraction consistent.
- If the gradient is a fraction, leave it as a fraction (e.g., ) rather than converting to decimals.
- When , you are dividing by zero, which means the line is vertical and its gradient is undefined.
Real-life application
In Tanzania, gradient is used in construction and road building. For example, when engineers design roads in places like Dodoma or along the highway from Dar es Salaam to Morogoro, they must calculate the gradient of slopes to ensure vehicles can travel safely. A road that is too steep (high positive gradient) may be dangerous for trucks and buses, especially during the rainy season when roads can become slippery.
Swali
What is the slope of the line passing through the points and ?
Ingia ili kuwasilisha jibu lako na lihesabiwe katika umahiri wako.
Ingia ili kufanya mazoeziMwalimu
Umekwama? Niulize chochote kuhusu mada hii.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu swali hili.
Ingia ili kuuliza