Find the smallest $a > 1$ such that $$\frac{a + \sin{x}}{a + \sin{y}} \leq \exp(y-x)$$ for all $x\leq y$.
I'm finding this tricky. I got $a = \displaystyle{\frac{e^\pi +1}{e^\pi -1}}$ but it's probably incorrect. My method was to maximise the LHS by letting $\sin{x}=1$ and $\sin{y}=-1$ and then minmise the RHS by letting $y-x = \pi$, and then I solved to find $a$.