The f2nd command finds the numerator and denominator of rational function, after simplification. fxnd is a synonym for f2nd.
Examples.