My knowledge in spectral theory is very limited, but lately I heard talking about the spectral function of an operator and how it's important. By curiosity I tried to look for a definition and a meaning of it on the internet but unfortunally I found nothing only spectral functions of some specific operators but no general definition ! even in some books about spectral theory I search for this mathematical object but in vain.
Can any one give me a reference where I can find such definition or maybe the definition itself ? My second question is why such function is important and what does it mean? Thank you for your time.
This is linked with the spectral theorem. There are multiple formulations of this powerful theorem, one is the following :
$\mu$ is called the spectral measure and $F$ the spectral function. In a certain way, we can diagonalize $A$ on another space as we do for linear operators in finite dimension : $A$ is said to be a multiplication in $L^2$. $L^p$ spaces are well knowed and studied, especially for the case $p=2$ (it is an Hilbert space in this case), so a multiplication on it is easier to deal with rather than an operator on an abstract Hilbert space $\mathcal{H}$.
A very good reference to begin is the book "Methods of modern mathematical physics" by Reed & Simon. The above theorem is in the first volume.