Chapter 1 — Fundamental Concepts
1.10 — Lines
All the geometry of a line is stored in a single number: how much it rises for each step it advances.
The chapter ends its technical journey with the simplest object of the analytic geometry of §1.8, and for that very reason the most fundamental: the line. All the geometric information of a non-vertical line fits into a single number, its slope. Starting from that number, this section builds the different ways of writing the equation of a line and proves the conditions for parallelism and perpendicularity between two lines. We will follow the same path as with distance in §1.8: we start from Euclidean geometry, translate it into an algebraic definition and, from there on, prove everything with algebra.
§1. Slope
Section titled “§1. Slope”Given two points and with , their slope is
the quotient of how much changes and how much changes in going from one point to the other. The condition ensures that the denominator is not zero. The order of the points does not matter: swapping them changes the sign of the numerator and the denominator at the same time, and the quotient stays the same. If , moving to the right means going up; if , going down; if , the two points are at the same height.
Figure 1.6 — Slope as the quotient of the rise, , and the run, .
Why is this the number that describes a line? Euclidean geometry answers as follows. If , and are three points of the same non-vertical line, we draw horizontal and vertical segments from them, as in the proof in §1.8. Two right triangles are formed, one with hypotenuse and the other with hypotenuse , which have the same acute angle at because the three points are aligned. Two right triangles with an equal acute angle are similar, and their legs are proportional, so that . The signs also agree, because along a line one always goes up, or always goes down, when moving to the right. The slope computed with any two points of a line is the same.
As we did with distance, from here on we adopt the algebraic consequence of this fact as a definition. Let us fix a point of the line on the -axis. A point with lies on the line exactly when the slope between and is , that is, when , or ; and for this equation gives itself. That is why we call the non-vertical line with slope and -intercept the curve, in the sense of §1.8, formed by the points that satisfy
and the vertical line the curve formed by the points that satisfy , for a fixed real number . With this definition, the geometric fact becomes an algebraic theorem.
Proposition. If and are two distinct points of the line , then .
Proof. If , then and the points would be equal; therefore . Moreover , and dividing by gives the equality.
This proposition is what authorizes us to speak of “the” slope of a line, and not of a slope that depends on the two points chosen.
§2. Equations of the line
Section titled “§2. Equations of the line”A non-vertical line is determined by its slope and one of its points.
Proposition (point-slope form). The line with slope passing through is the graph of
Proof. The line passes through if and only if , that is, if and only if . There is, then, exactly one line with slope passing through that point, the one with equation , and that equation is equivalent to , because one passes from one to the other by adding to both sides.
When the known point is the intersection with the -axis, , the point-slope form gives , which is the slope-intercept form . They are the same line, presented from different data; which one is more convenient depends on what information is at hand.
A line is also determined by two of its points.
Proposition (line through two points). Through two points and with passes exactly one non-vertical line, the one with slope passing through .
Proof. If a non-vertical line passes through the two points, by the proposition of §1 its slope is necessarily , and by the previous proposition it is the only line with that slope passing through . Conversely, that line passes through , and also through , because .
Example. The line through and has slope , and its equation is , that is, . Let us check with the second point: .
If and the points are distinct, no non-vertical line passes through both, because an equation assigns a single value of to each . The only line containing them is the vertical line .
§3. Parallel and perpendicular lines
Section titled “§3. Parallel and perpendicular lines”Two distinct lines are parallel when they have no point in common. With the algebraic definition of §1, parallelism can be proved instead of assumed.
Proposition. Two distinct non-vertical lines, and , are parallel if and only if . If , they meet at exactly one point.
Proof. A point lies on both lines if and only if and , which happens exactly when is a solution of and . That equation is equivalent to , which is linear in the sense of §1.5. If , it has a unique solution, , and the lines meet at a single point. If , then , because the lines are distinct, and the equation reduces to , which is false: there are no common points.
Likewise, two distinct vertical lines, and , are parallel, and a non-vertical line meets a vertical line at exactly one point, .
Perpendicularity again requires a link with Euclidean geometry, the same one as in §1.8: the Pythagorean theorem and its converse, which say that a triangle has a right angle at a vertex if and only if the square of the side opposite that vertex is the sum of the squares of the other two.
Proposition. Two non-vertical lines, with slopes and , are perpendicular if and only if .
Proof. If , then , because is impossible; and if the lines are perpendicular, they meet. In both cases, by the previous proposition, the lines meet at a single point . By the point-slope form, the points and lie on the first and the second line, respectively, and are distinct from . The lines are perpendicular if and only if the triangle has a right angle at , that is, by Pythagoras and its converse, if and only if
By the formula of §1.8, , and . The condition becomes
where each step is an equivalence, because one passes from one equation to the next by adding the same term or multiplying by a nonzero number (§1.5).
The condition is also written : each slope is the negative of the reciprocal of the other. The case the formula does not cover is that of a horizontal line, with slope , and a vertical one, which has no slope; those two lines are also perpendicular.
This proof shows, in condensed form, the program of analytic geometry: a geometric condition, that two lines form a right angle, is translated into an algebraic condition on two numbers, that their product be .
Figure 1.7 — Parallel lines () and perpendicular lines ().
§4. The general form
Section titled “§4. The general form”The forms of §2 do not work for vertical lines, which have no slope. There is a form of equation that covers all lines without exception.
Proposition (general form). Every line in the plane is the graph of an equation
with and not both zero. Conversely, every equation of that form has a line as its graph.
Proof. The line is the graph of , which has that form with , and ; the vertical line is the graph of , with , and . Conversely, suppose with and not both zero. If , the equation is equivalent to , the line with slope and -intercept . If , then , and the equation is equivalent to , a vertical line.
The general form is not unique: multiplying the equation by a nonzero number gives another equivalent equation, with the same graph. Thus and describe the same line, .
With the line, the technical journey of the chapter is complete: the real numbers, their powers and roots, algebraic and fractional expressions, equations and inequalities, and the analytic geometry that carries them into the plane. The next section closes the chapter with an overall view.
Copyright © 2026 Carlos Dagorret — Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)