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

Online Help

All Products    Maple    MapleSim


combine/icombine

combine integer powers in a product

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

combine(e, 'icombine')

Parameters

e

-

expression

Description

• 

The combine(e,'icombine') function tries to combine products of powers of integers in such a way that the bases of the powers in the resulting product have no common factors. It does not, however, necessarily rewrite a product of integer powers as a product of prime powers.

• 

More generally, powers of rational numbers are rewritten in such a way that if abe and cdf are two distinct rational powers in the resulting product, with a,b,c,d and gcda,b=1=gcdc,d, then gcdab,cd=1.

• 

In addition, the following simplifications are performed:

– 

Nested powers abc are combined as abc if a and one of the following conditions is satisfied:

• 

b and a<0or1<b<1

• 

c

– 

Powers whose exponents are rational multiples of each other are combined into a single power, whose base may be a rational number greater than 1.

– 

Every rational base b&gt;1 is made power-free, i.e., if there is a rational number a&gt;1 and a positive integer n satisfying an=b, then n=1 and a=b.

– 

Unless there is only a single power of a rational number and that base is negative, powers of −1 are pulled out of all rational powers.

Examples

combine2a2b&comma;&apos;power&apos;

2a+b

(1)

combine2a2b&comma;&apos;icombine&apos;

2a+b

(2)

combine4a6b12c5d&comma;&apos;power&apos;

4a6b12c5d

(3)

combine4a6b12c5d&comma;&apos;icombine&apos;

22a+b+2c3b+c5d

(4)

combine4a6b12c5dF6a30c7e&comma;&apos;icombine&apos;

22a+b+2c3b+c5dF5c6a+c7e

(5)

combine4a152b6a&comma;&apos;icombine&apos;

32a+b5b

(6)

combine8122a4&comma;&apos;icombine&apos;

212a2

(7)

combine22a23a3&comma;&apos;icombine&apos;

9212+a2

(8)

combine144a25a&comma;&apos;icombine&apos;

1252a

(9)

combine22a13a&comma;&apos;icombine&apos;

−1a12a

(10)

See Also

combine

combine/power