Skip to main content

Questions tagged [polynomials]

Questions on the functionality operating on polynomials

4 votes
5 answers
236 views

The question is best explained by an example: Expand[(a+b)(a-b)] results in a^2-b^2. How to avoid summation to get also the ...
granular_bastard's user avatar
6 votes
0 answers
85 views

I have noticed a significant performance gap between CoefficientList and CoefficientRules. While ...
lapcal's user avatar
  • 1,087
3 votes
3 answers
265 views

I'm trying to run this relatively simple code. I have five polynomial equations (I read that NSolve should work fine with these) and five variables. I need to find ...
CaptainParsifal's user avatar
6 votes
0 answers
151 views

Why does PrimitivePolynomialQ[x + 1, 2] yield False ? Why does PrimitivePolynomialQ[x, 2] ...
fgrieu's user avatar
  • 518
0 votes
1 answer
103 views

I need to write a cyclic polynomial of $a$, $b$, $c$ as a cyclic sum $\sum\limits_{\rm cyc}$ of another polynomial. The problem is rigorously stated as follows. Input: A polynomial $f(a,b,c)$. Output:...
youthdoo's user avatar
  • 711
6 votes
8 answers
372 views

Given is a polynomial with an arbitrary number of variables. How can I replace the constant term of the polynomial by another expression? The constant term is a number but the value 0 is not ...
granular_bastard's user avatar
1 vote
2 answers
170 views

I have this quartic equation 25 x^4 + x^2 (5 - 7 y^2) + 3 x y + 4 == 0 for real $y>0$. I use Reduce and get four parametric ...
math3999's user avatar
5 votes
0 answers
105 views

For inexact coefficients MonomialList seems to apply N. How to avoid this? ...
I.M.'s user avatar
  • 3,546
0 votes
1 answer
162 views

Let $G$ be a graph of order $n$. Then the visibility polynomial, $\mathcal{V}(G)$, of $G$ is defined as $$ \\ \mathcal{V}(G)=\sum_{i\geq 0} r_i x^{i} \\ $$ where $r_i$ denote the number of mutual-...
138 Aspen's user avatar
  • 2,434
3 votes
1 answer
243 views

Here are two examples with ordinary extensions: Factor[1 + x^4, Extension -> Sqrt[2]] Factor[x^2 + 2 Sqrt[3] x + 3, Extension -> Automatic] But what about &...
azerbajdzan's user avatar
  • 38.5k
5 votes
4 answers
708 views

I suspect that 1.0982 is (close to) the root of a low degree (2 or 4) polynomial with small ...
pdmclean's user avatar
  • 1,466
3 votes
4 answers
273 views

The following function finds the degree of a multi-variate polynomial. PolyDeg[expr_]:=expr//ToList//Exponent[#,Variables[#]]&/@#&//Plus@@@#&//Max; ...
youthdoo's user avatar
  • 711
0 votes
0 answers
76 views

I know Mathematica has implemented some QFunctions. I have found this literature: q-Bessel polynomials, q-Laguerre polynomials, q-Charlier polynomials, etc.? I have implemented q-Bessel polynomials in ...
Ahamad's user avatar
  • 1
2 votes
2 answers
153 views

This is similar to the how-to-replace-variable-with-power question, but here it involves two variables with different power combinations. This quesion arises from paper forward kinematics of the 6-6 ...
eason's user avatar
  • 403
2 votes
3 answers
126 views

I need a function which combines like terms in a polynomial with multiple variables. The coefficients (constant real numbers) may contain radicals and this function must put them together. Example: ...
youthdoo's user avatar
  • 711

15 30 50 per page
1
2 3 4 5
70