I have read in my textbook that dirac delta function is regarded as wave function. But isn't it violating the condition required for a wave function ie .
It becomes infinite $ δ(x-x_0)$ at $x=x_0$ but wave function should be finite everywhere How can this be explained??
Book- Quantum physics by Hc verma, page 27, reprint 2018 edition.