Ask Your Question
1

How to compute such resultant?

asked 2 years ago

DreDd gravatar image

updated 2 years ago

FrédéricC gravatar image

I need to compute such resultant: Where - polynomials over Z.

How can i do this in sage?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 2 years ago

rburing gravatar image

Setup:

R.<x> = PolynomialRing(ZZ)
A1 = R.random_element(degree=2)
C0 = R.random_element(degree=2)
C1 = R.random_element(degree=2)
S.<y> = PolynomialRing(R)

Execution:

sage: A1(y).resultant(C0 + y*C1)
x^4 - 6*x^3 + 5*x^2 - 4*x + 2
Preview: (hide)
link

Comments

Thanks, I tried to set a polynomials over another fields, especially C1, and face with data type problem, would it be correct to use change_ring to bring everything into the same form?

DreDd gravatar imageDreDd ( 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

1 follower

Stats

Asked: 2 years ago

Seen: 514 times

Last updated: Sep 26 '22