Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Find specific linear combination in multivariare polynomial ring

Assume that I have given a sequence of polynomials f1,,fs in a multivariate polynomial ring (over Z, if that matters) and want to decide whether a given polynomial g can be written as g=λ1f1++λsfs. Then in Sage I just let

I = Ideal([f_1,...,f_s])

and test with

g in I

If this returns True, how can I get Sage to display some possible λ1,,λs?

As for my specific problem, I have already tried it by hand, but this is hard: My polynomial ring has 15 indeterminates and there are s=250 polynomials.

click to hide/show revision 2
typo

updated 13 years ago

DSM gravatar image

Find specific linear combination in multivariare multivariate polynomial ring

Assume that I have given a sequence of polynomials f1,,fs in a multivariate polynomial ring (over Z, if that matters) and want to decide whether a given polynomial g can be written as g=λ1f1++λsfs. Then in Sage I just let

I = Ideal([f_1,...,f_s])

and test with

g in I

If this returns True, how can I get Sage to display some possible λ1,,λs?

As for my specific problem, I have already tried it by hand, but this is hard: My polynomial ring has 15 indeterminates and there are s=250 polynomials.