We will work with conic sections with a focus at the origin.
| Polar equations of conic sections: If the directrix is a distance $d$ away, then the polar form of a conic section with eccentricity $e$ is $$r(\theta) = \frac{ed}{1-e \cos(\theta-\theta_0)},$$ where the constant $\theta_0$ depends on the direction of the directrix. |
|
These formulas are explained and derived in the following video: