Slope is defined as the ratio of vertical change to the horizontal change. Slope is denoted by small letter m. It can be explained by following examples
Example :- If the line is having the coordinates (x1, y1) and (x2, y2), then the slope of the line is as follows:-
Slope, m = (y2 – y1) / (x2 – x1)
The above formula of slope is the formula of slope of a line. Slope of line basically tells us about the steepness of line. It is also indicated by the tangent of the line. This can be better clarified by suitable example mentioned below:-
Question 1:- Find the slope of a line AB, if the coordinates of A is (2, 4) and B is (4, 8).
Solution 1:- We know that slope of line is equal to (y2 – y1) / (x2 – x1).
Here x1 = 2 and y1 = 4 and x2 = 4 and y2 = 8
Therefore the slope of line, m = (8 – 4) / (4 – 2)
= 4 / 2
Question 2:- Find the slope of a line AB, if the coordinates of A is (1, 2) and B is (3, 4).
Solution 2:- We know that slope of line is equal to (y2 – y1) / (x2 – x1).
Here x1 = 1 and y1 = 2 and x2 = 3 and y2 = 4
Therefore the slope of line, m = (4 – 2) / (3 – 1)
= 2 / 2