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
Pythagorean theorem the dot product of vectors. The dot product is called the "standard" inner product or the "Euclidean" inner product. However, other inner products are possible. The concept of length is replaced by the concept of the norm ||v|| of a vector v, defined as: In an inner-product space, the Pythagorean theorem states that for any two orthogonal vectors v and w we have Here the vectors v and w are akin to the sides of a right triangle with hypotenuse given by the vector sum v + w. This form of the Pythagorean theorem is a consequence of the properties