### 10.2.6 Simplifying trigonometric expressions

The trigsimplify command simplifies trigonometric expressions by combining simplify (see Section 10.1.3), texpand (see Section 10.4.1), tlin (see Section 10.2.2), tcollect (see Section 10.2.4), trigsin (see Section 10.2.23), trigcos (see Section 10.2.24) and trigtan (see Section 10.2.25) commands in a certain order.

- trigsimplify takes expr, an argument containing trigonometric functions.
- trigsimplify(expr) returns the simplified form of expr.

#### Examples

trigsimplify((sin(x+y)-sin(x-y))/(cos(x+y)+cos(x-y)))

tan y |  |  |  |  |  |  |  |  |  |

trigsimplify(1-1/4*sin(2 a)^2-sin(b)^2-cos(a)^4)

sin2a−sin2b |  |  |  |  |  |  |  |  |  |