Here's my question:
Let $H$ be a (separable) Hilbert space. Let $W$ be a dense subspace of $H$ and $P: H \to H$ be a linear operator satisfying $\langle Pw, w\rangle \ge 0$ for each $w\in W$. Then $P$ is a positive operator on $H$.
My goal is to show that $\langle Pf, f\rangle \ge 0$ for each $f \in H$. To this end, let $f \in H$ and let $(w_n)$ be a sequence in $W$ such that $(w_n)$ converges to $f$. If $\langle Pf , f\rangle = \lim \langle Pw_n , w_n \rangle$ then we would be done but I do not see how this would work.
If we fix $m \in \mathbb N$ then we can show that $\langle Pw_n , w_m \rangle$ converges to $\langle Pf, w_m \rangle$ as $n \to \infty$. But I do not think interchanging the limit would work here.
Hints are appreciated.