# 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. ### Method of H.C.F. |Highest Common Factor|Factorization &Division Method

Apr 13, 24 05:12 PM

We will discuss here about the method of h.c.f. (highest common factor). The highest common factor or HCF of two or more numbers is the greatest number which divides exactly the given numbers. Let us…

2. ### Factors | Understand the Factors of the Product | Concept of Factors

Apr 13, 24 03:29 PM

Factors of a number are discussed here so that students can understand the factors of the product. What are factors? (i) If a dividend, when divided by a divisor, is divided completely

3. ### Methods of Prime Factorization | Division Method | Factor Tree Method

Apr 13, 24 01:27 PM

In prime factorization, we factorise the numbers into prime numbers, called prime factors. There are two methods of prime factorization: 1. Division Method 2. Factor Tree Method

4. ### Divisibility Rules | Divisibility Test|Divisibility Rules From 2 to 18

Apr 13, 24 12:41 PM

To find out factors of larger numbers quickly, we perform divisibility test. There are certain rules to check divisibility of numbers. Divisibility tests of a given number by any of the number 2, 3, 4…