4.2 Analytic Geometry: Lines, Slopes & Distances in the Cartesian Plane
Key Takeaways
- The Euclidean distance between $P_1(x_1, y_1)$ and $P_2(x_2, y_2)$ is $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$, and the midpoint is $M\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)$.
- Non-vertical lines possess slope $m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}$; two non-vertical lines are parallel if and only if $m_1 = m_2$, and perpendicular if and only if $m_1 \cdot m_2 = -1$.
- The general linear equation $ax + by + c = 0$ represents a straight line in $\mathbb{R}^2$ with slope $m = -\frac{a}{b}$ (for $b \neq 0$); vertical lines have equation $x = k$ (slope undefined) and horizontal lines have $y = k$ (slope $0$).
- The perpendicular distance from point $(x_0, y_0)$ to line $ax + by + c = 0$ is given by the exact formula $d = \frac{|a x_0 + b y_0 + c|}{\sqrt{a^2 + b^2}}$.
- The area of any polygon defined by ordered Cartesian vertices $(x_1, y_1), \dots, (x_n, y_n)$ is evaluated through the Shoelace Formula: $A = \frac{1}{2} |\sum_{i=1}^n (x_i y_{i+1} - x_{i+1} y_i)|$.
4.2 Analytic Geometry: Lines, Slopes & Distances in the Cartesian Plane
Analytic geometry links algebraic equations with geometric configurations in the Cartesian coordinate plane $\mathbb{R}^2$. On the Bocconi Admission Test, linear coordinate geometry questions test your ability to convert between line forms, determine parallel and perpendicular relationships, solve linear systems representing geometric intersections, and evaluate distances and polygon areas rapidly without visual sketching.
1. The Cartesian Coordinate Plane $\mathbb{R}^2$, Distances & Midpoints
The plane $\mathbb{R}^2$ is spanned by two perpendicular real number lines: the horizontal $x$-axis (abscissa) and the vertical $y$-axis (ordinate), intersecting at the origin $O(0, 0)$ and dividing the plane into four quadrants:
- Quadrant I: $x > 0, y > 0$
- Quadrant II: $x < 0, y > 0$
- Quadrant III: $x < 0, y < 0$
- Quadrant IV: $x > 0, y < 0$
Euclidean Distance Formula
For any two points $P_1(x_1, y_1)$ and $P_2(x_2, y_2)$, the straight-line distance $d(P_1, P_2)$ is derived directly from the Pythagorean theorem applied to the horizontal displacement $\Delta x = x_2 - x_1$ and vertical displacement $\Delta y = y_2 - y_1$:
Midpoint and Section Formulas
- Midpoint $M$: The point equidistant from $P_1$ and $P_2$ along the connecting segment is the arithmetic average of their coordinates:
- Internal Division (Section Formula): A point $P$ dividing segment $P_1P_2$ in the ratio $k_1 : k_2$ (such that $\frac{P_1P}{PP_2} = \frac{k_1}{k_2}$) has coordinates:
2. Slope of a Line and Inclination Angle
The slope $m$ measures the rate of vertical change with respect to horizontal change along a non-vertical straight line:
Geometric Interpretation
- If $\theta \in [0, \pi) \setminus {\frac{\pi}{2}}$ is the angle of inclination made by the line with the positive $x$-axis, then:
- Positive Slope ($m > 0$): Acute inclination ($0 < \theta < 90^\circ$), line rises from left to right.
- Negative Slope ($m < 0$): Obtuse inclination ($90^\circ < \theta < 180^\circ$), line falls from left to right.
- Zero Slope ($m = 0$): Horizontal line ($\theta = 0$), equation $y = k$.
- Undefined Slope ($m = \pm \infty$): Vertical line ($\theta = 90^\circ$), equation $x = k$.
Collinearity Criterion
Three distinct points $A, B, C$ lie on the same straight line if and only if the slope between any two pairs is identical:
3. Algebraic Forms of Linear Equations
Depending on the given constraints, a line can be expressed in several standard forms:
| Equation Form | Algebraic Expression | Parameters & Intercepts | Primary Bocconi Use Case |
|---|---|---|---|
| Slope-Intercept | $y = mx + q$ | $m = \text{slope}, \quad q = y\text{-intercept } (0, q)$ | Instant reading of slope and vertical shift |
| Point-Slope | $y - y_0 = m(x - x_0)$ | Passes through $(x_0, y_0)$ with slope $m$ | Constructing line from a point and direction |
| Two-Point | $\frac{y - y_1}{y_2 - y_1} = \frac{x - x_1}{x_2 - x_1}$ | Line through $(x_1, y_1)$ and $(x_2, y_2)$ | Writing equation directly from two points |
| Intercept Form | $\frac{x}{p} + \frac{y}{q} = 1$ | $x$-intercept $(p, 0)$, $y$-intercept $(0, q)$ | Fast computation of triangle area with axes: $A = \frac{1}{2}|pq|$ |
| General Cartesian | $ax + by + c = 0$ | $a, b$ not both 0; $m = -\frac{a}{b}, , q = -\frac{c}{b}$ | Distance formulas and 2x2 intersection systems |
Conversion Shortcut: To find the slope of a general line $ax + by + c = 0$, solve for $y$: $by = -ax - c \implies y = -\frac{a}{b}x - \frac{c}{b}$. The slope is always $m = -\frac{a}{b}$ (provided $b \neq 0$).
4. Parallel and Perpendicular Lines
Let two lines $r_1$ and $r_2$ have slopes $m_1$ and $m_2$, or general forms $a_1x + b_1y + c_1 = 0$ and $a_2x + b_2y + c_2 = 0$:
Parallel Lines Condition ($r_1 \parallel r_2$)
Two non-vertical lines are parallel if and only if their slopes are equal:
- If the constant terms also scale proportionally ($\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}$), the lines are coincident (identical).
- If $\frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}$, the lines are strictly parallel and distinct (no intersection).
Perpendicular Lines Condition ($r_1 \perp r_2$)
Two non-vertical lines are perpendicular (orthogonal) if and only if the product of their slopes is $-1$ (negative reciprocals):
In general Cartesian coefficients, this translates to the dot product of their normal vectors vanishing:
The Perpendicular Bisector of a Segment
The perpendicular bisector of segment $AB$ is the straight line that:
- Passes through the midpoint $M = \left(\frac{x_A + x_B}{2}, \frac{y_A + y_B}{2}\right)$.
- Has slope $m_{\perp} = -\frac{1}{m_{AB}} = -\frac{x_B - x_A}{y_B - y_A}$.
5. Line Intersections & 2x2 Linear Systems
Finding the intersection point of two non-parallel lines corresponds to solving the simultaneous system:
Classification by Determinant ($D = a_1 b_2 - a_2 b_1$)
- Unique Solution ($D \neq 0$): The lines intersect at exactly one point (secant lines):
- No Solution ($D = 0$ and $a_1 c_2 - a_2 c_1 \neq 0$): Distinct parallel lines.
- Infinitely Many Solutions ($D = 0$ and $a_1 c_2 - a_2 c_1 = 0$): Coincident lines.
6. Point-to-Line Distance & Distance Between Parallel Lines
Distance from Point $(x_0, y_0)$ to Line $ax + by + c = 0$
The shortest Euclidean distance from a point $P(x_0, y_0)$ to the line $r: ax + by + c = 0$ is measured along the perpendicular dropped from $P$ to $r$:
Mandatory Setup Rule: Before using this formula, ensure the line equation is rewritten in implicit form $ax + by + c = 0$. If given $y = 3x - 5$, rewrite as $3x - y - 5 = 0$ ($a = 3, b = -1, c = -5$).
Distance Between Two Parallel Lines
If two lines are parallel, their general equations can be scaled to share identical coefficients $a$ and $b$: The perpendicular distance separating them everywhere is:
7. Area of Polygons in $\mathbb{R}^2$: The Shoelace Formula
Calculating the area of a polygon from its vertex coordinates without knowing altitudes is a powerful time-saver on the Bocconi test.
The Shoelace (Gauss) Algorithm
For a polygon with $n$ vertices ordered counterclockwise $(x_1, y_1), (x_2, y_2), \dots, (x_n, y_n)$:
Triangle Area Form
For a triangle with vertices $A(x_A, y_A), B(x_B, y_B), C(x_C, y_C)$:
Origin Vertex Simplification
If one vertex is at the origin $O(0, 0)$ and the other two are $A(x_1, y_1)$ and $B(x_2, y_2)$:
8. Worked Step-by-Step Examples
Example 1: Perpendicular Bisector
Find the equation of the perpendicular bisector of segment $AB$ connecting $A(2, -1)$ and $B(6, 7)$.
- Find midpoint $M$:
- Find slope of segment $AB$:
- Determine perpendicular slope:
- Write equation using point-slope form through $M(4, 3)$:
Example 2: Distance Between Parallel Lines
Find the distance between the parallel lines $r_1: 4x - 3y + 12 = 0$ and $r_2: 4x - 3y - 18 = 0$.
- Confirm lines are parallel: both share $a = 4, b = -3$.
- Apply the parallel distance formula with $c_1 = 12$ and $c_2 = -18$:
Example 3: Triangle Area via Shoelace Formula
Compute the area of the triangle with vertices $A(1, 2), B(5, 6), C(3, 8)$.
- Apply the formula $A = \frac{1}{2} |x_A(y_B - y_C) + x_B(y_C - y_A) + x_C(y_A - y_B)|$:
- Evaluate arithmetic: The area is exactly $8$ square units.
What is the perpendicular distance from the point P(2, -3) to the straight line given by 3x - 4y + 7 = 0?
Which of the following is the equation of the perpendicular bisector of the line segment joining points A(-1, 4) and B(3, 2)?
What is the area of the triangle with vertices at O(0, 0), A(4, 1), and B(2, 5) in the Cartesian plane?