ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 14 Feb 2015 20:16:35 +0100complete expansion of polynomial substitutionhttps://ask.sagemath.org/question/25827/complete-expansion-of-polynomial-substitution/ In the following code, I have substituted a polynomial in other polynomial and the result even after using the command
".expand" shows no complete expansion,Is there any other way to get complete expansion of polynomial substitution?
g1=1+ (s^2) ;
g2=g1.subs(s= 1/(z-1) ) ;
g2.expand()
Result:
1+ 1/((z-1)^2) is shown, but not expansion (z^2-z+2)/z^2-z+1.
kartheekSat, 14 Feb 2015 20:16:35 +0100https://ask.sagemath.org/question/25827/