Previous Up Next

10.7.1  Numerator

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

Unlike numer (see Section 10.7.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