# Slope of a Line through Two Given Points

How to find the slope of a line through two given points?

Let (x$$_{1}$$, y$$_{1}$$) and (x$$_{2}$$, y$$_{2}$$) be two given cartesian co-ordinates of the point A and B respectively referred to rectangular co-ordinate axes XOX' and YOY'.

Again let the straight line AB makes an angle θ with the positive x-axis in the anticlockwise direction.

Now by definition, the slope of the line AB is tan θ.

Therefore, we have to find the value of m = tan θ.

Draw AE and BD perpendiculars on x-axis and from B draw BC perpendiculars on AE. Then,

AE = y$$_{1}$$, BD = y$$_{2}$$, OE = x$$_{1}$$ and OD = x$$_{2}$$

Therefore, BC = DE = OE - OD = x$$_{1}$$ - x$$_{2}$$

Again, AC = AE - CE = AE - BD = y$$_{1}$$ - y$$_{2}$$

<ABC = θ, since, BC parallel to x-axis.

Therefore, from the right angle ∆ABC we get,

tan θ = $$\frac{AC}{BC}$$ = $$\frac{y_{1} - y_{2}}{x_{1} - x_{2}}$$

⇒ tan θ = $$\frac{y_{2} - y_{1}}{x_{2} - x_{1}}$$

Therefore, the required slop of the line passing through the points A (x$$_{1}$$, y$$_{1}$$) and B (x$$_{2}$$, y$$_{2}$$) is

m = tan θ = $$\frac{y_{2} - y_{1}}{x_{2} - x_{1}}$$ = $$\frac{\textrm{Difference of ordinates of the given point}}{\textrm {Difference of abscissa of the given point}}$$

Solved example to find the slope of a line passes through two given points:

Find the slope of a straight line which passes through points (-5, 7) and (-4, 8).

Solution:

We know that the slope of a straight line passes through two points (x$$_{1}$$, y$$_{1}$$) and (x$$_{2}$$, y$$_{2}$$) is given by m = $$\frac{y_{2} - y_{1}}{x_{2} - x_{1}}$$. Here the straight line passes through (-5, 7) and (-4, 8). Therefore, the slope of the straight line is given by m = $$\frac{8 - 7}{-4 - (-5) }$$ = $$\frac{1}{-4 + 5}$$ = $$\frac{1}{1}$$ = 1

Note:

1. Slop of two parallel lines are equal.

2. Slope of x-axis or slope of a straight line parallel to x-axis is zero, since we know that tan 0° = 0.

3. Slop of y-axis or slope of a straight line parallel to y-axis is undefined, since we know that tan 90° is undefined.

4. We know that co-ordinate of the origin is (0, 0). If O be the origin and M (x, y) be a given point, then the slope of the line OM is $$\frac{y}{x}$$.

5. The slop of the line is the change in the value of ordinate of any point on the line for unit change in the value of abscissa.

The Straight Line

Didn't find what you were looking for? Or want to know more information about Math Only Math. Use this Google Search to find what you need.

## Recent Articles

1. ### Constructing a Line Segment |Construction of Line Segment|Constructing

Aug 14, 24 09:52 AM

We will discuss here about constructing a line segment. We know how to draw a line segment of a certain length. Suppose we want to draw a line segment of 4.5 cm length.

2. ### Construction of Perpendicular Lines by Using a Protractor, Set-square

Aug 14, 24 02:39 AM

Construction of perpendicular lines by using a protractor is discussed here. To construct a perpendicular to a given line l at a given point A on it, we need to follow the given procedure

3. ### Construction of a Circle | Working Rules | Step-by-step Explanation |

Aug 13, 24 01:27 AM

Construction of a Circle when the length of its Radius is given. Working Rules | Step I: Open the compass such that its pointer be put on initial point (i.e. O) of ruler / scale and the pencil-end be…

4. ### Practical Geometry | Ruler | Set-Squares | Protractor |Compass|Divider

Aug 12, 24 03:20 PM

In practical geometry, we study geometrical constructions. The word 'construction' in geometry is used for drawing a correct and accurate figure from the given measurements. In this chapter, we shall…