I realise $$dr = dx\hat{i} +dy\hat{j}$$
I'm trying to work out $dr$ in polar co-ordinates.
At first thought $$dx = drcos(\theta)$$
This is of course wrong as I realised
$$ dx = drcos(\theta +d\theta)$$
I've tried using the cos addition rule
$$ dx = drcos(\theta)cos(d\theta)- drsin(\theta)sin(d\theta)$$
but unsure how to recover the result $$ dx = drcos(\theta)-rsin(\theta)d\theta$$
Have I made a mistake in a previous part?
In general, to find the differential for a product, use the product rule: $$\frac{d(xy)}{dz}=\frac{dx}{dz} y+\frac{dy}{dz}x$$So $$d(xy)=y\,dx+x\,dy$$So in this case, $$\begin{align}d(r\cos\theta)&=\cos\theta\,dr+r\,d(\cos\theta)\\&=\cos\theta\,dr+r\,\frac{d\cos\theta}{d\theta}\,d\theta\\&=\cos\theta\,dr-r\sin\theta\,d\theta\end{align}$$