Let’s study the easiest type of curves in the plane: straight lines.
Table of Contents
Slope of a line
Consider a straight line and two distinct points and on it (see the following figure). The slope of the line, often denoted by , is defined to be the ratio
The slope of a line is independent of which two points on the line we choose.
If is one unit to the right of such that then . This shows if we move one unit to the right from any point on a line, the signed distance that we have to go up or down to get back on the line is the slope of the line. This is why sometimes slope is written as
The sign of the slope is related to the direction of line as follows:
, the line rises to the right
, the line falls to the right
, line is horizontal
The absolute value of the slope is a measure of steepness of the line (See the following figure).
The slope of a vertical line is not defined, because any two points on such a line have the same coordinates, and hence when we form the ratio the denominator becomes zero and division by zero is not defined.
Equation of a line
Now let’s find the equation of the line passing through a given point with slope . If is any other point on this line, the slope formula gives
That is,
This equation is called the point-slope form of the equation of the line.
A special case of the above equation occurs when the given point is a point on the -axis. In this case, the number is called the -intercept of the line and the equation of the line reduces to
which is called the slope-intercept form of the equation.
If we are given two points and on the line, then to find the equation of the line, we first have to calculate which is . Substitution of this expression for in the point-slope form of the equation gives thepoint-point form:
The equation of a vertical line through is
Parallel and perpendicular lines
A number of lines of the form are plotted in the following figure.
Graphs of a number of parallel lines of the form
In general:
Two lines with slopes and are parallel if and only if .
In other words, if two lines in a plane are parallel, then their slopes are equal and if the slopes of two lines are equal, then they are parallel.
As we can see in the following figure, lines of the form are perpendicular to the lines of the form .
Lines of the form are perpendicular to the lines of the form
In general:
Two lines with slopes and are perpendicular if and only if .
In other words, the slopes of non-vertical perpendicular lines are negative reciprocals of each other.
It is clear that a horizontal line (slope 0) is perpendicular to vertical lines (no slope)
Proof of two perpendicular lines have negative reciprocal slopes
We can easily prove this condition using the Pythagorean theorem as follows.
Assume the lines and with slopes and that are perpendicular intersect at a point , as shown in the following figure. Then the equations of these lines are
From the point of intersection, , we move one unit to the right and then up and down to meet the two lines and at and , respectively. Because lies on and lies on , their coordinates are
By the Pythagorean theorem (this symbol means is perpendicular to ) if and only if
where or denotes the distance between and and so on. Using the Distance formula
If the two lines are perpendicular; that is , then (i) is true. So
or
After simplification, we get
or
Conversely, we can show that if , then (i) is true and hence .