What is an example of real application of cubic equations?
Emily Wong
I didn't yet encounter to a case that need to be solved by cubic equations (degree three) ! May you give me some information about the branches of science or criterion deal with such nature ?
$\endgroup$ 1318 Answers
$\begingroup$One example ...
The curves used in Postscript (including Postscript fonts), and in most drawing and graphics programs (like Adobe Illustrator, Powerpoint, etc.), are cubic Bézier curves.
The outlines of the characters you are reading right now might be strings of cubic Bézier curves. The prefered font for this page is "Georgia", which uses (TrueType) quadratic curves. But, if you don't have the Georgia font installed, Times Roman will be displayed instead, and that uses cubic curves. The seemingly circular dot above the "i" is actually four cubic curves.
Similarly, whenever you read a PDF document, or almost any printed document, you are (often) looking at strings of cubic curves.
Graphics packages like OpenGL and Direct3D also use cubic curves heavily. So the curves you see in games and other 3D programs are often cubics.
Whenever you do any calculations with cubic Bezier curves, you are using cubic equations. For example, if you calculate points on the curves so that you can draw them on a computer screen or a printer.
If you want to intersect one of these curves with a straight line, you will have to solve a cubic equation. This happens (for example) when you "clip" the curve to some rectangular boundary.
In short, cubic Bézier curves are everywhere. You can start reading about all of this here.
If you want to dig a lot deeper, you could search for the word "cubic" in this bibliography.
$\endgroup$ 7 $\begingroup$Eigenvalues and Eigenvectors are an essential tool in the theory of matrix computation. The case of $3\times3$ matrices is particularly important as it relates to geometric transforms of our good old 3D world.
The Eigenvalues of a $3\times3$ matrix are found from this appetizing equation:
$$x^3-Tr(A)x^2+\frac12[Tr^2(A)-Tr(A^2)]x-det(A)=0$$
As a "real world" example, consider fitting a plane to a point cloud in 3D space (for instance to model the facets of an object digitized with a 3D scanner). This leads to an Eigen problem of this kind (or similarly Singular Value Decomposition).
$\endgroup$ 4 $\begingroup$The drag of airplanes is essentially the coefficient of drag of the airframe (complete) times velocity cubed.
So for a $10\%$ increase in speed, it requires $1.1^3$ more horse power ($33.1\%$ more horsepower) providing that:
- the additional horsepower adds no additional weight (not likely)
- the additional horsepower does not change the airframe's outline or shape in any way (except perhaps for a propeller’s blade profile, planform, or blade count) (also, not likely)
That is why recent advances in airplane design have focused on the two primary sources of drag and a third secondary (Which are LINEAR):
- Airframe and wetted area drag. (parasitic drag)
- Coefficient of drag for the lift produced by the wing. (Induced Drag)
- Drag produced lifting more or less weight. (eventually becomes Induced Drag)
The joke is that a aerodynamicist designing a plane would sell his/her grandmother for a few drag points, or counts at the third decimal place of the coefficient of drag, i.e. $C(f)= 0.26x$.
$\endgroup$ 2 $\begingroup$In thermodynamics, the most commonly used equations of state in industry (for reseach and development in particular in oil and gas industry) are called cubic, even if they do not look to ba at first glance.
The first of them was introduced by Van der Waals in 1873. It write $$P =\frac{R T}{V-b}-\frac{a}{V^2}$$ (where $P$ is pressure, $V$ is volume and $T$ is temperature). For a lot of different reasons, it is expressed as a function of the compressibility factor $Z=\frac{P V}{R T}$ and this equation of state then write $$Z^3-(1-B)Z^2+A Z-A B=0$$ where $$A=\frac{a P}{(R T)^2}$$ $$B=\frac{b P}{R T}$$
I shall add that, in any steady-state or dynamic simulation of chemical or petrochemical plants, these cubic equations must be solved zillions of times and even more !
$\endgroup$ $\begingroup$Elliptic curves can be (are) considered a type of cubic.
$$ y^2=x^3+ax+b $$
These are used in many cryptographic algorithms.
$\endgroup$ $\begingroup$Well I can't comment because I don't have 50 rep. But I will expand on @DrkVenom's answer.
Cubic equations are used widely in Elliptic Curve Cryptography. So much so that you have probably used it quite a few times today on your phone or PC without realizing it. It is a pretty indepth/complex idea but is used widely in network security.
For elliptic-curve-based protocols, it is assumed that finding the discrete logarithm of a random elliptic curve element with respect to a publicly known base point is infeasible — this is the "elliptic curve discrete logarithm problem" or ECDLP. The entire security of ECC depends on the ability to compute a point multiplication and the inability to compute the multiplicand given the original and product points. The size of the elliptic curve determines the difficulty of the problem.
Another usage is in the popular Bitcoin crypto-currency and many other crypto-currencies based off Bitcoin (see here for others). The algorithm used to sign bitcoin transactions is called ECDSA. It is used to sign digital messages for transmission over insecure lines to assure that your message cannot be altered, and to ensure messages you receive have not been altered. Fun fact, there was recently a small vulnerability/concern found in Bitcoins usage of this algorithm where an attacker (by applying his/her knowledge of cubic algorithms) could modify the signature of a transaction, causing all sorts of havoc if changed and distributed correctly (but nothing major!). There was also something like this used to attack the playstation network back in 2010.
In all, I said the same things in school. Now I use a lot of what I would "never use" everyday plus much more I couldn't imagine.
$\endgroup$ 1 $\begingroup$Your mass is $m$.
Your initial location is $x_0$.
Your initial velocity is $v_0$.
Your initial propulsion force is $F_0$.
Your force increases at a constant rate of $\Delta_F$.
Therefore
Your force is $F(t) = F_0 + \Delta_F\,t$.
Your acceleration is $a(t) = \frac{F(t)}{m} = \frac{F_0 + \Delta_F\,t}{m} = \frac{F_0}{m} + \frac{\Delta_F}{m}t$
Your velocity is $v(t) = v_0 + \frac{F_0}{m}t + \frac{\Delta_F}{2m}t^2$
Your position is $x(t) = x_0 + v_0 \,t+ \frac{F_0}{2m}t^2 + \frac{\Delta_F}{6m}t^3$
$\endgroup$ 3 $\begingroup$There exist cubic tweening functions; that is, for animations on computers, people sometimes use a cubic polynomial to ease (or smooth the animation). I personally find the cubic easing functions to feel the smoothest and thus use them a bunch.
$\endgroup$ 1 $\begingroup$Generally speaking, algebraic equations (roots of polynomials of some degree) are frequently used in relation with the dynamic behavior of linear systems.
[Linear systems are such that the effect of the sum of causes is the same as the sum of the effects of the individual causes. They are an important aspect of engineering science.]
When you study the behavior of such systems as times goes (like a mass tied to a spring), you see natural "modes" appear, such as natural vibration frequencies. These are found as roots of an algebraic equation corresponding to the ordinary differential equation that governs the dynamics of the system.
The degree of the algebraic equation is directly related to the number of linear components in the system. For instance, studying the behavior of some electric circuits with three capacitors can lead to a third degree equation.
$\endgroup$ $\begingroup$This example arises in a bio-economic model of fishing (it’s a variant of the Gordon-Schaefer model). From simple and plausible assumptions it follows that the level of fishing effort for maximum sustainable profit is given by a cubic equation.
Natural growth $F$ of the fish stock $X$ in the absence of fishing is assumed to be given by the following logistic function, where $k$ is the carrying capacity (maximum fish population the fishery can support) and $r$ is a growth parameter (throughout I use capital letters for variables and small letters for parameters):
$$F = rX(1 – X/k).......(1)$$
Note that the above is the simplest plausible assumption: to assume that $F$ is a linear function of $X$, however large $X$ may be, would not be credible due to overcrowding etc.
The fish harvest $H$ from fishing effort $E$ is assumed given by:
$$H = gEX.......(2)$$
Costs $C$ are assumed to increase linearly with effort:
$$C = cE.......(3)$$
The unit price $P$ at which the harvested fish can be sold is often assumed to be exogenous, but let's assume (more realistically in some circumstances) a downward-sloping linear relation with harvest:
$$P = a – bH.......(4)$$
For sustainability the harvest must equal the natural growth of the fish population. From (1) and (2) this implies:
$$rX(1 – X/k) = gEX$$
$$1 – X/k = gE/r$$
$$X = k(1 – gE/r)$$
Substituting for $X$ in (2), the relation between sustainable harvest and effort is:
$$H = gEk(1 – gE/r)$$
Substituting for $H$ in (4), the relation between unit price and effort, given sustainability, is:
$$P = a – bgEk(1 – gE/r)$$
Sustainable profit $\Pi$ equals revenue (harvest times unit price) less cost, given by:
$$\Pi = HP-C = [gEk(1 – gE/r)][a – bgEk(1 – gE/r)] – cE$$
$$ = [gEk – g^2E^2k/r][a – bgEk + bg^2E^2k/r] – cE$$
$$ = agEk – bg^2E^2k^2 + bg^3E^3k^2/r – ag^2E^2k/r + bg^3E^3k^2/r – bg^4E^4k^2/r^2 – cE$$
$$ = - (bg^4k^2/r^2)E^4 + (2bg^3k^2/r)E^3 – (a/r + bk)(g^2k)E^2 + (agk – c)E$$
Hence the first-order condition for maximum profit is a cubic equation in $E$:
$$d\Pi/dE = - 4(bg^4k^2/r^2)E^3 + (6bg^3k^2/r)E^2 – 2(a/r + bk)(g^2k)E + (agk – c) = 0$$
$\endgroup$ 1 $\begingroup$Catmull-Rom splines are a type of cubic Hermite spline curve that are widely used in modern video games (DirectX even has functionality for them built-in: (v=vs.85).aspx). They are well suited for use in real-time systems, as they are fairly quick to calculate:
Games use them to smooth out camera and object motion paths.
$\endgroup$ $\begingroup$To expand on @DrkVenom's post, elliptic curve cryptography (ECC) is a great example of the deep application of cubics. ECC is currently at the forefront of research in public key cryptography. It has the important benefit of requiring a smaller key size while maintaining strong security. Here is an accessible and well-illustrated introduction to the subject:
$\endgroup$ $\begingroup$Voltage-current relationships of Thyristors ,Unijunction transistors and Tunnel Diodes are cubic algebric expressions.......................... V = a(0) +a(1)*I +a(2)*I^2 +a(3)*I^3......is a general Voltage (V) and Current (I) relationship expression of these electronic devices.............Usually one of the roots is real and the other two are complex .
$\endgroup$ $\begingroup$We need to solve cubic and quartic equations on a regular basis for 4- and 5-precision synthesis of planar mechanisms.
$\endgroup$ 1 $\begingroup$A real world example of a cubic function might be the change in volume of a cube or sphere, depending on the change in the dimensions of a side or radius, respectively. For that matter, any equation, pertaining to a relateable real world object or phenomenon, with a variable that is cubed might be used as a real world example of a cubic function, or inversely, a cubed root functions.
$\endgroup$ $\begingroup$I'd like to add another example of where cube roots can be found.
In representative democracies, the number of representatives is often near the cube root of the total population of the nation.
representative population grow much slower than total population
$\endgroup$ $\begingroup$I'm surprised that no body has mentioned a pretty trivial geometrical question in which the cubic formula shows that the math gods are literally laughing at us.
For fixed positive real numbers $L$, $A$, and $V$, is it possible to construct a rectangular prism whose volume is $V$, whose surface area is $A$, and such that the sum of the lengths of all of its edges is $L$?
This is of course the 3-D generalization of the corresponding 2-D question:
For fixed positive real numbers $P$ and $A$, it is possible to construct a rectangle whose perimeter is $P$ and whose area is $A$?
The latter question is equivalent to finding two numbers $a$ and $b$ such that $$2a+2b=P\quad\text{and}\quad ab=A\,,$$ which can be solved with the quadratic formula applied to the polynomial equation $$x^2-\frac{P}{2}x+A=0\,.$$
The former question is equivalent to finding the roots of the cubic equation $$x^3-\frac{L}{4}x^2+\frac{S}{2}x-V=0\,.$$
The reason why I say that the math gods are laughing at us is that the cubic formula (and the proof of the casus irreducibilis) shows that if this cubic equation has rational coefficients and can be solved (which is more than likely the case that our ancestors were concerned with) then we really shouldn't try anything more complicated than the rational root test. For if this cubic polynomial has three real roots, but it is irreducible over $\mathbb{Q}$, then Cardano's Formula is going to force us to consider cube roots of complex numbers. Which scarcely seems applicable to peoples that really only considered positive real quantities. They surely would have preferred Vieta's solution through trigonometric means.
$\endgroup$ 6 $\begingroup$A spherical shell radius $r$ is partially filled to depth $d$ at bottom to a volume fraction $\dfrac1k <1 $. Like a concave lens with flat center plane. Depth can be found out from cubic equation:
$$ \frac{r^3}{k}+d^2(d-3r) =0. $$
Or, depth to radius fraction $y= d/r$ found from
$$ \frac{1}{k}+y^2(y-3) =0. $$
$\endgroup$