Let $a \in R$ and consider a sufficiently regular solution of:
$u_{tt}+au_t-u_{xx}=0$, $t>0, x \in ]0,1[$
$u(0,t)=u(1,t)=0$, $t>0$
$u(x,0)=\phi(x), u_t(x,0)=\psi(x)$, $x \in [0,1]$
Define $E(t)=\int_0^1 u_t^2+u_x^2 dx$.
Show that $E(t)=E(0)-a\int_0^t \int_0^1 u_t^2 (x,s) dxds$.
My idea:
We have: $E'(t)=\int_0^1 u_tu_{tt}+u_xu_{xx} dx=\int_0^1 -au_t^2 + u_{xx}u_t+u_xu_{xt} dx=\int_0^1 -au_t^2+ (u_xu_t)_x dx $
Integrating:
$E(t)-E(0)=\int_0^t E'(t) =\int_0^t \int_0^1 (-au_t^2+ (u_xu_t)_x dx) ds$
$=-a\int_0^t \int_0^1 u_t^2 (x,s) dxds + \int_0^t \int_0^1 (u_xu_t)_x dxds$
Then, I tried to show that $\int_0^t \int_0^1 (u_xu_t)_x dxds=0$ and obtain the result, but I don't get any result. Is this the right way?