Dividing by increasing power order

### 13.5.1 Dividing by increasing power order

The divpc command finds the truncated Taylor expansion of a quotient of polynomials.

- divpc takes three mandatory arguments and one optional argument:
  - P and Q, two polynomial expressions such that Q has a nonzero constant term/
  - n, an integer.
  - Optionally, x, the variable name (by default x).
- divpc(P,Q,n ⟨,x⟩) returns the Taylor expansion of P/Q of order n about x=0.

Note that this command does not work on polynomials written as a list of coefficients.

#### Example

divpc(1+x^2+x^3,1+x^2,5)

−x5+x3+1 |  |  |  |  |  |  |  |  |  |