I apologize beforehand if there’s an obvious answer, I’m not a user of Mathematica but I’m working on a borrowed laptop and that’s what I have available for the moment.
For some reason Simplify
and FullSimplify
are missing obvious simplifications, for instance:
Simplify[1/2 (2/5 (x - y)^2 + 2/3 z)]
Yields:
1/2 (2/5 (x - y)^2 + (2 z)/3)
For some reason, it doesn't get rid of the 1/2 factor, try it yourself!
Of course I can do it manually but I have much bigger expressions with the same problem.
Am I missing something?
PS: This laptop has Mathematica 8.0
EDIT: FullSimplify
works for the previous example but it doesn't for
FullSimplify[1/2 (2 (x - y)^2 + 2/5 (y - z)^2)]
FullSimplify
works for me:
In[693]:= Simplify[1/2 (2/5 (x - y)^2 + 2/3 z)]
Out[693]= 1/2 (2/5 (x - y)^2 + (2 z)/3)
In[694]:= FullSimplify[1/2 (2/5 (x - y)^2 + 2/3 z)]
Out[694]= 1/5 (x - y)^2 + z/3
In[695]:= $Version
Out[695]= "8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"
I don't know why Simplify
misses this case, but FullSimplify
helps out here:
FullSimplify[1/2 (2/5 (x - y)^2 + 2/3 z)]
gives:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With