Equations & FormulasTopic #7 of 32

Coordinate Geometry Formulas

Distance formula, midpoint formula, slope formula, and equations of lines and circles.

Distance Formula

The distance between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

Midpoint Formula

The midpoint of a line segment with endpoints (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

M=(x1+x22,y1+y22)M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)

Slope Formula

The slope of a line passing through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

m=y2y1x2x1=riserun=ΔyΔxm = \frac{y_2 - y_1}{x_2 - x_1} = \frac{\text{rise}}{\text{run}} = \frac{\Delta y}{\Delta x}

Special Cases

TypeSlope
Horizontal linem=0m = 0
Vertical linemm is undefined
Rising left to rightm>0m > 0
Falling left to rightm<0m < 0

Equations of Lines

Slope-Intercept Form

y=mx+by = mx + b

where mm = slope, bb = y-intercept

Point-Slope Form

yy1=m(xx1)y - y_1 = m(x - x_1)

where mm = slope, (x1,y1)(x_1, y_1) = point on line

Standard Form

Ax+By=CAx + By = C

where AA, BB, CC are integers and A0A \geq 0

Two-Point Form

yy1y2y1=xx1x2x1\frac{y - y_1}{y_2 - y_1} = \frac{x - x_1}{x_2 - x_1}

Intercept Form

xa+yb=1\frac{x}{a} + \frac{y}{b} = 1

where aa = x-intercept, bb = y-intercept

Parallel and Perpendicular Lines

Parallel Lines

Same slope: m1=m2m_1 = m_2

Perpendicular Lines

Slopes are negative reciprocals: m1m2=1m_1 \cdot m_2 = -1

m2=1m1m_2 = -\frac{1}{m_1}

Standard Equation of a Circle

Center at Origin

x2+y2=r2x^2 + y^2 = r^2

Center at (h,k)(h, k)

(xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2

where (h,k)(h, k) = center, rr = radius

General Form

x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0

Center: (D2,E2)\left(-\frac{D}{2}, -\frac{E}{2}\right)

Radius: r=D24+E24Fr = \sqrt{\frac{D^2}{4} + \frac{E^2}{4} - F}

Quadratic Formula

For ax2+bx+c=0ax^2 + bx + c = 0:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Discriminant

Δ=b24ac\Delta = b^2 - 4ac

DiscriminantNature of Roots
Δ>0\Delta > 0Two distinct real roots
Δ=0\Delta = 0One repeated real root
Δ<0\Delta < 0Two complex conjugate roots

Distance from Point to Line

Distance from point (x0,y0)(x_0, y_0) to line Ax+By+C=0Ax + By + C = 0:

d=Ax0+By0+CA2+B2d = \frac{|Ax_0 + By_0 + C|}{\sqrt{A^2 + B^2}}