From the creation and annihilation operators commutator,
Therefore is either zero or an energy eigenstate with energy . Since each energy level of the one-dimensional quantum harmonic oscillator is nondegenerate, . Its norm determines the coefficient:
Choosing the conventional phases of the number states gives
Solving the given relation for the position operator gives
Put . Repeated use of the ladder relations gives
Hence
In first-order nondegenerate perturbation theory, the component is omitted from the state correction, while and . It follows that
which is the first-order ground state of the quartic oscillator.