Factoring xn in a polynomial: factor_xn

### 5.27.13 Factoring xn in a polynomial: factor_xn

The factor_xn command factors the largest power of the variable out of a polynomial, writing it as the product of a monomial of largest degree and a rational function having a non-zero finite limit at infinity.

- factor_xn takes one argument:
  P, a polynomial.
- factor_xn(P) returns P written as the product of its monomial of largest degree with a rational function having a non-zero finite limit at infinity.

#### Example

Input:

factor_xn(-x^4+3)

Output:

x4 | ⎛ ⎝ | −1+3 x−4 | ⎞ ⎠