Let $I$ be the open interval $(0, 1)$ and $H := L^2 (I)$ equipped with the usual inner product $\langle \cdot, \cdot \rangle$. Consider the linear map $T: H \to H$ defined by $$ (Tf) (x) = \int_0^x t f(t) dt + x \int_x^1 f(t)dt, \quad x \in I. $$
I am trying to solve (4.) in below problem from Brezis' Functional Analysis
Exercise 8.28
Check that $T$ is a bounded linear operator.
Check that $T$ is a compact operator.
Check that $T$ is self-adjoint.
Show that $\langle Tf, f \rangle \ge 0$ for all $f \in H$, and that $\langle Tf, f \rangle = 0$ implies $f =0$.
We have $$ \begin{align*} \langle Tf, f \rangle &= \int_0^1 \int_0^x t f(t) dt f(x) dx + \int_0^1 x \int_x^1 f(t) dt f (x) dx \\ &= \int_0^1 \int_0^1 t 1_{[0, x]} (t) f(t) f(x) dt dx + \int_0^1 \int_0^1 x 1_{[x, 1]} (t) f(t) f(x) dt dx \\ &= \int_0^1 \int_0^1 t 1_{[t, 1]} (x) f(t) f(x) dt dx + \int_0^1 \int_0^1 x 1_{[x, 1]} (t) f(t) f(x) dt dx \\ &= 2 \int_0^1 \int_0^1 t 1_{[t, 1]} (x) f(t) f(x) dt dx. \end{align*} $$
Could you provide some hints to prove $\langle Tf, f \rangle \ge 0$?
Notice that $$\langle Tf, f \rangle = \int_{[0,1]^2} (t\wedge x) f(t) f(x) dt dx$$ and write $t\wedge x$ as a simple integral.
Further hint:
If you're familiar with Gaussian processes/Brownian motion, this is the same trick that's used to show that $K(t,x)= t\wedge x$ is a covariance function (i.e. positive semidefinite).