Now consider the following polynomial fraction:

The expression on the right is obtained by extracting the

Function

There are three terms in the list returned by Maxima. The first term is the greatest common divider, and the second and the third term are the result of dividing the arguments of

We can use the elements of the list returned by

If you are in a hurry you can accomplish the same simply by saying:

Maple has a function, called `normal`,
which normalises fractions:

But

And there is also a similar function in Mathematica, called `Factor`: