Here you will learn two point form of a line equation with proof and examples.
Let’s begin –
Two Point Form of a Line
The equation of a line passing through two points (x1,y1) and (x2,y2) is
y–y1 = (y2–y1x2–x1)(x2–x1)
Proof :
Let m be the slope of line passing through (x1,y1) and (x2,y2). Then,
m = y2–y1x2–x1
By using point-slope form, the equation of the line is,
y–y1 = m(x2–x1)
y–y1 = (y2–y1x2–x1)(x2–x1)
This is the required equation of the line.
Example : Find the equation of the line joining the points (-1, 3) and (4, -3).
Solution : Here, the two points are (x1,y1) = (-1, 3) and (x2,y2) = (4, -2).
So, the equation of the reuqired line is
y–y1 = (y2–y1x2–x1)(x2–x1)
⟹ y – 3 = 3–(−2)−1–4(x + 1)
⟹ y – 3 = -x – 1 ⟹ x + y – 2 = 0.
Example : Find the equation of the line joining the points (at12,2at1) and (at22,2at2).
Solution : Here, the two points are (x1,y1) = (at12,2at1) and (x2,y2) = (at22,2at2).
So, the equation of the required line is
y–y1 = (y2–y1x2–x1)(x2–x1)
y – 2at1 = 2at2–2at1at22–at12 (x–at12)
y – 2at1 = 2t1+t2 (x–at12)
⟹ y(t1+t2) – 2at12 – 2at1t2 = 2x – 2at12
⟹ y(t1+t2) = 2x + 2at1t2.