Classification of terms (constant, linear, quadratic)