canonical_form takes as argument a trinomial of second degree. canonical_form returns the canonical form of the argument. Example : Find the canonical form of :
Input :
^
Output :