Solveeit Logo

Question

Question: Prove that the slope of a non-vertical line passing through the points A \[\left( {{x}_{1}},{{y}_{1}...

Prove that the slope of a non-vertical line passing through the points A (x1,y1)\left( {{x}_{1}},{{y}_{1}} \right) and B (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right) is given by m=(y2y1x2x1)m=\left( \dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}} \right).

Explanation

Solution

Hint: To prove m=(y2y1x2x1)m=\left( \dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}} \right) first of all we will have to consider the two points on the Cartesian plane (x-y) and then join the points to each other and construct a right angle triangle with the distance between the points as a hypotenuse. We know that the slope of a line is equal to the tangent value of angle made by the line and x-axis in anticlockwise direction.
Complete step-by-step answer:
Let us consider the given points A (x1,y1)\left( {{x}_{1}},{{y}_{1}} \right) and B (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right) in the x-y plane and the angle made by the line with x-axis in anticlockwise direction to be θ'\theta '.

Since AC is parallel to x-axis and BD cuts them, we can say that,
BAC=θ\Rightarrow \angle BAC=\theta as these are corresponding angles
From the figure, we can get AC and BC by subtracting the corresponding x and y coordinates of points A, B and C. A and C have the same coordinates.
AC=x2x1AC={{x}_{2}}-{{x}_{1}} and BC=y2y1BC={{y}_{2}}-{{y}_{1}}
Now in triangle ΔABC\Delta ABC, we have as follows:
tanA=BCAC\tan A=\dfrac{BC}{AC}
Since A=θ\angle A=\theta , AC=x2x1AC={{x}_{2}}-{{x}_{1}} and BC=y2y1BC={{y}_{2}}-{{y}_{1}}
tanθ=y2y1x2x1\Rightarrow \tan \theta =\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}
Since we know that slope of a line (m) is also equal to the tangent value of angle made by the line with x-axis in anticlockwise direction.
slope(m)=y2y1x2x1=tanθ\Rightarrow slope(m)=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}=\tan \theta
Therefore, it is proved that the slope of a line passing through A (x1,y1)\left( {{x}_{1}},{{y}_{1}} \right) and B (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right) is given by m=y2y1x2x1m=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}.

Note: Remember that if the slope of a line is equal to zero then it is parallel to 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 x-axis and if y-coordinates of the two points through which line passes are same then it must be perpendicular to y-axis or parallel to x-axis.