Sympy is AWESOME! In particular, http://live.sympy.org is a great way to learn and teach math... I often send links to my students with an entire sequence of steps to find the solution. Can you factor x^2-5x+6 ? (find numbers a,b such that (x-a)(x-b)=x^2-5x+6) http://live.sympy.org/?evaluate=solve(%20x**2-5*x%2B6%2C%20x...
(it's like an entire iPython notebook in a URL)
On the topic of sympy, I'm working on this short tutorial---an introduction to sympy based around topics from the standard high school and first-year university curriculum: http://minireference.com/static/sympy_tutorial.pdf
Please don't post the tutorial on HN yet---I'm working out some last typos and I want to time the "official" announcement on HN with the beginning of the school year.
For instance, as you can see in the link above, it can provide steps for derivatives and integrals. WA has the same feature, but you need to subscribe to actually use it without limits.
Just FYI, Sage also has the Sage Cell Server, which is similar in that you can do calculations on a webpage, but also allows embedding live cells in webpages easily, sage interacts, 3d graphics, etc. For example, here is your calculation: http://sagecell.sagemath.org/?q=mthhin. Click the "About" link in the upper right for more information.
I'm a Google Summer of Code mentor for SymPy. There's a number of good additions to it being done this summer. My student is working on systems of ODEs. There's 10 different projects in total, including work on optics, 3D geometry, and vectors (and hopefully vector calculus).
The optics and the 3D geometry should help a lot with teaching and learning.
I used Sympy recently to solve the rocket equation. It involved some integrals that my rusty math skills couldn't solve so I used Sympy to solve them.
Then I ran a side by side comparison between the integrals I solved with Sympy against a numerical solution using Scipy and Numpy to verify that my results are correct.
The only negative thing about Sympy is that it's rather slow.
I would say the main difference is scope: SymPy is aiming for traditional CAS territory: algebra with elementary functions, calculus, ODEs, elementary number theory, plotting. Sage aims to include tools for computations in all parts of mathematics, including all of the above but also more advanced things like group theory, representation theory, homological algebra, commutative algebra, homology of simplicial complexes, graph theory, Galois theory, algebraic number theory, etc.
I highly recommend looking at the comparison of the two mentioned in response to this. It's a bit out of date, though. It has a reference to SymPy 0.7.2 upcoming, but it's already past that.
Basically, Sage is more comprehensive as it pulls in a lot of different packages. SymPy is designed to be a Python CAS that you can use with other Python projects. Also, Sage doesn't directly support Windows, it requires the use of a VM image instead.
Yeah, upon seeing the github link I was thinking some poor sod had implemented some polynomial expansion algorithm, and had never heard of sympy. The it turned out to be sympy.
Soon people will post links to the gnome repos with the title "A open source desktop environment for linux" ... now I'm tempted to do it myself.
As a standalone CAS, Maxima is more fully featured than SymPy. But, it's harder to use with other packages. With SymPy, you can do your work with the CAS and then use the results with NumPy, SciPy, or Theano.
I just read some of the tutorial and I must say this is some incredible work. Very powerful tool, and what a great choice of license (BSD). This benefits everyone; I'm very curious to read the source.
[+] [-] ivansavz|11 years ago|reply
On the topic of sympy, I'm working on this short tutorial---an introduction to sympy based around topics from the standard high school and first-year university curriculum: http://minireference.com/static/sympy_tutorial.pdf
Please don't post the tutorial on HN yet---I'm working out some last typos and I want to time the "official" announcement on HN with the beginning of the school year.
[+] [-] Cyph0n|11 years ago|reply
http://www.sympygamma.com/input/?i=integrate+log%28x^2%29
For instance, as you can see in the link above, it can provide steps for derivatives and integrals. WA has the same feature, but you need to subscribe to actually use it without limits.
[+] [-] jasongrout|11 years ago|reply
[+] [-] tjl|11 years ago|reply
The optics and the 3D geometry should help a lot with teaching and learning.
[+] [-] exDM69|11 years ago|reply
I used Sympy recently to solve the rocket equation. It involved some integrals that my rusty math skills couldn't solve so I used Sympy to solve them.
Then I ran a side by side comparison between the integrals I solved with Sympy against a numerical solution using Scipy and Numpy to verify that my results are correct.
The only negative thing about Sympy is that it's rather slow.
Here's the code if you're interested: https://gist.github.com/rikusalminen/6d6bb834d48b9664b38d
[+] [-] Tyr42|11 years ago|reply
(Quickstart here http://www.sagemath.org/tour-quickstart.html, and really awesome cloud version (that requires an account, but is very worth it here: https://cloud.sagemath.com/)
[1]: http://www.sagemath.org/
[+] [-] cgrubb|11 years ago|reply
https://github.com/sympy/sympy/wiki/SymPy-vs.-Sage
[+] [-] omaranto|11 years ago|reply
[+] [-] srl|11 years ago|reply
[+] [-] exDM69|11 years ago|reply
[+] [-] tjl|11 years ago|reply
Basically, Sage is more comprehensive as it pulls in a lot of different packages. SymPy is designed to be a Python CAS that you can use with other Python projects. Also, Sage doesn't directly support Windows, it requires the use of a VM image instead.
[+] [-] ubasu|11 years ago|reply
http://ipython.org/ipython-doc/2/interactive/qtconsole.html
One of the big advantages is that you can print your expressions using LaTeX:
http://docs.sympy.org/dev/tutorial/printing.html
[+] [-] CatMtKing|11 years ago|reply
[+] [-] teddyh|11 years ago|reply
[+] [-] Trombone5|11 years ago|reply
Soon people will post links to the gnome repos with the title "A open source desktop environment for linux" ... now I'm tempted to do it myself.
[+] [-] rbanffy|11 years ago|reply
[+] [-] bsilvereagle|11 years ago|reply
[+] [-] juliangamble|11 years ago|reply
You can see an explanation of the MacSyma system in Peter Norvig's (head of Google researcyh) Paradigms of Artificial Intelligence (PAIP).
http://norvig.com/paip/README.html
http://norvig.com/paip/macsyma.lisp
http://norvig.com/paip/macsymar.lisp
http://norvig.com/paip/cmacsyma.lisp
The original development of the MacSyma system influenced Mathematica: http://en.wikipedia.org/wiki/Macsyma
[+] [-] sparkie|11 years ago|reply
[+] [-] S4M|11 years ago|reply
[+] [-] tjl|11 years ago|reply
[+] [-] quotemstr|11 years ago|reply
[+] [-] misingnoglic|11 years ago|reply
[+] [-] exDM69|11 years ago|reply
[+] [-] innguest|11 years ago|reply