The following theorems are from "Introductory functional analysis with applications" by Kreyszig.
My question reagards an apparent contradiction in the theorems:
1-st (p.525),
Theorem 1: If a linear operator $T$ is defined on all of a complex Hilbert space $H$ and satisfies \begin{equation} \langle Tx,y \rangle=\langle x,Ty \rangle , \end{equation} then $T$ is bounded.
(p.533),
Definition 1: Let $T: D(T) \rightarrow H$ be a linear operator which is densely defined on $H$, that is, $\overline{D(T)}=H$. Then $T$ is called symmetric if \begin{equation} \forall x,y \in D(T):\langle Tx,y\rangle=\langle x,Ty \rangle . \end{equation}
(p.534),
Definition 2: Let $T: D(T) \rightarrow H$ be a linear operator which is densely defined on $H$, that is, $\overline{D(T)}=H$. Then $T$ is called self-adjoint if \begin{equation} T=T^* . \end{equation}
$T^*$ is the Hilbert-adjoint operator defined on p.527. After which we have a definition of a closed linear operator on p.535 and a closure of a linear operator on p.537. The following theorem on p.537 is,
Theorem 2: Let $T: D(T) \rightarrow H$ be a linear operator which is densely defined on $H$, that is, $\overline{D(T)}=H$. Then if $T$ is symmetric, its closure $\overline{T}$ exists and is unique.
So here is my concern. If $T$ is symmetric on the whole space $H$ (hence self-adjoint), it must be bounded. If it's unbounded it can be at most symmetric on a dense domain $D(T)$ in $H$. However if such an operator has a symmetric closure $\overline{T}$, then its domain $D(\overline{T})=\overline{D(T)}=H$ (even if you look at the proof of Theorem 2 in the book, the way $\overline{T}$ is defined, I can't see how it's domain is anything different than $H$), but it still continues to be unbounded at some point in $D(T)$ since it's an extension. Then how doesn't that violate Theorem 1?