StringMash.com

Endpoint calculator

One endpoint and the midpoint in, the other endpoint out.

21 characters
Updates as you type
Other endpoint B(4, 8)
Length of AB3√5 ≈ 6.7082
Each half, AM and MB3√5/2 ≈ 3.3541
Equation of the liney = 2x
The working and the graph are below

Show the steps
xy1122334455667788990AMB
  1. The midpoint is halfway, so the other end is as far past M as M is past A. For each coordinate, double the midpoint and take away the known end: x₂ = 2xₘ − x₁.
  2. x₂ = 2 × 5/2 − 1 = 5 − 1 = 4.
  3. y₂ = 2 × 5 − 2 = 10 − 2 = 8.
  4. So the other endpoint is B(4, 8).
  5. Check: halfway between A and B is ((1 + 4) ÷ 2, (2 + 8) ÷ 2) = (5/2, 5), which is M.

Using the calculator

Type the endpoint you know first and the midpoint second, such as A(1, 2) and M(5/2, 5). The other endpoint B appears as you type, with each coordinate worked out and a check that the midpoint of A and B really is M.

Whole numbers, decimals, fractions and mixed numbers all work, and six numbers give two points in 3D. Set Find back to the midpoint to go the other way, or use the midpoint calculator.

How to find the other endpoint

The midpoint is halfway, so B is as far past M as M is past A. For each coordinate, double the midpoint and take away the endpoint you know: x₂ = 2xₘ − x₁ and y₂ = 2yₘ − y₁.

With A(1, 2) and M(5/2, 5): x₂ = 2 × 5/2 − 1 = 4 and y₂ = 2 × 5 − 2 = 8, so B is (4, 8). Check it with the midpoint formula: (1 + 4) ÷ 2 = 5/2 and (2 + 8) ÷ 2 = 5, which is M.

This comes straight from the midpoint formula. xₘ = (x₁ + x₂)/2, so 2xₘ = x₁ + x₂, and taking x₁ from both sides leaves x₂.

Counting on a grid

On graph paper you can count instead. Count the steps across and up from A to M, then take the same steps again from M. From (−3, 4) to M(1, −1) is 4 right and 5 down; another 4 right and 5 down lands on B(5, −6).

Questions

Which point do I type first?

The endpoint you know, then the midpoint. Swapping them gives a different answer: the point that has the endpoint in the middle.

Why double the midpoint?

The midpoint is the average of the two ends. Doubling it gives their sum, and taking away one end leaves the other.

Can the answer have fractions?

Only when the midpoint or the known endpoint has fractions. Whole-number midpoints with whole-number ends always give a whole-number answer.

Sources

Added and reviewed . What's new