The equation comes from the distance formula. The distance between any point on the circle (x, y) and the center (h, k) is equal to the radius.