trigonometric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


simplify/trig

simplify trigonometric expressions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

simplify(expr, trig)

Parameters

expr

-

any expression

trig

-

literal name; trig

Description

• 

The simplify(expr,trig) calling sequence simplifies trigonometric expressions by applying the trigonometric identities  sinx2+cosx2=1 and coshx2sinhx2=1.

• 

If the input is a polynomial in sinx and cosx then simplify/trig factors out powers of sinx and cosx and applies the identity sinx2+cosx2=1 to what is left so that the degree of what is left in sinx is at most 1. Thus the result is of the form:

sinxicosxjAsinx+B

  

where A and B are polynomials in cosx. If the input is a polynomial in sinhx and coshx then simplify/trig yields a similar result using the identity coshx2sinhx2=1.

• 

To apply the identity to reduce the polynomial so that the degree in sinx is at most 1, use the command

simplifyexpr,sinx2+cosx21,sinx

• 

If the input involves multiple angles that are integer multiples of each other, for example, sinx, sin2x, and cosx2 then the trigonometric functions are expressed in terms of a common angle, in this case x2.

• 

If the input is a rational expression in sinx and cosx then an algorithm is used to put it in the form ND and reduce N and D to lowest terms such that the total degree of the numerator N (in sinx and cosx) plus the total degree of the denominator is minimized.  In particular, any common factor between N and D has been cancelled out.

  

Note: Maple does not rationalize the denominator, that is, write the expression in the form ABsinx+CD for polynomials A, B, C, and D in cosx because this form usually leads to a result that is larger in total degree.

Examples

simplifysinx2+cosx2,trig

1

(1)

simplifycoshx2sinhx2,trig

1

(2)

simplifycos2x+sinx2,trig

cosx2

(3)

fsinxcosx2cosx3+cosx

fsinxcosx2cosx3+cosx

(4)

simplifyf,trig

cosxsinxsinx+cosx

(5)

r1cosx2+sinxcosxsinxcosx+cosx2

rsinxcosxcosx2+1sinxcosx+cosx2

(6)

simplifyr,trig

tanx

(7)

simplifysinx3,sinx4,trig

sinx3,sinx4

(8)

simplifysinx3,sinx4,sinx2+cosx21,sinx

sinxcosx2+sinx,cosx42cosx2+1

(9)

expandsin4x

8sinxcosx34sinxcosx

(10)

combinesinx4,trig

38+cos4x8cos2x2

(11)

See Also

combine/trig

expand

simplify