Suppose we define a function \begin{align} f(k ;a,b) =\frac{ \int_0^\infty \cos(a x) e^{-x^k} \,dx}{ \int_0^\infty \cos(b x) e^{-x^k} \,dx} \end{align}
can we show that \begin{align} |f(k ;a,b)| \le 1 \end{align} for $ 0<k \le 2$ and $a\ge b$?
This question was motivated by the discussion here.
Note that for $k=1$ and $k=2$ this can be done, since
\begin{align} \int_0^\infty \cos(a x) e^{-x^1} \,dx=\frac{1}{1+a^2}\\ \int_0^\infty \cos(a x) e^{-x^2} \,dx=\frac{\sqrt{\pi}}{2}e^{-a^2/4}\\ \end{align}
So, we have that \begin{align} f(1;a,b)&=\frac{1+b^2}{1+a^2} \\ f(2;a,b)&=e^{ \frac{b^2-a^2}{4}} \end{align}
In which case, we have that the conjectured bound is true.
Edit: The bounty was posted specifically to address this question and a question raised by Jack D'Aurizio in the comments.
The question is:
Let \begin{align} g_k(z)=\int_0^\infty \cos(zx) e^{-x^k} dx \end{align}
What is the largest value of $k$ such that $g_k(z)$ is non-negative and decreasing for $z\in \mathbb{R}^{+}$?