Coordinate geometry connects algebra and geometry by representing points with ordered pairs \((x,y)\) on the Cartesian plane.
Horizontal axis is \(x\)-axis, vertical axis is \(y\)-axis, and intersection is origin \((0,0)\).
Quadrants:
Ordered pair \((a,b)\) means move \(a\) units along \(x\), then \(b\) units along \(y\).
Example: \((-3,2)\) lies in Quadrant II.
For \(A(x_1,y_1)\), \(B(x_2,y_2)\):
\[ AB=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}. \]
This comes from Pythagoras' theorem on horizontal and vertical differences.
\[ M\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right). \]
Example: Midpoint of \((2,5)\) and \((8,-1)\) is \((5,2)\).
For points \(A(x_1,y_1)\), \(B(x_2,y_2)\) with \(x_2\ne x_1\):
\[ m=\frac{y_2-y_1}{x_2-x_1}. \]
Slope-intercept form:
\[ y=mx+c \]
where \(m\) is slope and \(c\) is \(y\)-intercept.
Point-slope form:
\[ y-y_1=m(x-x_1). \]