Lines & Graphs

Midpoint Formula Practice Problems with Worked Solutions

The midpoint of the segment from (x1,y1)(x_1, y_1) to (x2,y2)(x_2, y_2) is found by averaging each coordinate: add the two xx-values and halve, then do the same with the yy-values. M=(x1+x22, y1+y22)M=\left(\frac{x_1+x_2}{2},\ \frac{y_1+y_2}{2}\right)

M=(x1+x22, y1+y22)M=\left(\frac{x_1+x_2}{2},\ \frac{y_1+y_2}{2}\right)

Try it with your numbers

Show every step

The problems on this page climb from one-step midpoints to missing endpoints, unknown coordinates and perpendicular bisectors. The sections between them teach the ideas that make those problems quick. If you want the basics first, the full midpoint formula lesson covers them.

Where does the midpoint formula come from?

A halfway point is the start plus half the trip. On a number line from x1x_1 to x2x_2, the trip is x2−x1x_2-x_1, so the halfway position is x1+x2−x12=2x1+x2−x12=x1+x22.x_1+\frac{x_2-x_1}{2}=\frac{2x_1+x_2-x_1}{2}=\frac{x_1+x_2}{2}. That is why the formula adds. It is the average in disguise, and the average of two numbers always sits exactly between them.

The yy-coordinate follows the same logic on its own. Along a straight segment you cover the horizontal and vertical parts of the trip at the same rate, so you are halfway across and halfway up at the same moment. Plot (2,1)(2, 1) and (8,5)(8, 5) on the coordinate plane. The trip is 6 right and 4 up, half of that is 3 right and 2 up, and the midpoint is (5,3)(5, 3). The formula agrees: 2+82=5\frac{2+8}{2}=5 and 1+52=3\frac{1+5}{2}=3.

Addition is order-free, so it does not matter which point you call (x1,y1)(x_1, y_1). The only rule is to keep xx with xx and yy with yy.

Quick check

Use the start-plus-half-the-gap idea to find the xx-coordinate halfway between x=−3x=-3 and x=9x=9.

How do you use the midpoint formula with negatives and fractions?

Negatives need no special rule, only care with signs. Find the midpoint of A(−7,4)A(-7, 4) and B(3,−9)B(3, -9): xM=−7+32=−42=−2,yM=4+(−9)2=−52=−52x_M=\frac{-7+3}{2}=\frac{-4}{2}=-2,\qquad y_M=\frac{4+(-9)}{2}=\frac{-5}{2}=-\frac52 So M=(−2,−52)M=\left(-2,-\frac52\right). Here AA is in the second quadrant and BB is in the fourth, yet MM lands in the third. The midpoint can leave the quadrants of both endpoints, so never assume it shares one.

The subtraction trap

Subtracting gives half the gap, x2−x12\frac{x_2-x_1}{2}, which is a length. The midpoint is a position, so it needs the sum x1+x22\frac{x_1+x_2}{2}.

Fractions are easiest if you add first and halve last. For (12,34)\left(\frac12,\frac34\right) and (32,−14)\left(\frac32,-\frac14\right): xM=12+322=22=1,yM=34−142=122=14x_M=\frac{\frac12+\frac32}{2}=\frac{2}{2}=1,\qquad y_M=\frac{\frac34-\frac14}{2}=\frac{\frac12}{2}=\frac14 So M=(1,14)M=\left(1,\frac14\right). Halving a fraction means doubling its denominator, which is why 12÷2=14\frac12\div2=\frac14. Decimals behave the same way: the midpoint of 1.21.2 and 3.83.8 is 5.0÷2=2.55.0\div2=2.5.

How do you find a missing endpoint from the midpoint?

Run the formula backwards. Multiply xM=x1+x22x_M=\frac{x_1+x_2}{2} by 2 to get 2xM=x1+x22x_M=x_1+x_2, then isolate the unknown: x2=2xM−x1,y2=2yM−y1x_2=2x_M-x_1,\qquad y_2=2y_M-y_1

Worked example. The midpoint of PQ‾\overline{PQ} is M(2,1)M(2, 1) and P=(−3,7)P=(-3, 7). Find QQ. xQ=2(2)−(−3)=4+3=7,yQ=2(1)−7=−5x_Q=2(2)-(-3)=4+3=7,\qquad y_Q=2(1)-7=-5 So Q=(7,−5)Q=(7,-5). Check by going forward: −3+72=2\frac{-3+7}{2}=2 and 7+(−5)2=1\frac{7+(-5)}{2}=1. Both match MM.

There is a faster way that needs no algebra. From PP to MM the step is 55 right and 66 down. The midpoint is where the trip is half finished, so repeat the same step from MM: (2+5, 1−6)=(7,−5)(2+5,\ 1-6)=(7,-5). When a problem gives unknowns on both endpoints, such as (p,2)(p, 2) and (−4,q)(-4, q) with a known midpoint, set up one equation per coordinate and solve each on its own.

How can you check a midpoint answer in ten seconds?

Coordinate grid comparing true midpoint and wrong point (0, −3) using equal-steps test between A and B
The between test accepts (0, −3), but the steps +7, −7 then +3, −6 do not match, so only M(−2, −2.5) passes.

Three checks, from quickest to most thorough:

  1. Between test: each coordinate of MM must lie between the matching coordinates of the endpoints. It catches size errors, but not every sign slip.
  2. Equal-steps test: the step from AA to MM must equal the step from MM to BB, in both xx and yy. This test cannot be fooled.
  3. Distance test: AM=MB=12ABAM=MB=\frac12AB, using the distance formula. It is slow, so save it for proofs.

Run the equal-steps test on the earlier answer. From A(−7,4)A(-7, 4) to M(−2,−52)M\left(-2,-\frac52\right) the step is +5+5 and −132-\frac{13}{2}. From MM to B(3,−9)B(3,-9) the step is 3−(−2)=53-(-2)=5 and −9−(−52)=−132-9-\left(-\frac52\right)=-\frac{13}{2}. The steps match, so the midpoint is right.

Notice that the between test alone would accept (0,−3)(0, -3) for that problem, because 00 lies between −7-7 and 33 and −3-3 lies between −9-9 and 44. Only the equal-steps test rejects it.

Quick check

A student says the midpoint of (2,10)(2, 10) and (8,4)(8, 4) is (5,8)(5, 8). Is that right? If not, give the correct midpoint.

Midpoint formula vs distance formula vs slope: which is which?

All three take two points, which is why they get mixed up. A reliable split: adding finds a place, and subtracting finds a gap. The midpoint is a place. Distance and slope both measure the gap between the points.

Formula What you get Core operation
Midpoint a point (x,y)(x, y) add, then halve
Distance one length subtract, square, add, root
Slope one ratio subtract, then divide

If you wrote a single number when the question asked for a point, you used the wrong formula. The three also check each other. For A(3,4)A(3, 4) and B(11,10)B(11, 10) the midpoint is M(7,7)M(7, 7). The slope formula gives 7−47−3=34\frac{7-4}{7-3}=\frac34 from AA to MM and 10−411−3=68=34\frac{10-4}{11-3}=\frac68=\frac34 from AA to BB, so MM is on the segment. The distance from AA to MM is 42+32=5\sqrt{4^2+3^2}=5, exactly half of AB=82+62=10AB=\sqrt{8^2+6^2}=10. For more drill on the measuring side, try the distance formula practice problems.

How do you find a point a quarter or a third of the way?

The midpoint is one case of a bigger idea. Start at AA, take the fraction tt of the step to BB, and you land at P=(x1+t(x2−x1), y1+t(y2−y1)).P=\bigl(x_1+t(x_2-x_1),\ y_1+t(y_2-y_1)\bigr). Setting t=12t=\frac12 gives the midpoint formula. Setting t=13t=\frac13 gives the point one third of the way. A ratio m:nm:n measured from AA means t=mm+nt=\frac{m}{m+n}.

Worked example. Find the point one third of the way from A(2,−1)A(2,-1) to B(14,8)B(14, 8). The full step is (12,9)(12, 9), and a third of it is (4,3)(4, 3). So P=(2+4, −1+3)=(6,2)P=(2+4,\ -1+3)=(6, 2). Check: three such steps from AA reach (2+12, −1+9)=(14,8)(2+12,\ -1+9)=(14, 8), which is BB.

Quarter points need no new formula. The midpoint of AA and the midpoint of ABAB sits a quarter of the way along.

Try this: Take A(0,0)A(0,0) and B(12,8)B(12, 8). Find the midpoint MM, then the midpoint of AA and MM. Now compute the point with t=14t=\frac14 from the formula above. Both routes should give (3,2)(3, 2).

How do midpoints help with perpendicular bisectors and proofs?

A perpendicular bisector passes through the midpoint at a right angle. Every point on it is equally far from both endpoints, so it is the natural line to build from the midpoint.

Worked example. Find the perpendicular bisector of A(1,2)A(1, 2) and B(7,6)B(7, 6).

Step 1, midpoint: M=(1+72,2+62)=(4,4)M=\left(\frac{1+7}{2},\frac{2+6}{2}\right)=(4, 4).

Step 2, slope of ABAB: 6−27−1=23\frac{6-2}{7-1}=\frac23. Perpendicular lines have negative reciprocal slopes (see slopes of parallel and perpendicular lines), so the bisector has slope −32-\frac32.

Step 3, build the line in point-slope form: y−4=−32(x−4) ⇒ y=−32x+10y-4=-\frac32(x-4)\ \Rightarrow\ y=-\frac32x+10 That last form is slope-intercept form. Check with a point on the line, (0,10)(0, 10): its distance to AA is 1+64=65\sqrt{1+64}=\sqrt{65} and to BB is 49+16=65\sqrt{49+16}=\sqrt{65}.

Midpoints also prove shapes. If the two diagonals of a quadrilateral share a midpoint, it is a parallelogram. For A(0,0)A(0,0), B(4,1)B(4,1), C(7,5)C(7,5), D(3,4)D(3,4), diagonal ACAC has midpoint (3.5,2.5)(3.5, 2.5) and diagonal BDBD has midpoint (4+32,1+42)=(3.5,2.5)\left(\frac{4+3}{2},\frac{1+4}{2}\right)=(3.5, 2.5). Same midpoint, so ABCDABCD is a parallelogram.

When does the midpoint formula not work?

It works on straight segments in any number of dimensions. In 3D, add a third average, z1+z22\frac{z_1+z_2}{2}. When a segment is horizontal or vertical, one coordinate never changes, so only the other needs averaging: the midpoint of (−3,5)(-3, 5) and (9,5)(9, 5) is (3,5)(3, 5).

Chords are not arcs

The formula finds the middle of the straight segment, not the middle of a curve. For the parabola y=x2y=x^2 from x=1x=1 to x=5x=5, the segment midpoint is (3,13)(3, 13), which is not even on the curve since 32=93^2=9.

The same limit applies on a globe. The midpoint of two cities by averaging latitude and longitude is not the true halfway point along the Earth’s surface, because the surface is curved and the formula assumes a flat plane.

The formula also explains something outside coordinates. The term halfway between two terms of an arithmetic sequence is their average. In the sequence that starts at 77 and has fifth term 2323, the middle term is 7+232=15\frac{7+23}{2}=15, and the sequence 7,11,15,19,237, 11, 15, 19, 23 confirms it.

Where are midpoint formula problems used in real life?

Any time something must be centered or split evenly between two known positions, the midpoint formula is doing the work:

  • Circles: the center is the midpoint of a diameter, and the radius is half the distance between the endpoints.
  • Screens and games: the center of a rectangle is the midpoint of two opposite corners, which is how text and sprites are centered.
  • Building and surveying: a support placed halfway between two posts, or a meeting point halfway between two locations on a map grid.

Circle problems combine both skills. A diameter runs from (1,2)(1, 2) to (7,10)(7, 10). The center is (1+72,2+102)=(4,6)\left(\frac{1+7}{2},\frac{2+10}{2}\right)=(4, 6). The diameter has length 62+82=10\sqrt{6^2+8^2}=10, so the radius is 55. Check that the center is 5 from an endpoint: (7−4,10−6)=(3,4)(7-4, 10-6)=(3, 4), and 9+16=5\sqrt{9+16}=5.

Once you can move between midpoints, distances and slopes without hesitating, the quiz problems on this page become short work.

Quick check

A rectangle has opposite corners at (−2,1)(-2, 1) and (6,7)(6, 7). Where do its diagonals cross?

Practice problems

0 of 10 solved

  1. Find the midpoint of (2,4)(2, 4) and (10,8)(10, 8).

  2. Find the midpoint of (−6,2)(-6, 2) and (4,8)(4, 8).

  3. Find the midpoint of (−5,−3)(-5, -3) and (−1,7)(-1, 7).

  4. Find the midpoint of (0,−6)(0, -6) and (8,2)(8, 2).

  5. Find the midpoint of (2.5,3.5)(2.5, 3.5) and (6.5,9.5)(6.5, 9.5).

  6. Find the midpoint of (13,−2)\left(\frac13, -2\right) and (53,5)\left(\frac53, 5\right).

  7. The midpoint of AB‾\overline{AB} is M(4,3)M(4, 3) and A=(1,7)A=(1, 7). Find BB.

  8. The midpoint of (p,2)(p, 2) and (−4,q)(-4, q) is (3,−1)(3, -1). Find pp and qq.

  9. Three vertices of parallelogram ABCDABCD are A(1,1)A(1, 1), B(5,2)B(5, 2) and C(6,6)C(6, 6). Find DD.

  10. Find the equation of the perpendicular bisector of the segment from (−3,1)(-3, 1) to (5,5)(5, 5).

Common questions

What is the midpoint formula?

The midpoint of a segment from (x1,y1)(x_1, y_1) to (x2,y2)(x_2, y_2) is (x1+x22,y1+y22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right). It averages the xx-coordinates and averages the yy-coordinates, so the result is a point exactly halfway along the segment.

How do you find the midpoint with negative coordinates?

Use the same formula and add the coordinates with their signs, then halve. For (−7,4)(-7, 4) and (3,−9)(3, -9) the sums are −4-4 and −5-5, giving the midpoint (−2,−52)\left(-2, -\frac52\right).

How do you find an endpoint when you know the midpoint and the other endpoint?

Double the midpoint coordinate and subtract the known endpoint coordinate: x2=2xM−x1x_2=2x_M-x_1 and y2=2yM−y1y_2=2y_M-y_1. You can also repeat the step from the known endpoint to the midpoint.

Is the midpoint the same as the average?

Yes. The xx-coordinate of the midpoint is the average of the two xx-values, and the yy-coordinate is the average of the two yy-values. On a number line the midpoint of two numbers is simply their mean.

Does the midpoint formula work in three dimensions?

Yes. Add a third average: (x1+x22,y1+y22,z1+z22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2},\frac{z_1+z_2}{2}\right). Each axis is handled separately, so more dimensions only mean more averages.

What is the difference between the midpoint formula and the distance formula?

The midpoint formula returns a point and works by adding and halving. The distance formula returns a single length and works by subtracting, squaring and taking a root.

Up next