In geometry, Stewart's theorem yields a relation between the lengths of the sides of the triangle and the length of a cevian of the triangle. Its name is in honor of the Scottish mathematician Matthew Stewart who published the theorem in 1746.
Let , , and be the lengths of the sides of a triangle. Let be the length of a cevian to the side of length . If the cevian divides into two segments of length and , with adjacent to and adjacent to , then Stewart's theorem states that