How to find the equation of a circle symmetric to a line?

How to find the equation of a circle symmetric to a line?

First, find the center coordinates (a, b) of the circle, and find out the radius r of the circle
Then, the coordinates (C, d) of the point whose center coordinates of the element are symmetric with respect to the line are obtained
So the equation of a circle with respect to a linear symmetry is: (x-C) ^ 2 + (Y-D) ^ 2 = R ^ 2