Previous Up Next

5.32.6 Simplifying: simp2

The simp2 command removes common factors from a pair of polynomials, as if reducing the numerator and denominator of a rational function. (See also Section ‍5.7.6.)

Example.

Input:

simp2(x^3-1,x^2-1)

Output:

⎡
⎣
x2+x+1,x+1⎤
⎦

Previous Up Next