I seek to solve the following integral: $$ \int_0^T dt \frac{1}{\sqrt{4 \pi s^2 t}}\cdot \exp\left({-\frac{(x-vt)^2}{4 s^2t}}\right) $$
My first idea was to substitute $1/\sqrt{t}$ using $u=\frac{1}{2} \sqrt{t}$ and $du = dt \frac{1}{\sqrt{t}}$, yielding
$$ \int_0^{\sqrt{T}/2} du \exp \left(- \frac{(x - 4u^2 v)^2}{16 s^2 u^2}\right) $$
From there, I thought about expanding the term according to the binomial formula and obtain three exponential terms, one that has $u^2$ in its power, one with $u^0$ that I can pull out of the integral and one with $u^{-2}$.
However, partially integrating the $u^2$ term using further substitutions did not work out, and in the end everything cancels and yields 0.
I am aware that the error function is involved with the following term: $\int_0^b du \exp(-u^2) = \sqrt{\pi}/2 \cdot \operatorname{erf}(b)$
I appreciate any help! Thank you!