Consider two circles with centres on the $x$-axis. What function can describe the line formed on the top of these circles?
By commonsense, I can tell, a variable in that hypothetical function changes from $0-1$ (or vice versa) to produce the exact line on the circles (black), red line, and blue line. But I have no idea where to start.
To provide a physical perspective, imagine we lay a string on the circle. Depending on the string material, it forms the blue line (rigid string), the red line (flexible string), and the black line (ultra soft string).
Or imagine the black circles are some physical fields (electric, magnetic, etc) around particles (centres of the circles). How do we map the field boundaries?