Coordinate geometry unites algebra and Euclidean geometry by expressing geometric points as ordered real number pairs $(x, y)$ and loci as algebraic equations.
- Distance Formula: The distance between $P(x_1, y_1)$ and $Q(x_2, y_2)$ is $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$.
- Section Formula: The point $R$ dividing the line segment joining $P(x_1, y_1)$ and $Q(x_2, y_2)$ in the ratio $m : n$ is: $$\text{Internal: } \left(\frac{m x_2 + n x_1}{m + n}, \; \frac{m y_2 + n y_1}{m + n}\right), \quad \text{External: } \left(\frac{m x_2 - n x_1}{m - n}, \; \frac{m y_2 - n y_1}{m - n}\right)$$
- Area of Triangle & Collinearity: Area of $\triangle ABC$ with vertices $(x_1, y_1), (x_2, y_2), (x_3, y_3)$ is: $$\Delta = \frac{1}{2} |x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|$$ Points $A, B, C$ are collinear if and only if $\Delta = 0$.
Slope ($m$): If $\theta$ is the inclination of a non-vertical straight line ($\theta \neq 90^\circ$), then the trigonometrical tangent of this angle is defined as the slope or gradient of the line:
$$\mathbf{m = \tan \theta}$$- For a line parallel to the $x$-axis (horizontal line), $\theta = 0^\circ \implies m = \tan 0^\circ = \mathbf{0}$.
- For a line parallel to the $y$-axis (vertical line), $\theta = 90^\circ \implies m = \tan 90^\circ$ is undefined (or infinite).
- If $\theta$ is acute ($0^\circ < \theta < 90^\circ$), the slope $m > 0$ (positive slope).
- If $\theta$ is obtuse ($90^\circ < \theta < 180^\circ$), the slope $m < 0$ (negative slope).
Let $P(x_1, y_1)$ and $Q(x_2, y_2)$ with $x_1 \neq x_2$ be two distinct points on a non-vertical line of inclination $\theta$. Constructing a right-angled triangle with horizontal base $(x_2 - x_1)$ and vertical rise $(y_2 - y_1)$:
Collinearity via Slopes: Three points $A, B, C$ are collinear if and only if $\mathbf{\text{Slope}(AB) = \text{Slope}(BC)}$.