Numerator after simplification

### 11.6.2 Numerator after simplification

The numer command finds the numerator of a rational function, after it has been reduced. (See also Section 7.2.3.)

- numer takes rat, a rational function.
- numer(rat) returns the numerator of the irreducible representation of rat.

#### Examples

numer((x^2-1)/(x-1))

x+1 |  |  |  |  |  |  |  |  |  |

numer((x^2+2*x+1)/(x^2-1))

x+1 |  |  |  |  |  |  |  |  |  |