Close
Close window
Basic Information - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

simplify

apply simplification rules to an expression

Calling Sequence

simplify(expr)

Parameters

expr

-

any expression

Basic Information

Description

The simplify command is used to apply simplification rules to an expression.

Output

The simplify routine searches the expression for function calls, square roots, radicals, and powers and invokes the appropriate simplification procedures.

Details

For detailed information on the simplify command, see simplify/details .

Examples

Basic example

>

simplify412+3

5

(1)

Simplifying exponentials and logarithms

>

simplifyexpa+lnbexpc

bⅇc+a

(2)

Controlling which simplification rules to use

>

simplifysinx2+ln2x+cosx2

ln2+lnx+1

(3)

When trig is specified as the second argument, only the trigonometric expressions are simplified.

>

simplifysinx2+ln2x+cosx2,trig

ln2x+1

(4)

Using the assume option

When you use the assume=property option as the last argument, all the indeterminate variables in expr are assumed to have the property when simplifying the expression. In the following example, x is assumed to be positive. For more information, see the simplify/details page.

>

simplifysqrtx2,assume=positive

x

(5)

Simplifying with respect to side relations

The command simplify can perform simplification with respect to side relations. For details, see simplify/siderels .

>

eqnssinx2+cosx2=1:

>

esinx311sinx2cosx+3cosx3sinxcosx+2

esinx311sinx2cosx+3cosx3sinxcosx+2

(6)
>

simplifye,eqns

14cosx3cosx2sinx+sinx11cosx+sinx+2

(7)
>

simplifye,eqns,sinx,cosx

14cosx3cosx2sinx+sinx11cosx+sinx+2

(8)

Simplify with respect to cos(x) first.

>

simplifye,eqns,cosx,sinx

14sinx2sinx+3cosx+sinx3+2

(9)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /