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 : expand((x-1/a-1/b...

collectterms(f,x);

Calculate

collectterms-ordergreat

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

collectterms(p,x);

ordergreat(x,y,z);

Calculate

collectterms-expand

f : (x^4+4*x^3-17*x^2...

g : (x^2-5*x+3);

expand(f*g);

Calculate

collectterms-expand

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

expand(f);

f*x;

Calculate

collectterms-expand-psi-rhs-subst

eq1: uD = iD*R -w*LQ*iQ;

eq2: uQ = iQ*R + w*LD...

eq3: u^2 = uD^2+uQ^2;

Calculate

collectterms

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

collectterms(f,x);

Calculate

collectterms-ratsimp

H1(z) := F*(z^-1)/(1-...

H2(z) := H1(z)/(1+Q*H...

H3(z) := H2(z)*F*(1/(...

Calculate

collectterms-expand

collectterms(expand((...

Calculate

collectterms-expand

eq1:(m*r-m)*(r+m)^2/(...

collectterms(expand(e...

Calculate

collectterms-expand

collectterms(expand((...

Calculate