To write a equation of a line to the given equation, we first need to determine its . Two lines are perpendicular when their slopes are negative . This means that the product of the slopes of perpendicular lines is
-1.
m1⋅m2=-1
Note that the given equation is written in .
y=2x+9
In the above formula we can see that the slope is
2. By substituting this value for
m1 into our equation, we can solve for the slope of the perpendicular line,
m2. m1⋅m2=-1
2⋅m2=-1
m2=-21
Any perpendicular line to the given equation will have a slope of
-21. Let us now write a partial equation in slope-intercept form for a perpendicular line to the given equation.
y=-21x+b
By substituting the given point
(5,4) into this equation for
x and
y, respectively, we can solve for the
y-intercept
b of the perpendicular line.
y=-21x+b
4=-21⋅5+b
4=-25+b
4+25=b
b=4+25
b=22⋅4+25
b=28+25
b=213
Now that we have the
y-intercept, we can write the equation of the perpendicular line to
y=2x+9 through the point
(5,4).
y=-21x+213