Sorry again. Dependency needs over integer. On 25 April 2010 16:06, Simon King <simon.k...@nuigalway.ie> wrote:
> 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 a field, not over ZZ): > > sage: R.<x1,x2,x3>=QQ[] > sage: f1=1+x1+x2+x1*x2 > sage: f2=1+x1+x3+x1*x3 > sage: I = [f1,f2]*R > sage: I.syzygy_module() > [-x3 - 1 x2 + 1] > sage: (-x3 - 1)*f1+(x2 + 1)*f2 > 0 > > Cheers, > Simon > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com<sage-support%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org