When deriving the Ginzburg-Landau equations, we minimize the following free energy over the complex function $\psi$:
$$F = \int dV \left \{\alpha |\psi|^2 + \frac{\beta}{2}|\psi|^4 + \frac{1}{2m^*} \mid (\frac{\hbar}{i}\nabla - \frac{e^*}{c}A)\psi \mid^2 + \frac{h^2}{8\pi}\right \} .$$
We take a variation over $\psi$. I know there are two ways to do that: (1) write $\psi$ as $\mid \psi \mid e^{i\phi}$, then vary $\mid \psi (r)\mid$ and $\phi(r)$ separately; (2) vary $\psi^*$ as if $\psi$ remained unchanged. The former gives two differential equations, the latter gives one complex equation.
My question is: why is the second way valid? And how to show the two ways are equivalent?