You essentially have an answer phrased in terms of operators in the comments by @Manuel. Here, I would like to introduce (and more ambitiously, convince) you to the idea that studying these guys in terms of their graphs is more intuitive/natural. In fact, set theoretically, a function is often defined via the graph, so this shouldn’t be a huge surprise. When discussing this via graphs, the basic definitions/concepts surrounding bounded/unbounded operators is almost identical, so things won’t seem so ad-hoc.
The main observation if that for a function $T:V\to W$ between vector spaces, we have that $T$ is linear if and only if its graph is a linear subspace. This allows us to go back and forth between linear maps and their graphs, and it turns out in this part of functional analysis, a lot can be phrased conveniently in terms of graphs (or linear relations more generally).
Easy Preliminaries
Throughout, we let $X,Y$ be sets, we let $V,W$ vector spaces over a field $\Bbb{F}$, we let $E,F$ be Banach spaces (over the same field $\Bbb{R}$ or $\Bbb{C}$), and we let $H$ (or $H_1,H_2$) be Hilbert spaces.
Definition (Relations Between Sets).
A relation from $X$ into $Y$ is simply a subset $\Gamma$ of $X\times Y$. We define the domain and range/image of the relation in the obvious manner:
- $\mathrm{dom}(\Gamma):=\{x\in X\,:\, \text{there is a $y\in Y$ such that $(x,y)\in \Gamma$}\}$
- $\mathrm{ran}(\Gamma):=\{y\in Y\,:\, \text{there is an $x\in X$ such that $(x,y)\in \Gamma$}\}$.
We say that $\Gamma$ is everywhere-defined if $\mathrm{dom}(\Gamma)=X$.
A relation $\Gamma$ is said to be the graph of a function if it satisfies the “vertical line test”: for each $x\in X$ and $y_1,y_2\in Y$, if $(x,y_1),(x,y_2)\in\Gamma$, then $y_1=y_2$.
Often times people may call such a $\Gamma$ a partial relation (and the associated function a partial function) to emphasize the fact that the domain is not necessarily all of $X$. However, when dealing with unbounded operators, this will be the most common situation, so it is just more convenient to simplify terminology and omit the “partial” to allow this possibility in the definition and explicitly mention cases when things are everywhere-defined.
Definition (Linear relations)
A linear relation from $V$ into $W$ simply means a vector subspace $\Gamma$ of the product $V\times W$. From above, we have the concepts of the domain and range of $\Gamma$. We now define in addition, two more sets
- $\ker(\Gamma):=\{v\in V\,:\, (v,0)\in \Gamma\}=\text{pr}_V\left(\Gamma \cap (V\times \{0\})\right)$, the kernel of $\Gamma$.
- $\mathfrak{M}(\Gamma):=\{w\in W\,:\, (0,w)\in\Gamma\}=\text{pr}_W\left(\Gamma\cap (\{0\}\times W)\right)$, the multivalued part of $\Gamma$.
In this linear context, if $\Gamma$ is the graph of a function, we often rather say it is the graph of an operator. Also, since $\Gamma$ is a vector subspace, the induced function is actually a linear map in the usual sense $\mathrm{dom}(\Gamma)\subset V\to W$).
It is a trivial exercise to verify that for a linear relation $\Gamma$ from $V$ into $W$, the sets $\mathrm{dom}(\Gamma), \mathrm{ran}(\Gamma), \ker(\Gamma),\mathfrak{M}(\Gamma)$ are actually vector subspaces of $V,W,V,W$ respectively; also $\Gamma$ is the graph of an operator if and only if the multivalued part is trivial, i.e $\mathfrak{M}(\Gamma)=\{0_W\}$.
Dual/Adjoint relations.
Now, for any linear relation, we can define an dual relation/adjoint relation between the dual spaces:
Definition (Dual relation)
Let $\Gamma$ be a linear relation from $V$ into $W$. We define the dual relation of $\Gamma$ to be the relation from $W^*$ into $V^*$ defined as
\begin{align}
\Gamma’:=\{(\omega,\nu)\in W^*\times V^*\,:\, \text{for all $(v,w)\in \Gamma$, $\omega(w)=\nu(v)$}\}.
\end{align}
It is easily verified that $\Gamma’$ is also a linear relation. Also, notice carefully that this goes from $W^*$ to $V^*$ even though originally we went from $V$ to $W$. This may seem ad-hoc but it’s not. Recall that if $T:V\to W$ is a linear map, then the dual map is $T’:W^*\to V^*$ defined as $T’(\omega):=\omega\circ T$. Then, we can easily see that $[\text{graph}(T)]’=\text{graph}(T’)$ as subspaces of $W^*\times V^*$. Also, writing things this way highlights a nice “symmetry” in the definitions I think. For example, it is very obvious that the inverse of the dual relation is the dual of the inverse relation (the inverse relation being defined in the obvious manner even at the set-theoretic level: $\Gamma^{-1}=\{(y,x)\,:\, (x,y)\in\Gamma\}$).
People often call this the adjoint and denote it as $\Gamma^*$, but we shall reserve this term for the Hilbert space case.
- The definition above makes perfect sense in the Banach space context as well, we simply have to remember that $E^*,F^*$ now mean the topological dual spaces (the space of continuous linear functionals).
- If $H_1,H_2$ are Hilbert spaces and $\Gamma$ a linear relation from $H_1$ into $H_2$, then $\Gamma’$ is a linear relation from $H_2^*$ into $H_1^*$, i.e $\Gamma’\subset H_2^*\times H_1^*$. We can now use the Riesz (conjugate-linear) isomorphism $H_i\cong H_i^*$ to get a subset $\Gamma^*\subset H_2\times H_1$. This will also be a subspace, called the adjoint relation of $\Gamma$. In other words, (say we choose inner products to be conjugate linear in the first slot and linear in the second slot)
\begin{align}
\Gamma^*=\{(\eta,\xi)\in H_2\times H_1\,:\, \text{for all $(x,y)\in\Gamma$, $\langle \xi,x\rangle_{H_1}=\langle \eta,y\rangle_{H_2}$}\}.
\end{align}
From now on, let us stick to the Banach space case (the Hilbert space case is nearly identical and just one Riesz isomorphism away). The main “theorem” (it’s simply a trivial unwinding of definitions) which will answer your questions is the following.
Theorem.
Let $\Gamma$ be a linear relation from a Banach space $E$ into a Banach space $F$. Then, the multivalued part of the dual relation $\Gamma’$ is the annihilator of the domain of $\Gamma$ in $E$, i.e
\begin{align}
\mathfrak{M}(\Gamma’)= [\mathrm{dom}(\Gamma)]^0:=\{\epsilon\in E^*\,:\, \text{for all $x\in \mathrm{dom}(\Gamma)$, $\epsilon(x)=0$}\}.
\end{align}
In particular, $\Gamma’$ is the graph of an operator if and only if $\mathrm{dom}(\Gamma)$ is dense in $E$.
To prove the first statement, we simply unwind definitions of everything:
\begin{align}
\mathfrak{M}(\Gamma’)&:=\{\epsilon\in E^*\,:\, (0_{F^*},\epsilon)\in \Gamma’\} \tag{def of multivalued part}\\
&:=\{\epsilon\in E^*\,:\, \text{for all $(x,y)\in \Gamma$, $\epsilon(x)=0_{F^*}(y)$}\} \tag{def of dual relation}\\
&=\{\epsilon\in E^*\,:\, \text{for all $(x,y)\in\Gamma$, $\epsilon(x)=0$}\}\\
&=\{\epsilon\in E^*\,:\, \text{for all $x\in \mathrm{dom}(\Gamma)$, $\epsilon(x)=0$}\}\\
&:=[\mathrm{dom}(\Gamma)]^0\tag{def of annihilator}.
\end{align}
This completes the proof of the first statement. For the second statement, recall that $\Gamma’$ is the graph of an operator if and only if its multivalued part is trivial, i.e if and only if $[\mathrm{dom}(\Gamma)]^0=\{0\}$. But the annihilator of a subspace is trivial if and only if it is dense (proof below), hence completing the proof.
For the sake of completeness here’s a proof of the final assertion about annihilators.
Lemma (Annihilators and density)
Let $E$ be a Banach space and $S\subset E$ a subspace. Then, the annihilator $S^0$ is trivial if and only if $S$ is dense in $E$.
To prove $(\impliedby)$, consider any $\epsilon\in S^0$. Then by definition, $\epsilon$ is an element of $E^*$ such that $\epsilon|_{S}=0$, and so by continuity of $\epsilon$ and density of $S$ it follows $\epsilon=0$. Hence, $S^0$ is trivial.
The implication $(\implies)$ follows by the Hahn-Banach theorem (in the Hilbert case, you can use the Riesz theorem instead): contrapositively, suppose that $S$ is not dense. Then, there is an $x\in E\setminus\overline{S}$, and so by Hahn-Banach, there is an $\epsilon\in E^*$ such that $\epsilon|_{\overline{S}}=0$ but $\epsilon(x)=1$ say. In particular, $\epsilon\in S^0$ but $\epsilon\neq 0$. (In the Hilbert space case, you could take $\epsilon=\frac{1}{\|x\|^2}\left\langle x,\cdot\right\rangle$).
Closing Remarks.
If you now consider any operator $T:\mathrm{dom}(T)\subset E\to F$ between Banach spaces, you could instead look at its graph $\Gamma(T)\subset E\times F$, and consider the dual relation of this, $[\Gamma(T)]’\subset F^*\times E^*$. By the above remarks, this will then be the graph of an operator (called $T’$) if and only if $\mathrm{dom}(\Gamma(T))=\mathrm{dom}(T)$ is dense in $E$.
Btw, the concepts of extensions, restrictions, closability, closed, closure apply very intuitively at the level of graphs, whereas they are sometimes phrased in ad-hoc manners when discussing things only at the level of operators. This device of phrasing matters in terms of graphs is very useful in this realm of functional analysis (and a huge chunk of the utility of course has to do with the closed-graph theorem).