Hubbry Logo
Cubic functionCubic functionMain
Open search
Cubic function
Community hub
Cubic function
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something
Cubic function
Cubic function
from Wikipedia
Graph of a cubic function with 3 real roots (where the curve crosses the horizontal axis—where y = 0). The case shown has two critical points. Here the function is f(x) = (x3 + 3x2 − 6x − 8)/4.

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. The derivative of a cubic function is a quadratic function.

A cubic function with real coefficients has either one or three real roots (which may not be distinct);[1] 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.

History

[edit]

Critical and inflection points

[edit]
The roots, stationary points, inflection point and concavity of a cubic polynomial x3 − 6x2 + 9x − 4 (solid black curve) and its first (dashed red) and second (dotted orange) derivatives.

The critical points of a cubic function are its stationary points, that is the points where the slope of the function is zero.[2] 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 Δ0 = b2 − 3ac 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 b2 − 3ac = 0, then there is only one critical point, which is an inflection point. If b2 − 3ac < 0, then there are no (real) critical points. In the two latter cases, that is, if b2 − 3ac is nonpositive, the cubic function is strictly monotonic. See the figure for an example of the case Δ0 > 0.

The inflection point of a function is where that function changes concavity.[3] An inflection point occurs when the second derivative is zero, and the third derivative is nonzero. Thus a cubic function has always a single inflection point, which occurs at

Classification

[edit]
Cubic functions of the form
The graph of any cubic function is similar to such a curve.

The graph of a cubic function is a cubic curve, though many cubic curves are not graphs of functions.

Although cubic functions depend on four parameters, their graph can have only very few shapes. In fact, the graph of a cubic function is always similar to the graph of a function of the form

This similarity can be built as the composition of translations parallel to the coordinates axes, a homothecy (uniform scaling), and, possibly, a reflection (mirror image) with respect to the y-axis. A further non-uniform scaling can transform the graph into the graph of one among the three cubic functions

This means that there are only three graphs of cubic functions up to an affine transformation.

The above geometric transformations can be built in the following way, when starting from a general cubic function

Firstly, if a < 0, the change of variable x → −x allows supposing a > 0. After this change of variable, the new graph is the mirror image of the previous one, with respect of the y-axis.

Then, the change of variable x = x1b/3a provides a function of the form

This corresponds to a translation parallel to the x-axis.

The change of variable y = y1 + q corresponds to a translation with respect to the y-axis, and gives a function of the form

The change of variable corresponds to a uniform scaling, and give, after multiplication by a function of the form

which is the simplest form that can be obtained by a similarity.

Then, if p ≠ 0, the non-uniform scaling gives, after division by

where has the value 1 or −1, depending on the sign of p. If one defines the latter form of the function applies to all cases (with and ).

Symmetry

[edit]

For a cubic function of the form the inflection point is thus the origin. As such a function is an odd function, its graph is symmetric with respect to the inflection point, and invariant under a rotation of a half turn around the inflection point. As these properties are invariant by similarity, the following is true for all cubic functions.

The graph of a cubic function is symmetric with respect to its inflection point, and is invariant under a rotation of a half turn around the inflection point.

Collinearities

[edit]
The points P1, P2, and P3 (in blue) are collinear and belong to the graph of x3 + 3/2x25/2x + 5/4. The points T1, T2, and T3 (in red) are the intersections of the (dotted) tangent lines to the graph at these points with the graph itself. They are collinear too.

The tangent lines to the graph of a cubic function at three collinear points intercept the cubic again at collinear points.[4] This can be seen as follows.

As this property is invariant under a rigid motion, one may suppose that the function has the form

If α is a real number, then the tangent to the graph of f at the point (α, f(α)) is the line

{(x, f(α) + (xα)f ′(α)) : xR}.

So, the intersection point between this line and the graph of f can be obtained solving the equation f(x) = f(α) + (xα)f ′(α), that is

which can be rewritten

and factorized as

So, the tangent intercepts the cubic at

So, the function that maps a point (x, y) of the graph to the other point where the tangent intercepts the graph is

This is an affine transformation that transforms collinear points into collinear points. This proves the claimed result.

Cubic interpolation

[edit]

Given the values of a function and its derivative at two points, there is exactly one cubic function that has the same four values, which is called a cubic Hermite spline.

There are two standard ways for using this fact. Firstly, if one knows, for example by physical measurement, the values of a function and its derivative at some sampling points, one can interpolate the function with a continuously differentiable function, which is a piecewise cubic function.

If the value of a function is known at several points, cubic interpolation consists in approximating the function by a continuously differentiable function, which is piecewise cubic. For having a uniquely defined interpolation, two more constraints must be added, such as the values of the derivatives at the endpoints, or a zero curvature at the endpoints.

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
A cubic function is a polynomial function of degree three, expressed in the general form f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d, where aa, bb, cc, and dd are real constants with a0a \neq 0. This form distinguishes it from lower-degree polynomials, as the leading term ax3ax^3 dominates the behavior for large x|x|. The graph of a cubic function typically forms an S-shaped curve, characterized by end behavior where, for a>0a > 0, f(x)f(x) \to \infty as xx \to \infty and f(x)f(x) \to -\infty as xx \to -\infty, with the opposite for a<0a < 0. It always features exactly one point of inflection, where the concavity changes, and may have zero, one, or two critical points (local maxima and minima) depending on the discriminant of its derivative. A cubic equation ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0 has three roots in the complex plane (counting multiplicities), with at least one real root guaranteed by the intermediate value theorem, and up to three distinct real roots. Solving cubic equations analytically was a major algebraic breakthrough, with the general formula developed by Gerolamo Cardano and published in 1545, involving cube roots and potentially complex intermediates even for real roots (casus irreducibilis). Cubic functions appear in various applications, such as modeling population growth, fluid dynamics, and electrical circuits, due to their ability to capture inflection and multiple turning points in real-world data.

Fundamentals

Definition and General Form

A cubic function is a polynomial function of degree three, expressed in its general form as f(x)=ax3+bx2+cx+d,f(x) = ax^3 + bx^2 + cx + d, where aa, bb, cc, and dd are real numbers and a0a \neq 0 serves as the leading coefficient, ensuring the polynomial is exactly of degree three. The coefficient aa controls the scaling and overall direction of the function: a positive value results in an increasing orientation, while a negative value produces a decreasing one, influencing the steepness and end behavior of the graph. The term involving bb accounts for a horizontal shift in the graph, cc represents the linear term that affects the slope, and dd provides a vertical shift by adjusting the y-intercept. Cubic functions are defined for all real input values, so their domain is the set of all real numbers, (,)(-\infty, \infty); similarly, since they are continuous and unbounded in both directions, the range is also all real numbers, (,)(-\infty, \infty)./03%3A_Functions/3.03%3A_Domain_and_Range) The simplest example is f(x)=x3f(x) = x^3, where a=1a = 1, b=0b = 0, c=0c = 0, and d=0d = 0, illustrating the basic increasing cubic shape without shifts or scaling.

Depressed Cubic

A depressed cubic equation is a cubic polynomial of the form y3+py+q=0y^3 + p y + q = 0, where the coefficient of the quadratic term is zero, simplifying the structure for analysis and root-finding compared to the general form. This form arises through a linear substitution that eliminates the x2x^2 term in the general cubic ax3+bx2+cx+d=0a x^3 + b x^2 + c x + d = 0, allowing subsequent methods like Cardano's formula to proceed more straightforwardly. To obtain the depressed form, first normalize the general equation by dividing through by the leading coefficient aa, yielding the monic cubic x3+bax2+cax+da=0x^3 + \frac{b}{a} x^2 + \frac{c}{a} x + \frac{d}{a} = 0. Then, apply the substitution x=yb3ax = y - \frac{b}{3a}, which centers the cubic at its inflection point and removes the quadratic term. Substituting and expanding gives: (yb3a)3+ba(yb3a)2+ca(yb3a)+da=0,y3+(3acb23a2)y+(2b39abc+27a2d27a3)=0,\begin{align*} \left( y - \frac{b}{3a} \right)^3 + \frac{b}{a} \left( y - \frac{b}{3a} \right)^2 + \frac{c}{a} \left( y - \frac{b}{3a} \right) + \frac{d}{a} &= 0, \\ y^3 + \left( \frac{3a c - b^2}{3 a^2} \right) y + \left( \frac{2 b^3 - 9 a b c + 27 a^2 d}{27 a^3} \right) &= 0, \end{align*} so p=3acb23a2p = \frac{3 a c - b^2}{3 a^2} and q=2b39abc+27a2d27a3q = \frac{2 b^3 - 9 a b c + 27 a^2 d}{27 a^3}. For example, consider the cubic x3+6x2+11x+6=0x^3 + 6x^2 + 11x + 6 = 0. Here, a=1a = 1, b=6b = 6, c=11c = 11, d=6d = 6, so the substitution is x=y2x = y - 2. Substituting yields y3y+0=0y^3 - y + 0 = 0, or y3y=0y^3 - y = 0, with p=1p = -1 and q=0q = 0, confirming the depression.

Graphical and Analytic Properties

Graph Characteristics

The graph of a cubic function f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d, where a0a \neq 0, is a smooth, continuous curve that extends infinitely in both directions without breaks or holes. The end behavior is determined by the sign of the leading coefficient aa. If a>0a > 0, then as xx \to \infty, f(x)f(x) \to \infty, and as xx \to -\infty, f(x)f(x) \to -\infty; the directions reverse if a<0a < 0. This odd-degree polynomial behavior ensures the graph rises or falls without bound on either end. Cubic functions lack horizontal asymptotes, as the degree of the polynomial prevents the graph from approaching a constant value at infinity. Instead, the typical shape forms an S-curve, often with a single inflection point and possible local maximum and minimum that introduce a characteristic "wiggle," especially when the function has three real roots. The monotonicity varies across intervals, with the overall trend aligning to the end behavior, but potential decreases or increases locally due to the function's curvature. Given the opposing end behaviors, the continuous graph must cross the x-axis at least once, guaranteeing at least one real root. The presence of critical points further shapes this by creating turns that affect the curve's path. To sketch the graph, start by noting the y-intercept at (0,d)(0, d), estimate x-intercepts where possible, and use the leading coefficient aa to orient the ends—rising to the right for positive aa, falling for negative—then plot a few additional points to guide the S-shape or wiggle. For example, the graph of f(x)=x33xf(x) = x^3 - 3x falls toward -\infty as xx \to -\infty and rises toward \infty as xx \to \infty, featuring a prominent wiggle with three x-intercepts that highlights the function's undulating form.

Critical and Inflection Points

To determine the critical points of a cubic function f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d where a0a \neq 0, compute the first derivative: f(x)=3ax2+2bx+cf'(x) = 3ax^2 + 2bx + c. Set f(x)=0f'(x) = 0 to find the stationary points, yielding the quadratic equation 3ax2+2bx+c=03ax^2 + 2bx + c = 0. The discriminant of this quadratic is D=(2b)243ac=4b212acD = (2b)^2 - 4 \cdot 3a \cdot c = 4b^2 - 12ac. If D>0D > 0, there are two distinct real critical points; if D=0D = 0, there is one real critical point (a horizontal ); if D<0D < 0, there are no real critical points, and the function is strictly monotonic. The solutions for the critical points are given by the quadratic formula: x=2b±D6a.x = \frac{-2b \pm \sqrt{D}}{6a}.
Add your contribution
Related Hubs
Contribute something
User Avatar
No comments yet.