Precalculus Study Guide
Copyright Maplesoft, a division of Waterloo Maple Inc., 2024
Chapter 2: Graphing Lines in the Cartesian Plane
Introduction
In plane Euclidean geometry, two points determine a straight line, as well as the line segment connecting the points.
In analytic geometry, the equation of a straight line can be given in any one of the forms shown in Table 2.0.1.
Form
Equation
Details
Two-point
y−y1x−x1=y2−y1x2−x1
where the two points are ⁡x1,y1 and ⁡x2,y2
Point-slope
y−y1=m⁢x−x1
where m=y2−y1x2−x1 is the slope of the line
Slope-intercept
y=m⁢x+b
where m is the slope, and b, the y-intercept
General
A⁢x+B⁢y=C
Table 2.0.1 Formulas for the equation of a straight line
Analytic geometry also provides expressions for the coordinates of the midpoint of a line segment, the length of that segment, and the equation of the perpendicular bisector of the segment.
In addition, this chapter explores how to obtain the coordinates of the intersection two lines, and how to find the distance between two parallel lines.
Chapter Glossary
The following terms in Chapter 2 are linked to the Maple Math Dictionary.
analytic geometry
bisector
Cartesian plane
coordinate
Cramer's Rule
Euclidean geometry
intercept
length
line
line segment
matrix
midpoint
negative
parallel
perpendicular
reciprocal
slope
transversal
Typical Problems
2.1. In the Cartesian plane, the two points ⁡1,2 and ⁡4,7 determine a line segment. For this segment, find
a) the length ;
b) the midpoint ;
c) the slope ;
d) the equation;
e) the equation of the perpendicular bisector.
2.2. Calculate the coordinates of the point of intersection of the lines 2⁢x−3⁢y=5,4⁢x+7⁢y=9.
2.3. Find the distance between the parallel lines whose equations are 3⁢x+4⁢y=7 and 3⁢x+4⁢y=10.
Maple Initializations
Before accessing the Maple version of the solutions to the typical problems stated above, initialize Maple by pressing the button provided on the right.
Solutions
Problem 2.1
2.1 - Mathematical Solution
In the Cartesian plane, the two points ⁡1,2 and ⁡4,7 determine a line segment.
2.1 (a) - Length of Line Segment
The length of this line segment is computed with the distance formula
d=x1−x22+y1−y22
Taking ⁡x1,y1=⁡1,2 and ⁡x2,y2=⁡4,7, the distance between the endpoints, namely,
d=1−42+2−72 = −32+−52=9+25 = 34
is the length of the line segment.
2.1 (b) - Midpoint of Line Segment
The midpoint of the segment is the point whose coordinates are
⁡xm,ym=⁡x1+x22,y1+y22
Again taking ⁡x1,y1=⁡1,2 and ⁡x2,y2=⁡4,7, the midpoint will be
⁡xm,ym=⁡1+42,2+72 = ⁡52,92
2.1 (c) - Slope of Line Segment
The slope of the line segment joining the points ⁡x1,y1 and ⁡x2,y2 is given by
m=y2−y1x2−x1
Hence, the slope of the segment joining the points ⁡x1,y1=⁡1,2 and ⁡x2,y2=⁡4,7 is
m=7−24−1 = 53
2.1 (d) - Equation of Line
The equation of the line through the points ⁡x1,y1 and ⁡x2,y2 can be found from the two-point form of the straight line, namely,
y−y1=y2−y1x2−x1 ⁡x−x1
This is equivalent to the point-slope form of the line, namely,
or even
y=m⁢x−x1+y1
Since the slope m=53 was calculated in Part (c), the required equation of the line joining the points ⁡x1,y1=⁡1,2 and ⁡x2,y2=⁡4,7 is then
y=53 ⁡x−1+2
or
y=53 x−53+2 = 53 x+13
2.1 (e) - Equation of Perpendicular Bisector
The equation of the perpendicular bisector of the line segment joining the points ⁡x1,y1=⁡1,2 and ⁡x2,y2=⁡4,7 is found by applying the point-slope form of the straight line to the midpoint of the segment. The midpoint was found in Part (b) to be
⁡xm,ym=⁡52,92
The slope of this segment was found in Part (c) to be m=53 . Therefore, the slope of the line perpendicular to this segment is the negative reciprocal of 53, namely, −35. Hence, the desired equation is
y=−35 ⁡x−52+92
y=−35 x+32+92 = −35 x+6
2.1 - Maplet Solution
The equation of the line through the two points ⁡1,2 and ⁡4,7 can be found with the Maple Lines Tutor, a thumbnail sketch of which can be seen in Figure 2.1.1.
In this tutor, select the Two Points radio button and enter the two given points. Then click the Display button. The Lines Tutor will then provide the equation of the line in the two forms shown in Table 2.1.1, and draw a graph of the line.
y=53 x+13
−5⁢x+3⁢y=1
Table 2.1.1 Equations provided by Lines Tutor
Figure 2.1.1 Thumbnail image of the Lines Tutor
To launch the Lines Tutor, select "Lines" from the Tools≻Tutors≻Precalculus menu. Alternatively, click the following link: Lines Tutor .
The length, midpoint, slope, and equation of the perpendicular bisector of this line segment are obtained with Line Tutor #2 . (Clicking this link will launch the tutor with the solution embedded as shown in Figure 2.1.2.)
The coordinates of the points ⁡1,2 and ⁡4,7 are entered in the data fields for A:⁡x1,y1 and B:⁡x2,y2. The buttons labeled Length, Midpoint, Slope, and Perp. Bisector yield, respectively, the length, midpoint, slope and perpendicular bisector of the segment determined by the points A and B.
To launch the Line Tutor #2, click the following link: Line Tutor #2
Figure 2.1.2 Thumbnail image of the Line Tutor #2
2.1 - Interactive Solution
Enter the given data
Enter the first point as a Maple list.
Context Panel: Assign to a Name≻A
1,2→assign to a name
Context Panel: Assign to a Name≻B
4,7→assign to a name
Part (a) - Length of Line Segment
Form the differences x2−x1,y2−y1 by writing B−A
Context Panel: Assign to a Name≻d
B−A→assign to a name
Compute x2−x12+y2−y12 by writing d12+d22.
Press the Enter key
d12+d22
Part (b) - Midpoint of Line Segment
Obtain the midpoint x1+x22,y1+y22 by writing A+B2.
Context Panel: Assign to a Name≻MP
A+B2→assign to a name
Part (c) - Slope of Line Segment
Obtain the slope y2−y1x2−x1 by writing d2d1
Context Panel: Assign to a Name≻m
d2d1→assign to a name
Part (d) - Equation of Line
By referencing x1 as A1, and y1 as A2, implement the point-slope form of the line
y=m x−x1+y1
y=m x−A1+A2
Part (e) - Equation of Perpendicular Bisector
By referencing the x- and y-coordinates of the midpoint as MP1 and MP2, respectively, implement the point-slope form of the line
y=m⊥ x−x1+y1
where m⊥ is the slope of the line orthogonal to the line in Part (d).
y= −1m x−MP1+MP2
2.1 - Programmatic Solution
Be sure to have initialized the worksheet by pressing the Initialize button in the Initialization section.
Enter the data.
A,B≔1,2,4,7
(a) Length of the line segment AB
DistanceA,B
(b) Midpoint of the segment AB
MP≔MidpointA,B
(c) Slope of the segment AB
m≔SlopeA,B
(d) Equation of line through A and B
LineA,B1
(e) Equation of perpendicular bisector of segment AB
Line−1m,MP1
Problem 2.2
2.2 - Mathematical Solution
Several methods are available for calculating the coordinates of the point of intersection of the lines
2⁢x−3⁢y=5,4⁢x+7⁢y=9
Figure 2.2.1 provides a graphical estimate of the coordinates of the intersection of the graphs of these lines. This is an approximate solution of the equations.
Other methods include elimination, substitution, and Cramer's rule.
Figure 2.2.1 Graph of the lines 2⁢x−3⁢y=5 and 4⁢x+7⁢y=9
The Method of Elimination
Solve each equation for the same variable, and equate results. For example, solving each equation for y, and equating results, leads to the new equation
5−2 x−3=9−4 x7
Multiplying this equation by both 7 and −3 leads to
35−14 x=12 x−27
and then to
62=26 x
From this, x=6226=3113 so y=5−2 3113−3=65−62−39= −113
The Method of Substitution
Solve one equation of one of its variables, and substitute into the other equation. For example, solving the first equation for y leads to
y=5−2 x−3
Substitution of this into the second equation gives
4 x+7 5−2 x−3=9
from which it follows that
−12 x+35−14 x= −27
and
Hence, x=6226=3113, and y=5−2 3113−3=65−62−39= −113
a11 x+a12 y=c1a21 x+a22 y=c2}⇒
x=c1a12c2a22a11a12a21a22, y=a11c1a21c2a11a12a21a22
Table 2.2.1 Cramer's rule
Cramer's rule gives the solution of the equations
a11⁢x+a12⁢y=c1
a21⁢x+a22⁢y=c2
as the ratios
x=mxd
y=myd
where mx,my, and d are the determinants, respectively, of the matrices
Mx=c1a12c2a22, My=a11c1a21c2, D=a11a12a21a22
Since the determinant of the matrix
PQRS
is
P⁢S−Q⁢R
the solution of the given equations, using Cramer's rule, requires computing the determinants of the matrices
Mx=5−397, My=2549, D=2−347
The determinants are
mx=35−⁡−3⋅9 = 62
my=18−20 = −2
d=14−⁡−3⋅4 = 26
Hence, the solution of the given equations is
x=6226 = 3113
y=−226 = −113
These calculations are summarized in Tables 2.2.1 and 2.2.2.
x=5−397|2−347|=6226=3113
y=2549|2−347|=−226= −113
Table 2.2.2 Cramer's rule applied to Problem 2.2
2.2 - Maplet Solution
Given the lines
2⁢x−3⁢y=5
4⁢x+7⁢y=9
the coordinates of the point of intersection, namely, ⁡3113,−113, can be obtained with Line Tutor #3 .
Clicking this link will launch the tutor with the solution embedded as shown in Figure 2.2.2.
To use this tutor, write the given lines in the form y=..., enter just the right-hand sides of these equations, and then press the Intersection button to obtain the desired result.
Figure 2.2.2 Thumbnail image of Line Tutor #3
To launch Line Tutor #3, click the following link: Line Tutor #3 .
2.2 - Interactive Solution
Form a sequence of the two equations.
Context Panel: Solve≻Solve
Obtain Figure 2.2.1
Context Panel: Plots≻Plot Builder
2.2 - Programmatic Solution
Enter the two equations.
E1≔2 x−3 y=5;E2≔4 x+7 y=9
Apply the solve command.
solveE1,E2,x,y
Obtain Figure 2.2.1.
implicitplotE1,E2,x=0..5,y=−5..5
Problem 2.3
2.3 - Mathematical Solution
The distance between the parallel lines whose equations are 3⁢x+4⁢y=7 and 3⁢x+4⁢y=10 can be found as the length of a transversal perpendicular to both lines. This transversal can be constructed at any point on one of the lines by selecting an arbitrary point on the first line, finding the equation of the perpendicular through this point, then finding the intersection of this transversal with the second line. The length of the segment between the points on the two lines is then the distance between the parallel lines. See Figure 2.3.1.
Suppose the point ⁡1,1 is selected on the first line whose slope is m=−34. The equation of the perpendicular through 1,1 is
y=43⁡x−1+1 = 43 x−13
Figure 2.3.1 Graph of parallel lines cut by a perpendicular transversal
The intersection of this line with the second given line is found by the method of substitution, which yields
3⁢x+4⁢4⁢x−13 = 10
253 x=343
so
x=3425
y=43 3425−13 = 3725
The length of the segment connecting the points ⁡1,1 and ⁡3425,3725 is then
1−34252+1−37252= 81+14425=22525 = 1525=35
2.3 - Maplet Solution
To find the distance between the two parallel lines whose equations are
3⁢x+4⁢y=7 and 3⁢x+4⁢y=10
use Line Tutor #3 .
Clicking this link will launch the tutor with the solution embedded as shown in Figure 2.3.2.
To use this tutor, write the given lines in the form y=..., enter just the right-hand sides of these equations, using * for multiplication, and then press the Separation button to obtain the desired result, namely, 35, in both exact and floating-point form.
Figure 2.3.2 Thumbnail image of Line Tutor #3
Note that if the Intersection button is pressed, the message returned indicates that the lines are parallel, and hence, do not intersect.
To launch Line Tutor #3, click the following link: Line Tutor #3
2.3 - Interactive Solution
Enter the expression for the first line.
Context Panel: Solve≻Isolate Expression for≻y
At the point x1,y1=1,1, obtain the equation of the line perpendicular to the first line.
Implement the point-slope equation y=m x−x1+y1, where m is the negative reciprocal of the slope of the first line.
Type the equation of the second line, type a comma, and reference the equation of the transversal by its equation label (Control L) to form a sequence of two equations.
Obtain the length of the line segment between the point 1,1 and the intersection of the transversal with the second line.
Tools≻Tasks≻Browse: Algebra≻Distance between Two Points
Distance between Two Real Points
Enter points as lists:
Point 1:
Point 2:
=
2.3 - Programmatic Solution
Be sure that the "Initialize" button in the Initialization section has been pressed. Then, enter the equations of the given lines.
L1≔3 x+4 y=7;L2≔3 x+4 y=10
Obtain the common slope of these lines by writing the first line in the form y=m x+b.
Y1≔solveL1,y
The coefficient of x is the slope, m.
m≔coeffY1,x
At the point 1,1 on the first line, obtain the equation of the line orthogonal to any line with slope m.
L3≔Line−1m,1,11
Obtain the intersection of the second line with the transversal just constructed.
Q≔solveL2,L3
Write the intersection as a "point."
P≔evalx,y,Q
Compute the distance between 1,1 on the first line with the point P at the intersection of the transversal and the second line.
DistanceP,1,1
Exercises - Chapter 2
2.1. In the Cartesian plane, the two points ⁡6,−5 and ⁡−3,8 determine a line segment. For this segment, find
(a) the length; (b) the midpoint;
(c) the slope;
(d) the equation;
(e) the equation of the perpendicular bisector.
2.2. Calculate the coordinates of the point of intersection of the lines 6⁢x+11⁢y=13,5⁢x−9⁢y=1.
2.3. Find the distance between the parallel lines whose equations are 7⁢x−11⁢y=2 and 7⁢x−11⁢y=12.
2.4. Find the distance between the parallel lines whose equations are 2⁢x+3⁢y=5 and 6⁢y=21−4⁢x.
2.5. On the line whose equation is 5⁢x+7⁢y=11, find the coordinates of the points that are 9 units from the point whose x-coordinate is 1. Hint: Solve the equation 9=a−12+y⁡a−y⁡12 for a.
2.6. Find the equations of the lines parallel to, and 5 units from the line whose equation is 5⁢x−3⁢y=4. Hint: At any point on the given line, find the equation of a perpendicular; then use Exercise 2.5.
2.7. In the Cartesian plane, the three points ⁡1,2,⁡7,5, and ⁡3,10 are the vertices of a triangle. Find the coordinates of the intersection of the medians of this triangle. Hint: A median in a triangle is a line connecting a vertex to the midpoint of the side opposite that vertex. A theorem in plane geometry states that the medians of a triangle intersect in a single point called the centroid of the triangle.
2.8. Find the equation of the line parallel to, and midway between, the parallel lines whose equations are x+y=1 and x+y=9.
2.9. Find the coordinates of the points that trisect the line segment whose endpoints are ⁡3,−4 and ⁡13,12.
2.10. Find the equations of the lines parallel to, and one-third and two-thirds the distance between the parallel lines whose equations are x+y=1 and x+y=9.
Go to Chapter 1 3 4 5 6 7 8 9 10 11
Go to Contents
Download Help Document