Re: [sympy] together() and default mathematical operations

2013-06-13 Thread Aaron Meurer
The rule is if the terms are the same up to a rational (or floating point) coefficient, then they are combined. So for example, x + 2*x 3*x The coefficients are 1 and 2, respectively, and the remainder is x in each case, so they are combined. 1/x + 2/x 3/x Same thing. 1/x + 2/y 1/x + 2/y

[sympy] together() and default mathematical operations

2013-06-12 Thread Amit Saha
Hello, I am just getting started, so excuse the basic queries. Is there any particular rule of thumb that explains the difference between together() and the mathematical operator: x/y-y/x x/y - y/x together(x/y-y/x) (x**2 - y**2)/(x*y) Thanks, Amit. -- You received this message because