Question:
Prove that $L\{\frac{2}{\sqrt \pi} \int_0^{\sqrt t}e^{-u^2}du\}=\frac{1}{s(\sqrt {s+1})}$
Note: $L$ stands for Laplace transform.
My try:
$$L\left\{\frac{2}{\sqrt \pi} \int_0^{\sqrt t}e^{-u^2}du\right\}=\frac{2}{\sqrt \pi} L\left\{\int_0^{\sqrt t}e^{-u^2}du\right\} \tag{$*$} $$
Now, According to the rule $L\{\int_0^x f(u)du\}=\frac{1}{s}L\{f(x)\}$, I assumed $f(u)=e^{-u^2}$. From what it seems, $x$ is replaced with $\sqrt t$. So, We have $L\{\int_0^{\sqrt t}e^{-u^2}du\}=\frac{1}{s} L\{f(\sqrt t)\}$ .
Since $f(u)=e^{-u^2}$, We have $f(\sqrt t)=e^{-t}$.
So, by all of these, $(*)$ is equal to $\frac{2}{\pi} \frac{1}{s} L\{e^{-t}\}=\frac{2}{\pi} \frac{1}{s}\frac{1}{s+1}$ which is not the thing that the question claims.
What did I do wrong?
To apply the rule you quote, the variable $t$ should be the end point of the integration domain. Setting $u=\sqrt x$, the function to be transformed can be written as $$ \frac 1 {\sqrt\pi}\int_0^t e^{-x}\,\frac{dx}{\sqrt x} $$ Then the Laplace transform is $$L(f)=\frac 1{s\sqrt\pi}L\left(\frac{e^{-x}}{\sqrt x}\right)$$ which can be calculated using the shift rule and the power law transform, giving the expected result.