Distance and midpoints: Definition
A line segment is a part of a line which joins two different points together. It is only a segment of a line, as lines are infinitely long.
The midpoint of a line segment that connects two points is the middle point that lies on the line segment.
A line segment AB with midpoint C - StudySmarter Originals
The above line segment AB connects the points A and B. Point C lies on the middle point of the line, so it is the midpoint of the line.
The distance between two points is the length of the line segment that joins the points together.
A line segment AB - StudySmarter Originals
The distance between point A and point B above is the length of the blue line, which is the line segment that connects the two points.
Distance and midpoints in the coordinate plane
In the coordinate plane, points are defined by an coordinate and a coordinate which indicate how far across and how far up the coordinate plane the line is located, respectively. Coordinate points are written in the form .
A graph showing the points (2, 1) and (4, 3) - StudySmarter Originals
Shown in the figure above are the coordinate points and . Let's draw a line segment between them in the following figure:
A line segment connecting the points (2, 1) and (4, 3) - StudySmarter Originals
The middle point on this line segment is the midpoint, and the length of the line segment describes the distance between the two points. How can we determine the middle point on the line and the distance between the two points? There are formulas that can help us work these details out. Let's take a look at them.
Distance and midpoints: Formula
In this section we look at two formulas:
- The formula for the midpoint of a line segment
- The formula for the distance between two points
Formula for the midpoint of a line segment
We know that the midpoint is located halfway between the two points. This means that its x coordinate is halfway between the x coordinates of the points, and its y coordinate is halfway between the y coordinates of the points. So, if we know the x coordinates and y coordinates for both points, how can we find the midpoint that is located halfway between them?
For a line segment connecting points and , the midpoint is: .
The figure below shows points and on a coordinate plane, with a midpoint at . Let's discuss in more detail how the midpoint is found.
The midpoint of a line segment connecting the points (2, 1) and (4, 3) - StudySmarter Originals
The midpoint formula given above allows us to find the average of the points' x coordinates and the average of the points' y coordinates. In order to find the average for our points' x coordinates, we must add the two x coordinate values. () and then divide by two (). This gives us the x coordinate of the midpoint, 3. Then, we add the two y coordinates () and divide by two () to find the average of our points' y coordinates, which is the midpoint's y coordinate.
Formula for the distance between two points
When we work out the distance between two points, we are finding the length of the line segment between them. How do we determine this length?
The distance between two points and is given by the formula: .
Therefore, if we know the x and y coordinates of both points, we can apply this formula. You may be wondering where this formula comes from. The formula for the distance between points considers the points' connecting line segment as if it were a hypotenuse of a right triangle, which means that the Pythagoras' theorem applies, given by . The hypotenuse a and its accompanying side lengths b and c can be seen in the figure below.
A graph showing how Pythagoras' Theorem can be used to calculate the distance between two points in the coordinate plane - StudySmarter Originals
The formula also considers the difference between the points' x coordinates and y coordinates, which can be obtained by subtracting the smaller coordinates from the larger ones in this case. In the graph above, the distance between the x coordinates of and is . This means that our imaginary triangle has a side length of 2! Similarly, the distance between the y coordinates is , which gives a second triangle side length of 2.
What about the triangle's hypotenuse? When we apply the Pythagoras' theorem, we acquire the length of the hypotenuse of the triangle we have created, which will be the line segment between the two points:
Now that we understand the origins of the formula, let's apply it in an example problem.
Finding midpoints and distance with examples
Using the previously provided formulas, we can find distance and midpoints between two points defined in the coordinate plane.
Find the midpoint of the line segment that joins the points and
Solution:
If we know the coordinates of two points, we can use the midpoint formula to work out the midpoint of the line segment connecting them. The midpoint formula is given by , so we substitute our known coordinates into the formula to get the midpoint.
For the x coordinate of the midpoint, =. Here, we have added the values of the x coordinates and divided by two.
For the y coordinate of the midpoint,. Here, we have added the values of the y coordinates of each of the points. Remember, adding a negative number is the same as subtraction, and any number over itself can be simplified to one.
Now that we have our x and y coordinate of the midpoint, we can write it in the typical form (x, y).
Find the exact distance between the points and
Solution:
We can apply the distance formula to find the distance between two points. The distance formula is given by . We substitute our coordinates into the formula to get the distance. It doesn't matter which order we use to subtract the coordinates from each other (which point is considered 1 or 2). What matters is that we stay consistent in subtracting an x coordinate from the other x coordinate, and in subtracting a y coordinate from the other y coordinate. This is because when we square the values it gets rid of the negative sign and ends up as the same value each way.
Here we have substituted the x and y coordinates of each point into the distance formula to get the distance between them. The question asked for the exact distance, so we leave our result as an irrational number.
Applications of the midpoint and distance formula
Midpoints and distances have many mathematical applications. In this section we provide some examples of how the formulas we discussed can be applied.
Using the midpoint formula to finding the perpendicular bisector
You can use the midpoint formula to find the perpendicular bisector of a line segment. A perpendicular bisector is a line that intersects with a line segment at its midpoint at a right angle, cutting it into two halves.
We can find a perpendicular bisector by finding a line segment's midpoint and slope as well as the negative reciprocal of its slope. Then we substitute these values into the formula , using the coordinates of the midpoint and the negative reciprocal of the line segment's slope.
Using the distance formula to define shapes and objects
We know that we can use the distance formula to find the lengths of line segments if we know the points where the line segment starts and ends. For example, if we had a ladder that was resting against a wall, and the ladder touched the wall and floor at points and we could use the distance formula to determine the ladder's length.
We can also prove that the line segments joining points on a coordinate plane work together to form a specific shape. For example, if three line segments joining 3 points all have equal distances, we can show that the line segments form an equilateral triangle, as equilateral triangles have 3 equal side lengths.
A ladder is resting against a wall in the xy plane, with the x axis representing the floor and the y axis representing a wall. It is touching the floor at the point and is touching the wall at the point . Find the length of the ladder to 2 decimal places.
Solution:
These two points represent the ends of the ladder as they are both touching either the floor or the wall. To find the length of the ladder we need to find the distance between the two points. We do this by using the distance formula.
We have substituted our points into the distance formula to get the distance between them, which represents the length of the ladder. The question indicates that we should give our answer to 2 decimal places, so we convert the irrational number to decimal form, giving us 5.83. The length of the ladder is 5.83 to 2 decimal places.
Distance and midpoints - Key takeaways
- A line segment is part of a line. It joins two points together.
- The midpoint of a line segment is the middle point that lies on it.
- The distance between two points is the length of the line segment that connects the two points together.
- The midpoint of the line segment connecting the points and is given by the formula
- The distance between the points and is given by the formula
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Get to know Lily
Content Quality Monitored by:
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
Get to know Gabriel