Questions tagged [factorization]
Questions on factoring various types of mathematical expressions, with the use of Factor, FactorInteger, FactorSquareFree and related commands.
199 questions
4
votes
1
answer
239
views
How do I improve simplification in Wolfram Engine for expressions with poles and cancellable square roots?
The responses to my previous question "Are there any tips/tricks to improve simplification..." were very helpful, but as I move forward in the same personal project mentioned in that ...
9
votes
3
answers
391
views
Are there any tips/tricks to improve simplification of this flavor of expression in Wolfram Engine?
I've been using Wolfram Engine 14.3 for a personal project, and a common problem I've encountered is that its outputs — even after using Simplify[], ...
2
votes
1
answer
88
views
What is the meaning of the output when the modulus is a polynomial?
The documentation of Modulus suggests that the value of this option should be an explicit number (or Automatic). However,
...
2
votes
1
answer
162
views
Factor out specific term
I want to transform expr by factoring out only the E^(-t γ) term. I could implement it like in my code below, but is there a ...
3
votes
1
answer
238
views
Factor polynomial with generalized root extension
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 &...
0
votes
0
answers
56
views
How to factor 8 x^2 - 73 y^2 [duplicate]
Factor[8 x^2 - 73 y^2] returns
8 x^2 - 73 y^2
How do I go about factoring it into
(8^.5 x + 73^.5 y)*(8^.5 x - 73^.5 y)
?
1
vote
0
answers
160
views
How to improve polynomial factorization performance [closed]
I was solving a RSA factorization problem with a weak prime. In a given base, the prime was made of a lots of zeroes and can be factorized pretty quickly. See this write-up.
I checked the code for ...
2
votes
3
answers
219
views
Factoring Laurent polynomial - how to distribute powers in denominator to get polynomial Laurent factors
Not sure how to do this with Factor/Collect etc. I'm thinking this might not be straightforward at all.
Given a large Laurent polynomial I am trying to factor it into irreducible Laurent polynomials.
...
3
votes
2
answers
195
views
How to divide a known root out of a polynomial?
Consider this simple 5th order polynomial:
pol=x^5+x^4+1
Factor[pol]
(* (1+x+x^2)(1-x+x^3) *)
root=FindInstance[pol==0, x]
(* -1/2 -I/2 Sqrt[3] *)
...
5
votes
3
answers
452
views
How to get the analytical form of a solution to an algebraic equation?
The real analytical solution of the algebraic equation $x^5 + 10 x^3 + 20 x == 4$ is $x=-2^{2/5} + 2^{3/5}$, how to get it with Mathematica?
I've tried with ...
0
votes
1
answer
135
views
How to factorize high-order polynomials that have only complex roots?
I have polynomials like this:
...
3
votes
2
answers
381
views
Better Factorization
It seems Mathematica likes to factor some things in less than optimal ways. For example, for the oscillating exponential function (F) below, is there any way to force it to reduce both the number of ...
2
votes
3
answers
154
views
How to factorize $x+y$ in this kind of example?
Consider the following simple polynomial in two variables 5 + 2x + 2y. Suppose I want to simplify it to 5+2(x+y). I have no idea ...
0
votes
1
answer
74
views
How to make MMA distinguish between symbolic coefficients and variables when doing factorization? [closed]
I what to factor a polynomial with complicated symbolic coefficients
Factor[p0^2 + k^2 r^2 \[Tau]^2 - 2 k p0 r \[Tau]^2 \[Omega] + p0^2 \[Tau]^2 \[Omega]^2]
In ...
0
votes
2
answers
100
views
Factorize into only positive terms, when values are known to be probabilities
I have a large term (a small snippet of which is below as an example) that I am aiming to prove is positive. I know that all the involved values are probabilities and in particular, they lie in (0, 1)....