Need help in graphing on Mathematica 10

81 views Asked by At

What do I type in if I want to graph tan (x^y) = tan (y^x)? I've tried Plot[Tan x^y = Tan y^x, {y, x, 0, 5}] and several other things and it does not work.

1

There are 1 answers

0
agentp On

Should be ContourPlot rather,

 ContourPlot[ Tan[  y^x ] == Tan[ x^y ]    , {x, 0, 5} , {y, 0, 5 } , PlotPoints -> 100]

enter image description here

This is unfortunately picking up some false solutions where y^x== (2 n + 1 ) Pi/2

or you can capture some of the solutions faster/clearer like this:

 Show@
   Table[
     ContourPlot[y^x - x^y   + n Pi  == 0  , {x, 0, 5} , {y, 0, 5 } ],
   {n, -20, 20}]

enter image description here