In this explainer, we will learn how to write the equation of a line parallel or perpendicular to another line. Parallel lines are straight lines that never intersect. To understand the link between parallel lines and their slopes, let us consider two lines of equations π¦=ππ₯+πο§ο§ and π¦=ππ₯+π.ο¨ο¨ We can solve for the point of intersection by setting the expressions for
π¦ to be equal: ππ₯+π=ππ₯+π.ο§ο§ο¨ο¨ Now, we rearrange so
that the π₯-terms are on the same side of the equation: ππ₯
βππ₯=πβπ.ο§ο¨ο¨ο§
By factoring, we find (πβπ)π₯=πβπ.ο§ο¨ο¨ο§ Finally, we note that we can isolate the variable
π₯ by dividing by πβπ
ο§ο¨, and so, only if πβ πο§ο¨, this gives π₯=πβππβπ.ο¨ο§ο§ο¨ This shows us that
two lines intersect only if their slopes are not equal. Conversely, we can conclude that lines of the same slope do not intersect; a pair of parallel lines will have the same slopes. We can see this by considering the slopes of a pair of parallel lines. For every
π₯ units we go across on either line, we must travel π¦ units in the vertical direction on
both lines; otherwise, the lines will intersect. It is worth noting that there is one small problem with this reasoning, which is if we have vertical lines. In this case, we cannot talk about the slope, since vertical lines do not have a slope. However, we can note that a pair of distinct vertical lines will be parallel. We have the following result. If two nonvertical lines are parallel, then they have the same slopes. If two distinct
lines have the same slopes (π=π)ο§ο¨
or are both vertical, then they are parallel. This allows us to check if two lines are parallel. For example, consider the lines π¦=β3π₯+2 and 3π₯+π¦=1. We can recall that a line given
in the form π¦=ππ₯+π has a slope of π and a π¦-intercept of π. The first line is given in this form, so its slope is given by the coefficient of π₯, which is β3. We can subtract 3π₯ from both sides of the equation of the second line to get
π¦=β3π₯+1. The coefficient of
π₯ is β3, so its slope is also
β3. It is important to check that the π¦-intercepts
of the two lines are different. If they had the same π¦-intercept, then the two lines would actually be the same line (called coincident lines). Since the two lines are distinct and have the same slopes, we can conclude that they are parallel. This property allows us to check if any two
lines are parallel. We can now ask the question of how to check if two lines are perpendicular. We can do this by sketching any nonvertical lines, including a right triangle representing its slope. A line perpendicular to this line will meet the line at right angles. We can find any line like this by rotating the red line 90β. If we rotate the line 9 0β, we will also rotate the triangle 90β. We can then calculate the slope of the perpendicular line: for every π units we move across, we move π units down. Its slope is βππ. Thus, if a line has slope ππ, then the lines perpendicular to this line have slope β ππ. We can think of this in two ways: either we take the negative of the reciprocal of the slope or the product of the slopes as β1. The same is true in reverse: if two lines have slopes whose product is β1, then they are perpendicular. We have the following property. Property: Slopes of Perpendicular LinesIf two nonvertical lines are perpendicular, then their slopes are the negative of the reciprocal of each other. Alternatively, the product of their slopes gives β1. If two lines have slopes πο§ and π ο¨ such that π=β1πο§ο¨, then they are perpendicular. The only caveat to this property is if we have horizontal or vertical lines. In this case, we can note that horizontal and vertical lines are perpendicular to each other even though their slopes do not satisfy this property. In our first example, we will determine the relationship between a pair of lines from their equations. Example 1: Identifying Whether Two Lines Are Parallel, Perpendicular, or OtherwiseHow would you describe the relation between the lines π¦=17π₯+9 and βπ₯+7π¦+4=0?
AnswerTo determine if the lines are parallel or perpendicular, we first want to find their slopes. We can do this by writing both equations in the form π¦=ππ¦+π, where π is the slope and π is the π¦-intercept. The first equation is already in this form, so it has slope 17. We can rearrange the second equation to get βπ₯+7π¦+4=07π¦=π₯ β4π¦=17π₯β47. Therefore, the second line also has a slope of 17. Since both lines have the same slopes, they are either parallel or coincident. We can see that the first line has a π¦-intercept of 9 but the second line has a π¦ -intercept of β47. Since the two lines pass through different π¦-intercepts, they cannot be the same line, so they are not coincident. Hence, since the lines have the same slopes and are not coincident, they must be parallel which is option A. In our next example, we will find the equation of a line given a point on the line and the equation of a parallel line. Example 2: Finding the Equation of a Line given a Point on the Line and a Parallel LineWrite, in the form π¦=ππ₯+π, the equation of the line through (β1,β1) that is parallel to the line β6π₯βπ¦+4=0. AnswerWe first recall that the equation of a line with a slope of π that passes through (π₯,π¦)ο§ο§ can be written as π¦βπ¦=π(π₯βπ₯)ο§ο§. As we have the coordinates of a point on the line, we now need to find its slope. To do this, we use the fact that the line is parallel to the line β6π₯βπ¦+4=0. As parallel lines have the same slopes (unless they are both vertical), we want to find the slope of the line β6π₯βπ¦+4=0. We can do this by rewriting its equation in the form π¦=ππ₯+π. We add π¦ to both sides of the equation to get π¦=β6π₯+4. The coefficient of π₯ is β6, so the slope of this line, and thus of our line, is β6. Substituting π=β6, π₯=β1ο§, and π¦=β1ο§ into the equation π¦βπ¦=π(π₯βπ₯)ο§ο§ gives us π¦β(β1)=β6(π₯β(β1))π¦+1=β6(π₯+1). We can now expand the brackets and rearrange to get π¦+1=β6π₯β6 π¦=β6π₯β7. In our next example, we will find the equation of a line given a point on the line and two points on another parallel line. Example 3: Finding the Equation of a Line given a Point on the Line and Two Points on Another Parallel LineFind, in slopeβintercept form, the equation of the straight line passing through the point (3,1) and parallel to the straight line passing through the two points (1,β1) and (4,β3). AnswerWe first recall that the slopeβintercept form of a line is the equation π¦=ππ₯+π, where the line has a slope of π and a π¦-intercept of π. We are not given the slope or π¦-intercept of this line. Instead, we are given a point on the line and two points on a parallel line. We can recall that for the lines to be parallel, they need to have the same slopes. We can determine the slope of a line through (π₯,π¦)ο§ο§ and (π₯,π¦) ο¨ο¨ by using the formula π=π¦βπ¦π₯βπ₯ο§ο¨ο§ο¨. Substituting π₯=1ο§, π¦=β1ο§, π₯=4ο¨, and π¦ =β3ο¨ into the formula for the slope yields π=(β1)β (β3)(1)β(4)=β23. Therefore, the slope of our line is β23. Now, we can write the equation of our line in the form π¦βπ¦= π(π₯βπ₯)ο§ο§, where π is its slope and (π₯,π¦)ο§ο§ are the coordinates of a point it passes through. Substituting π =β23, π₯=3ο§, and π¦=1ο§ into this equation gives us π¦β1=β23(π₯β3). The last step is to rearrange this equation into the form π¦=ππ₯+π. We start by expanding the brackets to get π¦ β1=β23π₯+οΌβ23ο(β3)π¦β1=β23π₯+2. We now add 1 to both sides of the equation to obtain π¦ =β23π₯+3. In our next example, we will find the equation of a line given a point on the line and the equation of a perpendicular line. Example 4: Finding the Equation of a Line given a Point on the Line and a Perpendicular LineFind, in slopeβintercept form, the equation of the line perpendicular to π¦=2π₯β4 that passes through the point π΄(3,β3). AnswerWe first recall that the slopeβintercept form of a line is the equation π¦=ππ₯+π, where the line has a slope of π and a π¦-intercept of π. We are not given the slope or π¦-intercept of this line. Instead, we are given a point on the line and the equation of a perpendicular line. We can determine the slope of the line by noting that it is perpendicular to the line π¦=2π₯β 4; perpendicular lines have slopes that multiply to give β1 (unless one is a vertical line). We can see that we are given the equation of the perpendicular line in slopeβintercept form. The coefficient of π₯ is 2, so the slope of this line is 2. The slope of the line we want to find is the negative of the reciprocal of this value. We have π=β12. We know that the equation of a line with a slope of π that passes through (π₯, π¦)ο§ο§ can be written in the form π¦βπ¦ =π(π₯βπ₯)ο§ο§. Substituting π=β12, π₯=3ο§, and π¦=β3ο§ into this equation gives us π¦β(β3)=β12(π₯β3)π¦+3=β12(π₯β3). We can now expand the brackets and rearrange to get π¦+3=β12π₯+32π¦=β12π₯β32. In our next example, we will find the equation of a line given a point on the line and two points on a perpendicular line. Example 5: Finding the Equation of a Line given a Point on the Line and Two Points on Another Perpendicular LineFind the equation of the straight line passing through the point (β1,1) and perpendicular to the straight line passing through the points (β9,9) and (6,β3). AnswerWe want to determine the equation of a straight line given a point on the line and two points on a perpendicular line. We can do this by recalling that the equation of a line of slope π that passes through the point (π₯,π¦)ο§ο§ is π¦βπ¦=π(π₯βπ₯)ο§ο§. We already know that our line passes through the point (β1,1), so we just need its slope. We can find the slope of the line by recalling that its product with the slope of the line perpendicular to it will be β1. We can determine the slope of a line passing through (π₯,π¦)ο§ο§ and (π₯,π¦)ο¨ο¨ using the formula π¦βπ¦π₯βπ₯ο§ο¨ο§ο¨. Substituting π₯=β9 ο§, π¦=9ο§, π₯=6ο¨, and π¦=β3ο¨ into this formula gives us the slope πο of the perpendicular line: π=9β(β3)(β9)β6=β45.ο Taking the negative of the reciprocal of this value gives us the slope π of our line: π=β1π=54.ο We can now substitute π=54, π₯=β1ο§, and π¦=1ο§ into the equation of a line to get π¦β1=54(π₯β(β1)). We can now expand the brackets and rearrange to obtain π¦β1=54π₯+54π¦=54π₯+54+1π¦=54π₯+94. In our next example, we will determine whether the lines between two pairs of points are parallel, perpendicular, or neither. Example 6: Determining Whether the Lines Between Given Points Are Parallel, Perpendicular, or NeitherGiven that the coordinates of the points π΄, π΅, πΆ, and π· are (β15,8), (β6,10), (β8,β7), and (β6,β16), respectively, determine whether βο©ο©ο©ο©βπ΄π΅ and βο©ο©ο©ο©βπΆπ· are parallel, perpendicular, or neither. AnswerWe can check the relationship between a pair of lines by comparing the slopes. We recall that parallel lines have the same slopes and perpendicular lines have slopes that multiply to give β1, provided that neither line is vertical. We can calculate the slope of a line passing through (π₯,π¦)ο§ ο§ and (π₯,π¦)ο¨ο¨ using the formula π=π¦βπ¦π₯βπ₯ο§ο¨ο§ο¨. Substituting π₯=β15ο§, π¦=8ο§, π₯=β6ο¨, and π¦=10ο¨ into the formula gives π= 8β10β15β(β6)=29.ο ο‘ Substituting π₯= β8ο§, π¦=β7ο§, π₯=β6ο¨, and π¦=β16ο¨ into the formula gives π=β7β(β16)β8β(β6)=β92.ο’ο£ We see that the product of the slopes of the lines is β1: πΓπ=29ΓοΌβ92ο=β1.ο ο‘ο’ο£ Thus, the lines are perpendicular. In our final example, we will use the fact that adjacent sides in a rectangle are perpendicular and opposite sides are parallel to determine the coordinates of the final vertex in a rectangle given the coordinates of the other three vertices. Example 7: Determining Whether the Lines Between Given Points Are Parallel, Perpendicular, or NeitherThe vertices of a rectangle π΄π΅πΆπ· have the coordinates π΄(β3,5), π΅(3,7), πΆ( 6,β2), and π·(π₯,π¦). Determine the values of π₯ and π¦. AnswerWe first recall that the adjacent sides in a rectangle are perpendicular. This means that βο©ο©ο©ο©βπ΄π΅ is perpendicular to βο©ο©ο© ο©βπΆπ·. We can find expressions for the slopes of these lines and then use the fact that the lines are parallel to find an equation involving π₯ and π¦. We can calculate the slope of a line passing through (π₯,π¦)ο§ο§ and (π₯ ,π¦)ο¨ο¨ using the formula π=π¦βπ¦π₯βπ₯ο§ο¨ ο§ο¨. Substituting π₯=β3ο§ , π¦=5ο§, π₯=3ο¨, and π¦=7ο¨ into the formula gives π=5 β7β3β3=13.ο ο‘ Substituting π₯=6ο§, π¦=β2ο§, π₯=π₯ο¨, and π¦=π¦ο¨ into the formula gives π=β2βπ¦6βπ₯.ο’ο£ Since the lines are parallel, they will have the same slopes. Hence, π=π13=β2βπ¦6β π₯.ο ο‘ο’ο£ We can rearrange this equation to get 3(β2βπ¦)=6βπ₯β3π¦β6=6βπ₯β3π¦=12βπ₯. This is not enough information to find the values of π₯ and π¦. We can follow this process again with βο© ο©ο©ο©βπ΄π΅ and βο©ο© ο©ο©ο©βπ΄π·. This time, the sides are adjacent, so they must be perpendicular. Substituting π₯=β3ο§, π¦=5 ο§, π₯=π₯ο¨, and π¦=π¦ο¨ into the formula gives π=5βπ¦β3βπ₯.ο ο£ We can note that βο© ο©ο©ο©βπ΄π΅ is neither horizontal nor vertical, so βο© ο©ο©ο©ο©βπ΄π· will not be horizontal or vertical. Thus, the product of the slopes of the lines will be β1, since they are perpendicular: πΓπ=β113Γ 5βπ¦β3βπ₯=β1.ο ο‘ο ο£ We can rearrange this equation to get 5βπ¦=β3(β3βπ₯)5βπ¦=3π₯+9βπ¦=3π₯+4. We now have a pair of simultaneous equations involving π₯ and π¦. We can solve these to determine the values of π₯ and π¦. Using the second equation, we have π¦=β(3π₯+4) =β3π₯β4. We can substitute this expression for π¦ into the equation β3π¦=12βπ₯ to get β3(β3π₯β4) =12βπ₯. Expanding the brackets yields 9π₯ +12=12βπ₯. We can then solve for π₯9π₯+π₯=12β1210π₯=0π₯=0. Substituting π₯=0 into the equation π¦=β3π₯β4 gives us π¦=β3(0)β4=β 4. Hence, π₯=0 and π¦=β4. Let us finish by recapping some of the important points from this explainer. Key Points
|