1

I wonder why this doesn't work as expected:

assume(x+y < %pi/2);
assume(x+y > -%pi/2);
atan(tan(x+y));

It reduces to:

atan(tan(x+y))

i.e. not at all. I would have expected it to reduce to:

x+y
Emily L.
  • 5,673
  • 2
  • 40
  • 60

1 Answers1

2

Try triginverses.

(%i9) atan (tan (x + y));
(%o9)                          atan(tan(y + x))
(%i10) %, triginverses=all;
(%o10)                               y + x
Robert Dodier
  • 16,905
  • 2
  • 31
  • 48