Questions on the functionality operating on polynomials

learn more… | top users | synonyms (1)

1
vote
3answers
288 views

Convert coefficients of polynomials into a matrix

I have several sets of 5 polynomials of the form: ...
1
vote
1answer
125 views

Factorize Parametric Polynomials

Is there a possibility to factorize a parametric polynomial expression - meaning that the coefficients are defined as parameters, and not as specific numbers? My example - a polynomial in ...
1
vote
1answer
55 views

How can I sort the polynomial by the degree of $x$

f1 = a x^2 + b x + c + x^3 (* a x^2+b x+c+x^3 *) f1 /. x -> (x - a/3) // Expand (* (2 ...
1
vote
1answer
80 views

Factorize and find the null space of a polynomial in several variables [duplicate]

I've been asked to factor the following polynomial: poly = 6 x^3 + x^2 y - 11 xy^2 - 6 y^3 - 5 x^2 z + 11 xyz + 11 y^2 z - 2 xz^2 - 6 yz^2 + z^3 And to solve for z so that poly = 0 Can anyone help ...
1
vote
2answers
719 views

Solving cubic equation for real roots

I'm looking to solve the following cubic equation for x: $\beta\, x^3 - \gamma \,x = c$. I have plugged in some sample values ($\beta = 2$, $\gamma = 5$ and $c = 2$). When I try to solve this ...
1
vote
0answers
45 views

Speed up MinimalPolynomial

My Mathematica code runs slowly MinimalPolynomial[Sqrt[2] + Sqrt[3]+ Sqrt[5]+ Sqrt[7]+ Sqrt[11]+ Sqrt[13], x] runs slowly, but the Maple version ...
1
vote
1answer
55 views

Reducing a multi-variate polynomial to have terms upto certain degree

I have a polynomial in x and y. I want to keep all the terms with (combined) degree 4. Any pointers will be appreciated. Simple tricks for doing the same with univariate polynomial don't seem to work. ...
1
vote
0answers
108 views

Issue with Coefficient command

I'm trying to used the Coefficient command to extract the numerical values in front of a Chebyshev polynomial. I know that there is a numerical way to do this, presented in numerical recipes, which I ...
1
vote
0answers
95 views

Is there a way to speed up Simplify and/or PolynomialReduce Modulus-> 2?

I'm trying to simplify a series of equations with at most 64 input terms. As the number of terms involved in the equations increase, the runtime seems to grow exponentially. Does anyone know of ways ...
1
vote
0answers
137 views

Polynomial factorization over finite fields with non-prime order

One can easily factor a polynomial over finite fields of prime order, using Factor command: ...
1
vote
0answers
95 views

Know the degree of the equation with the radicals expanded

I have an equation with radicals. I would like to know what would be the degree of the polynomials if I'd move the terms and square the equation a number of times sufficient to remove all the ...
0
votes
3answers
342 views

Creating simple procedure for The Least-Square $m^\text{th}$ Degree Polynomials

I am CS major, taking Computational Numerical Analysis course. Instructor gave us freedom of choice, we were allowed to use anything or any computer language we picked, I picked Mathematica.This is my ...
0
votes
3answers
207 views

How to evaluate all the essentially distinct polynomials in 4 variables over $F_2$ on points of $F_2 ^ 4$

I am a beginner with Mathematica. For my research purpose I would like to get a list of all the polynomials in $F_2[x,y,z,w]$ and for each polynomial I would like to know the result that it gives then ...
0
votes
1answer
208 views

Is the formula $\sum _{m=1}^{n-1} \prod _{k=m+1}^n x_k x_m$ wrong in the wiki's page

SymmetricPolynomial[2, {Subscript[x, 1], Subscript[x, 2], Subscript[x, 3], Subscript[x, 4]}] $$\begin{align*}x_1 x_2+x_3 x_2+x_4 x_2+x_1 x_3+x_1 x_4+x_3 ...
0
votes
1answer
86 views

Partial factorization of multivariate polynomials in terms of given polynomials

I have calculated several homogeneous polynomials in 4,5 or 6 variables $t_1,\dots,t_6$. I would like to rewrite them as a sum of products of specific lower degree polynomials, which have a meaning in ...
0
votes
1answer
206 views

Integrating polynomial functions over polytopes with an add-on package

There is a Mathematica package to evaluate integrals over polytopes: http://library.wolfram.com/infocenter/Books/3652/ In the documentation (Functions.nb file) I ...
0
votes
1answer
85 views

Determinant of a square matrix with univariate polynomial entries is not a polynom? [closed]

I have a 15x15 Matrix with all polynomial entries. I want to calculate the determinant of the matrix. To my understanding the determinant should be a (albeit high order) polynom, too. And the paper, I ...
0
votes
1answer
63 views

Solutions of cubic equation D>0 or D<0

I have problem to obtain three roots of cubic equation N[Solve[a x^3 + b*x^2 + c*x + d == 0, x], 15] using analytical procedure ...
0
votes
1answer
66 views

Solving polynomial equations takes infinit time

I need to solve an polynimial equation, but when i try to use Solve or NSolve in mathematica, its cant find the solution in appropriate time (i interrupted calculation after 5 hour left). The ...
0
votes
1answer
47 views

Why the tensor product of list of variable change the subscript position in products

{Subscript[g, 1],Subscript[e, 1]}\[TensorProduct]{Subscript[g, 2],Subscript[e, 2]}\[TensorProduct]{Subscript[g, 3],Subscript[e, 3]} I am expecting answer like ... ...
0
votes
1answer
163 views

How to represent complex expression as f(x)/g(x) in which f(x) and g(x) are both polynomial expression [closed]

I have some complex expression like this F[x] = x*x/(1-x^2)*x/(1-x/(1-x)), I want to represent F[x] in the form of f(x)/g(x) in which both f(x), g(x) are normal ...
0
votes
1answer
200 views

How to neglect higher power terms in a polynomial expression

I have a polynomial expression of order n (say n=20). F(x)=1+x+x^2+x^3++...x^20. I want to approximate the polynomial for order 3 only. So I need to make the ...
0
votes
1answer
313 views

Generating lots of Examples in Polynomials Rings

I'm studying polynomial rings and i would like to know some tricks for generating lots of examples. For instance, suppose i'm interested in polynomials over the integers mod (2,x^3 + 1). To get a ...
0
votes
2answers
143 views

Dynamically change the variables plotted against in Plot3D

This question posed by @Cam is the closest I can find to my question but I feel that the answers don't really guide me in the way in which I'd like to proceed.... How do I dynamically change ...
0
votes
1answer
85 views

How to transform the polynomial in this way?

I have two functions f and g and a polynomial ...
0
votes
2answers
165 views

Transforming Sin into Abs[Sin] dynamically

Is it possible to interpolate a polynomial that approximates Sin, and then be able to manipulate the polynomial or a sample of its points to make sections of the ...
0
votes
2answers
85 views

Rearranging a simple algebraic equation

Suppose I have a simple algebraic equation like: ChebyshevT[4, p] == 0 1 - 8 p^2 + 8 p^4 == 0 and I want to solve for the ...
0
votes
1answer
403 views

Factoring a quintic

I am trying to prove that a quintic polynomial, $p(x) = A5 x^5 + A4 x^4 + A3 x^3 + A2 x^2 + A1 x + A0$, which admits at most three real roots. Unfortunately Descartes' rule of signs does not help, ...
0
votes
1answer
77 views

Solving one equation, then inputting the values into another for NonlinearModelFit

Considering the equation a*x^3 + a*x^2 + x + b == 0 I'm looking to find the best value for a and ...
0
votes
1answer
174 views

Table of Polynomials [closed]

I made a function makePolynomial that creates a random Polynomial of a certain degree, e.g. 2+T+3T^2+8T^3-5T^4... now I ...
0
votes
0answers
45 views

Roots of characteristic equation of sixth order

I have problem how to localize the roots of the sixth order polynomial given in the form of determinant. Classical Solve gives the solution which are in the long form. Is there way how to present ...
0
votes
1answer
75 views

Numerical method for solving a polynomial equation

I am looking for a numerical solution of a equation which contains, in general, one polynomial equation with unknown variable x. I have tried Reduce, ...
0
votes
0answers
43 views

PolynomialReduce not working

I have a polynomial $f(x_1, x_2, \ldots , x_n)$ with coefficients in $Z[q,t]$, and I have a list of polynomials $g = g_1, g_2, \ldots , g_k$ where they are also polynomials in $(x_1, x_2, \ldots, ...
0
votes
1answer
85 views

Finding the InverseFunction of a polynomial function restricted to an interval [duplicate]

I want to calculate the inverse of f[x_] := 1/2 - (x (4 x^2 - 9))/12 /; -1/2 <= x <= 1/2 f[x] is monotonic inside ...
0
votes
0answers
66 views

Finding relations between polynomials

Suppose I have a multivariate polynomial ring $A=\mathbb{R}[x_1,\ldots,x_n]$ and a set of $S=\{p_1, \ldots,p_k\}$ polynomials in $A$. Using this code (which works great) Dimension of an algebraic ...
0
votes
0answers
69 views

How can I calculate all irreducible polynomials of 31 degree in $\mathbb Z_2[x]$?

How can I calculate all binary irreducible polynomials of degree 31? or how i calculate all irreducible $f$ in $\mathbb Z_2[x]$? (The irreducible polynomial in $\mathbb Z_2[x]$ and $\mathbb R$ are ...
0
votes
0answers
64 views

Parallelising the solving of polynomials

I'm working on finding solutions to a, not so very nice, system of equations. They are all polynomials of degree $4$ with $5$ parameters and all terms are of even order. I'll post the code on request, ...
0
votes
1answer
172 views

Solve[polynomial, x, Reals] doesn't get all real roots or correct ones?

My main confusion is about the difference between the two code blocks at the end of this long spiel, but the spiel contains the code to create the polynomial if its coefficients are helpful for ...
0
votes
0answers
153 views

symbolic solution for a system of nonlinear equations in mathematica

Would appreciate any help on the following in mathematica I cant figure it out. I have a system of equations that I am trying to solve symbolically. I have 9 equations and 8 unknowns (I have also ...
0
votes
0answers
216 views

Generating various irreducible polynomials over finite fields

Mathematica offers the package FiniteFields, which supports generation of an irreducible polynomial in a finite field: IrreduciblePolynomial[s,p,d]: gives an ...
0
votes
0answers
30 views

What are the built-in rules for factoring a polynomial? [duplicate]

I try to factor 1-x^2 using Factor[1-x^2], and I get the result with the following output form: ...
0
votes
0answers
29 views

Handling “Solve was unable to solve the system with inexact coefficient” errors [duplicate]

Possible Duplicate: How to get rid of warnings when using Solve on an equation with inexact coefficients? I've been trying to calculate the following in Mathematica: ...
-1
votes
1answer
96 views

FindFit and Integration errors

First off, appologies for what may sound like a newbie question, as I am very new to using Mathematica. I am trying to find a way to get Mathematica to give me an expression that would describe the ...