Let $a,b\in\Bbb R$. There's a question that ask the reader to find all $(a,b)$ such that $x\mapsto x^a\sin (x^b)$ is uniformly continuous on $(0,1]$. I can occasionally find some possible pairs of $a,b$, but is there a systematic way or theorem to discuss such problem?
PS: The sequel problem of that is to find $(a,b)$ such that $x\mapsto e^{ax}\sin(e^{bx})$ is uniformly continuous on $[0,\infty).$



Consider the function $\begin{cases} 0, x=0 \\ x^asin(x^b), x\in (0,1] \end{cases}$
Note $\forall x\in (0,1]$, we have a product and composition of continuous functions so the function is continuous. We now just need to show we can extend continuity to $x=0$. This shows uniform continuity because a continuous function on a compact subset of $\mathbb{R}^n$ is uniformly continuous. I will provide some, but not all details.
for $a\geq 1, b\geq 1$, this is clear. We have several interesting cases. For $a=0$, $b\leq-1$ we cannot extend this continuously to $0$. Note $sin(x^-1)=sin(1/x)$ is not continuous at $x=0$, but $xsin(1/x)$ is continuous (use squeeze theorem here). Use this is a guide.
The remaining cases of interest are $0<a<1$, $-1<b<1$, and $a<0$. Try these out, as the strategy is the same. The goal is to show that the values of $a,b$ determine whether or not the function can be continuously extended to $0$. If it can, then we have uniform continuity, otherwise we don't.
The sequel problem $f(x)=e^{ax}sin(e^{bx})$ can be handled similarly, but it's easier than the above problem. Consider $a,b>0$ and then $a,b<0$. I think this will be sufficient, if not, consider $0<a<1$ and $0<b<1$.