Re: [sage-support] Re: Polynomial Independence

2010-04-25 Thread Santanu Sarkar
Hi, No, my polynomials are not homogeneous and are of different degree. Suppose: R.x1,x2,x3=ZZ[] f1=1+x1+x2+x1*x2 f2=1+x1+x3+x1*x3 I want to find linear dependence of the set polynomials {f1,f2,f1*f2, x1*f2,x2*f2} With regards, Santanu On 25 April 2010 15:33, Simon King

[sage-support] Re: Polynomial Independence

2010-04-25 Thread Simon King
Hi! On 25 Apr., 12:26, Santanu Sarkar sarkar.santanu@gmail.com wrote: I want to find linear dependence of the set polynomials {f1,f2,f1*f2, x1*f2,x2*f2} 'Linear over ZZ' or 'linear over R'? If it is the latter, the following might help (but is only implemented if you have polynomials over

[sage-support] Re: Polynomial Independence

2010-04-25 Thread Simon King
On 25 Apr., 12:50, Santanu Sarkar sarkar.santanu@gmail.com wrote: Sorry again. Dependency needs over integer. Probably there is a better way of doing it, but the following works: Transform the problem into a matrix: One row for each polynomial, one column for each monomial that occurs in

Re: [sage-support] Re: Polynomial Independence

2010-04-25 Thread Santanu Sarkar
Thank you very much for your kind help. On 25 April 2010 17:00, Simon King simon.k...@nuigalway.ie wrote: On 25 Apr., 12:50, Santanu Sarkar sarkar.santanu@gmail.com wrote: Sorry again. Dependency needs over integer. Probably there is a better way of doing it, but the following works: