Skip to main content

Questions tagged [factorization]

Questions on factoring various types of mathematical expressions, with the use of Factor, FactorInteger, FactorSquareFree and related commands.

Filter by
Sorted by
Tagged with
2 votes
1 answer
87 views

The documentation of Modulus suggests that the value of this option should be an explicit number (or Automatic). However, ...
user688486's user avatar
2 votes
1 answer
149 views

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 ...
Soon's user avatar
  • 1,484
3 votes
1 answer
236 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
  • 32.8k
0 votes
0 answers
56 views

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) ?
Anton's user avatar
  • 2,072
1 vote
0 answers
159 views

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 ...
Crypto's user avatar
  • 382
2 votes
3 answers
216 views

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. ...
ngc5139's user avatar
  • 441
3 votes
2 answers
194 views

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] *) ...
Jos Bergervoet's user avatar
5 votes
3 answers
450 views

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 ...
Soriak's user avatar
  • 433
3 votes
2 answers
380 views

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 ...
ChaSta's user avatar
  • 1,197
2 votes
3 answers
150 views

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 ...
user1620696's user avatar
0 votes
1 answer
74 views

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 ...
Haiqin Tang's user avatar
0 votes
2 answers
100 views

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)....
Andrew Ferdowsian's user avatar
1 vote
2 answers
143 views

I have some algebraic term that looks like this, Conjugate[Subscript[u, 1, 1]] Conjugate[Subscript[u, 2, 1]] \!\(\*SubsuperscriptBox[\(u\), \(1, 1\), \(2\)]\) $$...
Endeavour 's user avatar
5 votes
2 answers
288 views

I want to factorize big numbers like 10^100. FactorInteger with no Automatic option can take a lot of time and as I know there ...
Андрей Яндуганов's user avatar
1 vote
1 answer
259 views

i'm trying to see if a quartic equation I obtained can be factored into simpler forms, such as the product of two quadratics. The problem is that their coefficients are some complex expressions in ...
larry's user avatar
  • 755
8 votes
5 answers
782 views

This is the function I came up with: Flatten[ConstantArray @@@ FactorInteger[#]] & Is there a way to write this cleaner or point-free? Update: I only have ...
qwr's user avatar
  • 433
0 votes
2 answers
227 views

What method is there to retrieve which quantity to replace and complete factorization? The following polynomial equation cannot be directly factorized, and the result obtained by directly factoring is ...
csn899's user avatar
  • 1
3 votes
1 answer
146 views

The Factor built-in function is usually idempotent, namely applying it twice gives the same result. However, in the following example it is not. Is that expected? ...
Bruno Le Floch's user avatar
0 votes
0 answers
205 views

I have a very complicated 5th-degree polynomial form. Using the factor function in Wolfram is impossible to make it because of the high degree. I just want to know that is it possible to factor as I ...
analog_designer's user avatar
1 vote
1 answer
80 views

To provide a simple example (but I need more complicated ones): I want to factor x^2-6x*y+y^2. After solving x^2-6x*y+y^2==0 I ...
მამუკა ჯიბლაძე's user avatar
0 votes
1 answer
137 views

I want to conduct partial fraction decomposition to rational function on $\mathbb C$ and tried this ...
Po1ynomial's user avatar
0 votes
0 answers
90 views

This is something that I have never been able to properly do in Mathematica so I wish to learn how to do it once and for all. I have the following expression in Mathematica: ...
Meclassic's user avatar
  • 1,065
2 votes
1 answer
160 views

I was surprised Mathematica did this automatically. I have an ode and wanted to factor it. I did not think Factor will work and I need to write special code to do ...
Nasser's user avatar
  • 156k
3 votes
2 answers
396 views

So I'm working on a physics problem. I have two functions: $\rho = \frac{F}{(\beta F^\alpha+1)^\frac{1}{\alpha}}$, $p = - \frac{F}{(\beta F^\alpha+1)^\frac{1}{\alpha}} + \frac{4}{3}\frac{F}{(\beta F^\...
Vicente Sierra Rosas's user avatar
0 votes
2 answers
135 views

So I have factorized a transfer function and stored the terms in a variable. I want to print the product of terms without Mathematica joining them and without a break line. I have managed the first, ...
Granger Obliviate's user avatar
16 votes
5 answers
2k views

Inspired by Interesting ways to write 2023, I was wondering if there are ways to automate the search for results using MMA. I tried ...
Moo's user avatar
  • 3,556
1 vote
0 answers
107 views

I'm doing some computations wich involves a lot of big polynomials, for example: ...
User0212's user avatar
0 votes
1 answer
109 views

I have the function $f(x,b,t,m)$ for $\{x>0,t,b\}$ all reals and $m=\{1,2,3,4,5,6\}$. For each particular $m\in\{1,2,3,4,5,6\}$, I see that $f(x,b,t,m)$ has a multiplicative factor $e^{7 i x}$ ...
math2021's user avatar
  • 749
0 votes
1 answer
103 views

Say I'm given a monomial which is a product of factors, $X_{i_1} \times \cdots \times X_{i_n}$. I find that ...
Joe's user avatar
  • 175
4 votes
1 answer
158 views

I am trying to simplify expressions such as poly = 1 + (-2 + 4 a^2) x^2 + x^4 to the form polySimple = (1-x^2)^2 + 4 a^2 x^2 ...
John Bechhoefer's user avatar
0 votes
0 answers
93 views

I would like to ask about the Extension option in Factor function. In the reference, there is the following example. Factor a ...
user153012's user avatar
4 votes
2 answers
786 views

I was trying to factorise this polynomial expression: TestPolynomial=-p1^2 x1 x2 - p3^2 x1 x3 - p1^2 x2 x3 + 2 p1 p3 x2 x3 - p3^2 x2 x3 into this form, ...
Epsilon's user avatar
  • 1,122
-1 votes
1 answer
111 views

I am new to Mathematica but I would like to know how to force Mathematica to factorize an expression by a specific term. Exemple, imagine I have a term like this: And I have an expression like this: ...
boris gbeasor's user avatar
6 votes
3 answers
341 views

The matrix W = $\left( \begin{array}{cccc} 5 & 7 & 6 & 5 \\ 7 & 10 & 8 & 7 \\ 6 & 8 & 10 & 9 \\ 5 & 7 & 9 & 10 \\ \end{array} \right)$ has a ...
1729taxi's user avatar
  • 826
2 votes
0 answers
142 views

I have a polynomial pol of third order, whose coefficients depend on 5 parameters, and whose free coefficient is proportional to R0-1, where R0 is a certain rational function of the parameters (the ...
florin's user avatar
  • 2,380
1 vote
0 answers
123 views

Suppose, I have a finite fragment of a quickly increasing sequence of integers $\{a_n\}$ that is too complex, unusual, or irregular for FindSequenceFunction to find ...
Vladimir Reshetnikov's user avatar
1 vote
2 answers
181 views

A minimal example is given below. My goal is that given a algebraic expression such as: expr = a^2 + a b + a^3 b + 2 a^2 b^2 + a b^3 I'm trying to find a command, ...
akozi's user avatar
  • 913
3 votes
1 answer
252 views

I am looking away to factor perfect powers like follows: FactorPerfectPower[16x^2] should produce Inactive[Power][4x,2]. ...
user13892's user avatar
  • 10.4k
0 votes
1 answer
75 views

Given transfer function: $W=\frac{10 (s+100)}{2 s^4+219 s^3+1909 s^2+900 s+1000}$ W=(1000 + 10 s)/(1 (1000 + 900 s + 1909 s^2 + 219 s^3 + 2 s^4)) Which command to ...
ayr's user avatar
  • 2,665
3 votes
0 answers
197 views

Suppose we would like to compute an approximate prime factorization of a large integer x in the sense that the difference between ...
Math Gaudium's user avatar
0 votes
5 answers
224 views

I want to factorize any quadratic expressions into two complex-valued linear expressions. My effort below ...
Display Name's user avatar
  • 2,069
3 votes
1 answer
116 views

This is maybe the worst type of question because it is super specific, but I am hoping that some Mathematica function or rule exists (built-in or custom) that can be helpful for simplifying a somewhat ...
tosburn3's user avatar
1 vote
1 answer
191 views

I came across the following problem: Factorize the multivariate polynomial given by: $$w*(A^2-2l*A+1)*f+v*(B^2-2m*B+1)g+u*(C^2-2n*C+1)*h+(w*(x+2A*l+A*s-l*s-A^2-1)+v*(y+2B*m+B*t-m*t-B^2-1)+u*(z+2C*n+C*...
John2000's user avatar
  • 121
0 votes
2 answers
137 views

My input is a product of the variable x with index: x[1]^2 x[5] x[7] How do I extract the indices of the above product to get ...
Camilo's user avatar
  • 13
0 votes
1 answer
225 views

I'm aware of the built-in FactorInteger command for finding the prime factorisation of integers. Is there a convenient way of determining the same thing for a rational number, where the prime ...
Chris's user avatar
  • 1,073
0 votes
1 answer
190 views

I am trying to factorize large prime numbers with the code bellow. The code works properly for values like 1927 and 69527 (results), but gives no result for larger values like 655051. The code goes as ...
John Carter's user avatar
1 vote
2 answers
199 views

Let's say I have a number $n$ and I want to find the divisors of $n$, I can do that using Divisors[n]. That will generate a list ...
Jan Eerland's user avatar
  • 2,021
3 votes
1 answer
133 views

Suppose I have an integer polynomial f that is in a factored form, say f = (1 + x) * (2 + x + x^3) * (2 + x^5). I want a ...
Descartes Before the Horse's user avatar
5 votes
1 answer
206 views

I have a large list list of integer polynomials, all of which are the output of Factor. So my list looks something like this: <...
Descartes Before the Horse's user avatar