] factors trigonometric functions in expr.
TrigFactor operates on both circular and hyperbolic functions.
TrigFactor splits up sums and integer multiples that appear in arguments of trigonometric functions, and then factors resulting polynomials in trigonometric functions, using trigonometric identities when possible.
See the Mathematica book: Section 1.4.5, Section 3.3.7.
See also: TrigExpand, TrigReduce, TrigToExp, Factor, Simplify, FullSimplify.
Here is a trigonometric polynomial.
TrigFactor and TrigReduce are approximately opposite. TrigFactor writes the polynomial as a product.
TrigReduce writes the polynomial as a sum involving no explicit products or powers.
Here are similar examples for a hyperbolic polynomial.