The Maxima on-line user's manual

Algebra Calculator

Remainder

Function: remainder (<p_1>, <p_2>)

Function: remainder (<p_1>, <p_2>, <x_1>, ..., <x_n>) Returns the remainder of the polynomial <p_1> divided by the polynomial <p_2>. The arguments <x_1>, ..., <x_n> are interpreted as in `ratvars`.

`remainder` returns the second element of the two-element list returned by `divide`.

```(%o1)                                true
(%i2) ```

Related Examples

remainder

p(t):=t^3-t+1;

r(a):=remainder(p(x^a...

r(1);

Calculate

remainder

A:u^4+p*u^2+q*u+r;

B:u^2+a*u+b;

C:A*B;

Calculate

remainder-resultant

A:u^4+p*u+q;

B:v^3+a*v^2+b*v+c-u*(...

C:v^4-k;

Calculate

remainder-resultant

A:u^4+4*p*u+q;

B:v^3+a-u*(v^2+b*v);

C:resultant(A,B,u);

Calculate

remainder

A:x^2-y;

B:x+2;

C:remainder(A,B,y);

Calculate

remainder

remainder(1638, 37);

Calculate

remainder-resultant

A:u^4+p*u+q;

B:v^3+a*v+b-u*v^2;

C:v^4-k;

Calculate

remainder-resultant

A:u^4+p*u^2+q*u+r;

B:v^2+b-u*(c*v^2+e);

C:v^4+k*v+m;

Calculate

remainder

remainder(1342, 37);

Calculate

remainder-resultant

A:u^3+p*u+q;

B:v^2+a-u*(v+b);

C:resultant(A,B,u);

Calculate