Subscribe to our YouTube channel for the latest videos, updates, and tips.


Two-point Form of a Line

We will discuss here about the method of finding the equation of a straight line in the two point form.

To find the equation of a straight line in the two point form,

Let AB be a line passing through two points A (x\(_{1}\), y\(_{1}\)) and B (x\(_{2}\), y\(_{2}\)).

Let the equation of the line be y = mx + c ................... (i), where m is the slope of the line and c is the y-intercept.

As (x\(_{1}\), y\(_{1}\)) and (x\(_{2}\), y\(_{2}\)) are points on the line AB, (x\(_{1}\), y\(_{1}\)) and (x\(_{2}\), y\(_{2}\)) satisfy (i).

Therefore, y\(_{1}\) = mx\(_{1}\) + c ................................ (ii)

and y\(_{2}\) = mx\(_{2}\) + c ................................ (iii)

Subtracting (iii) from (ii),

y\(_{1}\) - y\(_{2}\) = m(x\(_{1}\) - x\(_{2}\))

⟹ m = \(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\) ................................ (iv)

Substituting m = \(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\) in (ii),

y\(_{1}\) = [\(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\)]x\(_{1}\) + c

⟹ c = y\(_{1}\) - \(\frac{x_{1}(y_{1} - y_{2})}{ x_{1} - x_{2}}\)

c = \(\frac{ y_{1}(x_{1} - x_{2}) - x_{1}(y_{1} - y_{2})}{ x_{1} - x_{2}}\)

c = \(\frac{x_{1}y_{2} - x_{2}y_{1}}{ x_{1} - x_{2}}\)

Therefore, from (i),

y = [\(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\)]x + \(\frac{x_{1}y_{2} - x_{2}y_{1}}{ x_{1} - x_{2}}\)

Subtracting y\(_{1}\) from both sides of (v)

y - y\(_{1}\) = [\(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\)]x + \(\frac{x_{1}y_{2} - x_{2}y_{1}}{ x_{1} - x_{2}}\)

y - y\(_{1}\) = [\(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\)]x + \(\frac{x_{1}(y_{2} - y_{1})}{ x_{1} - x_{2}}\)

y - y\(_{1}\) = \(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\)(x + x\(_{1}\))

The equation of the straight line passing through (x1, y1) and (x2, y2) is y - y\(_{1}\) = \(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\)(x + x\(_{1}\))


Note: From (iv), the slope of the line joining the points (x\(_{1}\), y\(_{1}\)) and (x\(_{2}\), y\(_{2}\)) is \(\frac{y_{1} - y_{2}}{x_{1} - x_{2}}\) i.e., \(\frac{Difference of y-coordinates}{difference of x-coordinates in the same order}\)


Solved example on two-point form of a line:

The equation of the line passing through the points (1, 1) and (-3, 2) is

y - 1 = \(\frac{1 - 2}{1 - (-3)}\)(x - 1)

⟹ y – 1 = -\(\frac{1}{4}\)(x – 1)

Also, y – 2 = \(\frac{2 - 1}{-3 - 1}\)(x + 3)

⟹ y – 2 = -\(\frac{1}{4}\)(x + 3)

However, the two equations are the same.

 Equation of a Straight Line







10th Grade Math

From Point-slope Form of a Line to HOME




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.



New! Comments

Have your say about what you just read! Leave me a comment in the box below. Ask a Question or Answer a Question.




Share this page: What’s this?

Recent Articles

  1. Worksheet on Rounding Decimals | Questions Related to Round a Decimal

    May 14, 25 04:21 PM

    The worksheet on rounding decimals would be really good for the students to practice huge number of questions related to round a decimal. This worksheet include questions related

    Read More

  2. Rounding Decimals | How to Round a Decimal? | Rounding off Decimal

    May 14, 25 03:01 PM

    Rounding decimals are frequently used in our daily life mainly for calculating the cost of the items. In mathematics rounding off decimal is a technique used to estimate or to find the approximate

    Read More

  3. Worksheet on Rounding Off Number | Rounding off Number | Nearest 10

    May 14, 25 12:50 PM

    In worksheet on rounding off number we will solve 10 different types of problems. 1. Round off to nearest 10 each of the following numbers: (a) 14 (b) 57 (c) 61 (d) 819 (e) 7729 2. Round off to

    Read More

  4. Rounding Off to the Nearest Whole Number | Nearest 10, 100, and 1000

    May 13, 25 03:43 PM

    Nearest Ten
    Here we will learn how to rounding off to the nearest whole number?

    Read More

  5. Conversion of Improper Fractions into Mixed Fractions |Solved Examples

    May 12, 25 04:52 AM

    Conversion of Improper Fractions into Mixed Fractions
    In conversion of improper fractions into mixed fractions, we follow the following steps: Step I: Obtain the improper fraction. Step II: Divide the numerator by the denominator and obtain the quotient…

    Read More