Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica help - simplification

  1. Jun 17, 2011 #1
    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
     
  2. jcsd
  3. Jun 17, 2011 #2
    I think I've sorted it out using Collect (had never used this function before).

    Ana
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Mathematica help - simplification
  1. Mathematica help (Replies: 1)

  2. Help With Mathematica (Replies: 2)

  3. Mathematica help (Replies: 1)

  4. Help in Mathematica (Replies: 15)

  5. Help with Mathematica? (Replies: 1)

Loading...