Let $E = L^p(0, 1)$ with $1 \le p < \infty$. Consider the unbounded operator $A: D(A) \subset E \to E$ defined by$$D(A) = \{u \in W^{1, p}(0, 1),\text{ }u(0) = 0\} \text{ and }Au = u'.$$I have two questions.
- Is $D(A)$ necessarily dense in $E$?
- Is $G(A)$ necessarily closed in $E \times E$?
For $(1)$ $D(A)$ is dense, because it contains all smooth compactly supported functions $C_0^\infty$ which are dense in $L^p(0,1)$.
For $(2)$, you have the inverse operator $(A^{-1}y)(t)=\int\limits_{0}^{t}{y(s)ds}$ for each $y\in L^p(0,1)$, because $\int\limits_{0}^{t}{y(s)ds}$ is absolutely continuous and $(A^{-1}y)(0)=0$. Also $A^{-1}: L^p(0,1) \to L^p(0,1)$ is bounded: $$\|A^{-1}y\|_{L^p}^p=\int\limits_{0}^{1}{\left|\int\limits_{0}^{t}{y(s)ds}\right|^pdt}\leq 1\cdot\|y\|_{L^p}^p$$ Therefore $A$ is closed. The last is a special case of a more general
Proposition: Let $A: D(A)\subset X\to Y$, where $X,Y$ are Banach and $A$ is linear. If $A^{-1}: Y\to X$ exists and is bounded, then $A$ is closed.
Proof: Let $u_n\subset D(A)$ and $u_n\to u$, and $Au_n\to y$. Then, because $Y$ is closed, $y\in Y$. Also, because $A^{-1}$ is bounded $\Rightarrow A^{-1}(Au_n)=u_n\to A^{-1}y$ in $X$. But $u_n\to u$ in $X$ and limits are unique $\Rightarrow u=A^{-1}y$ and therefore $u\in D(A)$ and $Au=y$.