McIntyre Quantum mechanics while describing Stern-Gerlach experiment
The results of the experiment suggest an interaction between a neutral particle and a magnetic field. We expect such an interaction if the particle possesses a magnetic moment $\boldsymbol{\mu}$. The potential energy of this interaction is $E=-\mu \cdot \mathbf{B}$, which results in a force $\mathbf{F}=\nabla(\boldsymbol{\mu} \cdot \mathbf{B})$. In theStern-Gerlach experiment, the magnetic field gradient is primarily in the z-direction, and the resulting -component of the force is $$ \begin{aligned} F_{z} &=\frac{\partial}{\partial z}(\boldsymbol{\mu} \cdot \mathbf{B}) \\ & \cong\mu_{z} \frac{\partial B_{z}}{\partial z} \end{aligned} $$
Why wasn't $\boldsymbol{\mu}$ differentiated in $$ \begin{aligned} F_{z} &=\frac{\partial}{\partial z}(\boldsymbol{\mu} \cdot \mathbf{B}) \\ & \cong \mu_{z} \frac{\partial B_{z}}{\partial z}~? \end{aligned} $$ Won't $\boldsymbol{\mu}$ depend on $z$ as the particle travels through space?