# Questions tagged [factorization]

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

165 questions
Filter by
Sorted by
Tagged with
46 views

### Factorize expression by specific term [closed]

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: ...
124 views

### Factoring a quadratic form associated with a $4 \times 4$ matrix into a sum of four squares

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 ...
• 485
106 views

### A remarkable elimination involving the basic reproduction number R0

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 ...
• 896
1 vote
64 views

### “Largest” symbolic common factor of an integer sequence (not simply GCD)

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 ...
• 6,846
1 vote
95 views

### Finding coefficients where part of the coefficient may appear in the terms

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, ...
• 697
105 views

### Is there a way to collect the multiple power into a single power?

I am looking away to factor perfect powers like follows: FactorPerfectPower[16x^2] should produce Inactive[Power][4x,2]. ...
• 8,105
35 views

### Simple Question: Cut Number in Transfer function

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 ...
• 1,626
114 views

### Approximate integer factorization

Suppose we would like to compute an approximate prime factorization of a large integer x in the sense that the difference between ...
• 389
154 views

### How to convert $a(x-p)^2+q$ to $a(x-\alpha+i\beta)(x-\alpha-i\beta)$ for any real $a$, $p$ and $q$ [duplicate]

I want to factorize any quadratic expressions into two complex-valued linear expressions. My effort below ...
• 1,767
55 views

### Expression should vanish under assumptions. How can I use Mathematica to simplify this type of of expression (and similar)?

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 ...
• 33
1 vote
### 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 ...