Previous Up Next

10.2.25 Simplifying and expressing preferentially with tangents

The trigtan command rewrites trigonometric expressions into expressions where as many trigonometric functions as possible are written in terms of tangents, using the identities sin(x)2+cos(x)2=1, tan(x)=sin(x)/cos(x).

Example

trigtan(sin(x)^4+cos(x)^2+1)
2 tan 4x+3 tan 2x+2
tan 4x+2 tan 2x+1
          

Previous Up Next