Mathematica help - simplification

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

Ana sought assistance with defining variables and parameters in Mathematica to achieve desired simplification results. The expression involved was complex, including terms like \[Beta], \[CapitalOmega], and \[Gamma]. Initially, FullSimplify did not yield the expected format of "constant + coeff*x + coeff*y". However, Ana successfully resolved the issue by utilizing the Collect function, which allowed for the proper organization of terms based on specified variables.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of mathematical expressions and simplification techniques
  • Knowledge of variable and parameter definitions in symbolic computation
  • Experience with the Collect function in Mathematica
NEXT STEPS
  • Explore advanced features of the Collect function in Mathematica
  • Learn about the FullSimplify function and its options in Mathematica
  • Investigate variable scoping and parameter handling in Mathematica
  • Study examples of symbolic computation and simplification in Mathematica
USEFUL FOR

Mathematica users, mathematicians, and researchers involved in symbolic computation and expression simplification.

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