Analysis of polynomial functions for determining maximum or minimum conditions in biological systems