In a right-angled triangle with shorter sides \(a\), \(b\), and hypotenuse \(c\):
\[ a^2 + b^2 = c^2 \]
This formula applies only in right-angled triangles.
Pythagoras’ theorem links the sides of a right triangle: \(a^2+b^2=c^2\). It is essential in geometry and distance calculations.