For the proposed Gaussian wave packet, differentiation gives
Inserting these in the Time-dependent Schrödinger equation with Hamiltonian , its right-hand side becomes
Equating the constant and quadratic coefficients with yields
Conversely these two equations make the substitution an identity, so they are sufficient for the Gaussian evolution in an inverted harmonic oscillator.