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

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 gcd⁡a,b=1=gcd⁡c,d, then gcd⁡a⁢b,c⁢d=1.

• 

In addition, the following simplifications are performed:

– 

Nested powers abc are combined as ab⁢c if a∈ℚ and one of the following conditions is satisfied:

• 

b∈ℚ and a<0or−1<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

> 

combine⁡2a⁢2b&comma;power

2a+b

(1)
> 

combine⁡2a⁢2b&comma;icombine

2a+b

(2)
> 

combine⁡4a⁢6b⁢12c⁢5d&comma;power

4a⁢6b⁢12c⁢5d

(3)
> 

combine⁡4a⁢6b⁢12c⁢5d&comma;icombine

22⁢a+b+2⁢c⁢3b+c⁢5d

(4)
> 

combine⁡4a⁢6b⁢12c⁢5d⁢F⁡6a⁢30c⁢7e&comma;icombine

22⁢a+b+2⁢c⁢3b+c⁢5d⁢F⁡5c⁢6a+c⁢7e

(5)
> 

combine⁡4a6a⁢152b&comma;icombine

32−a+b⁢5b

(6)
> 

combine⁡8124⁢sqrt⁡2a&comma;icombine

2−12−a2

(7)
> 

combine⁡sqrt⁡2⁢2−a2⁢3a3&comma;icombine

92−12+a2

(8)
> 

combine⁡144a25a&comma;icombine

1252⁢a

(9)
> 

combine⁡−22⁢a⁢−13−a&comma;icombine

−1a⁢12a

(10)

See Also

combine

combine/power