Video Transcript
A straight line is defined by the
equation 𝑦 equals 𝑚𝑥 plus 𝑐. Given that the point 𝑥 one, 𝑦 one
lies on the line, find an expression for 𝑐 in terms of 𝑚, 𝑥 one, and 𝑦 one. Given also that the point 𝑥 two,
𝑦 two lies on the line and 𝑚 is the slope of the line, find an expression for 𝑚
in terms of 𝑦 one, 𝑦 two, 𝑥 one, and 𝑥 two. By substituting in for 𝑐 and
factoring out 𝑚, find the formula for the equation of the line. And finally, substitute in your
expression for 𝑚 to complete your formula.
So, let’s start at the
beginning. We can model a linear equation with
the line 𝑦 equals 𝑚𝑥 plus 𝑐. If we know that the point 𝑥 one,
𝑦 one lies on this line, we can find an expression for 𝑐 in terms of 𝑚, 𝑥 one,
and 𝑦 one. If we want to find an expression
for 𝑐 in these terms, 𝑐 will be on one side of the equation and the other side
will only contain 𝑚, 𝑥 one, and 𝑦 one as those are the terms we want to know 𝑐
in. If 𝑥 one, 𝑦 one lies on this
line, then we can say that 𝑦 one is equal to 𝑚 times 𝑥 one plus 𝑐.
And now, what we want is to
rearrange the equation so that 𝑐 is by itself. And that means we’ll subtract 𝑚𝑥
one from both sides of the equation, which gives us 𝑦 one minus 𝑚 times 𝑥 one
equals 𝑐. But more commonly, we’ll put the 𝑐
on the left so that we have 𝑐 equals 𝑦 one minus 𝑚 times 𝑥 one. And we have our first expression,
𝑦 one minus 𝑚 times 𝑥 one.
We also know that the point 𝑥 two,
𝑦 two lies on this line and 𝑚 is the slope of the line. We wanna find an expression for 𝑚
in terms of 𝑦 one, 𝑦 two, 𝑥 one, and 𝑥 two. And similarly, if we want 𝑚 in
terms of these values, 𝑚 needs to be by itself. And the other side of the equation
will only include 𝑦 one, 𝑦 two, 𝑥 one, and 𝑥 two. From part one, we know that 𝑐
equals 𝑦 one minus 𝑚 times 𝑥 one. And since 𝑥 two, 𝑦 two also lies
on this line, we can plug in 𝑥 two and 𝑦 two into this equation. Since these are at the same lines,
their 𝑐-values will be the same. And that means we can take 𝑦 one
minus 𝑚 times 𝑥 one and set it equal to 𝑦 two minus 𝑚 times 𝑥 two.
Remember, our goal is to get 𝑚 by
itself. So, we add 𝑚 times 𝑥 two to both
sides of the equation. And then, we’ll subtract 𝑦 one
from both sides of the equation to move that 𝑦 one value to the other side. On the left, we’ll have 𝑚 times 𝑥
two minus 𝑚 times 𝑥 one since the 𝑦’s cancel out. And on the other side, we’ll have
𝑦 two minus 𝑦 one since the 𝑚𝑥 two cancels out.
To get 𝑚 by itself, we see that we
have two 𝑚-values that we can factor out, which will give us 𝑚 times 𝑥 two minus
𝑥 one equals 𝑦 two minus 𝑦 one. From there to finally get 𝑚 by
itself, we’ll divide both sides of the equation by 𝑥 two minus 𝑥 one. On the left, they cancel out, and
we have 𝑚 equals 𝑦 two minus 𝑦 one over 𝑥 two minus 𝑥 one.
This completes part two. So, we clear some room for part
three.
By substituting in for 𝑐 and
factoring out 𝑚, find the formula for the equation of the line.
This time, we start back with the
definition of a straight line 𝑦 equals 𝑚𝑥 plus 𝑐. And in place of 𝑐, we plug in 𝑦
one minus 𝑚 times 𝑥 one and everything else remains the same. Since we’re only adding and
subtracting each of the terms, we can take away the parentheses. Our instructions say we need to
factor out 𝑚. To make that easier to see, we can
put the order 𝑦 one plus 𝑚𝑥 minus 𝑚 times 𝑥 one. And now, we’re able to factor out
the 𝑚 so that we have 𝑦 equals 𝑦 one plus 𝑚 times 𝑥 minus 𝑥 one.
It’s also good to keep the 𝑦’s on
the same side of the equation. And we can do that here by
subtracting 𝑦 one from both sides, which gives us 𝑦 minus 𝑦 one equals 𝑚 times
𝑥 minus 𝑥 one. This is our equation for the line
from step three.
In our final step, we want to
substitute in what we found for 𝑚 into the equation from step three. Beginning here, 𝑦 minus 𝑦 one
equals 𝑚 times 𝑥 minus 𝑥 one. We take our value for 𝑚, 𝑦 two
minus 𝑦 one over 𝑥 two minus 𝑥 one, and plug that in. Which gives us 𝑦 minus 𝑦 one
equals 𝑦 two minus 𝑦 one over 𝑥 two minus 𝑥 one times 𝑥 minus 𝑥 one. And this completes our formula.
For any linear equation, if you
know two points that fall on that line, you can plug those values in for 𝑥 one, 𝑦
one; 𝑥 two, 𝑦 two and solve for the equation.