Previous Up Next

11.6.1  Numerator

The getNum command finds the numerator of an unreduced rational function.

Unlike numer (see Section 11.6.2), textttgetNum does not simplify the expression before extracting the numerator.

Examples

getNum((x^2-1)/(x-1))
     
x2−1           
getNum((x^2+2*x+1)/(x^2-1))
     
x2+2 x+1           

Previous Up Next