Subsection4.1.1Distance between two points and division of segments
If P and Q are two points on the coordinate plane, then PQ represents the line segment joining P and Q and d(P,Q) or |PQ| represents the distance between P and Q.
Recall that the distance between points a and b on a number line is |a -b| = |b βa|. Thus, the distance between two points P(\(x_1\text{,}\)\(y_1\)) and R(\(x_2\text{,}\)\(y_1\)) on a horizontal line must be |\(x_2\)\(x_1\)| and the distance between Q(\(x_2\text{,}\)\(y_2\)) and R(\(x_2\text{,}\)\(y_1\)) on a vertical line must be |\(y_2\) -\(y_1\)|.(See, FigureΒ 4.1.1) .
To find distance \(|PQ|\) between any two points \(P(x_1, y_1)\) and \(Q(x_2, y_2)\text{,}\) we note that triangle PRQ in FigureΒ 4.1.1 is a right triangle, and so by Pythagorean Theorem we get:
Division point of a line segment: Given two distinct points P(\(x_1\text{,}\)\(y_1\)) and Q(\(x_2\text{,}\)\(y_2\)) in the coordinate plane, we want to find the coordinates (\(x_0\text{,}\)\(y_0\)) of the point R that lies on the segment PQ and divides the segment in the ratio \(r_1\) to \(r_2\) ; that is
To determine (\(x_0\text{,}\)\(y_0\)), we construct two right triangles βPSR and βRTQ as shown. We then have |PS| = \(x\) β\(x\) , |SR| =\(y_0\)β\(y_1\) , |RT| =x_2 βx_0 , and |TQ| =y_2 βy_0 . Now since βPSR is similar to βRTQ, we have that
If R(\(x_0\) , \(y_0\) ) is a point on the line segment PQ that divides the segment in the ratio |PR| : |RQ| = \(r_1\):\(r_2\) , then the coordinates of R is given by
An equation of a line l is an equation which must be satisfied by the coordinates (x, y) of every point on the line. A line can be vertical, horizontal or oblique. The equation of a vertical line that intersects the x-axis at (a, 0) is x=a because the x-coordinate of every point on the line is a. Similarly, the equation of a horizontal line that intersects the y-axis at (0, b) is y=b because the y-coordinate of every point on the line is b.
An oblique line is a straight line which is neither vertical nor horizontal. To find equation of an oblique line we use its slope which is the measure of the steepness of the line. In particular, the slope of a line is defined as follows.
Thus the slope of a line l is the ratio of the change in y, βy, to the change in x, βx (See FigureΒ 4.1.11). Hence, slope is the rate of change of y with respect x. The slope depends also on the angle of inclination of the line. Note that the angle of inclination ΞΈ is the angle between x-axis and the line (measured counterclockwise from the direction of positive x-axis to the line). Observe that
Now let us find an equation of the line that passes through a point \(P_1\)(\(x_1\text{,}\)\(y_1\)) and has slope m. A point P(x, y) with xβ \(x_1\) lies on this line if and only if the slope of the line though \(P_1\) and P is m; that is
The slope of l is m= tan(135Β°) = β1; and it passes through point (3, β2). Thus, using the point-slope form with \(x_1\)= 3 and \(y_1\)= β2, we obtain the equation of the line as
for constants a, b, c with a and b not both zero. Indeed, if a=0 the line is a horizontal line given by y = βc/b, if b=0 the line is a vertical line given by x = βc/a, and if both a, bβ 0 it is the oblique line given by \(y=-\left ( \frac{a}{b} \right )x-\frac{c}{b}\) with slope \(m=-\frac{a}{b}\) and y-intercept \(y=-\frac{c}{b}\) .
\(\textbf{Parallel and Perpendicular lines:}\) slopes can be used to check whether lines are parallel, perpendicular or not. In particular, let \(I_1\) and \(l_2\) be non-vertical lines with slope \(m_1\) and \(m_2\text{,}\) respectively. Then,
Moreover, if \(l_1\) and \(l_2\) are are both vertical lines then they are parallel. However, if one of them is horizontal and the other is vertical, then they are perpendicular.
The given line can be written in the form \(y= \frac{-2}{3}x-\frac{5}{3}\) which is the slope-intercept form; that is, it has slope \(m= -\frac{2}{3}\) So, as parallel lines have the same slope, the required line has slope \(-\frac{2}{3}\) Therefore, its equation in point-slope form is \(y-2=\frac{-2}{3}\left ( x-3 \right )\) which can be simplified to \(2x+3y=12\)
The equations can be written as \(y=\frac{-2}{3}x-\frac{5}{3}\) and \(y=\frac{3}{2}x-2\) from which we can see that \(m_{1}=-\frac{2}{3}\) and \(m_{2}=\frac{3}{2}\text{.}\) Since \(m_1m_2=-1\text{,}\) the lines are perpendicular.
Suppose \(l_1\) and \(l_2\) are perpendicular lines intersecting at (β1, 2). If the angle of inclination of \(l_1\) is 45Β°, then find an equation of \(l_2\) .
Let \(L_1\) and \(L_2\) be given by 2x + 3y β4= 0 and x +3y β5= 0, respectively. A third line \(L_3\) is perpendicular to \(L_1\text{.}\) Find an equation of \(L3\) if the three lines intersect at the same point.
Subsection4.1.3Distance between a point and a line
Suppose a line \(l\) and a point P(x,y) not on the line are given. The distance from P to \(l\text{,}\)d(P, \(l\)), is defined as the perpendicular distance between P and l . That is,
In general, however, to find the distance between a point P(\(x_0\)\(, y_0\)) and an arbitrary line \(l\) given by ax + by +c = 0, we have to first get a point Q on \(l\) such that PQβ₯ \(l\) and then compute |PQ|. This yields the formula given in the following Theorem.
In particular, if we take (\(x_0\)\(,y_0\))=(0,0) in this formula, we obtain the distance between the origin O(0,0) and a line L : ax + by +c = 0 which is given by
The vertices of βABC are given below. Find the length of the side BC, the height of the altitude from vertex A to BC, and the area of the triangle when its vertices are