The Distance Formula • The Slope of a Line • Inclination • Parallel Lines • Perpendicular Lines
As we have noted, analytic geometry deals with the relationship between an algebraic equation and the geometric curve it represents. In this section, we develop certain basic concepts that will be needed for future use in establishing the proper relationships between an equation and a curve.
The first of these concepts involves the distance between any two points in the coordinate plane. If these points lie on a line parallel to the x-axis, the distance from the first point to the second point is The absolute value is used because we are interested only in the magnitude of the distance. Therefore, we could also denote the distance as Similarly, the distance between two points and that lie on a line parallel to the y-axis is or
The line segment joining and in Fig. 21.1 is parallel to the x-axis. Therefore, the distance between these points is
Also, in Fig. 21.1, the line segment joining and D(2, 6) is parallel to the y-axis. The distance d between these points is
We now wish to find the length of a line segment joining any two points in the plane. If these points are on a line that is not parallel to either axis (see Fig. 21.2), we use the Pythagorean theorem to find the distance between them. By making a right triangle with the line segment joining the points as the hypotenuse and line segments parallel to the axes as legs, we have Solving for d, we get the distance formula, which gives the distance between any two points in the plane. This formula is
Here, we choose the positive square root because we are concerned only with the magnitude of the length of the line segment.
The distance between and is given by
See Fig. 21.3.
[It makes no difference which point is chosen as and which is chosen as because the differences in the x-coordinates and the y-coordinates are squared.]
We obtain the same value for the distance when we calculate it as
Another important quantity for a line is its slope, which we defined in Chapter 5. Here, we review its definition and develop its meaning in more detail.
The slope of a line through two points is defined as the difference in the y-coordinates (rise) divided by the difference in the x-coordinates (run). Therefore, the slope, m, which gives a measure of the direction of a line, is defined as
See Fig. 21.4.
We may interpret either of the points as and the other as although we must be careful to place the in the numerator and in the denominator.
When the line is horizontal, and When the line is vertical, and the slope is undefined.
The slope of a line through and is
See Fig. 21.5. Again, we may interpret either of the points as and the other as We can also obtain the slope of this same line from
The larger the numerical value of the slope of a line, the more nearly vertical is the line.
[Also, a line rising to the right has a positive slope, and a line falling to the right has a negative slope.]
The line in Example 3 has a positive slope, which is numerically small. From Fig. 21.5, it can be seen that the line rises slightly to the right.
The line joining (3, 4) and has a slope of
This line falls sharply to the right, as shown in Fig. 21.6.
If a given line is extended indefinitely in either direction, it must cross the x-axis at some point unless it is parallel to the x-axis. The angle measured from the x-axis in a positive direction to the line is called the inclination of the line (see Fig. 21.7). The inclination of a line parallel to the x-axis is defined to be zero. An alternate definition of slope, in terms of the inclination is
Because the slope can be defined in terms of any two points on the line, we can choose the x-intercept and any other point. Therefore, from the definition of the tangent of an angle, we see that Eq. (21.3) is in agreement with Eq. (21.2).
The slope of a line with an inclination of is
If a line has a slope of we know that Because is negative, must be a second-quadrant angle. Therefore, using a calculator to show that we find that See Fig. 21.8.
We see that if the inclination is an acute angle, the slope is positive and the line rises to the right. If the inclination is an obtuse angle, the slope is negative and the line falls to the right.
Any two parallel lines crossing the x-axis have the same inclination. Therefore, as shown in Fig. 21.9, the slopes of parallel lines are equal. This can be stated as
If two lines are perpendicular, this means that there must be between their inclinations (Fig. 21.10). The relation between their inclinations is
If neither line is vertical (the slope of a vertical line is undefined) and we take the tangent in this last relation, we have
or
because a function of the complement of an angle equals the cofunction of that angle (see page 125) and because (see page 247). But which means Using the inclination definition of slope, we have as the relation between slopes of perpendicular lines,
The line through and has a slope of
The line through and has a slope of
Because the slopes of the two lines are negative reciprocals, we know that the lines are perpendicular. See Fig. 21.11.
Using the formulas for distance and slope, we can show certain basic geometric relationships. The following examples illustrate the use of the formulas and thereby show the use of algebra in solving problems that are basically geometric. This illustrates the methods of analytic geometry.
Show that the line segments joining B(6, 0), and C(5, 5) form a right triangle. See Fig. 21.12.
If these points are vertices of a right triangle, the slopes of two of the sides must be negative reciprocals. This would show perpendicularity. These slopes are
We see that the slopes of AC and BC are negative reciprocals, which means From this we conclude that the triangle is a right triangle.
Find the area of the triangle in part (a). See Fig. 21.13.
Because the right angle is at C, the legs of the triangle are AC and BC. The area is one-half the product of the lengths of the legs of a right triangle. The lengths of the legs are
Therefore, the area is
In Exercises 1–4, make the given changes in the indicated examples of this section and then solve the resulting problems.
In Example 2, change to
In Example 3, change to
In Example 5(b), change to
In Example 7(a), change B(6, 0) to
In Exercises 5–14, find the distance between the given pairs of points.
(3, 8) and
and
and
and (2, 10)
and
and
and
and
and
and
In Exercises 15–24, find the slopes of the lines through the points in Exercises 5–14.
In Exercises 25–28, find the slopes of the lines with the given inclinations.
In Exercises 29–32, find the inclinations of the lines with the given slopes.
0.364
1.903
In Exercises 33–36, determine whether the lines through the two pairs of points are parallel or perpendicular.
and (4, 3); and
and (4, 4); and
and (2, 3); and
and (3a, 6b); and (5a, 0)
In Exercises 37–40, determine the value of k.
The distance between and (11, k) is 13.
The distance between (k, 0) and (0, 2k) is 10.
Points and are on the same line.
The points in Exercise 39 are the vertices of a right triangle, with the right angle at (3, k).
In Exercises 41–44, show that the given points are vertices of the given geometric figures.
(2, 3), (4, 9), and are vertices of an isosceles triangle.
(3, 5), and (5, 1) are the vertices of a right triangle.
(7, 1), (10, 5), and are the vertices of a parallelogram.
(0, 8), and (2, 3) are the vertices of a square.
In Exercises 45–48, find the indicated areas and perimeters.
Find the area of the triangle in Exercise 42.
Find the area of the square in Exercise 44.
Find the perimeter of the triangle in Exercise 41.
Find the perimeter of the parallelogram in Exercise 43.
In Exercises 49–52, use the following definition to find the midpoints between the given points on a straight line.
The midpoint between points and on a straight line is the point.
and (6, 1)
and
and
(2.6, 5.3) and
In Exercises 53–66, solve the given problems.
Find the relation between x and y such that (x, y) is always 3 units from the origin.
Find the relation between x and y such that (x, y) is always equidistant from the y-axis and (2, 0).
Show that the diagonals of a square are perpendicular to each other. [Hint: Use (0, 0), (a, 0), and (0, a) as three of the vertices.]
The center of a circle is and one end of a diameter is What are the coordinates of the other end of the diameter?
A line segment has a slope of 3 and one endpoint at If the other endpoint is on the x-axis, what are its coordinates?
The points (5, y), and (2, 4) are collinear (on the same line). Find y.
Find the coordinates of the point on the y-axis that is equidistant from and (2, 4).
Are the points (3, 5), and (6, 14) collinear?
Are the points and (5, 5) equidistant from (2, 1)?
The grade of a highway is its slope expressed as a percent (a 5% grade means the slope is ). If the grade of a certain highway is 6%, find (a) its angle of inclination and (b) the change in elevation (in ft) of a car driving for 2.00 mi uphill along this highway
On a computer drawing showing the specifications for a mounting bracket, holes are to be drilled at the points (32.5, 25.5) and (88.0, 62.5), where all measurements are in mm. Find the distance between the centers of the two holes.
A triangular machine part has vertices at , and C(5, 2). What is the length of the median from See Fig. 21.14. (A median is a line segment that connects a vertex with the midpoint of the opposite side. See Exercises 49–52.)
Denver is 1350 km east and 900 km south of Seattle. Edmonton is 620 km east and 640 km north of Seattle. How far is Denver from Edmonton?
A person is working out on a treadmill inclined at 12% (the slope of the treadmill expressed in percent). What is the angle between the treadmill and the horizontal?
3.137.213.128