The quantum harmonic oscillator has a Hamiltonian given by
$\displaystyle-\frac{\hbar^2}{2m}\frac{d^2\psi}{dx^2}+\frac{1}{2}m\omega^2x^2\psi=E\psi$.
This is a spectral problem, but we know that the ground state energy (i.e. the smallest eigenvalue $E$) is given by $E=\frac{1}{2}\hbar\omega$. This turns the problem into a 2nd order linear ODE - which begs for two linearly independent solutions (cf. the [Encyclopedia of Mathematics entry][1]). However, any first course in quantum mechanics should reveal that "the" solution is given by a Gaussian function (cf. the [Wikipedia article][2] and [this][3]). What is the other solution?
My thoughts:
(a) The other solution is not normalizable (i.e. not $L^2(\mathbb{R})$).
(b) The existence of two linearly independent solutions only holds for finite intervals $(\alpha, \beta)$ (notation as in the Encyclopedia of Mathematics article). But even so, we can artificially restrict the domain to a finite interval, so what is the other solution?
I look forward to some clarification.
[1]: https://encyclopediaofmath.org/wiki/Fundamental_system_of_solutions#:~:text=A%20set%20of%20real%20(complex,(complex)%20numbers%20C1%E2%80%A6 [2]: https://en.wikipedia.org/wiki/Quantum_harmonic_oscillator [3]: http://math-wiki.com/images/8/8a/Quantum_harmonic_oscillator_lecture.pdf
If you make an ansatz of the form $\psi(x) = e^{\alpha x^2}$, you get $$\frac{\partial \psi}{\partial x} = -2 \alpha x e^{-\alpha x^2}$$ and $$\frac{\partial^2 \psi}{\partial x^2} = -2\alpha e^{-\alpha x^2}+4\alpha^2x^2 e^{-\alpha x^2}.$$ That means that we get the equation $$ -\frac{\hbar^2}{2m}(-2\alpha +4\alpha^2x^2)+\frac{1}{2}m\omega^2 x^2 = E$$ To cancel the quadratic term, we can have $\alpha = \pm \frac{m \omega}{2 \hbar}$. The solution with negative $\alpha$ is not normalizable, so your first reason is correct. This would also yield a negative energy, which is something that physicists are allergic to.