Minimizing this energy with respect to infinitesimal variations in ψ ψ ( r → → ) , and holding the number of atoms constant, yields the Gross–Pitaevski equation (GPE) (also a non-linear Schrödinger equation):