I was going through one of the examples in Griffith's Quantum book and there was a few things in Example 3.3 that I didn't understand that I was hoping to get some clarification on.
For instance, we first find that the eigenfunctions of the position operator x, have to be
Starting from the eigenvalue equation
$xg_{y}(x) = yg_{y}(x)$
We get
$g_{y}(x) = A\delta(x-y)$
The first thing I didn't understand was that Griffith's states that these functions are not square integrable. I'm not quite sure what's wrong with the integral
$ \lvert A \rvert \int \delta^{2}(x-y) dx$
The integral without delta square would converge to 1, but squaring the function somehow breaks it?
The other thing I didn't understand was how to get from
$\int g_{y'}^{*}(x)g_{y}(x)dx = \lvert A \rvert \int \delta(x-y')\delta(x-y) dx = \lvert A \rvert^{2} \delta(y-y')$
How do you get from the multpilication of the two delta functions to the single delta function on the right?
Thanks for any help