Back to homeMathematics · Precalculus · Change subject
Start for free
Precalculus · Mathematics
Vectors and Geometry · Lines in the plane

Midpoint of a Line Segment

Before you start, make sure you know: Midpoint of a line segment (Geometry)
Before you start, make sure you know: Parallel and perpendicular lines (Geometry)

Maya lives at $(1, 7)$ on a city map where each unit is one block. Her friend Jayden lives at $(9, 3)$. They want to meet at the spot exactly halfway between their homes. Where is it? You will answer that in a moment, and you will see the same idea hiding inside problems about centers, diagonals, triangles and reflections.

The Midpoint Formula

On a number line, the point halfway between $3$ and $11$ is their average, $\dfrac{3+11}{2} = 7$. In the plane you do the same thing twice: once for the $x$-coordinates and once for the $y$-coordinates.

Segment AB in the coordinate plane with its midpoint M, whose x-coordinate is the average of x1 and x2. A B M x₁ (x₁ + x₂)/2 x₂

Why does it work? Halfway along the $x$-direction means $x_1$ plus half the horizontal change, and $x_1 + \dfrac{x_2 - x_1}{2} = \dfrac{x_1 + x_2}{2}$. The same is true for $y$.

Back to Maya and Jayden: you can already compute their meeting point. We will do it at the end of the page.

Finding a missing endpoint

Sometimes you know the midpoint $M$ and one endpoint $A$, and you need the other endpoint $B$. Solve the midpoint formula for the unknown.

The vector view

Because $M$ is halfway, the step from $A$ to $M$ equals the step from $M$ to $B$. In vector form,

$$\overrightarrow{AM} = \overrightarrow{MB} = \tfrac{1}{2}\overrightarrow{AB}$$

To show two vectors are equal, subtract coordinates (head minus tail) and compare the components.

Practice★☆☆Not started
Calculate the coordinates of the midpoint of the line segment with endpoints $A(2, -4)$ and $B(-6, 8)$.

Calculate the coordinates of the midpoint of the line segment with endpoints $A(2, -4)$ and $B(-6, 8)$.

Solve
Practice★☆☆Not started
The point $M(1, 3)$ is the midpoint of the line segment joining the points $A(-2, 5)$ and $B$. Determine the coordinates of the endpoint $B$.

The point $M(1, 3)$ is the midpoint of the line segment joining the points $A(-2, 5)$ and $B$. Determine the coordinates of the endpoint $B$.

Solve
Practice★☆☆Not started
Check analytically that, if $M$ is the midpoint of the line segment with endpoints $A(0, 4)$ and $B(6, -2)$, the vector equality $\vec{AM} = \vec{MB}$ holds.

Check analytically that, if $M$ is the midpoint of the line segment with endpoints $A(0, 4)$ and $B(6, -2)$, the vector equality $\vec{AM} = \vec{MB}$ holds.

Solve

Centers and Intercepts

Whenever a problem says "center," look for a midpoint.

A circle with a diameter PQ whose midpoint is the center, and a square whose two diagonals meet at its center. P Q center A C M

Midpoint of the segment cut off by the axes

The intercepts of a line are where it crosses the axes. Set $y = 0$ for the $x$-intercept and $x = 0$ for the $y$-intercept. Then take the midpoint of those two points.

If a problem asks for the midpoint of two midpoints, just apply the formula twice, once for each segment and once for the two results.

Practice★☆☆Not started
The points $P(-3, -1)$ and $Q(5, 7)$ are the endpoints of the diameter of a circle. Find the coordinates of its center.

The points $P(-3, -1)$ and $Q(5, 7)$ are the endpoints of the diameter of a circle. Find the coordinates of its center.

Solve
Practice★☆☆Not started
Find the midpoint of the line segment determined by the points of intersection of the line $2x + 3y - 12 = 0$ with the coordinate axes.

Find the midpoint of the line segment determined by the points of intersection of the line $2x + 3y - 12 = 0$ with the coordinate axes.

Solve
Practice★★☆Not started
The line $r: x - 2y + 4 = 0$ intersects the coordinate axes at the points $P$ and $Q$. The line $s: 2x + y - 6 = 0$ intersects the axes at $R$ and $S$. Calculate the…

The line $r: x - 2y + 4 = 0$ intersects the coordinate axes at the points $P$ and $Q$. The line $s: 2x + y - 6 = 0$ intersects the axes at $R$ and $S$. Calculate the coordinates of the midpoint of the line segment joining the midpoints of $PQ$ and $RS$.

Solve

Distance and Lines Through a Midpoint

Two more tools show up in almost every midpoint problem.

Since $M$ is halfway, $AM = MB = \dfrac{1}{2}AB$.

Segment AB as the hypotenuse of a right triangle with horizontal leg x2 minus x1 and vertical leg y2 minus y1; the midpoint M splits it into two halves. A B M x₂ − x₁ y₂ − y₁ d/2 d/2

Does a point lie on a line?

To test whether a point is on a line, plug in its coordinates. If the equation is true, the point is on the line.

Practice★☆☆Not started
On a topographic map, two telecommunications antennas are located at the coordinates $A(10, 20)$ and $B(40, -10)$. A repeater is to be installed at exactly the same…

On a topographic map, two telecommunications antennas are located at the coordinates $A(10, 20)$ and $B(40, -10)$. A repeater is to be installed at exactly the same distance from both, on the straight line that joins them. What will be the coordinates of the repeater?

Solve
Practice★★☆Not started
A delivery drone flies in a straight line from the warehouse $A(-50, 120)$ to the base $B(150, -40)$. Exactly at the midpoint of its journey, it drops a package with a…

A delivery drone flies in a straight line from the warehouse $A(-50, 120)$ to the base $B(150, -40)$. Exactly at the midpoint of its journey, it drops a package with a parachute. Determine the coordinates of the drop point and the straight-line distance from the warehouse to that point.

Solve
Practice★★☆Not started
A laser beam starts from the emitter $S(2, 8)$ and must hit the receiver $T(10, 2)$ after bouncing off a flat mirror located on the line $y = 5$. Check whether the…

A laser beam starts from the emitter $S(2, 8)$ and must hit the receiver $T(10, 2)$ after bouncing off a flat mirror located on the line $y = 5$. Check whether the midpoint of the line segment $ST$ coincides with the point of impact on the mirror.

Solve

Parallelograms, Rhombuses and Quadrilaterals

Parallelogram ABCD whose diagonals AC and BD cross at their common midpoint M. A B C D M

Rhombuses

A rhombus is a parallelogram, so its diagonals bisect each other. They are also perpendicular, which creates four right triangles. If the diagonals have lengths $d_1$ and $d_2$, each side is the hypotenuse of a right triangle with legs $\dfrac{d_1}{2}$ and $\dfrac{d_2}{2}$:

$$\text{side} = \sqrt{\left(\tfrac{d_1}{2}\right)^2 + \left(\tfrac{d_2}{2}\right)^2}$$

To find the side you need the length (or half-length) of both diagonals. When the second diagonal is described by a line, the line tells you where it goes, and a vertex on it tells you how long it is.

What if the second diagonal is given only by its line, with no vertex or length on it? Then the center and the perpendicularity can still be checked, and the side can still be written exactly, but as a formula in one unknown: the half-length $h$ of the second diagonal. Any rhombus with the given first diagonal has side $\sqrt{(\text{half of } AC)^2 + h^2}$, and $h$ can be any positive number, so the side can be any value greater than half of $AC$.

Use the same steps whenever a rhombus is given by one diagonal's endpoints and the line of the other diagonal. For the practice problem with $A(-1, 3)$, $C(3, 1)$ and the line $y = 2x$: the center is $(1, 2)$, which is on $y = 2x$; the slopes $-\dfrac{1}{2}$ and $2$ are negative reciprocals; and half of $AC$ is $\sqrt{5}$, so the side is $\sqrt{5 + h^2}$, where $h$ is half of the other diagonal. If you can't tell $h$ from the problem, give the answer in this form and say what is missing, rather than guessing a number.

The midpoints of any quadrilateral's sides

To prove it with numbers, compute the four midpoints and show that two opposite sides are the same vector. To find an area, use two adjacent side vectors $\mathbf{u} = \langle a, b\rangle$ and $\mathbf{v} = \langle c, d\rangle$:

$$\text{Area} = |ad - bc|$$

Check it on a rectangle: $\langle 3, 0\rangle$ and $\langle 0, 2\rangle$ give $|3 \cdot 2 - 0| = 6$.

Practice★★☆Not started
Three consecutive vertices of a parallelogram are $A(-2, 1)$, $B(4, 3)$ and $C(6, -1)$. Using the property that the diagonals of a parallelogram bisect each other, find…

Three consecutive vertices of a parallelogram are $A(-2, 1)$, $B(4, 3)$ and $C(6, -1)$. Using the property that the diagonals of a parallelogram bisect each other, find the coordinates of the fourth vertex $D$.

X Y A B C D M
Solve
Practice★★★Not started
Prove analytically that the midpoints of the sides of the quadrilateral with vertices $A(0,0)$, $B(6,2)$, $C(4,8)$ and $D(-2,4)$ form a parallelogram (Varignon's…

Prove analytically that the midpoints of the sides of the quadrilateral with vertices $A(0,0)$, $B(6,2)$, $C(4,8)$ and $D(-2,4)$ form a parallelogram (Varignon's parallelogram) and calculate its area.

Solve
Practice★★★Not started
One of the diagonals of a rhombus is contained in the line $y = 2x$. The endpoints of the other diagonal are the points $A(-1, 3)$ and $C(3, 1)$. Check that the center…

One of the diagonals of a rhombus is contained in the line $y = 2x$. The endpoints of the other diagonal are the points $A(-1, 3)$ and $C(3, 1)$. Check that the center of the rhombus lies on the given line and calculate the length of the side of the rhombus.

Solve

Triangles: Medians and the Centroid

Triangle ABC with its three medians meeting at the centroid G; M is the midpoint of side AB. A B C midpoint M G

Rebuilding a triangle from the midpoints of its sides

Each midpoint gives one equation per coordinate. With three midpoints you get a system you can solve by elimination.

The equation of a median

A median is just a line through a vertex and the opposite midpoint. Find the midpoint, then use the slope and point-slope form $y - y_1 = m(x - x_1)$.

If both points have the same $x$-coordinate, the median is a vertical line $x = c$, and the slope formula would divide by zero. Just write $x = c$.

Practice★★☆Not started
The midpoints of the sides of a triangle are $M_1(1, 2)$, $M_2(3, 4)$ and $M_3(-1, 5)$. Set up a system of equations and calculate the coordinates of the three vertices…

The midpoints of the sides of a triangle are $M_1(1, 2)$, $M_2(3, 4)$ and $M_3(-1, 5)$. Set up a system of equations and calculate the coordinates of the three vertices of the triangle $A, B$ and $C$.

Solve
Practice★★☆Not started
Find the equation of the median corresponding to the vertex $A$ in the triangle with vertices $A(1, -3)$, $B(5, 1)$ and $C(-3, 5)$.

Find the equation of the median corresponding to the vertex $A$ in the triangle with vertices $A(1, -3)$, $B(5, 1)$ and $C(-3, 5)$.

Solve
Practice★★★Not started
The centroid of a triangle is the point $G(2, 1)$. If two of its vertices are $A(-1, 3)$ and $B(4, -2)$, find the coordinates of the third vertex $C$ based on the…

The centroid of a triangle is the point $G(2, 1)$. If two of its vertices are $A(-1, 3)$ and $B(4, -2)$, find the coordinates of the third vertex $C$ based on the property of the centroid with respect to the midpoints of the sides.

Solve

Reflections Through a Point and Over a Line

The reflection $A'$ ("$A$ prime") of $A$ through a point $P$ is the point so that $P$ is the midpoint of $\overline{AA'}$. Some problems call $A'$ the symmetric point of $A$. The key equation is again $A' = 2P - A$.

Reflecting through the origin is the special case $P = (0, 0)$: $(x, y) \to (-x, -y)$. If a problem asks for a second reflection, just use the answer of the first one as the new $A$.

Reflecting over a line

Point A and its reflection A prime over line r; the perpendicular segment crosses r at the midpoint M. A M A' r
Practice★★☆Not started
Find the symmetric point of $P(3, -2)$ with respect to the point $C(1, 4)$. Next, find the symmetric point of the resulting point with respect to the origin.

Find the symmetric point of $P(3, -2)$ with respect to the point $C(1, 4)$. Next, find the symmetric point of the resulting point with respect to the origin.

Solve
Practice★★★Not started
Calculate the coordinates of the symmetric point of $A(1, 5)$ with respect to the line $r: 2x - y - 3 = 0$.

Calculate the coordinates of the symmetric point of $A(1, 5)$ with respect to the line $r: 2x - y - 3 = 0$.

X Y r A M A'
Solve

Unknown Coordinates and Parameters

When a coordinate is a letter, the midpoint formula gives an equation for each coordinate. Solve them one at a time.

A midpoint that must lie on a line

Find the midpoint (it will contain the parameter), then substitute into the line's equation.

Segment from A(4, 1) to B(5, 8) whose midpoint M(4.5, 4.5) lies on the line y = x. A B M y = x

Minimizing a distance

If the midpoint depends on a parameter $t$, the distance from the origin to it is a function of $t$. Its square $d^2$ is a quadratic in $t$. The smallest $d$ happens at the same $t$ as the smallest $d^2$, and a quadratic $at^2 + bt + c$ with $a > 0$ has its minimum at its vertex, $t = -\dfrac{b}{2a}$.

Practice★☆☆Not started
Given that the midpoint of the line segment with endpoints $A(x, 4)$ and $B(5, y)$ is $M(2, -1)$, calculate the value of the unknown coordinates $x$ and $y$.

Given that the midpoint of the line segment with endpoints $A(x, 4)$ and $B(5, y)$ is $M(2, -1)$, calculate the value of the unknown coordinates $x$ and $y$.

Solve
Practice★★☆Not started
Determine the value of the parameter $k$ so that the midpoint of the line segment with endpoints $A(k, 2)$ and $B(4, k-1)$ lies on the angle bisector of the first…

Determine the value of the parameter $k$ so that the midpoint of the line segment with endpoints $A(k, 2)$ and $B(4, k-1)$ lies on the angle bisector of the first quadrant ($y = x$).

Solve
Practice★★★Not started
Given the points $A(t, 2t)$ and $B(1-t, 3)$, which depend on the parameter $t$, obtain the expression for the distance from the origin to the midpoint of $AB$. For what…

Given the points $A(t, 2t)$ and $B(1-t, 3)$, which depend on the parameter $t$, obtain the expression for the distance from the origin to the midpoint of $AB$. For what value of $t$ is this distance a minimum?

Solve

Endpoints on Lines and Loci

One endpoint on each of two lines

If a segment has midpoint $M$ and its endpoints lie on lines $r$ and $s$, call the endpoint on $r$ a point with a variable, say $P(a, \dots)$. The other endpoint is $Q = 2M - P$. Then require $Q$ to lie on $s$.

Lines r and s with a segment PQ whose midpoint M is the given point; P is on r and Q is on s. P Q M r s

The answers may be fractions. That is fine; leave them exact.

Locus of midpoints

A locus is the set of all points that satisfy a condition. To find the locus of the midpoints of segments from a fixed point $F$ to points $P$ on a line:

  1. Let $M(x, y)$ be a midpoint and $P(p, q)$ a point on the line.

  2. Use the midpoint formula to write $p$ and $q$ in terms of $x$ and $y$.

  3. Substitute into the equation of the line.

Practice★★★Not started
A line segment is divided into two equal parts by the point $M(2, 1)$. Given that its endpoints lie, respectively, on the lines $r: x - y - 2 = 0$ and…

A line segment is divided into two equal parts by the point $M(2, 1)$. Given that its endpoints lie, respectively, on the lines $r: x - y - 2 = 0$ and $s: 2x + y - 5 = 0$, find the coordinates of these endpoints.

Solve
Practice★★★Not started
Two robotic arms move along the straight rails defined by $y = 2x + 1$ and $y = -x + 4$. Both hold a part exactly at the midpoint of the line segment joining their…

Two robotic arms move along the straight rails defined by $y = 2x + 1$ and $y = -x + 4$. Both hold a part exactly at the midpoint of the line segment joining their grippers. If the part is located at the position $M(3, 3)$, calculate the exact coordinates of each gripper.

Solve
Practice★★★Not started
Determine the equation of the locus of the midpoints of all the line segments joining the origin to the points on the line $3x + 4y - 12 = 0$.

Determine the equation of the locus of the midpoints of all the line segments joining the origin to the points on the line $3x + 4y - 12 = 0$.

Solve

Summary

Back to the start: Maya at $(1, 7)$ and Jayden at $(9, 3)$ meet at $\left(\dfrac{1 + 9}{2}, \dfrac{7 + 3}{2}\right) = (5, 5)$, five blocks east and five blocks north of the origin of the map.

See all the exercises in this section