I want to study the uniform convergence of this series of functions:
$$\sum_{n=1}^{\infty} n \ln (1+ \frac{|\sin x|^n}{1+|x|^n})$$
After trying the root test on the sequence formed by moving the $n$ to the exponent of the argument of the logarithm I proceeded in this way:
I Mclaurin expanded $$\ln(1+\frac{|\sin x|^n}{1+|x|^n}) = \frac{|\sin x|^n}{1+|x|^n} + \frac{1}{2}\Big(\frac{|\sin x|^n}{1+|x|^n} \Big)^2 + o(1/x) $$
Now one can see that if $x\le 1$ the series diverges (because we have this expansion multiplied by $n$), but what about the other values of $x$?
Edit: I added absolute values around x in the denominator and I can't Mclaurin expand when $\frac{|\sin x|^n}{1+|x|^n}$ does not go to zero so what I wrote above does not make sense.
Claim: The series converges absolutely, hence converges, for all $x\in \mathbb R.$ Note that because the terms are even in in $x,$ we only have to prove this for $x\ge 0.$
Two facts: i) $\ln (1+u) \le u$ for $u \ge 0;$ ii) $\sum_n nr^n < \infty$ for $0\le r <1.$ Using fact i), we have
$$\tag 1 n\ln (1 + \frac{|\sin x|^n}{1+|x|^n}) \le n\frac{|\sin x|^n}{1+|x|^n}$$
for all $n,x.$ Now for $x \notin \pi/2 +\pi\mathbb N,$ $|\sin x|<1,$ hence $(1)$ is less than or equal to $n|\sin x|^n.$ Fact ii) then implies our series converges absolutely. If $x \in \pi/2 + \pi\mathbb N,$ the right side of $(1)$ equals
$$n\,\frac{1}{1+|x|^n} \le n\frac{1}{(\pi/2)^n}.$$
Again using fact ii), we see our series converges absolutely. This proves the claim.