I have been trying to build an intuitive idea/example of the spectral representation of an operator, namely a "more visual" idea of the formula $$A=\int_{\sigma (A)} \lambda dP(\lambda).$$
For instance, I am considering the operator $A:L^2[0,1]\to L^2[0,1]$ such that $(A\varphi)(x)=x\varphi(x)$, as i believe that is rather intuitive to understand the action of this operator.
The spectrum of $A$ is the set $[0,1]$ and for each $E\subset\sigma(A)$, the projection valued spectral measure is given as $$(P(E)\varphi)(x)=\chi_E(x)\varphi(x).$$
But I am failing in build the bridge between the spectral measure and the spectral representation. Moreover, I would like give visual representations of what's going on but I fail completly.
Any help is appreciated.
Thank you for your time.
The intuition is exactly the same as for regular integration. Note that if you partition $[0,1]$ into small almost disjoint intervals of length $\Delta x=\dfrac{1}{n}$. Then $$\int_{0}^{1} f d\mu \approx \sum_{i} f(x_i)\mu (\Delta x) $$ The spectral decomposition of a multiplication operator similarly could be represented as:
$$\hat{x} \approx \sum_i x_iP(\Delta x) $$
You must intuitively think of $P(\Delta x)$ as an infinitesimal projection operator. Notice that this agrees with your explicit example where $P(E)=1_E$ since in that case $(P(\Delta x)\phi)(x)=\psi(x)$ where $\psi$ is only supported on that small $\Delta x$ interval (and is equal to $\phi$ there) but zero otherwise. Then notice that you can easily see that $$(\hat{x}\psi)(x) =x\psi(x) \approx \sum_i x_iP(\Delta x)\psi(x_i) $$
More rigorously we have the following result: Given a domain $\Omega$, a bounded measurable function $f$ and a PVM $\Pi$ then one can partition $\Omega$ into disjoint sets $\Omega_i$ (i=1,2,...) such that for any choice of $w_i \in \Omega_i$ the partial sum
$$\sum_{i=1}^{n}f(w_i)\Pi(\Omega_i)$$
converges to $$\int_\Omega f(w)d\Pi(w)$$
in the operator norm
where $\int_\Omega f(w)d\Pi(w)$ is defined by its action as follows:
$$\bigg<\int_\Omega f(w)d\Pi(w)\psi, \phi\bigg>= \int_\Omega f(w)d\Pi_{\psi,\phi}(w)$$
and $$\Pi_{\psi,\phi}(E)=\big<\Pi(E) \psi, \phi \big>$$
See Bogachev (real and functional analysis) theorem 7.9.3 for proof. The significance of the above result is that it says that the integral with respect to a projection valued measure (initially defined by its action on vectors as above) can be seen as a partial sum of projection operators converging in the operator norm which is closer to our intuition of what integration should be.