Let's assume the first circle with origin (x1, y1) and radius r1 and the second
circle with origin (x2, y2) and radius r2. The order of the cicles does not
matter.
We can calculate the distance between the two origins:
d = sqrt(x2-x1)^2 + (y2-y1)^2)
(sqrt is the square root operation)
If d = 0, and r1 = r2, then the cicles are entirely overlapping, they intersect
everywhere.
If d > r1 + r2, then the circles are too far apart, and there is no intersection.
If d < abs(r1-r2), then the circle with the smaller radius is inside the circle
with the larger radius, and there is no intersection. (abs is the absolute
value.)
If d = r1 + r2, or d = abs(r1-r2), then there is one intersection point.
Otherwise, there are two intersection points.