Working with univariate polynomial ideals? #3504
-
Some of my applied algebra students are a bit confused about how to deal with the univariate polynomial ring
You need If you need both points of view, you need to create two ideals in two rings, which easily gets confusing in a teaching situation... Is there any way to make this more beginner-friendly? Naively, it would of course be nice if as much as possible of the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are several things, but I guess some would be (can be) highly confusing. The most important difference, from a proactical point of view, is the different interface to the internals (coefficients, ...). Univariate are always dense, multivariate types are sparse.
However that means in the univariate case There is no reason why we cannot add roots to multivariates - after all we can already factor... that would be trivial. So maybe the more intersting question: what are your applications? What would help you? (roots is easy:
OK, this is not optimal...) |
Beta Was this translation helpful? Give feedback.
-
I think it would be great, if the ideal functionality available for the |
Beta Was this translation helpful? Give feedback.
There are several things, but I guess some would be (can be) highly confusing. The most important difference, from a proactical point of view, is the different interface to the internals (coefficients, ...). Univariate are always dense, multivariate types are sparse.
Thus for
f = x^3-2
, a call tocoeff(f, 0)
will give -2 in the univariate case and an error in the multivariate. In the multivariate case,coeff(f, 1) -> 1
,coeff(f, 2) -> -2
and all others error. This allows to implement different algorithms for arithmeticHowever that means in the un…