# 1.3 Algebra Commands # Art Belmonte, Summer 1996 # These are the shaded gray examples which appear in Section 1.3. > restart; expand((3*x-2)^2 * (x^3+2*x)); 5 3 4 2 9 x + 22 x - 12 x - 24 x + 8 x > (3*x-2)^2 * (x^3+2*x); expand("); 2 3 (3 x - 2) (x + 2 x) 5 3 4 2 9 x + 22 x - 12 x - 24 x + 8 x > x^6 - 1; factor("); 6 x - 1 2 2 (x - 1) (x + 1) (x + x + 1) (x - x + 1) > (x^2-x) / (x^3 - x) - (x^2 - 1) / (x^2 + x); simplify("); 2 2 x - x x - 1 ------ - ------ 3 2 x - x x + x 2 x - x - 1 - ---------- x (x + 1) >