The document provides a solution to writing the equation of a 4th degree polynomial function with the roots x=1 with multiplicity 2, and x=i and x=-i. The polynomial function is (x-1)^2(x^2+1) as (x-1)^2 accounts for the repeated root of 1, and (x^2+1) accounts for the conjugate pair of roots i and -i.