### Video Transcript

Given π΄ four, four and π΅ two, negative four, find the equation of the perpendicular
to π΄π΅ that passes through the midpoint of this line segment. Give your answer in the form π¦ equals ππ₯ plus π.

So weβve been asked to find the equation of this line in the form π¦ equals ππ₯ plus
π, which is the slope-intercept form of the equation of a straight line. In order to find the equation of this line, we need to know two things: firstly, the
slope of the line and secondly, the coordinates of any point that lies on the
line. So letβs think about how to calculate each of these things, beginning with the
slope.

Weβre told first of all that this line is perpendicular to the line segment π΄π΅. Now, this is important information because a key fact about perpendicular lines is
that their slopes multiply to negative one. In other words, they are the negative reciprocals of each other.

If we think of the two slopes of perpendicular lines as π one and π two, then their
product is equal to negative one. But also, π one is equal to negative one over π two and π two is equal to negative
one over π one. So if we know the slope of one of the lines, we can calculate the slope of its
perpendicular line by dividing negative one by the value we know.

As weβve been given the coordinates of both π΄ and π΅, we can calculate the slope of
the line segment π΄π΅ first of all. The formula that we can use is π¦ two minus π¦ one over π₯ two minus π₯ one, where π₯
one, π¦ one and π₯ two, π¦ two are the coordinates of two points on the line.

So if we think of π΄ as the point π₯ one, π¦ one and π΅ as the point π₯ two, π¦ two,
then this gives negative four minus four over two minus four. If you think of π΄ and π΅ the other way round, so π΄ as π₯ two, π¦ two and π΅ as π₯
one, π¦ one, it doesnβt matter; youβre still get the same value for the slope.

Now, the numerator is negative four minus four which is negative eight and the
denominator is two minus four which is negative two. A negative divided by a negative gives a positive answer and eight divided by two is
four. So the slope of the line segment π΄π΅ is four.

Now, to find the slope of the perpendicular line, remember that we need to find the
negative reciprocal of this value. So we need to divide negative one by four and it gives negative a quarter. So we found the slope of our line. And now, we need to think about finding the coordinates of one point that lies on the
line.

Weβre told in the question that our line passes through the midpoint of this line
segment β so thatβs the line segment π΄π΅. We also have a formula for calculating the midpoint of a line segment. If the two points are again thought of as π₯ one, π¦ one and π₯ two, π¦ two, then the
π₯-coordinates to the midpoint is π₯ one plus π₯ two over two and the π¦-coordinate
to the midpoint is π¦ one plus π¦ two over two.

This just means that the π₯-coordinate to the midpoint is the average or mean of the
π₯-coordinates and the π¦-coordinate to the midpoint is the average of the
π¦-coordinates.

Substituting the coordinates of π΄ and π΅ gives four plus two over two for the
π₯-coordinate and four plus negative four over two for the π¦-coordinate. This gives six over two which is three and zero over two which is zero. So the midpoint of the line segment π΄π΅ is three, zero.

So now that we know both the slope and the coordinates of one point on our line, we
can find its equation. Remember weβre asked for the equation in the form π¦ equals ππ₯ plus π, where π
represents the slope of the line. We can, therefore, substitute the value that weβve calculated for the slope of the
line straightaway. And it gives π¦ is equal to negative one-quarter π₯ plus π.

In order to find the value of π, we need to use the fact that the point with
coordinates three, zero lies on the line, which means that when π₯ is equal to
three, π¦ is equal to zero. And this pair of values satisfy the equation of the line. So by substituting π₯ equals three and π¦ equals zero into the equation of our line,
we now have the equation zero is equal to negative a quarter multiplied by three
plus π. And this is an equation that we can solve to find the value of π.

Negative a quarter multiplied by three is negative three-quarters. So we have zero is equal to negative three quarters plus π. To solve for π, we need to add three quarters to each side of the equation. And it gives three-quarters is equal to π.

Finally, then, we just need to substitute this value π into the equation of our
line. The equation of the line perpendicular to π΄π΅ and passing through its midpoint is π¦
equals negative a quarter π₯ plus three-quarters.