General equation of a line
Ax + By = C
m = -A/B and b = C/B
Slope-intercept form
y = mx+ b
m is slope and b is y-intercept
Point-slope form
y – y1 = m(x – x1)
m is slope and (x1,y1) are the cooridinates of some point on the line
Slope
m = (y1 – y2) / (x1 – x2)
(x1,y1) and (x2,y2) are the coordinates of two points
Parallel lines…
have equal slopes
Perpendicular lines…
have slopes that are negative reciprocals
Distance between two points (x1,y1) and (x2,y2)
√( (x1–x2)2 + (y1–y2)2 )
Coordinates of the midpoint between two points
( x1+x2 /2 , y1+y2 /2 )
Distance between a point with coordinates (x1,y1) and a line Ax + By + C = 0
|Ax1 + By1 + C| / √( A2 + B2 )