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:

Remainder

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

sqfr(x^3-9);
remainder(expand((x^3+1)^3-2),a^3-9,a);
h:expand((x^2+2*x+5)^2*(x-1)^3*(x+2)*(x+1)^1);
g:gcd(h,diff(h,x));
c[1]:rat(h/g);
d[1]:rat(diff(h,x)/g-diff(c[1],x));
i:1;
while c[i]#1 do (/*print("c[",i,"]=",c[i]),*//*print("d[",i,"]=",d[i]),*/f[i]:gcd(c[i],d[i]),if f[i]#1 then (print("f[",i,"]=",f[i])),c[i+1]:rat(c[i]/f[i]),d[i+1]:rat(d[i]/f[i]-diff(c[i+1],x)),i:i+1);

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-resultant

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

B:v^3+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-resultant

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

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

C:resultant(A,B,u);

Calculate

remainder

p(t):=t^2+2*t+1;

remainder(p(x),x+1);

Calculate

remainder-resultant

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

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

C:v^4-k;

Calculate

remainder

remainder(x^10,x^3+3*...

Calculate

remainder

remainder(x^2+2*x+1,x...

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;

Calculate

remainder-resultant

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

B;

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

Calculate