{"id":1111,"date":"2015-11-12T18:35:31","date_gmt":"2015-11-12T18:35:31","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=1111"},"modified":"2015-11-12T18:35:31","modified_gmt":"2015-11-12T18:35:31","slug":"write-the-equation-of-a-line-parallel-or-perpendicular-to-a-given-line","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/chapter\/write-the-equation-of-a-line-parallel-or-perpendicular-to-a-given-line\/","title":{"raw":"Write the equation of a line parallel or perpendicular to a given line","rendered":"Write the equation of a line parallel or perpendicular to a given line"},"content":{"raw":"<p id=\"fs-id1165137812926\">If we know the equation of a line, we can use what we know about slope to write the equation of a line that is either parallel or perpendicular to the given line.<\/p>\n\n<section id=\"fs-id1165137812931\" data-depth=\"2\"><h2 data-type=\"title\">Writing Equations of Parallel Lines<\/h2>\n<p id=\"fs-id1165135503943\">Suppose for example, we are given the following equation.<\/p>\n\n<div id=\"fs-id1165137678988\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(x\\right)=3x+1\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137714860\">We know that the slope of the line formed by the function is 3. We also know that the <em data-effect=\"italics\">y-<\/em>intercept is (0, 1). Any other line with a slope of 3 will be parallel to <em>f<\/em>(<em>x<\/em>). So the lines formed by all of the following functions will be parallel to <em>f<\/em>(<em>x<\/em>).<\/p>\n\n<div id=\"fs-id1165137871544\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=3x+6\\hfill \\\\ h\\left(x\\right)=3x+1\\hfill \\\\ p\\left(x\\right)=3x+\\frac{2}{3}\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137465914\">Suppose then we want to write the equation of a line that is parallel to <em>f<\/em>\u00a0and passes through the point (1, 7). We already know that the slope is 3. We just need to determine which value for <em>b<\/em>\u00a0will give the correct line. We can begin with the point-slope form of an equation for a line, and then rewrite it in the slope-intercept form.<\/p>\n\n<div id=\"fs-id1165137611864\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y - 7=3\\left(x - 1\\right)\\hfill \\\\ y - 7=3x - 3\\hfill \\\\ \\text{ }y=3x+4\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137760890\">So [latex]g\\left(x\\right)=3x+4\\\\[\/latex] is parallel to [latex]f\\left(x\\right)=3x+1\\\\[\/latex] and passes through the point (1, 7).<\/p>\n\n<div id=\"fs-id1165135531520\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165135531526\">How To: Given the equation of a function and a point through which its graph passes, write the equation of a line parallel to the given line that passes through the given point.<\/h3>\n<ol id=\"fs-id1165137602390\" data-number-style=\"arabic\"><li>Find the slope of the function.<\/li>\n\t<li>Substitute the given values into either the general point-slope equation or the slope-intercept equation for a line.<\/li>\n\t<li>Simplify.<\/li>\n<\/ol><\/div>\n<div id=\"Example_02_02_09\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137432599\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137432601\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 9: Finding a Line Parallel to a Given Line<\/h3>\n<p id=\"fs-id1165137770237\">Find a line parallel to the graph of [latex]f\\left(x\\right)=3x+6\\\\[\/latex] that passes through the point (3, 0).<\/p>\n\n<\/div>\n<div id=\"fs-id1165135190484\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solutions<\/h3>\n<p id=\"fs-id1165135190486\">The slope of the given line is 3. If we choose the slope-intercept form, we can substitute <em>m\u00a0<\/em>= 3, <em>x\u00a0<\/em>= 3, and <em>f<\/em>(<em>x<\/em>) = 0 into the slope-intercept form to find the <em data-effect=\"italics\">y-<\/em>intercept.<\/p>\n\n<div id=\"fs-id1165137552232\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=3x+b\\hfill \\\\ \\text{ }0=3\\left(3\\right)+b\\hfill \\\\ \\text{ }b=-9\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137643164\">The line parallel to\u00a0<em>f<\/em>(<em>x<\/em>) that passes through (3, 0) is [latex]g\\left(x\\right)=3x - 9\\\\[\/latex].<\/p>\n\n<\/div>\n<div id=\"fs-id1165137722482\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165137433991\">We can confirm that the two lines are parallel by graphing them. Figure 22\u00a0shows that the two lines will never intersect.<span id=\"fs-id1165135168455\" data-type=\"media\" data-alt=\"Graph of two functions where the blue line is y = 3x + 6, and the orange line is y = 3x - 9.\">\n<\/span><\/p>\n\n\n[caption id=\"\" align=\"aligncenter\" width=\"731\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201115\/CNX_Precalc_Figure_02_02_022n2.jpg\" alt=\"Graph of two functions where the blue line is y = 3x + 6, and the orange line is y = 3x - 9.\" width=\"731\" height=\"619\" data-media-type=\"image\/jpg\"\/><b>Figure 22<\/b>[\/caption]\n\n<\/div>\n<\/div>\n<\/div>\n<\/section><section id=\"fs-id1165134093077\" data-depth=\"2\"><h2 data-type=\"title\">Writing Equations of Perpendicular Lines<\/h2>\n<p id=\"fs-id1165134093082\">We can use a very similar process to write the equation for a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. Suppose we are given the following function:<\/p>\n\n<div id=\"fs-id1165137443640\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(x\\right)=2x+4\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135696186\">The slope of the line is 2, and its negative reciprocal is [latex]-\\frac{1}{2}\\\\[\/latex]. Any function with a slope of [latex]-\\frac{1}{2}\\\\[\/latex] will be perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>). So the lines formed by all of the following functions will be perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>).<\/p>\n\n<div id=\"fs-id1165135394319\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=-\\frac{1}{2}x+4\\hfill \\\\ h\\left(x\\right)=-\\frac{1}{2}x+2\\hfill \\\\ p\\left(x\\right)=-\\frac{1}{2}x-\\frac{1}{2}\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137453371\">As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point. Suppose then we want to write the equation of a line that is perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>) and passes through the point (4, 0). We already know that the slope is [latex]-\\frac{1}{2}\\\\[\/latex]. Now we can use the point to find the <em data-effect=\"italics\">y<\/em>-intercept by substituting the given values into the slope-intercept form of a line and solving for <em>b<\/em>.<\/p>\n\n<div id=\"fs-id1165137645414\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=mx+b\\hfill \\\\ 0=-\\frac{1}{2}\\left(4\\right)+b\\hfill \\\\ 0=-2+b\\hfill \\\\ 2=b\\hfill \\\\ b=2\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135422935\">The equation for the function with a slope of [latex]-\\frac{1}{2}\\\\[\/latex] and a <em data-effect=\"italics\">y-<\/em>intercept of 2 is<\/p>\n\n<div id=\"fs-id1165137760043\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]g\\left(x\\right)=-\\frac{1}{2}x+2\\\\[\/latex].<\/div>\n<p id=\"fs-id1165137725186\">So [latex]g\\left(x\\right)=-\\frac{1}{2}x+2\\\\[\/latex] is perpendicular to [latex]f\\left(x\\right)=2x+4\\\\[\/latex] and passes through the point (4, 0). Be aware that perpendicular lines may not look obviously perpendicular on a graphing calculator unless we use the square zoom feature.<\/p>\n\n<div id=\"fs-id1165137601744\" class=\"note precalculus qa textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"Q&amp;A\">\n<h3>Q &amp; A<\/h3>\n<p id=\"fs-id1165137737863\"><strong>A horizontal line has a slope of zero and a vertical line has an undefined slope. These two lines are perpendicular, but the product of their slopes is not \u20131. Doesn\u2019t this fact contradict the definition of perpendicular lines?<\/strong><\/p>\n<p id=\"fs-id1165137737871\"><em data-effect=\"italics\">No. For two perpendicular linear functions, the product of their slopes is \u20131. However, a vertical line is not a function so the definition is not contradicted.<\/em><\/p>\n\n<\/div>\n<div id=\"fs-id1165137715408\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137715414\">How To: Given the equation of a function and a point through which its graph passes, write the equation of a line perpendicular to the given line.<\/h3>\n<ol id=\"fs-id1165137871694\" data-number-style=\"arabic\"><li>Find the slope of the function.<\/li>\n\t<li>Determine the negative reciprocal of the slope.<\/li>\n\t<li>Substitute the new slope and the values for <em>x<\/em>\u00a0and <em>y<\/em>\u00a0from the coordinate pair provided into [latex]g\\left(x\\right)=mx+b\\\\[\/latex].<\/li>\n\t<li>Solve for <em>b<\/em>.<\/li>\n\t<li>Write the equation for the line.<\/li>\n<\/ol><\/div>\n<div id=\"Example_02_02_10\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165135512529\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165135512531\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 10: Finding the Equation of a Perpendicular Line<\/h3>\n<p id=\"fs-id1165135512536\">Find the equation of a line perpendicular to [latex]f\\left(x\\right)=3x+3\\\\[\/latex] that passes through the point (3, 0).<\/p>\n\n<\/div>\n<div id=\"fs-id1165137757789\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137757791\">The original line has slope <em>m\u00a0<\/em>= 3, so the slope of the perpendicular line will be its negative reciprocal, or [latex]-\\frac{1}{3}\\\\[\/latex]. Using this slope and the given point, we can find the equation for the line.<\/p>\n\n<div id=\"fs-id1165137679147\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=-\\frac{1}{3}x+b\\hfill \\\\ \\text{ }0=-\\frac{1}{3}\\left(3\\right)+b\\hfill \\\\ \\text{ }1=b\\hfill \\\\ \\text{ }b=1\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137415244\">The line perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>)\u00a0that passes through (3, 0) is [latex]g\\left(x\\right)=-\\frac{1}{3}x+1\\\\[\/latex].<\/p>\n\n<\/div>\n<div id=\"fs-id1165135175325\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165135175331\">A graph of the two lines is shown in Figure 23.<span id=\"fs-id1165137936715\" data-type=\"media\" data-alt=\"Graph of two functions where the blue line is g(x) = -1\/3x + 1, and the orange line is f(x) = 3x + 6.\">\n<\/span><\/p>\n\n\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201117\/CNX_Precalc_Figure_02_02_023n2.jpg\" alt=\"Graph of two functions where the blue line is g(x) = -1\/3x + 1, and the orange line is f(x) = 3x + 6.\" width=\"487\" height=\"504\" data-media-type=\"image\/jpg\"\/><b>Figure 23<\/b>[\/caption]\n\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\n<p id=\"fs-id1165135454012\">Given the function [latex]h\\left(x\\right)=2x - 4\\\\[\/latex], write an equation for the line passing through (0, 0) that is<\/p>\n<p style=\"padding-left: 60px;\">a. parallel to <em>h<\/em>(<em>x<\/em>)\nb. perpendicular to <em>h<\/em>(<em>x<\/em>)<\/p>\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-9\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<div id=\"fs-id1165135509152\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165135509158\">How To: Given two points on a line and a third point, write the equation of the perpendicular line that passes through the point.<\/h3>\n<ol id=\"fs-id1165137676542\" data-number-style=\"arabic\"><li>Determine the slope of the line passing through the points.<\/li>\n\t<li>Find the negative reciprocal of the slope.<\/li>\n\t<li>Use the slope-intercept form or point-slope form to write the equation by substituting the known values.<\/li>\n\t<li>Simplify.<\/li>\n<\/ol><\/div>\n<div id=\"Example_02_02_11\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165134267817\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165135332504\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 11: Finding the Equation of a Line Perpendicular to a Given Line Passing through a Point<\/h3>\n<p id=\"fs-id1165135332509\">A line passes through the points (\u20132, 6) and (4, 5). Find the equation of a perpendicular line that passes through the point (4, 5).<\/p>\n\n<\/div>\n<div id=\"fs-id1165135192157\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3 id=\"fs-id1165137413840\">Solution<\/h3>\nFrom the two points of the given line, we can calculate the slope of that line.\n<div id=\"fs-id1165137807504\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}{m}_{1}=\\frac{5 - 6}{4-\\left(-2\\right)}\\hfill \\\\ =\\frac{-1}{6}\\hfill \\\\ =-\\frac{1}{6}\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135532423\">Find the negative reciprocal of the slope.<\/p>\n\n<div id=\"fs-id1165132970200\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}{m}_{2}=\\frac{-1}{-\\frac{1}{6}}\\hfill \\\\ =-1\\left(-\\frac{6}{1}\\right)\\hfill \\\\ =6\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137768497\">We can then solve for the <em data-effect=\"italics\">y-<\/em>intercept of the line passing through the point (4, 5).<\/p>\n\n<div id=\"fs-id1165137827695\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=6x+b\\hfill \\\\ 5=6\\left(4\\right)+b\\hfill \\\\ 5=24+b\\hfill \\\\ -19=b\\hfill \\\\ b=-19\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135159921\">The equation for the line that is perpendicular to the line passing through the two given points and also passes through point (4, 5) is<\/p>\n\n<div id=\"fs-id1165137400609\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]y=6x - 19\\\\[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 6<\/h3>\n<p id=\"fs-id1165137437225\">A line passes through the points, (\u20132, \u201315) and (2, \u20133). Find the equation of a perpendicular line that passes through the point, (6, 4).<\/p>\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-9\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<\/section>","rendered":"<p id=\"fs-id1165137812926\">If we know the equation of a line, we can use what we know about slope to write the equation of a line that is either parallel or perpendicular to the given line.<\/p>\n<section id=\"fs-id1165137812931\" data-depth=\"2\">\n<h2 data-type=\"title\">Writing Equations of Parallel Lines<\/h2>\n<p id=\"fs-id1165135503943\">Suppose for example, we are given the following equation.<\/p>\n<div id=\"fs-id1165137678988\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(x\\right)=3x+1\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137714860\">We know that the slope of the line formed by the function is 3. We also know that the <em data-effect=\"italics\">y-<\/em>intercept is (0, 1). Any other line with a slope of 3 will be parallel to <em>f<\/em>(<em>x<\/em>). So the lines formed by all of the following functions will be parallel to <em>f<\/em>(<em>x<\/em>).<\/p>\n<div id=\"fs-id1165137871544\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=3x+6\\hfill \\\\ h\\left(x\\right)=3x+1\\hfill \\\\ p\\left(x\\right)=3x+\\frac{2}{3}\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137465914\">Suppose then we want to write the equation of a line that is parallel to <em>f<\/em>\u00a0and passes through the point (1, 7). We already know that the slope is 3. We just need to determine which value for <em>b<\/em>\u00a0will give the correct line. We can begin with the point-slope form of an equation for a line, and then rewrite it in the slope-intercept form.<\/p>\n<div id=\"fs-id1165137611864\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}y-{y}_{1}=m\\left(x-{x}_{1}\\right)\\hfill \\\\ y - 7=3\\left(x - 1\\right)\\hfill \\\\ y - 7=3x - 3\\hfill \\\\ \\text{ }y=3x+4\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137760890\">So [latex]g\\left(x\\right)=3x+4\\\\[\/latex] is parallel to [latex]f\\left(x\\right)=3x+1\\\\[\/latex] and passes through the point (1, 7).<\/p>\n<div id=\"fs-id1165135531520\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165135531526\">How To: Given the equation of a function and a point through which its graph passes, write the equation of a line parallel to the given line that passes through the given point.<\/h3>\n<ol id=\"fs-id1165137602390\" data-number-style=\"arabic\">\n<li>Find the slope of the function.<\/li>\n<li>Substitute the given values into either the general point-slope equation or the slope-intercept equation for a line.<\/li>\n<li>Simplify.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_02_02_09\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137432599\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137432601\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 9: Finding a Line Parallel to a Given Line<\/h3>\n<p id=\"fs-id1165137770237\">Find a line parallel to the graph of [latex]f\\left(x\\right)=3x+6\\\\[\/latex] that passes through the point (3, 0).<\/p>\n<\/div>\n<div id=\"fs-id1165135190484\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solutions<\/h3>\n<p id=\"fs-id1165135190486\">The slope of the given line is 3. If we choose the slope-intercept form, we can substitute <em>m\u00a0<\/em>= 3, <em>x\u00a0<\/em>= 3, and <em>f<\/em>(<em>x<\/em>) = 0 into the slope-intercept form to find the <em data-effect=\"italics\">y-<\/em>intercept.<\/p>\n<div id=\"fs-id1165137552232\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=3x+b\\hfill \\\\ \\text{ }0=3\\left(3\\right)+b\\hfill \\\\ \\text{ }b=-9\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137643164\">The line parallel to\u00a0<em>f<\/em>(<em>x<\/em>) that passes through (3, 0) is [latex]g\\left(x\\right)=3x - 9\\\\[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165137722482\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165137433991\">We can confirm that the two lines are parallel by graphing them. Figure 22\u00a0shows that the two lines will never intersect.<span id=\"fs-id1165135168455\" data-type=\"media\" data-alt=\"Graph of two functions where the blue line is y = 3x + 6, and the orange line is y = 3x - 9.\"><br \/>\n<\/span><\/p>\n<div style=\"width: 741px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201115\/CNX_Precalc_Figure_02_02_022n2.jpg\" alt=\"Graph of two functions where the blue line is y = 3x + 6, and the orange line is y = 3x - 9.\" width=\"731\" height=\"619\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 22<\/b><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section id=\"fs-id1165134093077\" data-depth=\"2\">\n<h2 data-type=\"title\">Writing Equations of Perpendicular Lines<\/h2>\n<p id=\"fs-id1165134093082\">We can use a very similar process to write the equation for a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. Suppose we are given the following function:<\/p>\n<div id=\"fs-id1165137443640\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(x\\right)=2x+4\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135696186\">The slope of the line is 2, and its negative reciprocal is [latex]-\\frac{1}{2}\\\\[\/latex]. Any function with a slope of [latex]-\\frac{1}{2}\\\\[\/latex] will be perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>). So the lines formed by all of the following functions will be perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>).<\/p>\n<div id=\"fs-id1165135394319\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=-\\frac{1}{2}x+4\\hfill \\\\ h\\left(x\\right)=-\\frac{1}{2}x+2\\hfill \\\\ p\\left(x\\right)=-\\frac{1}{2}x-\\frac{1}{2}\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137453371\">As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point. Suppose then we want to write the equation of a line that is perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>) and passes through the point (4, 0). We already know that the slope is [latex]-\\frac{1}{2}\\\\[\/latex]. Now we can use the point to find the <em data-effect=\"italics\">y<\/em>-intercept by substituting the given values into the slope-intercept form of a line and solving for <em>b<\/em>.<\/p>\n<div id=\"fs-id1165137645414\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=mx+b\\hfill \\\\ 0=-\\frac{1}{2}\\left(4\\right)+b\\hfill \\\\ 0=-2+b\\hfill \\\\ 2=b\\hfill \\\\ b=2\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135422935\">The equation for the function with a slope of [latex]-\\frac{1}{2}\\\\[\/latex] and a <em data-effect=\"italics\">y-<\/em>intercept of 2 is<\/p>\n<div id=\"fs-id1165137760043\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]g\\left(x\\right)=-\\frac{1}{2}x+2\\\\[\/latex].<\/div>\n<p id=\"fs-id1165137725186\">So [latex]g\\left(x\\right)=-\\frac{1}{2}x+2\\\\[\/latex] is perpendicular to [latex]f\\left(x\\right)=2x+4\\\\[\/latex] and passes through the point (4, 0). Be aware that perpendicular lines may not look obviously perpendicular on a graphing calculator unless we use the square zoom feature.<\/p>\n<div id=\"fs-id1165137601744\" class=\"note precalculus qa textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"Q&amp;A\">\n<h3>Q &amp; A<\/h3>\n<p id=\"fs-id1165137737863\"><strong>A horizontal line has a slope of zero and a vertical line has an undefined slope. These two lines are perpendicular, but the product of their slopes is not \u20131. Doesn\u2019t this fact contradict the definition of perpendicular lines?<\/strong><\/p>\n<p id=\"fs-id1165137737871\"><em data-effect=\"italics\">No. For two perpendicular linear functions, the product of their slopes is \u20131. However, a vertical line is not a function so the definition is not contradicted.<\/em><\/p>\n<\/div>\n<div id=\"fs-id1165137715408\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137715414\">How To: Given the equation of a function and a point through which its graph passes, write the equation of a line perpendicular to the given line.<\/h3>\n<ol id=\"fs-id1165137871694\" data-number-style=\"arabic\">\n<li>Find the slope of the function.<\/li>\n<li>Determine the negative reciprocal of the slope.<\/li>\n<li>Substitute the new slope and the values for <em>x<\/em>\u00a0and <em>y<\/em>\u00a0from the coordinate pair provided into [latex]g\\left(x\\right)=mx+b\\\\[\/latex].<\/li>\n<li>Solve for <em>b<\/em>.<\/li>\n<li>Write the equation for the line.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_02_02_10\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165135512529\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165135512531\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 10: Finding the Equation of a Perpendicular Line<\/h3>\n<p id=\"fs-id1165135512536\">Find the equation of a line perpendicular to [latex]f\\left(x\\right)=3x+3\\\\[\/latex] that passes through the point (3, 0).<\/p>\n<\/div>\n<div id=\"fs-id1165137757789\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137757791\">The original line has slope <em>m\u00a0<\/em>= 3, so the slope of the perpendicular line will be its negative reciprocal, or [latex]-\\frac{1}{3}\\\\[\/latex]. Using this slope and the given point, we can find the equation for the line.<\/p>\n<div id=\"fs-id1165137679147\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=-\\frac{1}{3}x+b\\hfill \\\\ \\text{ }0=-\\frac{1}{3}\\left(3\\right)+b\\hfill \\\\ \\text{ }1=b\\hfill \\\\ \\text{ }b=1\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137415244\">The line perpendicular to\u00a0<em>f<\/em>(<em>x<\/em>)\u00a0that passes through (3, 0) is [latex]g\\left(x\\right)=-\\frac{1}{3}x+1\\\\[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165135175325\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165135175331\">A graph of the two lines is shown in Figure 23.<span id=\"fs-id1165137936715\" data-type=\"media\" data-alt=\"Graph of two functions where the blue line is g(x) = -1\/3x + 1, and the orange line is f(x) = 3x + 6.\"><br \/>\n<\/span><\/p>\n<div style=\"width: 497px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25201117\/CNX_Precalc_Figure_02_02_023n2.jpg\" alt=\"Graph of two functions where the blue line is g(x) = -1\/3x + 1, and the orange line is f(x) = 3x + 6.\" width=\"487\" height=\"504\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 23<\/b><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\n<p id=\"fs-id1165135454012\">Given the function [latex]h\\left(x\\right)=2x - 4\\\\[\/latex], write an equation for the line passing through (0, 0) that is<\/p>\n<p style=\"padding-left: 60px;\">a. parallel to <em>h<\/em>(<em>x<\/em>)<br \/>\nb. perpendicular to <em>h<\/em>(<em>x<\/em>)<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-9\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<div id=\"fs-id1165135509152\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165135509158\">How To: Given two points on a line and a third point, write the equation of the perpendicular line that passes through the point.<\/h3>\n<ol id=\"fs-id1165137676542\" data-number-style=\"arabic\">\n<li>Determine the slope of the line passing through the points.<\/li>\n<li>Find the negative reciprocal of the slope.<\/li>\n<li>Use the slope-intercept form or point-slope form to write the equation by substituting the known values.<\/li>\n<li>Simplify.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_02_02_11\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165134267817\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165135332504\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 11: Finding the Equation of a Line Perpendicular to a Given Line Passing through a Point<\/h3>\n<p id=\"fs-id1165135332509\">A line passes through the points (\u20132, 6) and (4, 5). Find the equation of a perpendicular line that passes through the point (4, 5).<\/p>\n<\/div>\n<div id=\"fs-id1165135192157\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3 id=\"fs-id1165137413840\">Solution<\/h3>\n<p>From the two points of the given line, we can calculate the slope of that line.<\/p>\n<div id=\"fs-id1165137807504\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}{m}_{1}=\\frac{5 - 6}{4-\\left(-2\\right)}\\hfill \\\\ =\\frac{-1}{6}\\hfill \\\\ =-\\frac{1}{6}\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135532423\">Find the negative reciprocal of the slope.<\/p>\n<div id=\"fs-id1165132970200\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}{m}_{2}=\\frac{-1}{-\\frac{1}{6}}\\hfill \\\\ =-1\\left(-\\frac{6}{1}\\right)\\hfill \\\\ =6\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165137768497\">We can then solve for the <em data-effect=\"italics\">y-<\/em>intercept of the line passing through the point (4, 5).<\/p>\n<div id=\"fs-id1165137827695\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(x\\right)=6x+b\\hfill \\\\ 5=6\\left(4\\right)+b\\hfill \\\\ 5=24+b\\hfill \\\\ -19=b\\hfill \\\\ b=-19\\hfill \\end{cases}\\\\[\/latex]<\/div>\n<p id=\"fs-id1165135159921\">The equation for the line that is perpendicular to the line passing through the two given points and also passes through point (4, 5) is<\/p>\n<div id=\"fs-id1165137400609\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]y=6x - 19\\\\[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 6<\/h3>\n<p id=\"fs-id1165137437225\">A line passes through the points, (\u20132, \u201315) and (2, \u20133). Find the equation of a perpendicular line that passes through the point, (6, 4).<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-9\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-1111\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: Jay Abramson, et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":276,"menu_order":5,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Precalculus\",\"author\":\"Jay Abramson, et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1111","chapter","type-chapter","status-publish","hentry"],"part":1083,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1111\/revisions"}],"predecessor-version":[{"id":2448,"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1111\/revisions\/2448"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/1083"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1111\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/wp\/v2\/media?parent=1111"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1111"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/wp\/v2\/contributor?post=1111"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/atd-sanjac-collegealgebra\/wp-json\/wp\/v2\/license?post=1111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}