Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Collectterms

Function: collectterms (<expr>, <arg_1>, ..., <arg_n>) If several expressions have been simplified with facsum, factorfacsum, factenexpand, facexpten or factorfacexpten, and they are to be added together, it may be desirable to combine them using the function collecterms. collecterms can take as arguments all of the arguments that can be given to these other associated functions with the exception of nextlayerfactor, which has no effect on collectterms. The advantage of collectterms is that it returns a form similar to facsum, but since it is adding forms that have already been processed by facsum, it does not need to repeat that effort. This capability is especially useful when the expressions to be summed are very large.

p:2*y*z^2+x*z^3+2*x*z^4;
collectterms(p,x);
ordergreat(x,y,z);
p:2*y*z^2+x*z^3+2*x*z^4;
unorder();
ordergreat(z,y,x);
p;
unorder();
ordergreat(z,x,y);
p;
unorder();

(%o1)                                true
(%i2) 

Related Examples

collectterms-expand

f:((x-(1/a)-(1/b))*(x...

expand(f);

f*x;

Calculate

collectterms-conjugate-declare-expand-fullratsimp

A:[A[x],A[y],A[z]],A[...

B:[B[x],B[y],B[z]],B[...

declare([a,b,c,d],real);

Calculate

collectterms

collectterms((x^4+4*x...

Calculate

collectterms

collectterms(a * (p1 ...

Calculate

collectterms-expand

f: expand((x-1/a-1/b)...

collectterms(f,x);

Calculate

collectterms-expand

f: expand((x-1/a-1/b)...

collectterms (f);

Calculate

collectterms

collectterms((x^4)+(4...

Calculate

collectterms-sin

(sin(x)+sin(2*x))*u+(...

collectterms(%,u);

Calculate

collectterms-expand

f:expand((x-(1/a)-(1/...

collectterms(f,x);

Calculate

collectterms-ordergreat-orderless-unorder

p:2*y*z^2+x*z^3+2*x*z^4;

collectterms(p,x);

orderless(z,y,x);

Calculate