The Pythagorean Theorem can be applied in any right triangle if we are given two of the three lengths of its sides.
A right triangle forms a longer side called the hypotenuse (c) and two shorter sides called the legs (a and b).
The Pythagorean Theorem states:
![a^2+b^2=c^2](https://img.qammunity.org/2023/formulas/mathematics/high-school/fdnnfwrccw5g60jmi691r5gcz9ekxf8waa.png)
Solving for a:
![a=√(c^2-b^2)](https://img.qammunity.org/2023/formulas/mathematics/college/xz94bbc8i531m7m6nl9czhlzrta1re7bhz.png)
Substituting c = 25, b = 24:
![\begin{gathered} a=√(25^2-24^2) \\ \\ a=√(625-576)=√(49)=7 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wy68686webxsdw0jb6w9kuhymobc7qr514.png)
a = 7