Find the equation of circle C whose center is on the line y = 2x and passes through the origin and point m (3,1)

Find the equation of circle C whose center is on the line y = 2x and passes through the origin and point m (3,1)

If the center of the circle (a, 2a) is set, then | OC | = | om |, that is: A2 + (2a) 2 = (A-3) 2 + (2a-1) 2, the solution is a = 1, so the center coordinates (1, 2), radius is: 5. The equation of circle C: (x-1) 2 + (Y-2) 2 = 5