For a quantum harmonic oscillator, write down a differential equation for the wave function of the ground state, by directly deriving it from the defining property $a|0\rangle = 0$. Solve such a differential equation (up to normalisation).
Attempt: $$ a = \sqrt{\frac{m\omega}{2\hbar}} \left( x + \frac{i}{m\omega}p \right) \\ p = -i\hbar \frac{d}{dx} \\ \left( x + \frac{\hbar}{ m \omega} \frac{d}{dx} \right) | 0 \rangle = 0$$
How do I proceed from here?