Derivation of polynomial functions