What is the fastest way (fewest trigonometric and square root operations) to transform between one radius and angle to that of a polar coordinate system with a different centerpoint? I.e. the polar equivalent of multiplying by the basis matrix in Cartesian coordinates to convert from one coordinate system to another?
E.g. some back of the napkin math - that I'm hoping there is a more efficient way to do - to transform A (with radius r and angle $\theta$) to S where the two centers are on the x axis separated by distance d (for simplicity the unit vectors of the two systems' 0 angles are assigned as (1, 0), and $r_A \leq d$):
$$ x_A = r_A\cos \theta_A \\ y_A = r_A\sin \theta_A \\ x_S = d + x_A \\ y_S = y_A $$
$$ r_S = \sqrt{x_S^2 + y_S^2} \\ = \sqrt{(d + x_A)^2 + y_A^2} \\ = \sqrt{d^2 + 2dx_A + x_A^2 + y_A^2} \\ = \sqrt{d^2 + 2dr_A\cos \theta_A + r_A^2} $$
$$ \theta_S = \arctan \frac{y_S}{x_S} \\ = \arctan \frac{y_A}{d + x_A} \\ = \arctan \frac{r_A\sin \theta_A}{d + r_A\cos \theta_A}$$
A way to write a circle centered somewhere else other than the origin in polar coordinates is as follows:
$$r = r_0cos(\theta-\phi)+\sqrt{a^2-r_0^2sin^2(\theta-\phi)}$$
This is a circle of radius $a$ centered at the polar coordinate $(r_0,ϕ)$, and with $(r, \theta)$ representing any arbitrary point on the circle. If you want to change location of the circle, simply swap in the new $(r_0,ϕ)$ values.
Proof, a circle centered at the equivalent of cartesian coordinate (4,3)