Mathematica Mathematica help - simplification

  • Thread starter Thread starter acpn2
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
To define variables and parameters in Mathematica for simplification, users can utilize the Collect function to organize expressions effectively. The original poster sought to simplify a complex expression while distinguishing between variables (x, y) and parameters. After some exploration, they found that Collect helped achieve the desired format of constant plus coefficients for the variables. This approach allows for clearer simplification results compared to the default output from FullSimplify. The discussion highlights the importance of understanding Mathematica's functions for effective expression manipulation.
acpn2
Messages
2
Reaction score
0
Hello,

I'm trying to find out how I can let Mathematica know what is a variable and what is a parameter when asking it to simplify an expression.

For example: if I have the following expression

\[Beta] \[CapitalOmega] ((1 - \[Gamma] y) \[Xi] \[Sigma] + (x - \[Xi]) \[CapitalOmega]) + a ((-1 + \[Gamma])^2 (y (-1 + \[Beta]) + x \[Delta]))

how to define x and y as my variables so that when I run FullSimplify I get an expression like

constant+coeff*x+coeff*y

?

Otherwise, Mathematica does a simplification that gives me:

a (-1 + \[Gamma])^2 (y (-1 + \[Beta]) +
x \[Delta]) + \[Beta] \[CapitalOmega] (x \[CapitalOmega] - \[Xi] ((-1 + y \[Gamma]) \[Sigma] + \[CapitalOmega]))

Many thanks,
Ana
 
Physics news on Phys.org
I think I've sorted it out using Collect (had never used this function before).

Ana
 

Similar threads

Replies
1
Views
2K
Replies
1
Views
2K
Replies
4
Views
1K
Replies
1
Views
1K
Replies
4
Views
6K
Replies
13
Views
2K
Replies
4
Views
2K
Back
Top