Let x represent the distance between Ann Arbor and Detroit, x+11 represent the distance between Ann Arbor and Toledo and x+22 represent the distance between Toledo and Detroit. Since the cities lie on the vertices of a right triangle, we can use the Pythagorean Theorem.
x2 + (x+11)2 = (x+22)2
x2 + x2 + 22x + 121= x2 + 44x + 484 Arrange all of the terms on one side to get x2 - 22x - 363 = 0 Factor the trinomial to get
(x+11)(x-33) = 0. The solutions to the equation are x = -11 and x = 33. Since it does not make sense for the distance to be negative, disregard -11. Therefore the distance between Ann Arbor and Detroit is 33 miles.