Prove/Disprove that the sequence of functions $(f_n)$ from $\Bbb R$ to $\Bbb R$ defined by $$f_n(x)=\cos(x+n)+\ln\left(1+\frac{\sin^2(n^nx)}{\sqrt{n+2}}\right)$$ are uniformly equicontinuous. That is, prove/disprove that for all $\epsilon>0$ there is a $\delta>0$ such that $$|x-t|<\delta, n\in\Bbb N\Rightarrow |f_n(x)-f_n(t)|<\epsilon.$$
Thoughts/Context. It is my gut feeling that $f_n$ are uniformly equicontinuous. I have a not-very-rigorous "proof" of this. For $n\in\Bbb N$ and $x\in\Bbb R$, $\sin^2(n^n x)$ is between $0$ and $1$, so $$0\le \frac{\sin^2(n^nx)}{\sqrt{n+2}}\le \frac{1}{\sqrt{n+2}}<1.$$ Then from the squeeze theorem $a_n(x)=\frac{\sin^2(n^nx)}{\sqrt{n+2}}\to 0$ as $n\to\infty$, regardless of the value of $x$. Hence $\ln(1+a_n(x))\to0$ as $n\to \infty$ as well. So for large $n$, $f_n$ is practically $\cos(x+n)$. I know that the set of functions $$\mathcal{E}=\left\{f\in C^1(\Bbb R,\Bbb R): |f'(x)|\le1\right\}$$ is uniformly equicontinuous. Thus the subset $$\{\cos(x+n):n\in\Bbb N\}\subset \mathcal{E}$$ is also uniformly equicontinuous. Of course this does not necessarily imply that functions that behave like $\cos(x+n)$ (in the aforementioned way that $f_n$ does) are also uniformly equicontinuous.
Unfortunately, $\{f_n(x):n\in\Bbb N\}$ does not seem to be a subset of $\mathcal{E}$, so I can't really take the easy way out here.
Is there some way to rigorize my argument, or is there a better way to go about things? Thanks.
So it is all about to show the uniform-equicontinuity of $g_{n}:x\rightarrow\log\left(1+\dfrac{\sin^{2}(n^{n}x)}{\sqrt{n+2}}\right)$.
Take a subsequence $(n_{k})$ of positive integers, which we will still denote as $(n)$ for simplicity, and consider the compact interval $[0,3\pi]$ in issue. We have \begin{align*} \log\left(1+\dfrac{\sin^{2}(n^{n}x)}{\sqrt{n+2}}\right)&\leq\dfrac{\sin^{2}(n^{n}x)}{\sqrt{n+2}}\\ &\leq\dfrac{1}{\sqrt{n+2}}, \end{align*} this shows that $g_{n}\rightarrow 0$ uniformly. So Arzela-Ascoli Theorem says that $g_{n}$ is uniform-equicontinuous on $[0,3\pi]$. Note that we must have a compact interval to use Arzela-Ascoli Theorem.
So now the issue is to extend to the whole $\mathbb{R}$, this uses the periodicity of $\sin$ function.
Now we write down the definition of uniform-equicontinuity of such functions on $[0,3\pi]$. Given $\epsilon>0$, there is a $\delta>0$ such that for every $n$ and $|x-t|<\delta$, $x,t\in[0,3\pi]$, then $|g_{n}(x)-g_{n}(t)|<\epsilon$.
Now for any $x,t\in\mathbb{R}$ with $|x-t|<\delta$, say, $x\leq t<x+\delta$, and $\delta<\pi$, for a fixed $n$, we notice that \begin{align*} \left\{\cdots,-\dfrac{4\pi}{n^{n}},-\dfrac{2\pi}{n^{n}},0,\dfrac{2\pi}{n^{n}},\dfrac{4\pi}{n^{n}},\cdots\right\} \end{align*} forms a partition on $\mathbb{R}$, so there is some $k$ such that \begin{align*} \dfrac{2k\pi}{n^{n}}\leq x\leq\dfrac{2(k+1)\pi}{n^{n}}, \end{align*} and hence \begin{align*} 0\leq x-\dfrac{2k\pi}{n^{n}}\leq\dfrac{2\pi}{n^{n}}\leq 2\pi<3\pi, \end{align*} we also have \begin{align*} 0\leq x-\dfrac{2k\pi}{n^{n}}\leq t-\dfrac{2k\pi}{n^{n}}<x+\delta-\dfrac{2k\pi}{n^{n}}\leq\delta+2\pi<3\pi. \end{align*} We now let $x'=x-\dfrac{2k\pi}{n^{n}}$ and $t'=t-\dfrac{2k\pi}{n^{n}}$, then $|x'-t'|<\delta$ and $x',t'\in[0,3\pi]$ so $|g_{n}(x')-g_{n}(t')|<\epsilon$.
It remains to observe that $g_{n}(x)=g_{n}(x')$ and $g_{n}(t)=g_{n}(t')$ and hence $|g_{n}(x)-g_{n}(t)|=|g_{n}(x')-g_{n}(t')|<\epsilon$, this shows the uniform-equicontinuity of $g_{n}$ on the whole $\mathbb{R}$.