# What this graph $x^{\log y}=y^{\log x}$

What is the graph of $x^{\log y}=y^{\log x}$? This question appears on GRE exam.

• Take the log on both sides. Oct 29 '12 at 18:10
• All points in the first quadrant satisfy this.
– user17762
Oct 29 '12 at 18:10
• Not exactly, $x,y > 0$, otherwise $\log$ isnt defined. Oct 29 '12 at 18:11

The key observation here is that $$x^{\log y}=(e^{\log x})^{\log y}=e^{\log(x)\log(y)}=(e^{\log y})^{\log x}=y^{\log x}$$ for any $x,y$ such that all of these operations are defined - namely, $\{(x,y)\mid x>0\text{ and }y>0\}$.
The three comments together answer the question. To summarize, the graph is the open first quadrant $\{(x,y)\in \Bbb R^2:x,y>0\}$, because $x^{\log y}=y^{\log x}$ for all $(x,y)$ in this set. Note that this is true whatever base is considered for the logarithm.