The Pythagorean theorem states that in any right triangle, the square of the hypotenuse is equal to the sum of the squares of the two legs. The theorem can be expressed as a2 + b2 = c2, where a and b are the legs and c is the hypotenuse. The distance formula is used to calculate the distance between two points in a coordinate plane. It is calculated by taking the square root of the sum of the squares of the differences between the x-coordinates and y-coordinates of the two points. For example, to find the distance between points (3,17) and (5,27), you would calculate √(5-3)2 +