Video Transcript
In this video, weβre going to look
at how to find the shortest distance from a point to a straight line in the
coordinate plane. So this is the situation that weβre
interested in. We have a coordinate plane and a
straight line and a point. And weβre looking to find the
shortest distance between the point and the line.
Now the first question might be,
βWell, how do I determine in what direction that distance should be?β There are lots of different
possible distances from the point to the line, depending which point on the line you
choose to connect to. A key fact that you need to be
aware of is that the shortest distance from a point to a line is the perpendicular
distance. So when we refer to the distance
between a point and a line, itβs this distance here that weβre looking to
calculate.
So Iβve chosen to label the
equation of the line in the form ππ₯ plus ππ¦ plus π is equal to 0. And Iβve chosen to label the point
they weβre interested in as having the coordinates π₯ one, π¦ one. There is a formula that we can use
in order to calculate the distance between the point and the line. And itβs this formula here. π, which represents the distance,
is equal to the absolute value or the modulus of ππ₯ one plus ππ¦ one plus π, all
divided by the square root of π squared plus π squared.
Those modulus signs in the
numerator mean you take the absolute value of a quantity. So if itβs a positive value, then
itβs just that value. But if itβs a negative value, then
you multiply it by negative one. So, for example, the modulus of six
is six and the modulus of negative six is also six.
Now this formula is a handy
shortcut if you can remember it. But there is also a more complete
method that you may want to use, which is perhaps a little bit more intuitive. This method doesnβt just consider
that small distance π, but the full line which itβs part of. Now this line is perpendicular to
the line that you would be given in the question. So the first step is to find its
equation.
Remember, you know the coordinates
of one point on this line, π₯ one, π¦ one. You also know the slope of this
line because itβs perpendicular to the line ππ₯ plus ππ¦ plus π equals zero. Youβd need to use the relationship
between the slopes of perpendicular lines, that is, that they multiply to negative
one. Once youβve found the equation of
this line, you would then solve the equation simultaneously with the equation of the
first line in order to find the point of intersection of the two lines, which will
give the coordinates π₯ two, π¦ two.
Once you have the coordinates of
this point, we then use the distance formula in order to calculate the distance π,
the square root of π₯ two minus π₯ one all squared plus π¦ two minus π¦ one all
squared. Thatβs just an application of the
Pythagorean theorem. So as I mentioned, this method will
certainly be longer and perhaps more complex than using the formula that I mentioned
previously. But this is the method behind what
that formula was doing. So weβll see both methods within
this video.
Find the length of the
perpendicular drawn from the point π΄ one, nine to the straight line negative
five π₯ plus 12π¦ plus 13 equals zero.
So weβre going to answer this
question using the formula for calculating the distance between a point and a
straight line. So the formula is this. If I have the straight line
with equation ππ₯ plus ππ¦ plus π is equal to zero and I have a point with
coordinates π₯ one, π¦ one. Then the perpendicular distance
between them, π, is given by the modulus of ππ₯ one plus ππ¦ one plus π, all
divided by the square root of π squared plus π squared. So what I need to do is
determine the values of π, π, π, π₯ one, and π¦ one and then substitute them
into the formula.
Letβs look at the straight line
first of all. Iβm comparing it with ππ₯ plus
ππ¦ plus π is equal to zero. This shows me that π is equal
to negative five, π is equal to 12, and π is equal to 13. Now letβs look at the point π΄,
which has coordinates one, nine. This tells me that π₯ one is
equal to one and π¦ one is equal to nine. So now I have all the values I
need. And itβs just a case of
substituting them into this formula for the distance π.
So we have that π is equal to
negative five times one plus 12 times nine plus 13, the modulus of that
quantity. Then weβre going to divide it
by the square root of negative five squared plus 12 squared. This gives us the modulus of
negative five plus 108 plus 13 all divided by the square root of 25 plus
144. This gives the modulus of 116
over the square root of 169. Now as 116 is positive, then
its modulus is just its own value. So the numerator will be
116. And in the denominator, the
square root of 169 is 13 exactly.
So we have our answer to the
problem. The length of the perpendicular
between the point one, nine and the straight line negative five π₯ plus 12π¦
plus 13 equals 0 is 116 over 13.
Find the length of the
perpendicular drawn from the point π΄ negative one, negative seven to the
straight line passing through the points π΅ six, negative four and πΆ nine,
negative five.
So the first thing we need is
we need to know the equation of the line that joins the points π΅ and πΆ. So Iβll find this equation
using the point slope method. π¦ minus π¦ one equals π π₯
minus π₯ one. First, weβll find the value of
π, the slope of the line, using π¦ two minus π¦ one over π₯ two minus π₯
one. It doesnβt matter which way
round I allocate π₯ one, π¦ one and π₯ two, π¦ two, so Iβve chosen to allocate
it in this order. It gives me negative five minus
negative four over nine minus six. This gives me a slope of
negative a third for this line.
Next, Iβm gonna substitute one
of these points into the equation of the line. And again, it doesnβt matter
which I choose. Iβve chosen to substitute the
coordinates of π΅. So Iβve substituted six for π₯
one and negative four for π¦ one. This simplifies to give π¦ plus
four is equal to negative a third π₯ plus two. And finally, if I multiply the
whole equation through by three and group all the terms together on the
left-hand side, then it gives me the equation of the line, which is π₯ plus
three π¦ plus six is equal to zero.
So we could answer this problem
using the formula thatβs on the screen, which tells us that the shortest
distance or the perpendicular distance between the line ππ₯ plus ππ¦ plus π
equals zero and the point π₯ one, π¦ one is given by the modulus of ππ₯ one
plus ππ¦ one plus π all over the square root of π squared plus π
squared.
However, Iβm going to work
through the maths and the logic behind that formula in this question. So Iβve just drawn a sketch to
help visualise the situation. Iβve got the line π₯ plus three
π¦ plus six equals zero and the point π΄ with coordinates negative one, negative
seven. And itβs this distance π that
Iβm looking to find.
The first thing Iβm going to do
is find the equation of the line that connects π΄ to the line π₯ plus three π¦
plus six equals zero. There are now two things about
this line. I know the coordinates of one
point on the line, negative one, negative seven. And I know itβs perpendicular
to the line π₯ plus three π¦ plus six equals zero. So this is enough information
to enable me to find its equation.
As itβs perpendicular to the
first line, I can use the fact that the slopes of perpendicular lines are the
negative reciprocals of each other. They multiply to negative
one. Rearranging the equation of the
first line gives me π¦ equals negative a third π₯ minus two. So I can see that the slope of
the first line is negative a third. This means that the slope of a
perpendicular line must be three. So Iβm going to find the
equation of this line using the point slope form. π¦ minus π¦ one equals π π₯
minus π₯ one.
I now know that π is
three. And I know that the point Iβm
going to use, the π₯ one, π¦ one, is the point with coordinates negative one,
negative seven. So this gives me π¦ minus
negative seven is equal to three π₯ minus negative one. This can be simplified in a
couple of lines of algebra to give the equation of the line π¦ equals three π₯
minus four.
So now I have the equations of
both lines. There are two more stages in
the method that Iβm using here. The next stage is to find the
coordinates of the point of intersection of the two lines, the point that Iβve
labelled in orange on the diagram. To do this, I need to solve the
equation of the two lines simultaneously. Iβm going to do this using
substitution, by substituting the expression for π¦ from equation two into
equation one. So this gives me π₯ plus three
lots of three π₯ minus four plus six is equal to zero.
Now there are a couple of lines
of algebra to work through in order to solve that equation for π₯. And Iβll leave you to fill
those in yourself. But if you do them correctly,
it will lead to π₯ is equal to three-fifths. Now we need to find the value
of π¦. So Iβm gonna substitute π₯ is
equal to three-fifths into equation two. So we have π¦ is equal to three
multiplied by three-fifths minus four. And this gives us a value of
negative 11 over five.
So now we know the coordinates
of the point of intersection of the two lines. And thereβs only one step left
in our method. We need to find the distance
between point π΄ and this point of intersection that weβve just calculated. So in order to do this, we can
use the distance formula, which tells us that the distance π is equal to the
square root of π₯ two minus π₯ one all squared plus π¦ two minus π¦ one all
squared. Where π₯ one, π¦ one and π₯
two, π¦ two represent the coordinates of the two points that weβre looking to
find the distance between. So substituting the values for
π₯ one, π₯ two, π¦ one, and π¦ two gives me this calculation here for π.
Now if you evaluate this on a
calculator or if you work through the arithmetic yourself, it leads you to the
square root of 640 over 25. But this can be simplified. So we have a final simplified
answer of eight root 10 over five length units. You can confirm that this is
the same answer we wouldβve achieved if we had used that standard formula
earlier within the question.
If the length of the
perpendicular drawn from the point negative five π¦ to the straight line
negative 15π₯ plus eight π¦ minus five equals zero is 10 length units, find all
the possible values of π¦.
So this question is asking us
about the length of the perpendicular from a point to a straight line. So we need to recall the
standard formula for calculating this. The formula is this, that the
length of the perpendicular from the point π₯ one, π¦ one to the line ππ₯ plus
ππ¦ plus π equals zero is given by the modulus of ππ₯ one plus ππ¦ one plus
π, all divided by the square root of π squared plus π squared.
Weβre also told that, within
this particular question, this length is 10 length units. So letβs compare the general
information with the specific values in this question. If I look at the equation of
the line first of all, this tells me that π is equal to negative 15, π is
equal to eight, and π is equal to negative five. Now if I look at the
coordinates of the points that weβre interested in, this tells me that π₯ one is
equal to negative five and π¦ one has just been given the general coordinate
π¦.
Iβm looking to find the
possible values of π¦. So I need to use this
information to set up and then solve an equation. So substituting those five
values into the relevant places in the formula and remembering that Iβm told
that itβs equal to 10 gives me this equation here. Evaluating the numeric parts of
this tells me that I have the modulus of 70 plus eight π¦ divided by 17 is equal
to 10. And multiplying by 17, I have
that the modulus of 70 plus eight π¦ is equal to 170.
Now letβs look at what this
modulus means. It means the absolute value of
70 plus eight π¦. So 70 plus eight π¦ is either
equal to 170 or it could be equal to negative 170. This means that I have two
linear equations to solve, leading to two possible values of π¦. The first equation gives eight
π¦ is equal to 100, and then π¦ equals 100 over eight, which simplifies to 25
over two. The second equation gives eight
π¦ equals negative 240. And then dividing by eight
gives π¦ equals negative 30. So in this question, there are
two possible values of π¦. π¦ is either equal to 25 over
two or itβs equal to negative 30.
In summary then, weβve seen that
the shortest distance between a point and a line is the perpendicular distance. Weβve seen the formula for
calculating this distance. π is equal to the modulus of ππ₯
one plus ππ¦ one plus π, all divided by the square root of π squared plus π
squared. Weβve also seen how to take a more
first-principles-like approach to answering such a problem by solving a system of
linear equations.