A cubic function is of the form f(x) = ax3 + bx2 + cx + d, where a, b, c, and d are constants and a ≠ 0. The degree of a cubic function is 3. A cubic function may have 1 or 3 real roots.