TrigExpand[expr]
expands out trigonometric functions in expr.


TrigExpand
TrigExpand[expr]
expands out trigonometric functions in expr.
Details

- 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.
- TrigExpand automatically threads over lists, as well as equations, inequalities, and logic functions.
Examples
open all close allScope (4)
Expand trigonometric expressions:
Expand hyperbolic trigonometric expressions:
TrigExpand threads over lists:
TrigExpand threads over equations and inequalities:
Applications (1)
Properties & Relations (3)
TrigExpand and TrigReduce are, generically, inverses of each other:
The expressions are identical modulo trigonometric Pythagorean identities:
Compare TrigExpand, TrigFactor, and TrigReduce on the same expression:
Use TrigExpand to construct a ChebyshevT polynomial:
See Also
TrigFactor TrigReduce TrigToExp Expand FunctionExpand Simplify FullSimplify ComplexExpand
Function Repository: TrigContract
Related Guides
History
Introduced in 1996 (3.0) | Updated in 2007 (6.0)
Text
Wolfram Research (1996), TrigExpand, Wolfram Language function, https://reference.wolfram.com/language/ref/TrigExpand.html (updated 2007).
CMS
Wolfram Language. 1996. "TrigExpand." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/TrigExpand.html.
APA
Wolfram Language. (1996). TrigExpand. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TrigExpand.html
BibTeX
@misc{reference.wolfram_2025_trigexpand, author="Wolfram Research", title="{TrigExpand}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/TrigExpand.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_trigexpand, organization={Wolfram Research}, title={TrigExpand}, year={2007}, url={https://reference.wolfram.com/language/ref/TrigExpand.html}, note=[Accessed: 15-August-2025]}