In calculating $$\int_{0}^{\infty}e^{-x^{2}} dx = \frac{\sqrt{\pi}}{2}$$ What is the motivation and where does the idea to define $$F(x) = \int_{0}^{\infty}\frac{e^{-x(1+t^{2})}}{1+t^{2}}dt $$ come from?
Two thoerems we proved prior to this example:
Dominating Convergence Theorem(but over continuous functions)
If $f_{n}$ is a sequence of continuous functions on the closed interval $[a,b]$, converging uniformly to $f(x)$, fixing $c \in [a,b]$ then $\lim_{n\rightarrow \infty} \int_{c}^{x}f_{n}(t) dt = \int_{c}^{x}\lim_{n\rightarrow \infty}f_{n}(t) dt = \int_{c}^{x}f(t)$
Leibniz Rule: Assume $f(x,t)$, $d_{x}f(x,t)$ are continuous on $[a,b] X [a,b]$. If $F(x) = \int_{c}^{d} f(x,t)dt$ then $\frac{dF(x)}{dx} = \int_{c}^{d} d_{x}f(x,t) dt$
I ask because when solving this expression we use this function with the necessary theorems (Leibniz Rule, Integral Convergence/ Dominating Convergence) to find our result, but it feels as if $F(x,t)$ was pulled out of thin air.