Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
0

Linear Independence in Quotients of Polynomial Rings

asked 2 years ago

Thrash gravatar image

updated 1 year ago

FrédéricC gravatar image

Consider the following:

K = GF(2)    # can be an arbitrary field
R.<a,b> = PolynomialRing(K)
I = R.ideal(a^2-1,a*b)
Q = R.quo(I)

Now 1,a,b are linearly dependent in Q because b=0 (in Q).

Is there an elegant way to check this with Sage, especially when the ideals get more complicated? That is: Is there a method to check whether 1,a1,,an are linearly (in)dependent in a given quotient K[a1,,an]/I?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 2 years ago

Max Alekseyev gravatar image

Use order that depends on degree (eg. degrevlex), compute Grobner basis wrt such order, and check if it contains any polynomials of degree 1. Any such polynomial will gives a desired linear combination:

K = GF(2)    # can be an arbitrary field
R.<a,b> = PolynomialRing(K,order='degrevlex')
I = R.ideal(a^2-1,a*b)
print([f for f in I.groebner_basis() if f.degree()==1])
Preview: (hide)
link

Comments

Thanks, I've already played with that, too. In this case this should be equivalent to the fact that if we define all the multiplications, that is aiaj (in my example one would have to add something of the form b2 to the ideal), then the Gröbner basis should have the length 3 (in my example) if and only if 1,a,b are linearly independent in the related quotient. I just wonder if there is a faster method.

Thrash gravatar imageThrash ( 2 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2 years ago

Seen: 304 times

Last updated: Dec 18 '22