Property
To find the equation of a line passing through two points, (x1β,y1β) and (x2β,y2β), first calculate the slope using the formula m=x2ββx1βy2ββy1ββ. Then, use this slope and one of the points with the point-slope form, yβy1β=m(xβx1β), to write the equation.
Examples
Find the equation of the line passing through (2,5) and (4,9). First, find the slope: m=4β29β5β=24β=2. Using point-slope form with (2,5), we get yβ5=2(xβ2).
What is the equation of the line containing points (β1,6) and (3,β2)? The slope is m=3β(β1)β2β6β=4β8β=β2. Using point (β1,6), the equation is yβ6=β2(x+1).