Trailing coefficient degree of a polynomial

### 11.1.11 Trailing coefficient degree of a polynomial

The tcoeff command finds the trailing coefficient of a polynomial; that is, the coefficient of the monomial of lowest degree.

- tcoeff takes one mandatory argument and one optional argument:
  - P, a polynomial given by a symbolic expression or by its list of coefficients.
  - Optionally x, a variable name (by default x).
- tcoeff(P ⟨,x⟩) returns the trailing coefficient of P.

#### Examples

tcoeff([2,1,-1,0])

−1 |  |  |  |  |  |  |  |  |  |

tcoeff(3*x^2+5*x,x)

5 |  |  |  |  |  |  |  |  |  |

tcoeff(3*x^2+5*x*y^2,y)

3 x2 |  |  |  |  |  |  |  |  |  |