I am considering the following question
Transform the expression
$\frac{\partial^2 f}{\partial x^2} + \frac{\partial^2 f}{\partial y^2}$
into one in $\rho$ and $\phi$.
Now my problem has arisen when considering $\frac{\partial \rho}{\partial x}$.
From considering $x=\rho cos(\phi)$, I obtain $\frac{\partial x}{\partial \rho} = cos(\phi)$ so then $\frac{\partial \rho}{\partial x} = \frac{1}{cos(\phi)}$
And yet in the book I am looking at, they instead used $\rho = (x^2+y^2)^{1/2}$ to obtain $\frac{\partial \rho}{\partial x} = \frac{x}{(x^2+y^2)^{1/2}}=\frac{\rho cos(\phi)}{\rho} = cos{\phi}$ !!!
It seems that maybe where I am going wrong is by not accounting for $y$ in the partial derivative of $\rho$. However I don't understand why I should take it into account. As I am taking the partial derivative, and I not just taking the derivative where there is an $x$ explicitly stated? (Although I do see a bit of a problem using my 'rule', because if I were to take the other expression for $\rho$ as $y=\rho sin(\theta)$, then I would get $\frac{\partial \rho}{\partial x} = 0$. Perhpas I misunderstood the partial derivative as only taking the derivative when a variable is explicitly stated....