In geometry, a cevian is any line segment in a triangle with one endpoint on a vertex of the triangle and the other endpoint on the opposite side. Medians, altitudes, and angle bisectors are special cases of cevians. The name cevian comes from the Italian engineer Giovanni Ceva, who proved a well known theorem about cevians which also bears his name.
The length of a cevian can be determined by Stewart's Theorem. In the diagram, the length can be determined from the formula
If the cevian happens to be a median, its length can be determined from the formula
If the cevian happens to be an angle bisector, its length can be determined from the formula
If the cevian happens to be an altitude, its length can be determined from the formula