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:

Xthru Calculator

Xthru

Function: xthru (<expr>) Combines all terms of <expr> (which should be a sum) over a common denominator without expanding products and exponentiated sums as ratsimp does. xthru cancels common factors in the numerator and denominator of rational expressions but only if the factors are explicit.

f(x):= 4*x+18*x/(1+x)+30-6*x;
xthru(f(x));
diff(f(x),x);
solve(diff(f(x),x),x);
xthru(diff(f(x),x));
plot2d(f(x),[x,0,5]);

Sometimes it is better to use xthru before ratsimping an expression in order to cause explicit factors of the gcd of the numerator and denominator to be canceled thus simplifying the expression to be ratsimped.

          (%i1) ((x+2)^20 - 2*y)/(x+y)^20 + (x+y)^(-19) - x/(x+y)^20;
                                          20
                           1       (x + 2)   - 2 y       x
          (%o1)        --------- + --------------- - ---------
                              19             20             20
                       (y + x)        (y + x)        (y + x)
          (%i2) xthru (%);
                                           20
                                    (x + 2)   - y
          (%o2)                     -------------
                                             20
                                      (y + x)

(%o1)                                true
(%i2) 

Xthru Example

Related Examples

xthru

eq1: (e1+e2+2*(e3+e4)...

xthru(eq1);

Calculate

xthru

((x+2)^20 - 2*y)/(x+y...

xthru (%);

Calculate

xthru

eq1:x*4+y-2=y;

xthru(eq1);

Calculate

xthru

xthru((1-x1^2-x1*dx1-...

Calculate

xthru

eq1: (e1+e2+2*(e3+e4)...

xthru(eq1);

Calculate

xthru

a: 1/(c-d)-c/(c^2-d^2...

xthru(a);

Calculate

xthru

((x*2)^20 - 2*y)/(x*y...

xthru (%);

Calculate

xthru

((x+2)^20 - 2*y)/(x+y...

xthru (((x+2)^20 - 2...

Calculate

xthru

eq1:x*4+y-2=y;

xthru(eq1);

Calculate

xthru

((x+2)^20 - 2*y)/(x+y...

xthru (%);

Calculate