# Two point form calculator â€“ equation of a straight line

Two Point Form is used to generate the Equation of a straight line passing through the two given points.

ADVERTISEMENT

Table of Contents:

Formula

**Two point Form**

(y-y1/y2-y1 = x-x1/x2-x1)

**Examples:**

Find the equation of the line joining the points (3, 4) and (2, -5).

x1 = 3, y1 = 4,

x2 = 2, y2 = -5

**Apply Formula:**

(y-y1/y2-y1 = x-x1/x2-x1)

(y-4/-5-4 = x-3/2-3)

(y-4/-9 =x-3/-1)

-1(y-4) = -9(x-3)

1(y-4) = 9(x-3)

y-4 = 9x – 27

y-9x = -27 + 4

y-9x = -23

9x-y=**23**

**Therefore equation of the line is 9x-y=23**

ADVERTISEMENT