In this platform, you will learn about the slope of a line. The slope of a line calculates the steepness and the direction of the line. It will show how the slant line will be and how much the line rises vertically compared to the runs horizontally. In a coordinate plane predict whether the lines are parallel or perpendicular for finding the slope of the lines.
On this page, check out the 10th Grade Math concept of the slope of a line, formula, how to find the slope of a line with two points, types of slope, methods to find the slope, solved example problems, and so on.
Do Read:
Slope of a Line Meaning & Definition
In mathematics, the slope of a line is defined as the change in the y coordinate with respect to the change in the x coordinate of that line. The net change in the y coordinate is Î”y, while the net change in the x coordinate is Î”x. So the change in the y coordinate with respect to the change in the x coordinate can be written as
m = change in y / change in x = Î”y/Î”x.
tan Î¸ = Î”y/Î”x.
where tan Î¸, m will be the slope of the line.
It is also defined as the ratio of the rise to the run, or rise divided by the run. The slope of a line measures the tangent of the angle made by the line with the xaxis. In general, to determine a line’s slope, we need to have two different coordinates values on the line. The slope of a line image is shown below,
The slope is constant throughout a straight line. To calculate the slope of a line, the x and the y coordinates of the points lying on the line can be used. To calculate slope of a line the formula is
m = (y_{2} – y_{1})/(x_{2} – x_{1}) = Î”y/Î”x
Where x_{1}, x_{2} are the coordinates of the xaxis and y_{1}, y_{2}Â are the coordinates of the yaxis.
Slope Between Two Points
In a straight line, there are two points by using these two points we can calculate the slope of a line. We can apply the coordinates of the two points, in a slope of line formula. The two coordinate points are,
P1 = (x_{1}, y_{1})
P2 = (x_{2}, y_{2})
We know that the slope of a line is the change in the y coordinate with respect to the change in the x coordinate of that line. So, substitute the values of Î”y and Î”x in the equation of slope, then we get
Î”y = y_{2} – y_{1}
Î”x = x_{2} – x_{1}
Now, these values in a ratio, we get
The Slope m = tan Î¸ = (y_{2} – y_{1})/(x_{2} – x_{1})
where the slope of a line is m.
Î¸ is the positive xaxis line angle.
Slope of a Line Formula
Using the equation of the line we will calculate the slope of a line. The slope of a line general formula is given as,
y = mx + b
Where m is the slope of a line, m = tan Î¸ = Î”y/Î”x.
Î¸, be the angle made by the line with the positive xaxis.
Î”y is the net change in the yaxis.
Î”x is the net change in the xaxis.
Example: What is the equation of a line whose slope is 1, that passes through the point (2, 6)?
Solution: Given that the slope is 1. So the value of m will be 1.
We know the general equation of a line formula, y = mx + b.
Now substitute the value of m is 1, then we get
y = x + b.
We have ‘a’ the value of one point on the line. So, we put the value of the point (2, 6) in the equation y = x + b, and we get,
b = 4
Substituting the values of m and b in the general equation, we get the final equation y = x – 4.
Therefore, the equation of a line is y = x – 4.
How do you find the Slope of a Line?
Using the different methods we will find the slope of the line. The first method is the equation method, using this method to find the value of the slope of a line. The equation is,
m = (y_{2} – y_{1})/(x_{2} – x_{1})
where m is the slope of the line.
In other words, the change in x is run, and therefore the change in y is rise or fall. Thus, we defined a slope of a line as, m = rise/run.
How to Find Slope of a Line on Graph?
You are finding the slope of a line from the graph, one method is directly applied which is the formula method to the coordinates of two points lying on the line. If the values of the two coordinates points are not given. At this time, we have to use another method to find the slope of the line. So in this method, we have to find the tangent of the angle which is made by a line on the xaxis. The below figure shows the way how we find the slope of a line,
It has only one value. So, for finding the slopes Method1 and Method 2 will be equal. In addition, we are given the equation of a straight line. The general equation of a line is,
y = mx + b
The value of the slope line is given as m.
The following are the steps to find the slope of a line such that the coordinates of two points lying on the line are (x_{1}, y_{1}), (x_{2}, y_{2}).
Step 1: Note the coordinates of the two points lying on the line, (x_{2, }y_{2}), (x_{1,} y_{1})
Step 2: Apply the slope of line formula, m = (y_{2} – y_{1})/(x_{2} – x_{1}).
Step 3: Finally, we get the value of the given slope line.
Types of Slope
Depending upon the relationship between the two variables x and y there are different types of slopes and then the value of the gradient or slope of the line is obtained. There are 4 different types of slopes namely,

 Positive slope
 Negative slope
 Zero slope
 Undefined Slope
Positive Slope: A positive slope indicates that in a coordinate plane while moving from left to right the line rises, it also signifies that when x increases, the y also increases.
Negative Slope: In a negative slope, the coordinate plane is moving from left to right then the line falls, which also signifies that when x increases, then y decreases.
Zero Slope: The line in a zero slope the rise will be zero. So applying the rise over run formula we get the slope of the line as zero.
Undefined Slope: In an undefined slope, the line value of the run is zero. So, the slope of a vertical line will be undefined.
The Slope of the Horizontal Line
A horizontal line is a straight line that is parallel to the xaxis or in a coordinate plane, it will be drawn from left to right or right to left. So, the net change in the ycoordinates of the horizontal line will be zero. Then the slope of a horizontal line will be,
Slope of a horizontal line, m = Î”y/Î”x = zero.
The Slope of the Vertical Line
The vertical line is a straight line that is parallel to the yaxis or it is a line from top to bottom or bottom to top in a coordinate plane. Thus, the net change in the xcoordinates of the vertical line is zero. So, the slope of a vertical line is,
The Slope of a vertical line is m = Î”y/Î”x = undefined.
Finding Slope of the Perpendicular Lines
A set of perpendicular lines always has an angle of 90Âº angle between them. Suppose, if we have two perpendicular lines L_{1} and L_{2} in the coordinate plane, then the lines are inclined with the xaxis at angles Î¸_{1 }and Î¸_{2} respectively. The given angles will follow the external angle theorem as, Î¸_{2 }= Î¸_{1} + 90Âº.
Therefore, the slopes can be given as,
m_{1} = tan Î¸_{1}
m_{2} = tan (Î¸_{1} + 90Âº) = – cot Î¸_{1}
m_{1} Ã— m_{2} = 1
So, the two perpendicular lines’ slope product is equal to 1.
Slope of Parallel Lines
A set of parallel lines always has an equal angle of inclination. Suppose we have two parallel lines L_{1} and L_{2} in a coordinate plane, then they are inclined at angles Î¸_{1 }and Î¸_{2} respectively with the xaxis. So that Î¸_{2} = Î¸_{1}
Then, the slopes will be
m_{1}= m_{2}
So, the slopes of the two parallel lines are equal.
Read More:
 Drawing Graph of y = mx + c Using Slope and yintercept
 Problems on Plotting Points in the xy Plane
 Conditions of Collinearity of Three Points
Slope of a Line Examples
Example 1:
The equation of a line isÂ 2y = 6x + 7, find its slope value?
Solution:
Given that, the equation is 2y = 6x+7.
Now, we need to find out the slope of the equation.
We know that the formula of the slope is, y = mx + b
Now, try to bring the equation to this form. The coefficient of y = 1, then we get,
y = 6x/2 + 7/2 = 3x+3.5
So, the coefficient of x is found to be 3.
Hence, our slope will be the same as the coefficient of x.
Therefore, the slope of an equation line is 4.
Example 2:
If the equation of a line is given as x = 7. Find the value of the given slope of the line?
Solution:
As given in the question, the equation is x = 7.
Now, we will find the value of the slope of the given line.
Observe that y is missing from the given equation. So, we assume that the coefficient of y is 0.
Then we get, (0)y = x – 7
Now, we make the coefficient of y as 1. Let us divide both sides by Zero.
We know that if anyone is divided by zero, then the value can not be determined.
So, in this case, the coefficient of x will be divided by zero which gives us our slope. In such cases, the answer will not be defined. So we can safely say that our slope is not defined in such cases.
The Slope is not defined.
Example 3:
If the rise is 20 units, while the run is just 10 units, What is the slope of the line?
Solution:
In the given question, the run is 10 units and the rise is 20 units.
We all know that the slope of a line will be
m = Rise/Run
Now, substituting the values, we will get
m = Rise/Run = 20/10 = 2
Thus, the slope of a line is 2.
Example 4:
Find the slope of a line that is parallel to the xaxis and intersects the y – axis at y = 2.
Solution:
Given that, the yaxis is y=2.
We all know that the slope of any line is the tangent of its angle made with the xaxis.
So, if the given line is parallel to the xaxis, then the angle will be 0Âº. So, the tan 0Âº is 0.
Then the value of the slope is,
m = tan 0 = 0
Thus, the value of the slope will be Zero.
Example 5:
Determine the value of b, if the slope of a line passing through the points (b, 7) and (8, 5) is 6.
Solution:
Given that,
The points are (x_{1}, y_{1})= (b,7) and (x_{2 , }y_{2}) = (8,5)
The slope is m= 6.
Now, we will find the value of b.
We know that Slope (m) = (y_{2} – y_{1})/(x_{2} – x_{1})
Substitute the value in the above formula.
Then the value is 6 = (57)/(8b)
6 = (12)/(8b)
2= (8b)
28 = b
b = 10
Therefore, the value of the b is 10.
FAQ’s on Slope of a Line
1. What is the Slope of a Line?
The slope of a line, also known as the gradient is defined as the value of the steepness or the direction of a line in a coordinate plane. The slope will be calculated by using different methods, given the equation of a line or the coordinates of points lying on the straight line.
2. What is the Slope of a Line formula?
We can calculate the slope of a line directly using the slope of a line formula given the coordinates of the two points lying on the line. The formula is given as,
The slope is m = tan Î¸ =(y_{2} – y_{1})/(x_{2} – x_{1})
3. How Does Slope Looks Like?
The slope is nothing but the measure of the tangent of the angle made with the xaxis. So, it is a measure of an angle.
4. How do you find the slope of a line?
We need to find the ratio of the difference between the ycoordinates and xcoordinates of the two points, that form the line. The resulted value is the slope of the line. It shows the rise of the line along the yaxis over the run along the xaxis.
5. How do you Show that Three Points are Collinear by Slope?
Using the slope formula we will prove the collinearity of three points. So the slope of lines AB and BC should be equal for the three given points to be collinear.