Let f(x,y) = $\sin^2(x)$+$\arctan^3(xy)$. For every positive integer $n$ and every $M \ge 0$, find $$ \min_{(x,y)\in S_{n,M}} f(x,y), $$
where $S_{n,M} =[0,n \pi]×[−M,M]$,and determine where this minimum is achieved.
I tried to solve this problem by using the first order conditions where I get the derivatives to be complicated trigonometric functions and the solution to either be x does not equal 0 when y = 0 or y=0.
However, I am not convinced that it is the correct way to approach this problem. Any suggestions?
We can start by ignoring the restrictions and computing the stationary points.
$$ 2 \sin x \cos x +\dfrac{3y \arctan^2(xy)}{1+(xy)^2}= 0, \quad \dfrac{3x \arctan^2(xy)}{1+(xy)^2}= 0 $$
looking at the second equation and substituting the candidate values in the first one, we see that the possible solutions are $x = 0$ (for any $y$) and $y=0$ (with $x = \frac{k \pi}{2}, k \in \mathbb{Z}$). So, the stationary points that are interior to $S_{n,M}$ are the points $ (0, \frac{k\pi}{2}), k = 1, \cdots, 2n-1$.
On those interior stationary points the value of $f$ is 1. But the minimum can also be attained at the boundary of $S_{n,M}$.
Case 1: If $x=0, y \in [-M,M]$ then $f=0$
Case 2: If $x=n \pi, y \in [-M,M]$ then $f = \arctan^3(n \pi y)$, that has a minimum for $y=-M$.
Case 3: If $y=M, x \in [0, n\pi]$, $f=\sin^2 x + arctan^3(Mx)$ the attained minimum value is zero.
Case 4:If $y= -M, x \in [0, n\pi]$, $f=\sin^2 x + arctan^3(-M x)$. In this case you have several local minimum points, but the global minimum corresponds to the one found in case 2.
The final conclusion seems to be that the global minimum in $S_{n,M}$ occurs at $(n\pi, -M)$.