Question
Question: Find the slope of the line which passes through the points (3,-2) and (3, 4)....
Find the slope of the line which passes through the points (3,-2) and (3, 4).
Solution
Hint: The slope of the line is also known as gradient of a line is a number that gives the direction and steepness of the line. If we have two coordinates (x1,y1) and (x2,y2) then slope of a line passing through these points is as follows:
slope=(x2−x1y2−y1)
Complete step-by-step answer:
We have been given the points (3, -2) and (3, 4) through which the line passes. Now we know that the slope of a line passing through the points (x1,y1) and (x2,y2) is given by as follows:
slope=(x2−x1y2−y1)
So we have x1=3,y1=−2,x2=3,y2=4
⇒slope=(x2−x1y2−y1)=3−34−(−2)=06=∞ (infinity)
Since we know that if the slope is infinity means the line is perpendicular to the x-axis i.e. it makes an angle of 90∘ with the x-axis.
Therefore, the required slope of the line is ∞ (infinity).
Note: Remember that if the slope of a line is equal to zero then it is parallel to the x-axis and if the slope tends to infinity then it is perpendicular to x-axis. Also, you can remember that if the x-coordinates of the two points through which line passes are same then it must be perpendicular to the x-axis and if y-coordinates of the two points through which line passes are same then it must be parallel to the x-axis.