Coordinate geometry fuses algebra with geometry by assigning numbers to points and translating geometric figures into equations. This chapter develops the analytic study of straight lines: their slopes, their various equations, the angles between them, and the distances associated with them. It is the foundation of the analytic geometry of the plane.
The chapter begins with the distance formula and the section formula, then introduces the concept of slope of a line and its relation to angle of inclination. It develops several forms of the equation of a straight line: point-slope, slope-intercept, two-point, intercept, and normal forms. It then studies parallelism, perpendicularity, the angle between two lines, and the distance of a point from a line.
Straight lines are the simplest curves and appear everywhere in applications: linear models in physics and economics, road and railway geometry, and the graphical solution of equations. The concepts developed here are prerequisites for conic sections, and the general techniques of coordinate geometry will be used throughout higher mathematics.
The distance between two points P(x1, y1) and Q(x2, y2) is:
d = sqrt((x2 - x1)^2 + (y2 - y1)^2)
If the point R divides the line segment joining P(x1, y1) and Q(x2, y2) in the ratio m : n, then:
R = ((m x2 + n x1)/(m + n), (m y2 + n y1)/(m + n))
If the ratio is taken internally. For the midpoint, m : n = 1 : 1, giving:
Midpoint = ((x1 + x2)/2, (y1 + y2)/2)
The slope (or gradient) of a line is the measure of its steepness. If the line makes an angle theta with the positive direction of the x-axis, then:
m = tan theta
For a line passing through P(x1, y1) and Q(x2, y2), the slope is:
m = (y2 - y1)/(x2 - x1)
A line through a point P(x1, y1) with slope m has equation:
y - y1 = m(x - x1)
A line with slope m and y-intercept c has equation:
y = mx + c
A line through points (x1, y1) and (x2, y2) has equation:
(y - y1)/(y2 - y1) = (x - x1)/(x2 - x1)
A line making intercepts a on the x-axis and b on the y-axis has equation:
x/a + y/b = 1
If p is the length of the perpendicular from the origin to the line and the perpendicular makes an angle alpha with the positive x-axis, then:
x cos alpha + y sin alpha = p
The general linear equation is Ax + By + C = 0, where A and B are not both zero. Its slope is -A/B.
If two lines have slopes m1 and m2, the tangent of the angle theta between them is:
tan theta = |(m2 - m1)/(1 + m1 m2)|
From this formula:
Two lines are parallel if their slopes are equal, and perpendicular if the product of their slopes is -1.
The perpendicular distance of a point P(x1, y1) from the line Ax + By + C = 0 is:
d = |Ax1 + By1 + C|/sqrt(A^2 + B^2)
If two parallel lines are Ax + By + C1 = 0 and Ax + By + C2 = 0, the distance between them is:
d = |C1 - C2|/sqrt(A^2 + B^2)
| Form | Equation | Useful when |
|---|---|---|
| Point-slope | y - y1 = m(x - x1) | Point and slope given |
| Slope-intercept | y = mx + c | Slope and y-intercept |
| Two-point | (y - y1)/(y2 - y1) = (x - x1)/(x2 - x1) | Two points given |
| Intercept | x/a + y/b = 1 | x and y intercepts |
| Normal | x cos alpha + y sin alpha = p | Perpendicular from origin |
| General | Ax + By + C = 0 | Any line |
| Concept | Formula or condition |
|---|---|
| Slope through two points | m = (y2 - y1)/(x2 - x1) |
| Parallel condition | m1 = m2 |
| Perpendicular condition | m1 m2 = -1 |
| Angle between lines | tan theta = |
| Point-line distance | |
| Distance between parallel lines |
Straight lines provide the first and simplest bridge between algebra and geometry. The slope quantifies direction, the various equation forms capture lines from different viewpoints, and the conditions for parallelism and perpendicularity make it easy to reason about pairs of lines. Distance formulas extend analytic geometry to quantitative problems involving points and lines. These tools are not only examined directly but are also the foundation for conic sections, linear programming, and the study of curves in general. Mastery of coordinate geometry of straight lines gives students a powerful and general method for solving geometric problems algebraically.