# Tagged Questions

Questions on the functionality operating on polynomials

296 views

### Dimension of an algebraic variety

I would like to compute, using Groebner bases, the dimension of the variety defined by a set of polynomials in several variables. In the wikipedia page the method is described, and an implementation ...
359 views

### Counting the number of terms in a polynomial using Length command

I have the following polynomial which depends on $n$: poly = (Sum[(i - 1) y[i], {i, 1, n, 1}])^2 - Sum[(i - 1)^2 y[i]^2, {i, 2, n, 1}] // Expand; The ...
603 views

### Implementation of the Polynomial Chinese Remainder Theorem

I would like an implementation of the Chinese Remainder Theorem for polynomials in $\mathbb{Z}[x]$, that is, a function ...
129 views

### Expand power of a polynomial

I'm very new to Mathematica, so excuse my innocence. I have the following expression: $$\left( \sum_{n=0}^r \frac{(-1)^n}{n!} y^n \right)^f$$ I would like Mathematica to expand out the expression ...
103 views

### Points on discriminant variety?

I am trying to find a way in Mathematica to compute points on discriminant variety for modest size systems, but I couldn't find one. The system is something like: ...
180 views

### Coefficients of a polynomial in powers of 10

Can I express a polynomial function in Mathematica in power (ScientificForm) ? I was trying: ...
122 views

### CoefficientRules for negative powers

CoefficientRules acts like the following. ...
156 views

### Number of complex roots for the system of polynomials

I have a system of algebraic equations. For example: \left\{ \begin{aligned} x^2 y + 2 x y + 2 &= 0,\\ y^3 + 2 x + 1 &= 0. \end{aligned} \right. (In my problem the system contains 16 ...
506 views

### Small Issue with Chebyshev Derivative Approximation

I am trying to approximate the derivative of a function from its Chebyshev expansion. I start out with the following random function: ...
104 views

### Does Solve[] find ALL the exact roots of rational polynomials?

Does Solve[] find ALL the exact roots of rational polynomials? I've done a bunch of tests where I created an expression with some analytic roots, and Solve[] always found them all. But is the ...
115 views

### Efficiently strip off coefficients in front of variables?

I am working with multivariate polynomials and need a very efficient way to decompose monomials into coefficients and pure monomials. for instance consider variables ...
363 views

### Creating a function with integral zeroes of the 0th, 1st, and 2nd derivatives

I would like to be able to randomly generate functions, each of which satisfies $f : [-10, 10] \rightarrow [-10, 10]$ All the zeroes, critical points, and inflection points have an integral $x$-...
724 views

### How to do the polynomial stuff over finite fields extensions fast?

This question is raised from the problem of package FiniteFields being very slow (please, see the corresponding question): I have had an evidence that Mathematica ...
301 views

### Better use of Mathematica's PolynomialReduce[]?

I've been using scPhiDecomp[expr_]:= PolynomialReduce[expr, {x^2-y^2,2 x y}, {x,y}] which works great on ...
77 views

### How many solutions do you get from simultaneous polynomial equations?

I have the following four simultaneous polynomial equations ...
119 views

### How to equate coefficient of two polynomials? [closed]

Given two polynomials, How can I equate coefficients of them in Mathematica? For instance a + b x + (c+d) x^2 + (e+f)x^3 == 0
40 views

### Relative factorisation with scalar quantities

I'd like to find a natural way to tell mathematica that a given unknown in a polynomial should be treated as a number, unlike the other variables. Typically I'd like to sum two polynomials in several ...
79 views

### Fishing for monomials in a nested or partially factored polynomial stream

I have a problem where I'd like to be able to take a multivariate polynomial whose variables are nonscalar and is not written explicitly as a sum of it's nonzero monomial terms and determine which ...
133 views

### How to check if a Polynomial has a specific form

I have a polynomial F[x], for example F[x] = 1 - 2x + x^2. I wanna check whether F[x] has the form of ...
154 views

475 views

### Collecting terms of even exponents

Say I've got a polynomial of $4$ or $5$ variables (we'll say $d_1$, $d_2$, $d_3$, and $d_4$). How would you collect the terms where each $d$ is raised to an even power? It collects the terms of the ...
512 views

### NSolve didn't get the answer for my equations within 24 hours

I have two polynomials as function of $wa$ and $wb$ , I am going to show those polynomials. This is the expression for $GS65$: ...
2k views

### Solving a polynomial equation with a condition of equality on roots

Let the following equation have two equal roots: f[x_] := x^3 - p x^2 + q x - r And I want to find out what the three roots are. Not knowing how to put this ...
305 views

100 views

### How to order lexicographically the monomers of a parametrized polynomial?

I want to order lexicographically the monomials in a "parametrized polynomial", i.e. polynomials whose "symbolic bits" may be either "variables" or "parameters". For example: ...