Mathematica How Can You Factor Terms in Non-Polynomials Using Mathematica?

  • Thread starter Thread starter yitriana
  • Start date Start date
  • Tags Tags
    Mathematica Terms
Click For Summary
Factoring terms in non-polynomials can be complex, but it is possible using tools like Mathematica. The discussion highlights an example of factoring out common terms, such as (e^t)*t^2 and (e^t)*t, from a more complex expression. The use of the Collect function in Mathematica allows for the grouping of terms based on specified variables, demonstrating how to simplify expressions effectively. However, the results can vary depending on the structure of the expression, as shown in the example where the expected factoring does not occur as anticipated. This illustrates the nuances involved in factoring non-polynomial expressions and the importance of understanding the underlying mathematical principles.
yitriana
Messages
35
Reaction score
0
is there a way to factor terms in non polynomials

for example, to factor out (e^t)*t^2, (e^t)*t

e^t t^2 (b + a t) + e^t (2 b + 6 a t) + e^t (2 b t + 3 a t^2) -
2 (e^t (2 b t + 3 a t^2) + e^t (b t^2 + a t^3)) +
e^t (2 b t + 3 a t^2) Log[e] + e^t (b t^2 + a t^3) Log[e]
 
Physics news on Phys.org
You can factor out terms in Mathematica using Collect[expression, {terms}].

For example, Collect[a + a b + a b c, {a, b}] = a (1 + b (1 + c)).

But Collect[(a b)^2 + a b + a b c, {a}] = a^2 b^2 + a (b + b c), not a(a b^2 + b + b c).
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K