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

  • Context: Mathematica 
  • Thread starter Thread starter yitriana
  • Start date Start date
  • Tags Tags
    Mathematica Terms
Click For Summary
SUMMARY

This discussion focuses on factoring terms in non-polynomials using Mathematica. The primary method discussed is the use of the Collect function, which allows users to group terms based on specified variables. For instance, Collect[a + a b + a b c, {a, b}] simplifies to a (1 + b (1 + c)). The conversation highlights the nuances of using Collect with different expressions, emphasizing the importance of understanding how Mathematica processes these terms.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of non-polynomial expressions
  • Basic knowledge of algebraic factoring techniques
  • Experience with symbolic computation
NEXT STEPS
  • Explore advanced features of Mathematica's Collect function
  • Learn about Factor function in Mathematica for polynomial expressions
  • Investigate Mathematica's Simplify function for expression manipulation
  • Study symbolic computation techniques in other programming languages
USEFUL FOR

Mathematics students, researchers in computational algebra, and anyone utilizing Mathematica for symbolic computation will benefit from this discussion.

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
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K