For which values of $\theta$ does this equation $x^{\cos\theta} +y^{\sin\theta }=1$ have solutions in integers?

If either of the exponents is strictly positive $(\alpha > 0)$, then $(0,1)$ or $(1,0)$ is a solution, because $0^{\alpha} + 1^{\beta} = 1$ for any $\beta$. This occurs for all $\theta \in (-\pi/2, \pi)$, and leaves two cases:

  • One exponent is zero and the other is strictly negative: $\theta\in\{-\pi/2,\pi\}$. In this case there is no solution... any integer raised to the zeroth power is $1$ (if defined), but no integer raised to a negative power is $0$.
  • Both exponents are strictly negative: $\theta \in (\pi, 3\pi/2)$.

In the second case, we want $$ \frac{1}{x^\alpha} + \frac{1}{y^\sqrt{1-\alpha^2}}=1 $$ for some $\alpha \in (0,1)$ and integers $x,y$. If $x$ or $y$ is $0$ or negative, the expression is undefined, and if $x$ or $y$ is $1$, then the left-hand side is strictly greater than $1$; so we must have $x,y\ge 2$. Fix $x$ and $y$ and consider the behavior of the left-hand side as we vary $\alpha$: $$ f(\alpha;x,y)=e^{-\alpha \log x}+e^{-\sqrt{1-\alpha^2}\log y}, $$ so $$ f'(\alpha;x,y)=-\log x e^{-\alpha\log x}+\frac{\alpha \log y}{\sqrt{1-\alpha^2}}e^{-\sqrt{1-\alpha^2}\log y}, $$ which goes from $-\log x < 0$ at $\alpha=0$ to $+\infty > 0$ at $\alpha=1$; and $$ f''(\alpha;x,y)=(\log x)^2 e^{-\alpha\log x}+\left(\frac{\alpha^2 (\log y)^2}{1-\alpha^2}+\frac{\log y}{\sqrt{1-\alpha^2}}-\frac{\alpha^2 \log y}{(1-\alpha^2)^{3/2}}\right)e^{-\sqrt{1-\alpha^2}\log y}, $$ which is always positive. (*I think.) So for each $x,y$, there is a unique minimum of $f(\alpha;x,y)$ with respect to $\alpha$, at which $$ \frac{\alpha\log y}{y^{\sqrt{1-\alpha^2}}}=\frac{\sqrt{1-\alpha^2}\log x}{x^{\alpha}}. $$ Depending on whether the value of $f$ at this point is less than, equal to, or greater than $1$, there will be $2$, $1$, or $0$ solutions in $\alpha$ to the original equation for this $(x,y)$ pair. Checking this out numerically, we find that there are no solutions for $(x,y)=(2,2)$ and $(x,y)=(2,3)$, and there are two solutions for each other $(x,y)$ pair with $x,y\ge 2$.


For all couple of natural numbers (n,m) we have $\frac{1}{n} + \frac{1}{m}$$\leq$ $n^{cos\theta}$+ $m^{sin\theta}$$\leq n+m$ because
$\frac{1}{n}$$\leq$ $n^{cos\theta}$$\leq{n}$ and the same for the sinus; therefore, when $\frac{1}{n} + \frac{1}{m}$<1 one has by continuity, a value of $\theta$ (actually infinitely many by periodicity) for which the asked equality is verified. Hence if $ 3\leq n, m$ there are always solution for (n,m). What values of $\theta$? I don’t know. For (2,2) and (2,3) there are no solution because the minimum of $2^{cos\theta}$+$2^{sin\theta}$ and $2^{cos\theta}$ +$3^{sin\theta}$ are both greater than 1. However for (2,m) with $4\leq{m}$ we have solutions (it was good and my edition was bad so I erased it)