In mathematics, a cubic function is a function of the form that is, a polynomial function of degree three. In many texts, the coefficients a, b, c, and d are supposed to be real numbers, and the function is considered as a real function that maps real numbers to real numbers or as a complex function that maps complex numbers to complex numbers. In other cases, the coefficients may be complex numbers, and the function is a complex function that has the set of the complex numbers as its codomain, even when the domain is restricted to the real numbers. Setting f(x) = 0 produces a cubic equation of the form whose solutions are called roots of the function. A cubic function with real coefficients has either one or three real roots (which may not be distinct); all odd-degree polynomials with real coefficients have at least one real root. The graph of a cubic function always has a single inflection point. It may have two critical points, a local minimum and a local maximum. Otherwise, a cubic function is monotonic. The graph of a cubic function is symmetric with respect to its inflection point; that is, it is invariant under a rotation of a half turn around this point. Up to an affine transformation, there are only three possible graphs for cubic functions. Cubic functions are fundamental for cubic interpolation. Cubic equation#History The critical points of a cubic function are its stationary points, that is the points where the slope of the function is zero. Thus the critical points of a cubic function f defined by f(x) = ax3 + bx2 + cx + d, occur at values of x such that the derivative of the cubic function is zero. The solutions of this equation are the x-values of the critical points and are given, using the quadratic formula, by The sign of the expression inside the square root determines the number of critical points. If it is positive, then there are two critical points, one is a local maximum, and the other is a local minimum. If b^2 – 3ac = 0, then there is only one critical point, which is an inflection point.
Grigorios Chrysos, Filippos Kokkinos
Riccardo Rattazzi, Alexander Monin, David Pirtskhalava, Fiona Katharina Seibold