Last Updated 04/18/2017
The .sub command works equally well with symbolic values. Let us replace by in the expression . We will label the result as .
And now to get Sage to "multiply out" this expression we use the expand command. There are two ways to do this. Both give the same result!
Try this! Expand the expression