Let $p\in \mathbb{R}$, I would like to investigate the asymptotic behavior of the following integral:
$$\int_0^1 e^{x(tp-\frac{1}{2}t^2)}dt$$ as $x\to\infty$. In particular, I would like to know how it depends on $p$ and $x$?.
If $p\in (0,1)$, then the maximum of $t\mapsto at-\frac{1}{2}t^2$ over $[0,1]$ is achieved at $p\in (0,1)$. Hence applying Laplace's method (e.g., here), $$ \int_0^1 e^{x(tp-\frac{1}{2}t^2)}dt\sim \sqrt{\frac{2\pi}{x}}e^{x\frac{p^2}{2}} $$ as $x\to \infty$. In this case, is it possible to quantify how the error term $$\left|\int_0^1 e^{x(tp-\frac{1}{2}t^2)}dt-\sqrt{\frac{2\pi}{x}}e^{x\frac{p^2}{2}} \right|$$ depends on $p$?
Alternatively, if $p\not \in (0,1)$, then the maximum of $t\mapsto at-\frac{1}{2}t^2$ over $[0,1]$ is obtained at boundary, and the first order derivative at the maximizer is not zero. In this case, I am not sure how to apply the classical result.
Could someone help to explain how to study the asymptotic behavior of the integral for different $p$?