I read that a second derivative operator is self-adjoint, namely $\langle L(u),v\rangle=\langle u,L(v)\rangle$ and $L$ is the second derivative operator.
But if I define $$\langle u,v\rangle=\int_0^1 u(x)v(x)\text{d}x,$$ I just don't see how it works if I take, say $ u(x) =x , v(x)=x^2 $. I will have in this case
$$\int_0^1 u(x)''v(x)\text{d}x \ne \int_0^1 u(x)v(x)''\text{d}x$$
I hope someone can clear my confusion. Thanks!