icombine - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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;power

2a+b

(1)

combine2a2b&comma;icombine

2a+b

(2)

combine4a6b12c5d&comma;power

4a6b12c5d

(3)

combine4a6b12c5d&comma;icombine

22a+b+2c3b+c5d

(4)

combine4a6b12c5dF6a30c7e&comma;icombine

22a+b+2c3b+c5dF5c6a+c7e

(5)

combine4a6a152b&comma;icombine

32a+b5b

(6)

combine8124sqrt2a&comma;icombine

212a2

(7)

combinesqrt22a23a3&comma;icombine

9212+a2

(8)

combine144a25a&comma;icombine

1252a

(9)

combine22a13a&comma;icombine

−1a12a

(10)

See Also

combine

combine/power