2 In geometry, a median of a triangle is a line segment joining a vertex to the midpoint of the opposing side. Every triangle has exactly three medians; one running from each vertex to the opposite side.
3 In geometry, an altitude of a triangle is a straight line through a vertex and perpendicular to (i.e. forming a right angle with) the opposite side or an extension of the opposite side. The intersection between the (extended) side and the altitude is called the foot of the altitude. This opposite side is called the base of the altitude. The length of the altitude is the distance between the base and the vertex.