Pythagoreanism to have survived as part of, or deeply influenced, the Bacchic cults and Orphism. Pythagoras was already in ancient times well known for the mathematical achievement of the Pythagorean theorem. Although the Babylonians had used this formula for centuries, Pythagoras had discovered that "in a right-angled triangle the square of the hypotenuse is equal to the squares of the other two sides". In ancient times Pythagoras was also noted for his discovery that music had mathematical foundations. Antique sources that credit Pythagoras as the philosopher who first discovered music intervals also credit him as the inventor of the monochord, a
Viviani's theorem Viviani's theorem Viviani's theorem, named after Vincenzo Viviani, states that the sum of the distances from "any" interior point to the sides of an equilateral triangle equals the length of the triangle's altitude. This proof depends on the readily-proved proposition that the area of a triangle is half its base times its height—that is, half the product of one side with the altitude from that side. Let ABC be an equilateral triangle whose height is "h" and whose side is "a". Let P be any point inside the triangle, and "u, s, t" the distances of P from the sides.