Taking second partial derivative of spherically symmetrical wavefunction $\psi(r)$ with respect to $x$ only

laplacianmultivariable-calculuspartial derivativespherical coordinates

I am currently studying Optics, fifth edition, by Hecht. In chapter 2.9 Spherical Waves, when discussing the spherical coordinates $x = r \sin(\theta) \sin(\phi)$, $y = r \sin(\theta)\sin(\phi)$, $z = r \cos(\theta)$, the author says that the Laplacian operator is

$$\nabla^2 = \dfrac{1}{r^2} \dfrac{\partial}{\partial{r}} \left( r^2 \dfrac{\partial}{\partial{r}} \right) + \dfrac{1}{r^2 \sin(\theta)} \dfrac{\partial}{\partial{\theta}} \left( \sin(\theta) \dfrac{\partial}{\partial \theta} \right) + \dfrac{1}{r^2 \sin^2 \theta} \dfrac{\partial^2}{\partial \phi^2}. \tag{2.67}$$

I just asked how this is derived. User David Quinn commented with this, showing me that this derivation was far more tedious than I had expected.

The author then continues as follows:

We can obtain this result without being familiar with Eq. (2.67). Start with the Cartesian form of the Laplacian, Eq. (2.61); operate on the spherically symmetrical wavefunction $\psi(r)$; and convert each term to polar coordinates. Examining only the $x$-dependence, we have
$$\dfrac{\partial{\psi}}{\partial{x}} = \dfrac{\partial{\psi}}{\partial{r}} \dfrac{\partial{r}}{\partial{x}}$$
and
$$\dfrac{\partial^2{\psi}}{\partial{x}^2} = \dfrac{\partial^2{\psi}}{\partial{r^2}} \left( \dfrac{\partial{r}}{\partial{x}} \right)^2 + \dfrac{\partial{\psi}}{\partial{r}} \dfrac{\partial^2{r}}{\partial{x}^2}$$

I don't understand why the second derivative with respect to $x$ is $\dfrac{\partial^2{\psi}}{\partial{r^2}} \left( \dfrac{\partial{r}}{\partial{x}} \right)^2 + \dfrac{\partial{\psi}}{\partial{r}} \dfrac{\partial^2{r}}{\partial{x}^2}$. We have that $\psi$ is only a function of $r$, so should we not get

$$\dfrac{\partial^2{\psi}}{\partial{x}^2} = \dfrac{\partial{\psi}}{\partial{r}} \dfrac{\partial^2{r}}{\partial{x}^2}?$$

I would greatly appreciate it if people would please take the time to clarify this.

Best Answer

I think there might be a typo in what you wrote. You have a $\frac{\partial^2 \psi}{\partial x^2}$ on both sides of your equation.

Anyway, you can just use the product and chain rule. Start with $$\frac{\partial \psi}{\partial x}=\frac{\partial \psi}{\partial r}\frac{\partial r}{\partial x}$$ We know that $\frac{\partial}{\partial x}=\frac{\partial}{\partial r} \frac{\partial r}{\partial x}$, so then $$\frac{\partial^2 \psi}{\partial x^2}=\frac{\partial}{\partial x} \left(\frac{\partial \psi}{\partial r}\frac{\partial r}{\partial x}\right)$$ $$=\frac{\partial^2 \psi}{\partial r^2}\frac{\partial r}{\partial x} \frac{\partial r}{\partial x} + \frac{\partial^2 r}{\partial x^2} \frac{\partial \psi}{\partial r}$$ $$=\frac{\partial^2 \psi}{\partial r^2}\left(\frac{\partial r}{\partial x}\right)^2 + \frac{\partial \psi}{\partial r}\frac{\partial^2 r}{\partial x^2}.$$

Related Question