SolveTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : SolveTools : SolveTools/Combine

SolveTools

  

Combine

  

perform various combining of the expressions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Combine(expr, options)

Parameters

expr

-

expression

options

-

(optional) one or more of 'ln', 'exp', or 'power'

Description

• 

The Combine command combines expressions.

• 

The Combine command performs the following transformations after calling SolveTools[CancelInverses] on the expr first.

• 

If the option 'ln' is specified, the transformation is the following.

ajlnx++ailnyalnxjyi+

• 

If the option 'exp' is specified, the transformations are the following.

expxiexpyjexpix+jy

expxbexpxb

• 

If the option 'power' is specified, the transformations are the following.

xbixcjxib+jc

xyzxyz

abexpblna

  

The last transformation is only done if ⅇblna is already present.

• 

In all of the previous transformations, i and j denote integers.

• 

If no options are specified, all combinations are performed.

  

Note: Not all simplifications are valid everywhere. You should be aware of this when calling Combine.

Examples

with(SolveTools):

Combine(3*x*ln(y)+4*x*ln(z)+exp(t)^5*exp(s)^6);

ⅇ5t+6s+xlny3z4

(1)

Combine(3*x*ln(y)+4*x*ln(z)+exp(t)^5*exp(s)^6,'ln');

ⅇt5ⅇs6+xlny3z4

(2)

Combine(3*x*ln(y)+4*x*ln(z)+exp(t)^5*exp(s)^6,'exp');

3xlny+4xlnz+ⅇ5t+6s

(3)

Combine((x^y)^5+(x^z)^6+5*t*ln(z)+6*t*ln(x),'power');

x5y+x6z+5tlnz+6tlnx

(4)

Combine((x^y)^5+(x^z)^6+5*t*ln(z)+6*t*ln(x),'power', 'ln');

x5y+x6z+tlnx6z5

(5)

Combine( a^b+2*exp(b*ln(a)));

3ⅇblna

(6)

See Also

exp

SolveTools

SolveTools[CancelInverses]