Previous Up Next

2.28.4  Denominator after simplification : denom

denom (or getDenom) takes as argument a rational fraction and returns the denominator of an irreducible representant of this fraction (see also 2.8.4).
Input :

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

Output :

1

Input :

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

Output :

x-1

Previous Up Next