Previous Up Next

11.2.1  Divisors of a polynomial

The divis command finds the divisors of a polynomial.

Examples

divis(x^4-1)
     
⎡
⎣
1,x−1,x+1,⎛
⎝
x−1⎞
⎠
⎛
⎝
x+1⎞
⎠
,x2+1,⎛
⎝
x−1⎞
⎠
⎛
⎝
x2+1⎞
⎠
, ⎛
⎝
x+1⎞
⎠
⎛
⎝
x2+1⎞
⎠
,⎛
⎝
x−1⎞
⎠
⎛
⎝
x+1⎞
⎠
⎛
⎝
x2+1⎞
⎠
⎤
⎦
          
divis([x^2,x^2-1])
     
⎡
⎣
⎡
⎣
1,x,x2⎤
⎦
,⎡
⎣
1,x−1,x+1,⎛
⎝
x−1⎞
⎠
⎛
⎝
x+1⎞
⎠
⎤
⎦
⎤
⎦
          

Previous Up Next