Find adjoint operator of an operator T I would like to find the adjoint operator of
$$
  T\colon L^2([0,1])\to H^1([0,1]),\quad x\mapsto\int\limits_0^t x(s)\, ds.
$$
Here $H^1([0,1])$ is the Sobolev space $W^{1,2}([0,1])$.
I tried to find this adjoint operator and after some time I came to the conclusion that this operator is given by
$$
  x\mapsto \int_t^1 x(s)\, ds + \overline{x'(t)}.
$$
Is this correct? Because the calculation is rather long, I did not write it down here. But if it may be necessary to see the calculation, then i will add it of course.
Greetings
 A: So my result is wrong?
My calculation now is:
$\langle Tf,g\rangle_{H^1}=\langle Tf,g\rangle_{L^2} + \langle (Tf)',g'\rangle_{L^2}$
$=\int\limits_0^1 (Tf)(x)\overline{g(x)}\, dx+\int\limits_0^1 (Tf)'(x)\overline{g'(x)}\, dx$
$=\int\limits_0^1\int\limits_0^x f(s)\, ds\overline{g(x)}\, dx+\int\limits_0^1 f(x)\cdot \overline{g'(x)}\, dx$
$=\int\limits_0^1\int\limits_s^1 f(s)\overline{g(x)}\, dx\, ds+\int\limits_0^1 f(x)\overline{g'(x)}\, dx$
$=\int\limits_0^1 f(s)\int\limits_s^1\overline{g(x)}\, dx\, ds+\int\limits_0^1 f(x)\overline{g'(x)}\, dx$
$=\int\limits_0^1 \left(f(s)\int\limits_s^1\overline{g(x)}\, dx+f(s)\overline{g'(s)}\right)\, ds$
$=\int\limits_0^1 f(s)\cdot \left(\int\limits_s^1\overline{g(x)}\, dx+\overline{g'(s)}\right)\, ds$
And so i now come to the conclusion, that the adjoint operator is given by
$x\mapsto \int\limits_t^1 x(s)\, ds+x'(t)$.
Where is my mistake?? 
Or is it right now?
A: Let $f$ and $g$ two test functions. We have 
$$\langle f,Tg\rangle_{H^1}=\int_0^1f(t)\overline{\int_0^tg(s)ds}dt+\int_0^1f'(t)\overline{g(t)}dt.$$
Integrating by parts, this gives 
\begin{align}\langle f,Tg\rangle_{H^1}&=\int_0^1f(s)ds\overline{\int_0^1g(t)dt}-\int_0^1\int_0^tf(s)ds\overline{g(t)}dt+\int_0^1f'(t)\overline{g(t)}dt\\
&=\int_0^1\int_t^1f(s)ds\overline{g(t)}dt+\int_0^1f'(t)\overline{g(t)}dt,
\end{align}
so $T^*f(x)=\int_x^1f(s)ds+f'(x)$.
