# Does Sage "Show Its Work"?

Does Sage "Show Its Work"? This seems like a very simple question but am unable to find a definitive answer. If Sage simply evaluates to an answer and doesn't show its work to arrive at this a student would not really learn anything from this.

edit retag close merge delete

Sort by » oldest newest most voted

I think that http://ask.sagemath.org/question/474/... has the answer to your question, which unfortunately is "no". You should consider asking the sage developers this question.

Note that there are various sites on-line that offer homework help. The first that springs to mind is http://math.stackexchange.com/ which states "Mathematics Stack Exchange is a question and answer site for people studying math at any level".

more

Sage is open source. A student, or anyone else, can learn how sage computes the answers by reading the source code.

This can even be done interactively, by using the ?? magic. Say you want to learn how the Sylvester matrix of two polynomials is computed. After creating a polynomial object

sage: R.<x> = QQ[]


(x in this case) you can read the source code of sylvester_matrix() like this

sage: x.sylvester_matrix??


Admittedly, this will rarely give you a crystal clear explanation of the algorithm, as most of the time the work is done elsewhere (for example in some C library).

more

I think the questioner is asking "Can I see the steps whereby sage arrived at this answer?" This is not very well-defined, but in some cases, "showing steps" would be a useful feature.

( 2013-12-17 10:53:58 -0600 )edit

For example, Wolfram Alpha can do something like this - see http://blog.wolframalpha.com/2012/09/26/introducing-expanded-step-by-step-math-solutions/ I'll note that the one time I tried to use this feature, WA fell over. :)

( 2013-12-17 10:56:53 -0600 )edit

Thank you for the reply Luca but Saul summed it up better than I could. A feature that would show the steps would be invaluable. Just evaluating the answer doesn't really help if your trying to help your children do homework.

( 2013-12-18 01:50:39 -0600 )edit

Please start posting anonymously - your entry will be published after you log in or create a new account.

## Stats

Asked: 2013-12-17 08:07:51 -0600

Seen: 170 times

Last updated: Dec 18 '13