Simplifying

### 11.6.6 Simplifying

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 7.2.6.)

- simp2 takes two arguments: P and Q, two polynomials (or two integers, see Section 7.2.6).
- simp2(P,Q) returns a list of two polynomials seen as the numerator and denominator of the irreducible representation of the rational function P/Q.

#### Example

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

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