Midpoint
Midpoint[{p1,p2}]
gives the midpoint of the line segment connecting the points p1 and p2.
Details
- Midpoint gives a list of coordinates if p1 and p2 are lists of coordinates.
- Midpoint gives a Point object if p1 and p2 are Point objects.
- The pi in Midpoint[{p1,p2}] can be lists of coordinates or explicit Point objects.
- Midpoint[Line[{p1,p2}]] is equivalent to Midpoint[{p1,p2}].
- Midpoint[{p1,p2}] gives the point that is halfway between the points p1 and p2.
- Midpoint works in any number of dimensions.
- Midpoint can be used with symbolic points in GeometricScene.
Examples
open allclose allBasic Examples (1)
Scope (5)
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}]:
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