Triangle ABC has sides of lengths 5 cm, 12 cm, and 13 cm. Determine whether triangle ABC is a right triangle.
To check if a triangle is a right triangle, you can use the Pythagorean theorem, which states that in a right triangle, the square of the length of the hypotenuse (the longest side) is equal to the sum of the squares of the lengths of the other two sides. If we let $c$ be the length of the hypotenuse and $a$ and $b$ be the lengths of the other sides, then according to the theorem:
$$ c^2 = a^2 + b^2 $$