Cubic equation
   HOME

TheInfoList



OR:

In
algebra Algebra () is one of the broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathematics. Elementary ...
, a cubic equation in one variable is an
equation In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in F ...
of the form :ax^3+bx^2+cx+d=0 in which is nonzero. The solutions of this equation are called
roots A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients. Root or roots may also refer to: Art, entertainment, and media * ''The Root'' (magazine), an online magazine focusing ...
of the cubic function defined by the left-hand side of the equation. If all of the coefficients , , , and of the cubic equation are
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s, then it has at least one real root (this is true for all odd-degree
polynomial function In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
s). All of the roots of the cubic equation can be found by the following means: * algebraically, that is, they can be expressed by a cubic formula involving the four coefficients, the four basic arithmetic operations and th roots (radicals). (This is also true of quadratic (second-degree) and quartic (fourth-degree) equations, but not of higher-degree equations, by the Abel–Ruffini theorem.) * trigonometrically * numerical approximations of the roots can be found using root-finding algorithms such as
Newton's method In numerical analysis, Newton's method, also known as the Newton–Raphson method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a real- ...
. The coefficients do not need to be real numbers. Much of what is covered below is valid for coefficients in any field with characteristic other than 2 and 3. The solutions of the cubic equation do not necessarily belong to the same field as the coefficients. For example, some cubic equations with rational coefficients have roots that are irrational (and even non-real)
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s.


History

Cubic equations were known to the ancient Babylonians, Greeks, Chinese, Indians, and Egyptians.
Babylonia Babylonia (; Akkadian: , ''māt Akkadī'') was an ancient Akkadian-speaking state and cultural area based in the city of Babylon in central-southern Mesopotamia (present-day Iraq and parts of Syria). It emerged as an Amorite-ruled state c ...
n (20th to 16th centuries BC) cuneiform tablets have been found with tables for calculating cubes and cube roots. The Babylonians could have used the tables to solve cubic equations, but no evidence exists to confirm that they did. The problem of doubling the cube involves the simplest and oldest studied cubic equation, and one for which the ancient Egyptians did not believe a solution existed. In the 5th century BC,
Hippocrates Hippocrates of Kos (; grc-gre, Ἱπποκράτης ὁ Κῷος, Hippokrátēs ho Kôios; ), also known as Hippocrates II, was a Greek physician of the classical period who is considered one of the most outstanding figures in the history o ...
reduced this problem to that of finding two mean proportionals between one line and another of twice its length, but could not solve this with a
compass and straightedge construction In geometry, straightedge-and-compass construction – also known as ruler-and-compass construction, Euclidean construction, or classical construction – is the construction of lengths, angles, and other geometric figures using only an ideal ...
, a task which is now known to be impossible. Methods for solving cubic equations appear in '' The Nine Chapters on the Mathematical Art'', a Chinese mathematical text compiled around the 2nd century BC and commented on by
Liu Hui Liu Hui () was a Chinese mathematician who published a commentary in 263 CE on ''Jiu Zhang Suan Shu ( The Nine Chapters on the Mathematical Art).'' He was a descendant of the Marquis of Zixiang of the Eastern Han dynasty and lived in the state ...
in the 3rd century. In the 3rd century AD, the
Greek mathematician Greek mathematics refers to mathematics texts and ideas stemming from the Archaic through the Hellenistic and Roman periods, mostly extant from the 7th century BC to the 4th century AD, around the shores of the Eastern Mediterranean. Greek mathe ...
Diophantus Diophantus of Alexandria ( grc, Διόφαντος ὁ Ἀλεξανδρεύς; born probably sometime between AD 200 and 214; died around the age of 84, probably sometime between AD 284 and 298) was an Alexandrian mathematician, who was the aut ...
found integer or rational solutions for some bivariate cubic equations (
Diophantine equation In mathematics, a Diophantine equation is an equation, typically a polynomial equation in two or more unknowns with integer coefficients, such that the only solutions of interest are the integer ones. A linear Diophantine equation equates to a ...
s).Van der Waerden, Geometry and Algebra of Ancient Civilizations, chapter 4, Zurich 1983 Hippocrates,
Menaechmus :''There is also a Menaechmus in Plautus' play, ''The Menaechmi''.'' Menaechmus ( el, Μέναιχμος, 380–320 BC) was an ancient Greek mathematician, geometer and philosopher born in Alopeconnesus or Prokonnesos in the Thracian Chersones ...
and
Archimedes Archimedes of Syracuse (;; ) was a Greek mathematician, physicist, engineer, astronomer, and inventor from the ancient city of Syracuse in Sicily. Although few details of his life are known, he is regarded as one of the leading scientis ...
are believed to have come close to solving the problem of doubling the cube using intersecting
conic sections In mathematics, a conic section, quadratic curve or conic is a curve obtained as the intersection of the surface of a cone with a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a spe ...
, though historians such as Reviel Netz dispute whether the Greeks were thinking about cubic equations or just problems that can lead to cubic equations. Some others like T. L. Heath, who translated all of Archimedes' works, disagree, putting forward evidence that Archimedes really solved cubic equations using intersections of two conics, but also discussed the conditions where the
root In vascular plants, the roots are the organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often below the su ...
s are 0, 1 or 2. In the 7th century, the
Tang dynasty The Tang dynasty (, ; zh, t= ), or Tang Empire, was an Dynasties in Chinese history, imperial dynasty of China that ruled from 618 to 907 AD, with an Zhou dynasty (690–705), interregnum between 690 and 705. It was preceded by the Sui dyn ...
astronomer mathematician Wang Xiaotong in his mathematical treatise titled Jigu Suanjing systematically established and solved
numerically Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods t ...
25 cubic equations of the form , 23 of them with , and two of them with . In the 11th century, the Persian poet-mathematician,
Omar Khayyam Ghiyāth al-Dīn Abū al-Fatḥ ʿUmar ibn Ibrāhīm Nīsābūrī (18 May 1048 – 4 December 1131), commonly known as Omar Khayyam ( fa, عمر خیّام), was a polymath, known for his contributions to mathematics, astronomy, philosophy, an ...
(1048–1131), made significant progress in the theory of cubic equations. In an early paper, he discovered that a cubic equation can have more than one solution and stated that it cannot be solved using compass and straightedge constructions. He also found a geometric solution. In his later work, the ''Treatise on Demonstration of Problems of Algebra'', he wrote a complete classification of cubic equations with general geometric solutions found by means of intersecting
conic section In mathematics, a conic section, quadratic curve or conic is a curve obtained as the intersection of the surface of a cone with a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a ...
s. In the 12th century, the Indian mathematician Bhaskara II attempted the solution of cubic equations without general success. However, he gave one example of a cubic equation: . In the 12th century, another Persian mathematician, Sharaf al-Dīn al-Tūsī (1135–1213), wrote the ''Al-Muʿādalāt'' (''Treatise on Equations''), which dealt with eight types of cubic equations with positive solutions and five types of cubic equations which may not have positive solutions. He used what would later be known as the " Ruffini- Horner method" to
numerically Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods t ...
approximate the
root In vascular plants, the roots are the organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often below the su ...
of a cubic equation. He also used the concepts of
maxima and minima In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given r ...
of curves in order to solve cubic equations which may not have positive solutions. He understood the importance of the
discriminant In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the roots without computing them. More precisely, it is a polynomial function of the coefficients of the orig ...
of the cubic equation to find algebraic solutions to certain types of cubic equations. In his book ''Flos'', Leonardo de Pisa, also known as Fibonacci (1170–1250), was able to closely approximate the positive solution to the cubic equation . Writing in Babylonian numerals he gave the result as 1,22,7,42,33,4,40 (equivalent to 1 + 22/60 + 7/602 + 42/603 + 33/604 + 4/605 + 40/606), which has a
relative error The approximation error in a data value is the discrepancy between an exact value and some ''approximation'' to it. This error can be expressed as an absolute error (the numerical amount of the discrepancy) or as a relative error (the absolute er ...
of about 10−9. In the early 16th century, the Italian mathematician Scipione del Ferro (1465–1526) found a method for solving a class of cubic equations, namely those of the form . In fact, all cubic equations can be reduced to this form if one allows and to be negative, but
negative number In mathematics, a negative number represents an opposite. In the real number system, a negative number is a number that is less than zero. Negative numbers are often used to represent the magnitude of a loss or deficiency. A debt that is owed ma ...
s were not known to him at that time. Del Ferro kept his achievement secret until just before his death, when he told his student Antonio Fior about it. In 1535, Niccolò Tartaglia (1500–1557) received two problems in cubic equations from Zuanne da Coi and announced that he could solve them. He was soon challenged by Fior, which led to a famous contest between the two. Each contestant had to put up a certain amount of money and to propose a number of problems for his rival to solve. Whoever solved more problems within 30 days would get all the money. Tartaglia received questions in the form , for which he had worked out a general method. Fior received questions in the form , which proved to be too difficult for him to solve, and Tartaglia won the contest. Later, Tartaglia was persuaded by
Gerolamo Cardano Gerolamo Cardano (; also Girolamo or Geronimo; french: link=no, Jérôme Cardan; la, Hieronymus Cardanus; 24 September 1501– 21 September 1576) was an Italian polymath, whose interests and proficiencies ranged through those of mathematician, ...
(1501–1576) to reveal his secret for solving cubic equations. In 1539, Tartaglia did so only on the condition that Cardano would never reveal it and that if he did write a book about cubics, he would give Tartaglia time to publish. Some years later, Cardano learned about del Ferro's prior work and published del Ferro's method in his book '' Ars Magna'' in 1545, meaning Cardano gave Tartaglia six years to publish his results (with credit given to Tartaglia for an independent solution). Cardano's promise to Tartaglia said that he would not publish Tartaglia's work, and Cardano felt he was publishing del Ferro's, so as to get around the promise. Nevertheless, this led to a challenge to Cardano from Tartaglia, which Cardano denied. The challenge was eventually accepted by Cardano's student Lodovico Ferrari (1522–1565). Ferrari did better than Tartaglia in the competition, and Tartaglia lost both his prestige and his income. Cardano noticed that Tartaglia's method sometimes required him to extract the square root of a negative number. He even included a calculation with these
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s in ''Ars Magna'', but he did not really understand it. Rafael Bombelli studied this issue in detail and is therefore often considered as the discoverer of complex numbers.
François Viète François Viète, Seigneur de la Bigotière ( la, Franciscus Vieta; 1540 – 23 February 1603), commonly know by his mononym, Vieta, was a French mathematician whose work on new algebra was an important step towards modern algebra, due to i ...
(1540–1603) independently derived the trigonometric solution for the cubic with three real roots, and
René Descartes René Descartes ( or ; ; Latinized: Renatus Cartesius; 31 March 1596 – 11 February 1650) was a French philosopher, scientist, and mathematician, widely considered a seminal figure in the emergence of modern philosophy and science. Ma ...
(1596–1650) extended the work of Viète.


Factorization

If the coefficients of a cubic equation are
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
s, one can obtain an equivalent equation with integer coefficients, by multiplying all coefficients by a common multiple of their denominators. Such an equation :ax^3+bx^2+cx+d=0, with integer coefficients, is said to be reducible if the polynomial on the left-hand side is the product of polynomials of lower degrees. By Gauss's lemma, if the equation is reducible, one can suppose that the factors have integer coefficients. Finding the roots of a reducible cubic equation is easier than solving the general case. In fact, if the equation is reducible, one of the factors must have degree one, and thus have the form :qx-p with and being coprime integers. The rational root test allows finding and by examining a finite number of cases (because must be a divisor of , and must be a divisor of ). Thus, one root is \textstyle x_1= \frac pq, and the other roots are the roots of the other factor, which can be found by
polynomial long division In algebra, polynomial long division is an algorithm for dividing a polynomial by another polynomial of the same or lower degree, a generalized version of the familiar arithmetic technique called long division. It can be done easily by hand, bec ...
. This other factor is :\frac aq x^2+ \fracx+\frac (The coefficients seem not to be integers, but must be integers if is a root.) Then, the other roots are the roots of this quadratic polynomial and can be found by using the
quadratic formula In elementary algebra, the quadratic formula is a formula that provides the solution(s) to a quadratic equation. There are other ways of solving a quadratic equation instead of using the quadratic formula, such as factoring (direct factoring, ...
.


Depressed cubic

Cubics of the form :t^3+pt+q are said to be depressed. They are much simpler than general cubics, but are fundamental, because the study of any cubic may be reduced by a simple
change of variable Change or Changing may refer to: Alteration * Impermanence, a difference in a state of affairs at different points in time * Menopause, also referred to as "the change", the permanent cessation of the menstrual period * Metamorphosis, or change, ...
to that of a depressed cubic. Let :ax^3 + bx^2 + cx + d = 0 be a cubic equation. The change of variable :x=t-\frac b gives a cubic (in ) that has no term in . After dividing by one gets the ''depressed cubic equation'' :t^3+pt+q=0, with :\begin t=&x+\frac b\\ p=&\frac \\ q=&\frac. \end The
roots A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients. Root or roots may also refer to: Art, entertainment, and media * ''The Root'' (magazine), an online magazine focusing ...
x_1, x_2, x_3 of the original equation are related to the roots t_1,t_2,t_3 of the depressed equation by the relations ::x_i=t_i-\frac b, for i = 1, 2, 3.


Discriminant and nature of the roots

The nature (real or not, distinct or not) of the
roots A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients. Root or roots may also refer to: Art, entertainment, and media * ''The Root'' (magazine), an online magazine focusing ...
of a cubic can be determined without computing them explicitly, by using the
discriminant In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the roots without computing them. More precisely, it is a polynomial function of the coefficients of the orig ...
.


Discriminant

The
discriminant In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the roots without computing them. More precisely, it is a polynomial function of the coefficients of the orig ...
of a
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exampl ...
is a function of its coefficients that is zero if and only if the polynomial has a
multiple root In mathematics, the multiplicity of a member of a multiset is the number of times it appears in the multiset. For example, the number of times a given polynomial has a root at a given point is the multiplicity of that root. The notion of multip ...
, or, if it is divisible by the square of a non-constant polynomial. In other words, the discriminant is nonzero if and only if the polynomial is square-free. If are the three
roots A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients. Root or roots may also refer to: Art, entertainment, and media * ''The Root'' (magazine), an online magazine focusing ...
(not necessarily distinct nor real) of the cubic ax^3+bx^2+cx+d, then the discriminant is :a^4(r_1-r_2)^2(r_1-r_3)^2(r_2-r_3)^2. The discriminant of the depressed cubic t^3+pt+q is :-\left(4\,p^3+27\,q^2\right). The discriminant of the general cubic ax^3+bx^2+cx+d is :18\,abcd - 4\,b^3d + b^2c^2 - 4\,ac^3 - 27\,a^2d^2. It is the product of a^4 and the discriminant of the corresponding depressed cubic. Using the formula relating the general cubic and the associated depressed cubic, this implies that the discriminant of the general cubic can be written as :\frac. It follows that one of these two discriminants is zero if and only if the other is also zero, and, if the coefficients are real, the two discriminants have the same sign. In summary, the same information can be deduced from either one of these two discriminants. To prove the preceding formulas, one can use
Vieta's formulas In mathematics, Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. They are named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta"). Basic formula ...
to express everything as polynomials in , and . The proof then results in the verification of the equality of two polynomials.


Nature of the roots

If the coefficients of a polynomial are
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s, and its discriminant \Delta is not zero, there are two cases: *If \Delta>0, the cubic has three distinct real
roots A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients. Root or roots may also refer to: Art, entertainment, and media * ''The Root'' (magazine), an online magazine focusing ...
*If \Delta<0, the cubic has one real root and two non-real
complex conjugate In mathematics, the complex conjugate of a complex number is the number with an equal real part and an imaginary part equal in magnitude but opposite in sign. That is, (if a and b are real, then) the complex conjugate of a + bi is equal to a - ...
roots. This can be proved as follows. First, if is a root of a polynomial with real coefficients, then its
complex conjugate In mathematics, the complex conjugate of a complex number is the number with an equal real part and an imaginary part equal in magnitude but opposite in sign. That is, (if a and b are real, then) the complex conjugate of a + bi is equal to a - ...
is also a root. So the non-real roots, if any, occur as pairs of complex conjugate roots. As a cubic polynomial has three roots (not necessarily distinct) by the
fundamental theorem of algebra The fundamental theorem of algebra, also known as d'Alembert's theorem, or the d'Alembert–Gauss theorem, states that every non- constant single-variable polynomial with complex coefficients has at least one complex root. This includes polynomia ...
, at least one root must be real. As stated above, if are the three roots of the cubic ax^3+bx^2+cx+d, then the discriminant is :\Delta=a^4(r_1-r_2)^2(r_1-r_3)^2(r_2-r_3)^2 If the three roots are real and distinct, the discriminant is a product of positive reals, that is \Delta>0. If only one root, say , is real, then and are complex conjugates, which implies that is a purely imaginary number, and thus that is real and negative. On the other hand, and are complex conjugates, and their product is real and positive. Thus the discriminant is the product of a single negative number and several positive ones. That is \Delta<0.


Multiple root

If the discriminant of a cubic is zero, the cubic has a
multiple root In mathematics, the multiplicity of a member of a multiset is the number of times it appears in the multiset. For example, the number of times a given polynomial has a root at a given point is the multiplicity of that root. The notion of multip ...
. If furthermore its coefficients are real, then all of its roots are real. The discriminant of the depressed cubic t^3 + p t + q is zero if 4p^3 + 27q^2 = 0. If is also zero, then , and 0 is a triple root of the cubic. If 4p^3 + 27q^2 = 0, and , then the cubic has a simple root :t_1 = \frac and a double root :t_2 = t_3 = -\frac. In other words, :t^3 + p t + q = \left(t - \frac\right)\left(t + \frac\right)^2. This result can be proved by expanding the latter product or retrieved by solving the rather simple
system of equations In mathematics, a set of simultaneous equations, also known as a system of equations or an equation system, is a finite set of equations for which common solutions are sought. An equation system is usually classified in the same manner as single ...
resulting from
Vieta's formulas In mathematics, Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. They are named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta"). Basic formula ...
. By using the reduction of a depressed cubic, these results can be extended to the general cubic. This gives: If the discriminant of the cubic ax^3 + b x^2 + c x + d is zero, then *either, if b^2 = 3ac, the cubic has a triple root ::x_1 = x_2 = x_3 = -\frac, :and ::ax^3 + bx^2 + cx + d = a\left(x + \frac\right)^3 *or, if b^2 \ne 3ac, the cubic has a double root ::x_2 = x_3 = \frac, :and a simple root, ::x_1 = \frac. :and thus ::a x^3 + b x^2 + c x + d = a(x - x_1)(x - x_2)^2.


Characteristic 2 and 3

The above results are valid when the coefficients belong to a field of characteristic other than 2 or 3, but must be modified for characteristic 2 or 3, because of the involved divisions by 2 and 3. The reduction to a depressed cubic works for characteristic 2, but not for characteristic 3. However, in both cases, it is simpler to establish and state the results for the general cubic. The main tool for that is the fact that a multiple root is a common root of the polynomial and its
formal derivative In mathematics, the formal derivative is an operation on elements of a polynomial ring or a ring of formal power series that mimics the form of the derivative from calculus. Though they appear similar, the algebraic advantage of a formal derivati ...
. In these characteristics, if the derivative is not a constant, it is a linear polynomial in characteristic 3, and is the square of a linear polynomial in characteristic 2. Therefore, for either characteristic 2 or 3, the derivative has only one root. This allows computing the multiple root, and the third root can be deduced from the sum of the roots, which is provided by
Vieta's formulas In mathematics, Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. They are named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta"). Basic formula ...
. A difference with other characteristics is that, in characteristic 2, the formula for a double root involves a square root, and, in characteristic 3, the formula for a triple root involves a cube root.


Cardano's formula

Gerolamo Cardano Gerolamo Cardano (; also Girolamo or Geronimo; french: link=no, Jérôme Cardan; la, Hieronymus Cardanus; 24 September 1501– 21 September 1576) was an Italian polymath, whose interests and proficiencies ranged through those of mathematician, ...
is credited with publishing the first formula for solving cubic equations, attributing it to Scipione del Ferro and Niccolo Fontana Tartaglia. The formula applies to depressed cubics, but, as shown in , it allows solving all cubic equations. Cardano's result is that, if :t^3+pt+q=0 is a cubic equation such that and are
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s such that \Delta = \frac4+\frac is positive, then the equation has the real root :\sqrt \sqrt where u_1 and u_2 are the two numbers -\frac q2 + \sqrt and-\frac q2 - \sqrt. See , below, for several methods for getting this result. As shown in , the two other roots are non-real
complex conjugate In mathematics, the complex conjugate of a complex number is the number with an equal real part and an imaginary part equal in magnitude but opposite in sign. That is, (if a and b are real, then) the complex conjugate of a + bi is equal to a - ...
numbers, in this case. It was later shown (Cardano did not know
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s) that the two other roots are obtained by multiplying one of the cube roots by the primitive cube root of unity \varepsilon_1=\frac 2, and the other cube root by the other primutive cube root of the unity \varepsilon_2=\varepsilon_1^2=\frac 2. That is, the other roots of the equation are \varepsilon_1\sqrt \varepsilon_2 \sqrt /math> and \varepsilon_2\sqrt \varepsilon_1 \sqrt If 4p^3+27q^2 < 0, there are three real roots, but Galois theory allows proving that, if there is no rational root, the roots cannot be expressed by an
algebraic expression In mathematics, an algebraic expression is an expression built up from integer constants, variables, and the algebraic operations (addition, subtraction, multiplication, division and exponentiation by an exponent that is a rational number). ...
involving only real numbers. Therefore, the equation cannot be solved in this case with the knowledge of Cardano's time. This case has thus been called '' casus irreducibilis'', meaning ''irreducible case'' in Latin. In ''casus irreducibilis'', Cardano's formula can still be used, but some care is needed in the use of cube roots. A first method is to define the symbols \sqrt and \sqrt /math> as representing the
principal value In mathematics, specifically complex analysis, the principal values of a multivalued function are the values along one chosen branch of that function, so that it is single-valued. The simplest case arises in taking the square root of a posit ...
s of the root function (that is the root that has the largest real part). With this convention Cardano's formula for the three roots remains valid, but is not purely algebraic, as the definition of a principal part is not purely algebraic, since it involves inequalities for comparing real parts. Also, the use of principal cube root may give a wrong result if the coefficients are non-real complex numbers. Moreover, if the coefficients belong to another field, the principal cube root is not defined in general. The second way for making Cardano's formula always correct, is to remark that the product of the two cube roots must be . It results that a root of the equation is :C-\frac p\quad\text\quad C=\sqrt In this formula, the symbols \sqrt and \sqrt /math> denote any square root and any cube root. The other roots of the equation are obtained either by changing of cube root or, equivalently, by multiplying the cube root by a primitive cube root of unity, that is \textstyle \frac2. This formula for the roots is always correct except when , with the proviso that if , the square root is chosen so that . However, the formula is useless in these cases as the roots can be expressed without any cube root. Similarly, the formula is also useless in the other cases where no cube root is needed, that is when 4p^3+27q^2=0 and when the cubic polynomial is not irreducible. This formula is also correct when and belong to any field of characteristic other than 2 or 3.


General cubic formula

A ''cubic formula'' for the roots of the general cubic equation (with ) :ax^3+bx^2+cx+d=0 can be deduced from every variant of Cardano's formula by reduction to a depressed cubic. The variant that is presented here is valid not only for real coefficients, but also for coefficients belonging to any field of characteristic different of 2 and 3. The formula being rather complicated, it is worth splitting it in smaller formulas. Let :\begin \Delta_0 &= b^2 - 3ac,\\ \Delta_1 &= 2b^3 - 9abc + 27a^2d. \end (Both \Delta_0 and \Delta_1 can be expressed as
resultant In mathematics, the resultant of two polynomials is a polynomial expression of their coefficients, which is equal to zero if and only if the polynomials have a common root (possibly in a field extension), or, equivalently, a common factor (ov ...
s of the cubic and its derivatives: \Delta_1 is times the resultant of the cubic and its second derivative, and \Delta_0 is times the resultant of the first and second derivatives of the cubic polynomial.) Then let :C = \sqrt where the symbols \sqrt and \sqrt /math> are interpreted as ''any'' square root and ''any'' cube root, respectively (every nonzero complex number has two square roots and three cubic roots). The sign "" before the square root is either "" or ""; the choice is almost arbitrary, and changing it amounts to choosing a different square root. However, if a choice yields (this occurs if \Delta_0=0), then the other sign must be selected instead. If both choices yield , that is, if \Delta_0=\Delta_1=0, a fraction occurs in following formulas; this fraction must be interpreted as equal to zero (see the end of this section). With these conventions, one of the roots is :x = - \frac\left(b+C+\frac\right)\text The other two roots can be obtained by changing the choice of the cube root in the definition of , or, equivalently by multiplying by a primitive cube root of unity, that is . In other words, the three roots are :x_k = - \frac\left(b+\xi^kC+\frac\right), \qquad k \in \ \text where . As for the special case of a depressed cubic, this formula applies but is useless when the roots can be expressed without cube roots. In particular, if \Delta_0=\Delta_1=0, the formula gives that the three roots equal \frac , which means that the cubic polynomial can be factored as \textstyle a(x+\frac b)^3. A straightforward computation allows verifying that the existence of this factorization is equivalent with \Delta_0=\Delta_1=0.


Trigonometric and hyperbolic solutions


Trigonometric solution for three real roots

When a cubic equation with real coefficients has three real roots, the formulas expressing these roots in terms of radicals involve complex numbers. Galois theory allows proving that when the three roots are real, and none is rational ('' casus irreducibilis''), one cannot express the roots in terms of real radicals. Nevertheless, purely real expressions of the solutions may be obtained using
trigonometric functions In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in a ...
, specifically in terms of cosines and
arccosine In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). S ...
s. More precisely, the roots of the depressed cubic :t^3 + pt + q = 0 are :t_k = 2\,\sqrt\,\cos\left ,\frac \arccos\left(\frac\sqrt\,\right) - \frac\,\right\qquad \text k=0,1,2. This formula is due to
François Viète François Viète, Seigneur de la Bigotière ( la, Franciscus Vieta; 1540 – 23 February 1603), commonly know by his mononym, Vieta, was a French mathematician whose work on new algebra was an important step towards modern algebra, due to i ...
. It is purely real when the equation has three real roots (that is 4p^3 + 27q^2 < 0). Otherwise, it is still correct but involves complex cosines and arccosines when there is only one real root, and it is nonsensical (division by zero) when . This formula can be straightforwardly transformed into a formula for the roots of a general cubic equation, using the back-substitution described in . The formula can be proved as follows: Starting from the equation , let us set The idea is to choose to make the equation coincide with the identity :4\cos^3\theta - 3\cos\theta - \cos(3\theta) = 0. For this, choose u = 2\,\sqrt\,, and divide the equation by \frac. This gives :4\cos^3\theta - 3\cos\theta - \frac\,\sqrt = 0. Combining with the above identity, one gets :\cos(3\theta) = \frac\sqrt\,, and the roots are thus :t_k = 2\,\sqrt\,\cos\left \frac \arccos\left( \frac\sqrt \right) - \frac \right\qquad \text k=0,1,2.


Hyperbolic solution for one real root

When there is only one real root (and ), this root can be similarly represented using
hyperbolic function In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points form a circle with a unit radius, the points form the right half of the u ...
s, as :\begin t_0 &= -2\frac\sqrt\cosh\left frac\operatorname\left(\frac\sqrt\right)\right\qquad \text ~ 4 p^3 + 27 q^2 > 0 ~\text~ p < 0,\\ t_0 & = -2\sqrt\sinh\left frac\operatorname\left(\frac\sqrt\right)\right\qquad \text ~ p > 0.\end If and the inequalities on the right are not satisfied (the case of three real roots), the formulas remain valid but involve complex quantities. When , the above values of are sometimes called the Chebyshev cube root. More precisely, the values involving cosines and hyperbolic cosines define, when , the same
analytic function In mathematics, an analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions. Functions of each type are infinitely differentiable, but complex ...
denoted , which is the proper Chebyshev cube root. The value involving hyperbolic sines is similarly denoted , when .


Geometric solutions


Omar Khayyám's solution

For solving the cubic equation where ,
Omar Khayyám Ghiyāth al-Dīn Abū al-Fatḥ ʿUmar ibn Ibrāhīm Nīsābūrī (18 May 1048 – 4 December 1131), commonly known as Omar Khayyam ( fa, عمر خیّام), was a polymath, known for his contributions to mathematics, astronomy, philosophy, an ...
constructed the parabola , the circle that has as a diameter the
line segment In geometry, a line segment is a part of a straight line that is bounded by two distinct end points, and contains every point on the line that is between its endpoints. The length of a line segment is given by the Euclidean distance between i ...
on the positive -axis, and a vertical line through the point where the circle and the parabola intersect above the -axis. The solution is given by the length of the horizontal line segment from the origin to the intersection of the vertical line and the -axis (see the figure). A simple modern proof is as follows. Multiplying the equation by and regrouping the terms gives :\frac= x\left(\frac-x\right). The left-hand side is the value of on the parabola. The equation of the circle being , the right hand side is the value of on the circle.


Solution with angle trisector

A cubic equation with real coefficients can be solved geometrically using compass, straightedge, and an angle trisector if and only if it has three real roots. A cubic equation can be solved by compass-and-straightedge construction (without trisector) if and only if it has a rational root. This implies that the old problems of
angle trisection Angle trisection is a classical problem of straightedge and compass construction of ancient Greek mathematics. It concerns construction of an angle equal to one third of a given arbitrary angle, using only two tools: an unmarked straightedge an ...
and doubling the cube, set by
ancient Greek mathematicians Greek mathematics refers to mathematics texts and ideas stemming from the Archaic through the Hellenistic and Roman periods, mostly extant from the 7th century BC to the 4th century AD, around the shores of the Eastern Mediterranean. Greek mathem ...
, cannot be solved by compass-and-straightedge construction.


Geometric interpretation of the roots


Three real roots

Viète's trigonometric expression of the roots in the three-real-roots case lends itself to a geometric interpretation in terms of a circle. When the cubic is written in depressed form (), , as shown above, the solution can be expressed as :t_k=2\sqrt\cos\left(\frac\arccos\left(\frac\sqrt\right)-k\frac\right) \quad \text \quad k=0,1,2 \,. Here \arccos\left(\frac\sqrt\right) is an angle in the unit circle; taking of that angle corresponds to taking a cube root of a complex number; adding for finds the other cube roots; and multiplying the cosines of these resulting angles by 2\sqrt corrects for scale. For the non-depressed case () (shown in the accompanying graph), the depressed case as indicated previously is obtained by defining such that so . Graphically this corresponds to simply shifting the graph horizontally when changing between the variables and , without changing the angle relationships. This shift moves the point of inflection and the centre of the circle onto the -axis. Consequently, the roots of the equation in sum to zero.


One real root


In the Cartesian plane

When the graph of a cubic function is plotted in the
Cartesian plane A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in ...
, if there is only one real root, it is the abscissa (-coordinate) of the horizontal intercept of the curve (point R on the figure). Further, if the complex conjugate roots are written as , then the real part is the abscissa of the tangency point H of the
tangent line In geometry, the tangent line (or simply tangent) to a plane curve at a given point is the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points on the curve. Mo ...
to cubic that passes through -intercept R of the cubic (that is the signed length RM, negative on the figure). The imaginary parts are the square roots of the tangent of the angle between this tangent line and the horizontal axis.


In the complex plane

With one real and two complex roots, the three roots can be represented as points in the complex plane, as can the two roots of the cubic's derivative. There is an interesting geometrical relationship among all these roots. The points in the complex plane representing the three roots serve as the vertices of an isosceles triangle. (The triangle is isosceles because one root is on the horizontal (real) axis and the other two roots, being complex conjugates, appear symmetrically above and below the real axis.) Marden's theorem says that the points representing the roots of the derivative of the cubic are the foci of the Steiner inellipse of the triangle—the unique ellipse that is tangent to the triangle at the midpoints of its sides. If the angle at the vertex on the real axis is less than then the major axis of the ellipse lies on the real axis, as do its foci and hence the roots of the derivative. If that angle is greater than , the major axis is vertical and its foci, the roots of the derivative, are complex conjugates. And if that angle is , the triangle is equilateral, the Steiner inellipse is simply the triangle's incircle, its foci coincide with each other at the incenter, which lies on the real axis, and hence the derivative has duplicate real roots.


Galois group

Given a cubic irreducible polynomial over a field of characteristic different from 2 and 3, the
Galois group In mathematics, in the area of abstract algebra known as Galois theory, the Galois group of a certain type of field extension is a specific group associated with the field extension. The study of field extensions and their relationship to the po ...
over is the group of the field automorphisms that fix of the smallest extension of ( splitting field). As these automorphisms must permute the roots of the polynomials, this group is either the group of all six permutations of the three roots, or the group of the three circular permutations. The discriminant of the cubic is the square of :\sqrt \Delta =a^2(r_1-r_2)(r_1-r_3)(r_2-r_3), where is the leading coefficient of the cubic, and , and are the three roots of the cubic. As \sqrt \Delta changes of sign if two roots are exchanged, \sqrt \Delta is fixed by the Galois group only if the Galois group is . In other words, the Galois group is if and only if the discriminant is the square of an element of . As most integers are not squares, when working over the field of the
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
s, the Galois group of most irreducible cubic polynomials is the group with six elements. An example of a Galois group with three elements is given by , whose discriminant is .


Derivation of the roots

This section regroups several methods for deriving Cardano's formula.


Cardano's method

This method is due to Scipione del Ferro and
Tartaglia Tartaglia may refer to: *Tartaglia (commedia dell'arte), Commedia dell'arte stock character *Angelo Tartaglia (1350 or 1370–1421), Italian condottiero * Niccolò Fontana Tartaglia (1499/1500–1557), Venetian mathematician and engineer *Ivo Tarta ...
, but is named after
Gerolamo Cardano Gerolamo Cardano (; also Girolamo or Geronimo; french: link=no, Jérôme Cardan; la, Hieronymus Cardanus; 24 September 1501– 21 September 1576) was an Italian polymath, whose interests and proficiencies ranged through those of mathematician, ...
who first published it in his book ''Ars Magna'' (1545). This method applies to a depressed cubic . The idea is to introduce two variables and such that and to substitute this in the depressed cubic, giving :u^3 + v^3 + (3uv + p)(u+v)+ q= 0. At this point Cardano imposed the condition . This removes the third term in previous equality, leading to the system of equations :\beginu^3 + v^3&=-q \\ uv&=-\frac p3.\end Knowing the sum and the product of and , one deduces that they are the two solutions of the
quadratic equation In algebra, a quadratic equation () is any equation that can be rearranged in standard form as ax^2 + bx + c = 0\,, where represents an unknown value, and , , and represent known numbers, where . (If and then the equation is linear, not qu ...
:(x - u^3)(x - v^3) = x^2 - (u^3 + v^3)x + u^3v^3 = x^2 - (u^3 + v^3)x + (uv)^3 = 0, so :x^2 + qx -\frac =0, The discriminant of this equation is \Delta = q^2 + \frac, and assuming it is positive, real solutions to this equations are (after folding division by 4 under the square root): :-\frac q2 \pm \sqrt . So (without loss of generality in choosing u or v): :u = \sqrt :v = \sqrt As , the sum of the cube roots of these solutions is a root of the equation. That is :t=\sqrt +\sqrt /math> is a root of the equation; this is Cardano's formula. This works well when 4p^3+27q^2 > 0, but, if 4p^3+27q^2 < 0, the square root appearing in the formula is not real. As a
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
has three cube roots, using Cardano's formula without care would provide nine roots, while a cubic equation cannot have more than three roots. This was clarified first by Rafael Bombelli in his book ''L'Algebra'' (1572). The solution is to use the fact that , that is . This means that only one cube root needs to be computed, and leads to the second formula given in . The other roots of the equation can be obtained by changing of cube root, or, equivalently, by multiplying the cube root by each of the two primitive cube roots of unity, which are \frac 2.


Vieta's substitution

Vieta's substitution is a method introduced by
François Viète François Viète, Seigneur de la Bigotière ( la, Franciscus Vieta; 1540 – 23 February 1603), commonly know by his mononym, Vieta, was a French mathematician whose work on new algebra was an important step towards modern algebra, due to i ...
(Vieta is his Latin name) in a text published posthumously in 1615, which provides directly the second formula of , and avoids the problem of computing two different cube roots. Starting from the depressed cubic , Vieta's substitution is . The substitution transforms the depressed cubic into :w^3+q-\frac=0. Multiplying by , one gets a quadratic equation in : :(w^3)^2+q(w^3)-\frac=0. Let :W=-\frac q 2\pm\sqrt be any nonzero root of this quadratic equation. If , and are the three
cube root In mathematics, a cube root of a number is a number such that . All nonzero real numbers, have exactly one real cube root and a pair of complex conjugate cube roots, and all nonzero complex numbers have three distinct complex cube roots. F ...
s of , then the roots of the original depressed cubic are , , and . The other root of the quadratic equation is \textstyle -\frac . This implies that changing the sign of the square root exchanges and for , and therefore does not change the roots. This method only fails when both roots of the quadratic equation are zero, that is when , in which case the only root of the depressed cubic is .


Lagrange's method

In his paper ''Réflexions sur la résolution algébrique des équations'' ("Thoughts on the algebraic solving of equations"), Joseph Louis Lagrange introduced a new method to solve equations of low degree in a uniform way, with the hope that he could generalize it for higher degrees. This method works well for cubic and quartic equations, but Lagrange did not succeed in applying it to a quintic equation, because it requires solving a resolvent polynomial of degree at least six.
§6.2, p. 134
/ref>
Algebra in the Eighteenth Century: The Theory of Equations
/ref>Daniel Lazard, "Solving quintics in radicals", in Olav Arnfinn Laudal, Ragni Piene, ''The Legacy of Niels Henrik Abel'', pp. 207–225, Berlin, 2004. Except that nobody succeeded before to solve the problem, this was the first indication of the non-existence of an algebraic formula for degrees 5 and higher; this was later proved as the Abel–Ruffini theorem. Nevertheless, the modern methods for solving solvable quintic equations are mainly based on Lagrange's method. In the case of cubic equations, Lagrange's method gives the same solution as Cardano's. Lagrange's method can be applied directly to the general cubic equation , but the computation is simpler with the depressed cubic equation, . Lagrange's main idea was to work with the
discrete Fourier transform In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced samples of a function into a same-length sequence of equally-spaced samples of the discrete-time Fourier transform (DTFT), which is a comple ...
of the roots instead of with the roots themselves. More precisely, let be a primitive third root of unity, that is a number such that and (when working in the space of
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s, one has \textstyle \xi=\frac2=e^, but this complex interpretation is not used here). Denoting , and the three roots of the cubic equation to be solved, let :\begin s_0 &= x_0 + x_1 + x_2,\\ s_1 &= x_0 + \xi x_1 + \xi^2 x_2,\\ s_2 &= x_0 + \xi^2 x_1 + \xi x_2, \end be the discrete Fourier transform of the roots. If , and are known, the roots may be recovered from them with the inverse Fourier transform consisting of inverting this linear transformation; that is, :\begin x_0 &= \tfrac13(s_0 + s_1 + s_2),\\ x_1 &= \tfrac13(s_0 + \xi^2 s_1 + \xi s_2),\\ x_2 &= \tfrac13(s_0 + \xi s_1 + \xi ^2 s_2). \end By
Vieta's formulas In mathematics, Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. They are named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta"). Basic formula ...
, is known to be zero in the case of a depressed cubic, and for the general cubic. So, only and need to be computed. They are not symmetric functions of the roots (exchanging and exchanges also and ), but some simple symmetric functions of and are also symmetric in the roots of the cubic equation to be solved. Thus these symmetric functions can be expressed in terms of the (known) coefficients of the original cubic, and this allows eventually expressing the as roots of a polynomial with known coefficients. This works well for every degree, but, in degrees higher than four, the resulting polynomial that has the as roots has a degree higher than that of the initial polynomial, and is therefore unhelpful for solving. This is the reason for which Lagrange's method fails in degrees five and higher. In the case of a cubic equation, P=s_1s_2, and S=s_1^3+s_2^3 are such symmetric polynomials (see below). It follows that s_1^3 and s_2^3 are the two roots of the quadratic equation z^2-Sz+P^3=0. Thus the resolution of the equation may be finished exactly as with Cardano's method, with s_1 and s_2 in place of and . In the case of the depressed cubic, one has x_0=\tfrac 13 (s_1+s_2) and s_1s_2=-3p, while in Cardano's method we have set x_0=u+v and uv=\tfrac 13 p. Thus, up to the exchange of and , we have s_1=3u and s_2=3v. In other words, in this case, Cardano's method and Lagrange's method compute exactly the same things, up to a factor of three in the auxiliary variables, the main difference being that Lagrange's method explains why these auxiliary variables appear in the problem.


Computation of and

A straightforward computation using the relations and gives :\begin P&=s_1s_2=x_0^2+x_1^2+x_2^2-(x_0x_1+x_1x_2+x_2x_0),\\ S&=s_1^3+s_2^3=2(x_0^3+x_1^3+x_2^3)-3(x_0^2x_1+x_1^2x_2+x_2^2x_0+x_0x_1^2+x_1x_2^2+x_2x_0^2)+12x_0x_1x_2. \end This shows that and are symmetric functions of the roots. Using
Newton's identities In mathematics, Newton's identities, also known as the Girard–Newton formulae, give relations between two types of symmetric polynomials, namely between power sums and elementary symmetric polynomials. Evaluated at the roots of a monic polynom ...
, it is straightforward to express them in terms of the elementary symmetric functions of the roots, giving :\begin P&=e_1^2-3e_2,\\ S&=2e_1^3-9e_1e_2+27e_3, \end with , and in the case of a depressed cubic, and , and , in the general case.


Applications

Cubic equations arise in various other contexts.


In mathematics

*
Angle trisection Angle trisection is a classical problem of straightedge and compass construction of ancient Greek mathematics. It concerns construction of an angle equal to one third of a given arbitrary angle, using only two tools: an unmarked straightedge an ...
and doubling the cube are two ancient problems of
geometry Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is c ...
that have been proved to not be solvable by straightedge and compass construction, because they are equivalent to solving a cubic equation. * Marden's theorem states that the foci of the Steiner inellipse of any triangle can be found by using the cubic function whose roots are the coordinates in the
complex plane In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
of the triangle's three vertices. The roots of the first derivative of this cubic are the complex coordinates of those foci. * The
area Area is the quantity that expresses the extent of a region on the plane or on a curved surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an op ...
of a regular heptagon can be expressed in terms of the roots of a cubic. Further, the ratios of the long diagonal to the side, the side to the short diagonal, and the negative of the short diagonal to the long diagonal all satisfy a particular cubic equation. In addition, the ratio of the
inradius In geometry, the incircle or inscribed circle of a triangle is the largest circle that can be contained in the triangle; it touches (is tangent to) the three sides. The center of the incircle is a triangle center called the triangle's incen ...
to the
circumradius In geometry, the circumscribed circle or circumcircle of a polygon is a circle that passes through all the vertices of the polygon. The center of this circle is called the circumcenter and its radius is called the circumradius. Not every pol ...
of a
heptagonal triangle A heptagonal triangle is an obtuse scalene triangle whose vertices coincide with the first, second, and fourth vertices of a regular heptagon (from an arbitrary starting vertex). Thus its sides coincide with one side and the adjacent shorter an ...
is one of the solutions of a cubic equation. The values of trigonometric functions of angles related to 2\pi/7 satisfy cubic equations. * Given the cosine (or other trigonometric function) of an arbitrary angle, the cosine of one-third of that angle is one of the roots of a cubic. * The solution of the general quartic equation relies on the solution of its resolvent cubic. * The
eigenvalue In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denote ...
s of a 3×3
matrix Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** '' The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
are the roots of a cubic polynomial which is the
characteristic polynomial In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The c ...
of the matrix. * The characteristic equation of a third-order constant coefficients or Cauchy–Euler (equidimensional variable coefficients)
linear differential equation In mathematics, a linear differential equation is a differential equation that is defined by a linear polynomial in the unknown function and its derivatives, that is an equation of the form :a_0(x)y + a_1(x)y' + a_2(x)y'' \cdots + a_n(x)y^ = b ...
or
difference equation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
is a cubic equation. * Intersection points of cubic
Bézier curve A Bézier curve ( ) is a parametric curve used in computer graphics and related fields. A set of discrete "control points" defines a smooth, continuous curve by means of a formula. Usually the curve is intended to approximate a real-world shape ...
and straight line can be computed using direct cubic equation representing Bézier curve. * Critical points of a quartic function are found by solving a cubic equation (the derivative set equal to zero). *
Inflection point In differential calculus and differential geometry, an inflection point, point of inflection, flex, or inflection (British English: inflexion) is a point on a smooth plane curve at which the curvature changes sign. In particular, in the case ...
s of a quintic function are the solution of a cubic equation (the second derivative set equal to zero).


In other sciences

* In
analytical chemistry Analytical chemistry studies and uses instruments and methods to separate, identify, and quantify matter. In practice, separation, identification or quantification may constitute the entire analysis or be combined with another method. Separati ...
, the
Charlot equation The Charlot equation, named after Gaston Charlot, is used in analytical chemistry to relate the hydrogen ion concentration, and therefore the pH, with the formal analytical concentration of an acid and its conjugate base. It can be used for comp ...
, which can be used to find the pH of buffer solutions, can be solved using a cubic equation. * In
thermodynamics Thermodynamics is a branch of physics that deals with heat, work, and temperature, and their relation to energy, entropy, and the physical properties of matter and radiation. The behavior of these quantities is governed by the four laws ...
,
equations of state In physics, chemistry, and thermodynamics, an equation of state is a thermodynamic equation relating state variables, which describe the state of matter under a given set of physical conditions, such as pressure, volume, temperature, or ...
(which relate pressure, volume, and temperature of a substances), e.g. the
Van der Waals equation of state In chemistry and thermodynamics, the Van der Waals equation (or Van der Waals equation of state) is an equation of state which extends the ideal gas law to include the effects of interaction between molecules of a gas, as well as accounting ...
, are cubic in the volume. * Kinematic equations involving linear rates of acceleration are cubic. * The speed of seismic Rayleigh waves is a solution of the Rayleigh wave cubic equation. * The steady state speed of a vehicle moving on a slope with air friction for a given input power is solved by a depressed cubic equation.


Notes


References

*


Further reading

* Ch. 24. * * * * * * * *


External links

*
History of quadratic, cubic and quartic equations
on
MacTutor archive The MacTutor History of Mathematics archive is a website maintained by John J. O'Connor and Edmund F. Robertson and hosted by the University of St Andrews in Scotland. It contains detailed biographies on many historical and contemporary mathemati ...
.
500 years of NOT teaching THE CUBIC FORMULA. What is it they think you can't handle?
YouTube YouTube is a global online video sharing and social media platform headquartered in San Bruno, California. It was launched on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim. It is owned by Google, and is the second mo ...
video by Mathologer about the history of cubic equations and Cardano's solution, as well as Ferrari's solution to quartic equations {{Polynomials Elementary algebra Equations Polynomials