Understanding triangle medians
A triangle median begins at a vertex. It ends at the opposite side midpoint. This construction divides the opposite side into equal segments.
All three medians meet at the centroid. The centroid is the triangle’s balance point. Uniform triangular material balances at this location.
The centroid divides every median predictably. The vertex section occupies two thirds. The midpoint section occupies one third.
Medians, altitudes, and angle bisectors
A median targets the opposite midpoint. An altitude creates a perpendicular segment. An angle bisector divides one vertex angle equally.
These segments may overlap in special triangles. Equilateral triangles make all three constructions identical. Isosceles triangles create one shared symmetry segment.
Why the longest side has the shortest median
The median formula subtracts the opposite side squared. A larger opposite side reduces the median radicand. Therefore, the longest side faces the shortest median.
This inverse relationship helps verify results. It also catches mislabeled side inputs. The summary identifies both extreme median lengths.
Coordinate geometry mode
Coordinate mode first measures all three sides. It then calculates each opposite midpoint. Finally, it forms the three median line equations.
The coordinate centroid uses simple averaging. Its x-coordinate averages all vertex x-values. Its y-coordinate averages all vertex y-values.
Practical uses
Medians support geometric design and structural layout. They help locate balanced attachment points. They also appear in computer graphics and surveying.
Teachers use medians for theorem demonstrations. Students use them for triangle proofs. Designers use centroids when placing labels and shapes.
Frequently asked questions
What is a median of a triangle?
A median is a segment joining a vertex to the midpoint of the opposite side.
How many medians does a triangle have?
Every nondegenerate triangle has exactly three medians, one from each vertex.
Do all triangle medians intersect?
Yes. All three medians meet at one common point called the centroid.
How does the centroid divide each median?
The centroid creates a 2:1 ratio. The vertex-to-centroid part is twice the remaining part.
Can a median also be an altitude?
Yes. This happens along symmetry lines in isosceles and equilateral triangles.
Are all medians equal in an equilateral triangle?
Yes. Equal sides create equal medians, altitudes, and angle bisectors.
Can fractions be entered?
Yes. Inputs such as 7/8, 3/2, and negative coordinate fractions are supported.
Why are invalid side combinations rejected?
Three lengths must satisfy every triangle inequality. Otherwise, no closed triangle exists.
Does coordinate mode find line equations?
Yes. It finds each opposite midpoint and produces every median line equation.
What is an exact median form?
When a suitable integer radicand exists, the calculator simplifies the square root symbolically.
Can I export the calculation?
Yes. CSV, JSON, PDF, printable, copied, shared, and SVG diagram exports are included.
Technical notes
Server validation protects every submitted value. CSRF tokens protect normal browser submissions. Output escaping reduces injection risks.
The calculator uses double-precision floating-point arithmetic. PHP BCMath detection can support future extensions. Current geometric square roots still require floating-point evaluation.
The same file exposes optional JSON output. Submit the form to this page with ?api=1. The response contains success, errors, and raw results.
Built-in formula tests are available through ?self_test=1. They verify standard, equilateral, invalid, and coordinate cases.
JavaScript improves diagrams and exports. Core calculations still work without JavaScript. The server remains the final validation authority.