let $H$ be a Hilbert space, $T_1,T_2 \in L(H)$ two self-adjoint operators such that $T_1T_2=T_2T_1 \in L(H)$, i.e. they commute and their product is continuous. $E_1,E_2$ are their assigned spectral measures.
Let $f: \sigma(T_1)\rightarrow \mathbb{K}, g: \sigma(T_2)\rightarrow \mathbb{K}$ be borel-measurable functions. Show that the operators also commute: $\psi_1(f)\psi_2(g)=\psi_2(g)\psi_1(f), \ i=1,2$ and $ \psi_i$ being the borel functional calculus with respect to $T_i$.
An Idea would be:
Let $f=\chi_A,\ g=\chi_B$ be the indicatorfunctions for A,B each a borelset in the spectrum of $T_1,T_2$. $G:= \psi_1(f)\psi_2(g)$, with that I inspect $\left<Gx,x\right>=\left<x,G^*x\right>$. If I can show from there that $G=G^*$, one could approximate arbitrary measurable and bounded $f,g$ with a linear combination of simple functions. Would this be a good way?