This is probably a very easy question, but I'm stuck at it for hours now. In what follows, $\mathcal{B}(\mathbb{R})$ is the space of all bounded Borel measurable functions on $\mathbb{R}$. Let $\mathcal{H}$ be a Hilbert space, $A$ a bounded self-adjoint operator on $\mathcal{H}$ and $\psi \in \mathcal{H}$ be fixed. By Riesz-Markov Theorem, there exists a measure $\mu_{\psi}$ on $\sigma(A)$ (the spectrum of $A$) such that: $$\langle \psi, f(A)\psi\rangle = \int_{\sigma(A)}f(\lambda)d\mu_{\psi}(\lambda) $$ for every continuous function $f$ defined on $\sigma(A)$. Thus, if $g\in \mathcal{B}(\mathbb{R})$ we can define $g(A)$ by the rule: $$\langle \psi, g(A),\psi\rangle = \int_{\sigma(A)}g(\lambda)d\mu_{\psi}(\lambda)$$ for every $\psi \in \mathcal{H}$. The polarization identity allows us to obtain $\langle g(A)\psi,\phi\rangle$ from the above identity. If $T_{\psi}$ is a bounded linear operator $T_{\psi}:\mathcal{H}\to \mathcal{H}$ given by $\phi \mapsto T_{\psi}(\phi) := \langle g(A)\psi, \phi\rangle$, then, by Riesz Representation Theorem there exists $\varphi \in \mathcal{H}$ such that: $$T_{\psi}(\phi) = \langle \varphi, \phi \rangle $$ for every $\phi \in \mathcal{H}$. Thus, we may define $g(A):\mathcal{H}\to \mathcal{H}$ as the linear map satisfying: $$g(A)\psi := \varphi$$
Question: $g(A)$ is linear by construction but how can I prove it is bounded? Also, using only the above construction, if $g$ is real valued, does it follow that $g(A)$ is self-adjoint?