Table of Contents
The slope of a line, denoted by m, is the rate of change between two points on a line and describes how much the line rises or falls as we move from left to right. It tells us how steep or flat the line is.
Mathematically,
Slope (m) =
=
Here,
The slope of a line can also be represented by
m = tan θ =
Rewriting the slope formula
Let us consider a straight line passing through the points A(x1, y1) and B(x2, y2)
Finding the Change in Coordinates
Finding the Slope
Now, from the right-angled triangle ABC,
The slope is simply the tangent of the angle (θ) the line makes with the x-axis.
m = tan θ =
=
Thus, the slope (m) =
The slope of a line can be:
The line rises from left to right. An uphill road has a positive slope.
The line falls from left to right. A downhill road has a negative slope.
It is a horizontal line. A flat road has zero slope.
It is a vertical line. The slope of a wall or a tree trunk is undefined.
If we are given two points on a line, say (x1, y1) and (x2, y2), we can calculate the slope by using the slope formula:
m =
Let us consider two points (3, 5) and (7, 11)
To find the slope:
Calculating the change in y-coordinates,
y2 – y1 = 11 – 5 = 6
Calculating the change in x-coordinates,
x2 – x1 = 7 – 3 = 4
Now, finding the slope
m =
Thus, the slope is: m =
Sometimes, instead of two points, we are given the equation of a line. To determine the slope, we rewrite the equation in slope-intercept form:
y = mx + b …..(i)
For example, let us consider the equation: y = 4x – 7
By comparing it to the equation (i), we get
m = 4
Thus, the slope is m = 4.
We can also calculate the slope from a graph by choosing any two points on the line and counting the rise (vertical change) and run (horizontal change).
From the graph, we get the points (-5, 1) and (0, 6)
Now, calculating the rise
Rise = y2 – y1 = 6 – 1 = 5
Counting the number of units the line moves left (run), we get
Run = x2 – x1 = 0 – (-5) = 5
Applying the slope formula:
m =
Thus, the slope is m = 1
Find the slope of the line passing through the points (4, 2) and (8, 10)
As we know, the slope formula is:
m =
Here, (x1, y1) = (4, 2) and (x2, y2) = (8, 10)
Substituting the values,
m =
Thus, the slope is 2
A line passes through the points (3, 5) and (k, 11). If the slope of the line is 2, find the value of k.
As we know, the slope formula is:
m =
Here, (x1, y1) = (3, 5), (x2, y2) = (k, 11), and m = 2
Substituting the values,
2 =
⇒ 2(k – 3) = 11 – 5
⇒ 2k – 6 = 6
⇒ 2k = 6 + 6
⇒ 2k = 12
⇒ k = 6
Thus, the missing coordinate is k = 6
Find the slope of the line given by the equation: 3x – 5y = 15
Given, 3x – 5y = 15
⇒ -5y = 15 – 3x
⇒ 5y = 3x – 15
⇒ y =
Comparing with y = mx + b, the slope is m =
Thus, the slope is
Last modified on March 26th, 2025