Let $f:(1,\infty)\to(1,\infty)$. Find $f$ such that $x^{f(y)^x}=y^{f(x)^y}$ for every $x,y>1$.
I tried to take ln twice, then I took $g(x)=\ln(f(x))$ and $h(x)=\frac{g(x)}{x}$ and I got $h(x)-h(y)=\frac{\ln\left(\frac{\ln(x)}{\ln(y)}\right)}{xy}$. I don’t know how to continue.
No such $f$ exists. In fact, even extending the codomain to $[0,\infty),$ the only possibility is the constant map $f(x) = 0$.
Firstly, taking logs, the functional equation is $ f(y)^x \log x = f(x)^y \log y,$ and fixing some value of $y,$ observe that as $x \searrow 1,$ the LHS decays to $0$, which means that $f(x) \to 0$ as $x \to 1^+$. This means that either the codomain proposed in the question is incorrect, or that the answer is that there is no solution (which is more boring). Let us suppose that $f: (1,\infty) \to [0,\infty)$ was meant: we can't have the range including negative numbers since then $f(x)^y$ is iffy to define. Note that taking $\log$s over the original functional equation still remains valid, since for any $x > 0, x^{\textrm{anything real}} > 0$.
Suppose that there exist at least two values $y_1, y_2$ such that $f(y_1) > 0$ and $f(y_2) > 0$. Then plugging in $y = y_1$ into the relation, we conclude that for every $x$, $$ f(x) = \left( \frac{f(y_1)^x \log x}{\log y_1}\right)^{1/y_1},$$ and by the same coin, for every $x$, $$ f(x) = \left( \frac{f(y_2)^x \log x}{\log y_2}\right)^{1/y_2}.$$
Equating these, we conclude that for every $x$, $$ \left( \frac{f(y_1)^{y_2}}{f(y_2)^{y_1}}\right)^x \log^{y_1 - y_2} x= \frac{(\log y_1)^{y_2}}{(\log y_2)^{y_1}}.$$ But this is an equation of the form $e^{\alpha x} \log^n(x) = \beta$ for constants $\alpha,n,\beta$ where $\beta > 0,$ which can't hold for every $x$: indeed, wlog, we can assume that $\alpha \ge 0$ (exchange $y_1$ and $y_2$ otherwise), and then no matter the sign of $n$, $x \mapsto e^{\alpha x} \log^n x$ is strictly increasing for large enough $x$, since its derivative is $e^{\alpha x} \log^{n} x ( \alpha + n/x\log x),$ which eventually exceeds $\alpha e^{\alpha x} \log^n(x)/2 > 0$ (since $1/x\log x \to 0$), which means that the equality cannot hold for all $x$ (thanks to Stefan for catching an error in an earlier version of this bit).
We can thus infer that $f$ can have at most one point at which its value is $> 0$. But again if $\exists y_0 > 1 : f(y_0) = c > 0,$ then for every $x \neq y_0,$ $c^x \log x = 0^{y_0} \log y_0 = 0$, which contradicts the elementary fact that $c^x \log x > 0$ over $(1,\infty)$ if $c > 0.$
It follows then that the only candidate is $f(x) =0$ identically. This does satisfy the original functional equation, and we're done.