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:

Ratsimp Calculator

Ratsimp

Function: ratsimp (<expr>)

diff(f(x)=x^2,x);
ratsimp(diff(f(d)=(((1-d)/r)^4)*((4*d)/(r+1)),d));

Function: ratsimp (<expr>, <x_1>, ..., <x_n>) Simplifies the expression <expr> and all of its subexpressions, including the arguments to non-rational functions. The result is returned as the quotient of two polynomials in a recursive form, that is, the coefficients of the main variable are polynomials in the other variables. Variables may include non-rational functions (e.g., sin (x^2 + 1)) and the arguments to any such functions are also rationally simplified.

ratsimp (<expr>, <x_1>, ..., <x_n>) enables rational simplification with the specification of variable ordering as in ratvars.

When ratsimpexpons is true, ratsimp is applied to the exponents of expressions during simplification.

See also ratexpand. Note that ratsimp is affected by some of the flags which affect ratexpand.

Examples:

          (%i1) sin (x/(x^2 + x)) = exp ((log(x) + 1)^2 - log(x)^2);
                                                   2      2
                             x         (log(x) + 1)  - log (x)
          (%o1)        sin(------) = %e
                            2
                           x  + x
          (%i2) ratsimp (%);
                                       1          2
          (%o2)                  sin(-----) = %e x
                                     x + 1
          (%i3) ((x - 1)^(3/2) - (x + 1)*sqrt(x - 1))/sqrt((x - 1)*(x + 1));
                                 3/2
                          (x - 1)    - sqrt(x - 1) (x + 1)
          (%o3)           --------------------------------
                               sqrt((x - 1) (x + 1))
          (%i4) ratsimp (%);
                                     2 sqrt(x - 1)
          (%o4)                    - -------------
                                           2
                                     sqrt(x  - 1)
          (%i5) x^(a + 1/a), ratsimpexpons: true;
                                         2
                                        a  + 1
                                        ------
                                          a
          (%o5)                        x

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

(%o1)                                true
(%i2) 

Ratsimp Example

Related Examples

ratsimp

t1:-x1/3+x2/24+x3/24-...

t2:-x2/16-x3/16-3/16+...

ratsimp(t2);

Calculate

ratsimp

ratsimp((1+2*s)*(4*s*...

ratsimp(2/c-(-b/63-3*...

Calculate

ratsimp

ratsimp((3*x/2*x-4)-(...

Calculate

ratsimp

a1: - x;

a2: r - A;

b1: - x;

Calculate

ratsimp-sqrt

AB:1;

BD:sqrt((2-m)^2+n^2);

DA:sqrt((m-1)^2+n^2);

Calculate

ratsimp-sqrt

num1: 2*a*x;

num2: 2*y*sqrt(a*b*(a...

den: 2*a*(a*x*x+b*y*y);

Calculate

ratsimp

ratsimp(6*t*x+6*t*x*l...

Calculate

ratsimp

ratsimp((-m^3*(3/2)*(...

Calculate

ratsimp

ratsimp((x-2)/(x+2)+2...

Calculate

ratsimp

ratsimp(1+x^2*(x1+y1)...

Calculate