Questions tagged [factorization]

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

126 questions
Filter by
Sorted by
Tagged with
65 views

Generating summation formulas for factorized 4th moments

I'm interested in getting summation formulas for the following expression, in Einstein summation notation, with indices ranging from $1$ to $d$ $$c=X_{ik}M_{ijkl}X_{jl}$$ Here $M_{ijkl}$ is ...
94 views

prime number digits less than n? [closed]

How can I ask mathematica to sieve with only primes with three-digit less than a given number. Thank you for instance I want to find the prime factor of 1337. Thank you
24 views

Factor[p(x), a, b] not working in Galois theory package

I have downloaded Galois theory package from http://library.wolfram.com/infocenter/Articles/2872/ and I currently have Mathematica v 12.0. When I loaded the module (I needed to delete the blue stuff ...
88 views

Why does Factor[] not factor -1?

Consider the two expressions -2a-2b and -a-b. The TreeForm[] looks identical However, ...
110 views

Group symbols by a given partition of the occuring symbols

I have following expression $$-3 b_{\sigma _d}-3 b_{\sigma _v}-b-b_2+2 j-2 j_2-2 j_3+2 j_6+12$$ Mathematica input ...
34 views

Factorization of multivariable polynomial

I have a polynomials of multivariable for instance: $P=yx+2^4xy+3+5^2xz+3^4zx$ Now I would like to do the following: extract those temrs that only has $z$ . extract terms that only has $y$ express ...
59 views

Simplify the cubic root of cube assuming real and positive variable

I know this is very simple but I couldn't find a reasonable solution for it in the archive. It seems that my Mathematica does not take into account the assumptions when it wants to simplify the ...
57 views

Factoring Algebraic Expressions [closed]

Say I have an expression $$x = L-(L-N)y^2(1+AB)$$ is there a way I can use mathematica to put the expression into the form $$x = M(1+\sigma B)$$ where $M$ and $\sigma$ are lumped terms?
95 views

Mathematica not converting $A A$ to $A^2$ [closed]

I'm trying to factor a large polynomial $p$ in Mathematica. When running $\text{Factor}[p]$, however, one of the factors is $-Aq + A^2 Aq + 2 A q - 2 A Aq^2 q - Aq q^2 + A^2 Aq q^2$. This is clearly ...
42 views

Not able to multiply the output of the code below

It is the output of the code given below ...
70 views

320 views

Efficient code for minimum integer with given number of factors

I'm seeking an efficient implementation of the number-theoretic function giving the smallest integer $n$ that has exactly $k$ factors (not necessarily prime): ...
39 views

Factoring out a parameter

I have some function: f[a_,b_,c_]:=Sqrt[a^2+b^2+c^2] Is there a way that I can factor out parameter (variable) b like this: <...
216 views

Factor polynomial of degree n+3

I'm considering a polynom poly[n,v] in v ...
53 views

What Transforming Functions does Simplify use? [closed]

Edit: Turns out in my use case I should use ComplexExpand instead of Simplify. My broader question is still worth answering, but ...
46 views

Numerical output using Select and FactorInteger

I have concocted a function from other peoples examples to find the powers of two in a prime decompostion, in the example below its $2^2=4$ gives {2,2}. ...
95 views

Factoring expression with rational powers

To any great Mathematica-matician. Why Mathematica can’t factor this Factor[-1+x^(2/3)] I know that Factor mainly targets ...
54 views

Generate terms that can be pre-calculated (optimisation) [closed]

(copyable version) v -> -2 g/j + s/(2 j) + s^2/(4 g j) + t/2 We are working with many equations similar to the one above. We are using CForm to move these ...
36 views

Inconsistent pole/roots decomposition

I have the following function f of ω: ...
134 views

Pull out the common denominator of fractions

I have this code: ...
99 views

123 views

Factorize expression into matrix/vector operations if possible

I'd like to let MMA factorize an expression (tensor) into matrix operations if that's possible. Example – there's an expression P1 and I want MMA to create another ...