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:

Factorsum Calculator

Factorsum

Function: factorsum (<expr>) Tries to group terms in factors of <expr> which are sums into groups of terms such that their sum is factorable. factorsum can recover the result of expand ((x + y)^2 + (z + w)^2) but it cant recover expand ((x + 1)^2 + (x + y)^2) because the terms have variables in common.

domain:complex;
declare([a1,b1,a2,b2,zA1,zB1,zA2,zB2],complex);
eq1:a1*zA1+b1=a2*zA2+b2;
eq2:a1*zB1+b1=a2*zB2+b2;
sol:solve([eq1,eq2], [a2, b2]);
solf:factorsum(factor(sol));

Example:

          (%i1) expand ((x + 1)*((u + v)^2 + a*(w + z)^2));
                     2      2                            2      2
          (%o1) a x z  + a z  + 2 a w x z + 2 a w z + a w  x + v  x

2 2 2 2 + 2 u v x + u x + a w + v + 2 u v + u

          (%i2) factorsum (%);
                                             2          2
          (%o2)            (x + 1) (a (z + w)  + (v + u) )

There are also some inexact matches for factorsum. Try ?? factorsum to see them.

(%o1)                                true
(%i2) 

Factorsum Example

Related Examples

factorsum

factorsum(2*x^2+8*y^2...

Calculate

factorsum-gfactorsum

gfactorsum(4+25*%i);

Calculate

factorsum

v: a+b^2/z+c^2/z+d^2-...

factorsum(v);

Calculate

factorsum-gfactorsum

gfactorsum(4+25*%i);

Calculate

factorsum-simpsum-sum

S1 : sum( k , k , 1 ,...

factorsum(S1);

S2 : sum( S1 , k , 1 ...

Calculate

factorsum

eq1:C*L*s^2 + 10*C*R*...

factorsum(eq1);

Calculate

factorsum-simpsum-sum

S1 : sum( k , k , 1 ,...

factorsum(S1);

S2 : sum( ( 1 / 2 ) *...

Calculate

factorsum-ratsimp

Fs: 1/(s*C2)*(R1+1/(s...

Fs: ratsimp(Fs);

Hn: (Icp/(2*3.14)*Fs*...

Calculate

factorsum-simpsum-sum

S1 : sum( k , k , 1 ,...

factorsum(S1);

S2 : sum( k^2 , k , 1...

Calculate

factorsum-gfactorsum

gfactorsum (x^2 - 1);

Calculate