Two Point Form: Formula, Derivation & Examples

Two Point Form: Formula, Derivation & Examples

TL;DR

The two point form gives the equation of a straight line from any two points on it, using the formula ( y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1) ). This guide derives the formula from slope, works through clean and tricky examples, explains when it cannot be used, and lists the common mistakes.

What Is The Two Point Form?

The two point form is a method for writing the equation of a straight line when you know the coordinates of two points on it, ((x_1,y_1)) and ((x_2,y_2)). The formula is:

[ y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1) ]

Here ((x_1,y_1)) and ((x_2,y_2)) are the two known points, and ((x,y)) stands for any general point on the line. The fraction ( \frac{y_2 - y_1}{x_2 - x_1} ) is just the slope of the line between the two points: rise over run.

The key idea to hold: every point on a straight line has the same slope to a fixed point. The two point form turns that fact into an equation.

How the Two Point Form Is Derived

The formula is derived from the definition of slope. Take a line through ((x_1,y_1)) and ((x_2,y_2)), and let ((x,y)) be any other point on it.

The slope between the two known points is:

[ m = \frac{y_2 - y_1}{x_2 - x_1} ]

The slope between ((x_1,y_1)) and the general point ((x,y)) must be the same:

[ m = \frac{y - y_1}{x - x_1} ]

Setting these two expressions for ( m ) equal:

[ \frac{y - y_1}{x - x_1} = \frac{y_2 - y_1}{x_2 - x_1} ]

To eliminate the fraction, multiply both sides by ((x - x_1)):

[ y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1) ]

This is the two point form.

When can't you use the two point form?

When both points have the same x-value, making the denominator ( x_2 - x_1 ) equal to zero, resulting in a vertical line written directly as ( x = c ).

Examples of Two Point Form

Example 1

Find the equation of the line through (1, 2) and (3, 5).

Slope:

[ m = \frac{5 - 2}{3 - 1} = \frac{3}{2} ]

Using the points ((x_1,y_1)=(1,2)):

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

Final answer: ( 3x - 2y + 1 = 0 ) or ( y = \frac{3}{2}x + \frac{1}{2} ).

Example 2

Find the equation of the line through (2, 4) and (2, 9).

Slope:

[ m = \frac{9 - 4}{2 - 2} = \frac{5}{0} ]

This shows a vertical line, giving the final answer: ( x = 2 ).

Example 3

Find the equation of the line through (5, 0) and (0, 5).

Slope:

[ m = \frac{5 - 0}{0 - 5} = \frac{5}{-5} = -1 ]

Using the points ((x_1,y_1)=(5,0)):

[ y - 0 = -1(x - 5) ]

Final answer: ( x + y - 5 = 0 ).

Example 4

Find the equation of the line through (-3, 4) and (1, -2).

Slope:

[ m = \frac{-2 - 4}{1 - (-3)} = \frac{-6}{4} = -\frac{3}{2} ]

Using the points ((x_1,y_1)=(-3,4)):

[ y - 4 = -\frac{3}{2}(x + 3) ]

Final answer: ( 3x + 2y + 1 = 0 ).

Example 5

Find the equation of the line through ((12,3)) and ((32,7)).

Slope:

[ m = \frac{7 - 3}{\frac{3}{2} - \frac{1}{2}} = \frac{4}{1} = 4 ]

Using the points ((x_1,y_1)=(12,3)):

[ y - 3 = 4(x - 12) ]

Final answer: ( y = 4x + 1 ).

Example 6

A taxi charges a fixed booking fee plus a per-kilometre rate. A 2 km ride costs 5 and a 6 km ride costs 13. Write the cost equation as a line.

Let x be distance and y be cost. The two points are (2, 5) and (6, 13). Slope:

[ m = \frac{13 - 5}{6 - 2} = \frac{8}{4} = 2 ]

Using the points ((x_1,y_1)=(2,5)):

[ y - 5 = 2(x - 2) ]

Final answer: ( y = 2x + 1 ).

Why Two Point Form Matters: "Two Dots Are Enough to Fix a Line"

A straight line is one of the most economical objects in mathematics. The two point form captures a fact: you only ever need two points to pin down an entire line. This concept is crucial:

Common Mistakes With the Two Point Form

Mistake 1: Mismatched subtraction order

Don't do this: Writing ( m = \frac{y_2 - y_1}{x_1 - x_2} ). The correct way: Keep the same point as "point 2" throughout: ( m = \frac{y_2 - y_1}{x_2 - x_1} ).

Mistake 2: Forgetting the vertical-line exception

Don't do this: Treating ( \frac{5}{0} ) as usable slope. The correct way: Recognise when ( x_2 - x_1 = 0 ), where the line is vertical.

Mistake 3: Sign errors with negative coordinates

Don't do this: Writing ( x - (-3) ) as ( x - 3 ). The correct way: Write the bracket out fully before simplifying.

Conclusion

The two point form finds a line's equation from two points: ( y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1) ). It is derived by setting the slope between two known points equal to the slope to a general point. It cannot be used when both points share an x-value; that line is vertical, ( x = c ).

Practice these to lock it in: find the line through (0, 1) and (4, 9) and decide whether two point form applies to (5, 1) and (5, 8).

Frequently Asked Questions

What is the difference between the two point form and standard form?

The two point form ( y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}(x - x_1) ) is built directly from two points. Standard form is what you usually rearrange the result into afterwards.

Is the two point form the same as the point-slope form?

Almost. The point-slope form needs the slope given. The two point form replaces it with slope computed from the two points.