Frequent Questions about our Solver

The problem

Click to see the original problem

find the distance between two points and the midpoint of the line segment joining them

(-2,4) (6,4)

Answer provided by our tutors

The midpoint for (x1, y1) and (x2, y2) is ((x1+ x2)/2, (y1 + y2)/2).

In our case (x1, y1) = (-2, 4) and (x2, y2) = (6, 4).

Plug the values x1 = -2, y1 = 4, x2 = 6, y2 = 4 into ((x1+ x2)/2, (y1 + y2)/2):

((-2 + 6)/2, (4 + 4)/2) = (2, 4)

The midpoint is (2, 4).

For the distance 'd' between (x1, y1) and (x2, y2) we have d^2 = (x2 - x1)^2 + (y2 - y1)^2

Or if we plug the values x1 = -2, y1 = 4, x2 = 6, y2 = 4

d^2 = (6 - (-2))^2 + (4 - 4)^2

d^2 = 64

d = 8 

The distance is 8 units.

← Previous Problem Next Problem →