Classic CAS manual · Chapter 8 of 16
Algebra: expand, factor and simplify
Automatic simplification, expand, factor, common denominators and polynomial tools.
8.1Automatic simplification#
Every answer is simplified for you: like terms are combined, powers are merged and common factors cancel.
Combine like terms
Type 2x + 3x.
2x+3xenter

5·xCancel a common factor
Type (x²−4) / (x²+4x+4).
(x^2▶−4)÷(x^2▶+4x+4)enter

(x-2)/(x+2)Add powers
Type x² × x³.
x^2▶×x^3▶enter

x^5Pythagorean identity
Type sin(x)² + cos(x)².
sin(x)^2▶+cos(x)^2▶enter

1Add fractions with letters
Type x/2 + x/3 using the fraction template.
/x▼2▶+/x▼3▶enter

5·x/68.2Expand brackets#
expand( multiplies brackets out. You find it in the Algebra menu (3, 3).
Expand a cube
Type expand((x+1)^3).
expand((x+1)^3▶)enter

x^3+3·x^2+3·x+1Expand a product
Type expand((2x−3)(x+4)).
expand((2x−3)(x+4))enter

2·x^2+5·x-12Expand with two letters
Type expand((x+y)²).
expand((x+y)^2▶)enter

x^2+2·x·y+y^2A difference of squares of brackets
Type expand((x+1)²−(x−1)²).
expand((x+1)^2▶−(x−1)^2▶)enter

4·x8.3Factor polynomials and numbers#
factor( breaks a polynomial into factors over the rationals, and a whole number into primes. The result is exact; if nothing factors, you get the same expression back. cFactor( also uses complex numbers.
Factor a quadratic
Type factor(x²−5x+6).
factor(x^2▶−5x+6)enter

(x-2)·(x-3)Factor a fourth power
Type factor(x⁴−1).
factor(x^4▶−1)enter

(x-1)·(x+1)·(x^2+1)Sum of cubes
Type factor(x³+1).
factor(x^3▶+1)enter

(x+1)·(x^2-x+1)A leading coefficient
Type factor(6x²+5x+1).
factor(6x^2▶+5x+1)enter

(3·x+1)·(2·x+1)Difference of squares
Type factor(x²−y²).
factor(x^2▶−y^2▶)enter

(x-y)·(x+y)Factor with complex numbers
Type cFactor(x²+1).
cfactor(x^2▶+1)enter

(x+i)·(x-i)8.4Common denominators and parts of a fraction#
Common denominator
Type comDenom(1/x + 1/y).
comdenom(1÷x+1÷y)enter

(x+y)/(x·y)Numerator of a fraction
Type getNum(3/4).
getnum(3÷4)enter

3Denominator of a fraction
Type getDenom(3/4).
getdenom(3÷4)enter

4Left side of an equation
Type left(x=3).
left(x=3)enter

xRight side of an equation
Type right(x=3).
right(x=3)enter

38.5Polynomial division and coefficients#
These functions take a polynomial and the variable: polyQuotient(p, q, x), polyRemainder(p, q, x), polyGcd(p, q, x), polyDegree(p, x), polyCoeffs(p, x).
Quotient
Type polyQuotient(x³−1, x−1, x).
polyquotient(x^3▶−1,x−1,x)enter

x^2+x+1Remainder
Type polyRemainder(x³+2, x−1, x).
polyremainder(x^3▶+2,x−1,x)enter

3Greatest common divisor
Type polyGcd(x²−1, x²−x, x).
polygcd(x^2▶−1,x^2▶−x,x)enter

x-1Degree
Type polyDegree(x³+x, x).
polydegree(x^3▶+x,x)enter

3Coefficients
Type polyCoeffs(x²+3x+2, x).
polycoeffs(x^2▶+3x+2,x)enter

{1,3,2}TI-Nspire CX CAS is a trademark of Texas Instruments Incorporated. Trident Calculator is an independent product by South View Studios and is not affiliated with, sponsored by or endorsed by Texas Instruments. The name is used only to describe the kind of calculator this model resembles; Trident's names, keys, display, fonts and software are its own clean-room design.