# Midpoint

Midpoint[{p1,p2}]

gives the midpoint of the line segment connecting the points p1 and p2.

Midpoint[Line[{p1,p2}]]

gives the midpoint of a line.

# Examples

open allclose all

## Basic Examples(1)

Find the midpoint of two points:

With explicit Point objects, the output is also a Point object:

## Scope(5)

Midpoint works in 2D:

Midpoint works in 3D:

Midpoint works in nD:

Midpoint works on Point:

Midpoint works on symbolic coordinates:

## Properties & Relations(4)

The midpoint is equidistant from the two points:

For coordinates, Midpoint gives the same result as Mean:

The PerpendicularBisector passes through the Midpoint:

TriangleCenter[{a,b,c},"Midpoint"] is equivalent to Midpoint[{a,c}]:

## Possible Issues(2)

Midpoint behaves differently on symbolic points than Mean:

Midpoint behaves differently on Point objects than Mean:

Wolfram Research (2019), Midpoint, Wolfram Language function, https://reference.wolfram.com/language/ref/Midpoint.html.

#### Text

Wolfram Research (2019), Midpoint, Wolfram Language function, https://reference.wolfram.com/language/ref/Midpoint.html.

#### CMS

Wolfram Language. 2019. "Midpoint." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Midpoint.html.

#### APA

Wolfram Language. (2019). Midpoint. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Midpoint.html

#### BibTeX

@misc{reference.wolfram_2024_midpoint, author="Wolfram Research", title="{Midpoint}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/Midpoint.html}", note=[Accessed: 26-May-2024 ]}

#### BibLaTeX

@online{reference.wolfram_2024_midpoint, organization={Wolfram Research}, title={Midpoint}, year={2019}, url={https://reference.wolfram.com/language/ref/Midpoint.html}, note=[Accessed: 26-May-2024 ]}