This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Algebraic Computation  /
TrigExpand

  • TrigExpand[ expr ] expands out trigonometric functions in expr.
  • TrigExpand operates on both circular and hyperbolic functions.
  • TrigExpand splits up sums and integer multiples that appear in arguments of trigonometric functions, and then expands out products of trigonometric functions into sums of powers, using trigonometric identities when possible.
  • See the Mathematica book: Section 1.4.5Section 3.3.7.
  • See also: TrigFactor, TrigReduce, TrigToExp, Expand, FunctionExpand, Simplify, FullSimplify.

    Further Examples

    These use multiple-angle formulas to expand in terms of the smallest possible angles. In the second example there is substantial simplification.

    In[1]:=

    Out[1]=

    In[2]:=

    Out[2]=

    In[3]:=

    Out[3]=

    In[4]:=

    Out[4]=

    TrigExpand also handles hyperbolic functions.

    In[5]:=

    Out[5]=

    In[6]:=

    Out[6]=