Skip to main content
9 votes
Accepted

Using a Grobner basis to calculate common roots of a system of polynomial equations

I will suggest setting this up in a way that is, to my view, slightly simpler. have each angle be measured from the positive horizontal axis. Place the origin at juncture of the vertical bar and the ...
Daniel Lichtblau's user avatar
8 votes
Accepted

How to express Groebner Basis in terms of original elements?

bas = {x^2 + y^2 + z^2 - 1, x - 2 y^3 - 3}; {gb, mat} = GroebnerBasis`BasisAndConversionMatrix[bas, {x,y,z}, {}] mat.bas == gb // Simplify (* True *)
Michael E2's user avatar
  • 241k
8 votes
Accepted

How to use Mathematica's GroebnerBasis to automate solving system of polynomials

As noted in comments, Solve does this. An efficient "by hand" approach is to solve for the first equation, plug the solutions into the next, solve, join ...
Daniel Lichtblau's user avatar
6 votes
Accepted

Basis for multivariable polynomials

You can use CoefficientRules to convert polynomial to a vector of coefficients. Below I use CoefficientRules on generic linear ...
Roma Lee's user avatar
  • 741
6 votes

Basis for multivariable polynomials

Not sure if this is what you want, but here is a way to get a vector space basis. We need to extract the different exponent vectors, create a matrix with each row representing a polynomial, augment ...
Daniel Lichtblau's user avatar
6 votes
Accepted

Default weight matrix for EliminationOrder

It's not actually a block ordering. EliminationOrder constructs the weight matrix as follows. Order variables so that those to be eliminated precede (are to the ...
Daniel Lichtblau's user avatar
5 votes

When 'GroebnerBasis' is used for eliminating the state variables in determinant of Jacobian, is the sign related to the signs of det at fix points?

I do not know what OP means by "right sign". But to get a canonical normalization, one can rescale the polynomial and set the leading coefficient equal to $1$. For example, define ...
user293787's user avatar
  • 11.9k
5 votes

Is it possible to characterize the sign of the trace and det at the fixed points of a dynamical system using Gröbner, postponing computing the points?

My answer does not answer your doubts regarding the Groebner basis, but consider that it is an option to the problem of obtaining non-trivial equilibria. A viable option is to ...
E. Chan-López's user avatar
5 votes
Accepted

Eliminating a variable with GroebnerBasis

How about using Resultant? The result is very large so not posted (noticed I removed the =0 from both expressions): ...
Dominic's user avatar
  • 2,914
5 votes
Accepted

GroebnerBasis internals and runtime dependence on variable list ordering

From the help of GroebnerBasis: "The Gröbner basis in general depends on the ordering assigned to monomials. This ordering is affected by the ordering of the $...
Daniel Huber's user avatar
  • 54.6k
4 votes
Accepted

Why is my GroebnerBasis = 0 in this case?

Let me show another way to derive implicit Cartesian equations from a given set of parametric equations with trigonometric components. It consists of applying the Weierstrass substitution to the ...
J. M.'s missing motivation's user avatar
4 votes
Accepted

How to stop GroebnerBasis from automatically normalizing?

One cannot change the way the polynomial coefficients are normalized in GroebnerBasis. To do recovery over Q when working with modulo-prime bases one can use ...
Daniel Lichtblau's user avatar
4 votes
Accepted

Is there a function in Mathematica that computes the number of solutions to polynomial systems?

Here is code I cribbed from the NSolve method based on computing an eigensystem from a Groebner basis. ...
Daniel Lichtblau's user avatar
4 votes

Basis for multivariable polynomials

I was going to tell you to use PolynomialReduce, but unfortunately, it's not so simple. In the code below, it expresses the first polynomial as the sum of the ...
Victor K.'s user avatar
  • 5,231
4 votes

How to get the multiplicity of a certain root in a system of polynomial equation

I would expect the multiplicity of (0,0) to be 12. sol = SolveValues[{x^3 == 0, y^4 == 0}, {x, y}] Tally[sol] Regarding comment, this is what I get for the new ...
Nasser's user avatar
  • 149k
3 votes
Accepted

Grading and Groebner bases

This is an addendum to march's comment. You can use a non-singular "weight matrix" to specify weights to the variables. Although how the weight matrix works is not explained in the Document, ...
A. Kato's user avatar
  • 2,585
3 votes
Accepted

How to get similar GroebnerBasis?

You cannot get the same Groebner basis because them basis shown in the paper is not correct. Which maybe is not so surprising, given that this is a 2022 paper about a method that was known as far back ...
Daniel Lichtblau's user avatar
3 votes
Accepted

Solving a system of polynomial equations - can I be sure that the number of solutions, and the solutions are correct?

I believe you missed a lot of solutions, namely, infinitely many of them. As Daniel points out in the comment below, there is a multiple root at (0,0). Apart from ...
yarchik's user avatar
  • 19.3k
2 votes
Accepted

Monomial order when testing ideal membership with PolynomialReduce?

First question. Yes, the monomial orders must agree in order to have the guarantees that come with Groebner bases, for example to conclusively check membership in an ideal. Let me take the following ...
user293787's user avatar
  • 11.9k
2 votes

Does Mathematica have build-in function to compute dimension of square polynomial system?

I wish to follow up with this post: The reference above: idealDimension written by Daniel does answer this question in terms of Ideal Dimension and I tested it in ver. 12.0.0. All credit goes to ...
Dominic's user avatar
  • 2,914
1 vote

How to get similar GroebnerBasis?

The following produces the required result. ...
user64494's user avatar
  • 27.7k
1 vote

Transform Polynomial in Trigonometric Functions to AssociatedLegendrePolynomials

The functions: LegendreP[n,x] Sqrt([2n+1)/2] are an orthogonal system of functions over -1.. 1 with the weight function: 1. Therefore, you can get the expansion ...
Daniel Huber's user avatar
  • 54.6k
1 vote

When 'GroebnerBasis' is used for eliminating the state variables in determinant of Jacobian, is the sign related to the signs of det at fix points?

For me, the conclusion of these discussions is that: The easiest quantities to obtain symbolically for bifurcation analysis of dynamical systems are ...
florin's user avatar
  • 1,982
1 vote
Accepted

Using a Groebner Basis to show Bijectivity

It's slightly more complicated I think. You have to be able to solve for c1...c4 but also you need to show the injectivity and surjectivity of these maps. I will ...
Daniel Lichtblau's user avatar
1 vote

Does Mathematica have build-in function to compute dimension of square polynomial system?

@Daniel: Regarding your comments above. I am working with iterated polynomial systems in which idealDimension quickly become CPU-bound after only a few iterations. Here is a benchmark running on a 4....
Dominic's user avatar
  • 2,914
1 vote
Accepted

Define a new CoefficientDomain in PolynomialReduce function

To make this self contained I will copy the somewhat large input from the question. ...
Daniel Lichtblau's user avatar
1 vote

How to automatically find sequence of linear transformations

These commands do not produce what you want since you said that a3 or b2 can be zero. Still they might be a good alternative of ...
Anton Antonov's user avatar
1 vote

Crash after long GroebnerBasis calculation

I encountered this problem too. You can restart kernel periodically by code. Search for this post "Self-restarting MathKernel - is it possible in Mathematica?" https://stackoverflow.com/questions/...
Gregory Xue's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible