Recently I found myself having to teach students how to find the slope of a tangent line to a curve in $\mathbb R^2$ given in polar coordinates by the equation $r = f(\theta)$. The students' calculus book instructs them that surely the slope of the tangent line must be given by $\frac{dy}{dx}$ and uses the chain rule to calculate $$\frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta}$$ Then, using the fact that $x = r\cos\theta$ and $y = r\sin\theta$ they are therefore able to find a formula for $\frac{dy}{dx}$ in terms of $r$ and $\theta$. There is however a problem with this line of reasoning, namely that there is no compelling reason for $y$ to be defined even locally as a function of $x$. Knowledge of the implicit function theorem allows one to formulate the hypothesis necessary to make the above use of the chain rule correct. However it would be nice to justify the use of the chain rule here using only methods available to a first year calculus student. My question is therefore
Is there a nice way (intuitive or rigorous) of explaining when and why $y$ is a differentiable function of $x$ in this case, using only methods available to a first year calculus student?
Yes, it is possible to look through the proof of the implicit function theorem and simplify it in this case, but I am especially interested in hearing the thoughts of experienced teachers, so I hope I am justified in asking the question.