# Quadratic, cubic and quartic equations

Algebra index | History Topics Index |

In about 300 BC Euclid developed a geometrical approach which, although later mathematicians used it to solve quadratic equations, amounted to finding a length which in our notation was the root of a quadratic equation. Euclid had no notion of equation, coefficients etc. but worked with purely geometrical quantities.

Hindu mathematicians took the Babylonian methods further so that Brahmagupta (598-665 AD) gives an, almost modern, method which admits negative quantities. He also used abbreviations for the unknown, usually the initial letter of a colour was used, and sometimes several different unknowns occur in a single problem.

The Arabs did not know about the advances of the Hindus so they had neither negative quantities nor abbreviations for their unknowns. However al-Khwarizmi (c 800) gave a classification of different types of quadratics (although only numerical examples of each). The different types arise since al-Khwarizmi had no zero or negatives. He has six chapters each devoted to a different type of equation, the equations being made up of three types of quantities namely: roots, squares of roots and numbers i.e. *x*, *x*^{2} and numbers.

- Squares equal to roots.

- Squares equal to numbers.

- Roots equal to numbers.

- Squares and roots equal to numbers, e.g.
*x*^{2}+ 10*x*= 39.

- Squares and numbers equal to roots, e.g.
*x*^{2}+ 21 = 10*x*.

- Roots and numbers equal to squares, e.g. 3
*x*+ 4 =*x*^{2}.

Al-Khwarizmi gives the rule for solving each type of equation, essentially the familiar quadratic formula given for a numerical example in each case, and then a proof for each example which is a geometrical

*completing the square.*

Abraham bar Hiyya Ha-Nasi, often known by the Latin name Savasorda, is famed for his book *Liber embadorum* Ⓣ published in 1145 which is the first book published in Europe to give the complete solution of the quadratic equation.

A new phase of mathematics began in Italy around 1500. In 1494 the first edition of *Summa de arithmetica, geometrica, proportioni et proportionalita* Ⓣ, now known as the *Suma,* appeared. It was written by Luca Pacioli although it is quite hard to find the author's name on the book, *Fra Luca* appearing in small print but not on the title page. In many ways the book is more a summary of knowledge at the time and makes no major advances. The notation and setting out of calculations is almost modern in style:

6.p.R.10

18.m.R.90

____________________________

108.m.R.3240.p.R.3240.m.R.90

hoc est 78.

(18 - √90) =

(108-√3240 + √3240 - √900)

which is 78.

Pacioli does not discuss cubic equations but does discuss quartics. He says that, in our notation, *x*^{4} = *a* + *bx*^{2} can be solved by quadratic methods but *x*^{4} + *ax*^{2} = *b* and *x*^{4} + *a* = *bx*^{2} are *impossible at the present state of science*.

Scipione dal Ferro (1465-1526) held the Chair of Arithmetic and Geometry at the University of Bologna and certainly must have met Pacioli who lectured at Bologna in 1501-2. Dal Ferro is credited with solving cubic equations algebraically but the picture is somewhat more complicated. The problem was to find the roots by adding, subtracting, multiplying, dividing and taking roots of expressions in the coefficients. We believe that dal Ferro could only solve cubic equation of the form *x*^{3} + *mx* = *n*. In fact this is all that is required.

*y*

^{3}-

*by*

^{2}+

*cy*-

*d*= 0, put

*y*=

*x*+

*b*/3 to get

*x*^{3} + *mx* = *n* where *m* = *c* - *b*^{2}/3, *n* = *d* - *bc*/3 + 2*b*^{3}/27.

Fior was a mediocre mathematician and far less good at keeping secrets than dal Ferro. Soon rumours started to circulate in Bologna that the cubic equation had been solved. Nicolo of Brescia, known as Tartaglia meaning 'the stammerer', prompted by the rumours managed to solve equations of the form *x*^{3} + *mx*^{2} = *n* and made no secret of his discovery.

Fior challenged Tartaglia to a public contest: the rules being that each gave the other 30 problems with 40 or 50 days in which to solve them, the winner being the one to solve most but a small prize was also offered for each problem. Tartaglia solved all Fior's problems in the space of 2 hours, for all the problems Fior had set were of the form *x*^{3} + *mx* = *n* as he believed Tartaglia would be unable to solve this type. However only 8 days before the problems were to be collected, Tartaglia had found the general method for all types of cubics.

News of Tartaglia's victory reached Girolamo Cardan in Milan where he was preparing to publish *Practica Arithmeticae* Ⓣ (1539). Cardan invited Tartaglia to visit him and, after much persuasion, made him divulge the secret of his solution of the cubic equation. This Tartaglia did, having made Cardan promise to keep it secret until Tartaglia had published it himself. Cardan did not keep his promise. In 1545 he published *Ars Magna* the first Latin treatise on algebra.

*x*

^{3}+

*mx*=

*n*.

Notice that (*a* - *b*)^{3} + 3*ab*(*a* - *b*) = *a*^{3} - *b*^{3}

so if *a* and *b* satisfy 3*ab* = *m* and *a*^{3} - *b*^{3} = *n* then *a* - *b* is a solution of *x*^{3} + *mx* = *n*.

But now *b* = *m*/3*a* so *a*^{3} - *m*^{3}/27*a*^{3} = *n*,

i.e. *a*^{6} - *na*^{3} - *m*^{3}/27 = 0.

This is a quadratic equation in *a*^{3}, so solve for *a*^{3} using the usual formula for a quadratic.

Now *a* is found by taking cube roots and *b* can be found in a similar way (or using *b*=*m*/3*a*).

Then *x* = *a* - *b* is the solution to the cubic.

*x*

^{3}= 15

*x*+ 4 he obtained an expression involving √-121. Cardan knew that you could not take the square root of a negative number yet he also knew that

*x*= 4 was a solution to the equation. He wrote to Tartaglia on 4 August 1539 in an attempt to clear up the difficulty. Tartaglia certainly did not understand. In

*Ars Magna*Cardan gives a calculation with 'complex numbers' to solve a similar problem but he really did not understand his own calculation which he says is

*as subtle as it is useless.*

After Tartaglia had shown Cardan how to solve cubics, Cardan encouraged his own student, Lodovico Ferrari, to examine quartic equations. Ferrari managed to solve the quartic with perhaps the most elegant of all the methods that were found to solve this type of problem. Cardan published all 20 cases of quartic equations in *Ars Magna*. Here, again in modern notation, is Ferrari's solution of the case: *x*^{4} + *px*^{2} + *qx* + *r* = 0. First complete the square to obtain

*x*

^{4}+ 2

*px*

^{2}+

*p*

^{2}=

*px*

^{2}-

*qx*-

*r*+

*p*

^{2}

i.e.

(

*x*

^{2}+

*p*)

^{2}=

*px*

^{2}-

*qx*-

*r*+

*p*

^{2}

*y*we have

*x*

^{2}+

*p*+

*y*)

^{2}=

*px*

^{2}-

*qx*-

*r*+

*p*

^{2}+ 2

*y*(

*x*

^{2}+

*p*) +

*y*

^{2}

= (

*p*+ 2

*y*)

*x*

^{2}-

*qx*+ (

*p*

^{2}-

*r*+ 2

*py*+

*y*

^{2}) (*)

*x*and we can choose

*y*so that it is a perfect square. This is done by making the discriminant zero, in this case

*q*)

^{2}-4(

*p*+ 2

*y*)(

*p*

^{2}-

*r*+ 2

*py*+

*y*

^{2}) = 0.

*q*

^{2}- 4

*p*

^{3}+ 4

*pr*) + (-16

*p*

^{2}+ 8

*r*)

*y*- 20

*py*

^{2}- 8

*y*

^{3}= 0

*y*.

Now we know how to solve cubics, so solve for *y*. With this value of *y* the right hand side of (*) is a perfect square so, taking the square root of both sides, we obtain a quadratic in *x*. Solve this quadratic and we have the required solution to the quartic equation.

The irreducible case of the cubic, namely the case where Cardan's formula leads to the square root of negative numbers, was studied in detail by Rafael Bombelli in 1572 in his work *Algebra*.

In the years after Cardan's *Ars Magna* many mathematicians contributed to the solution of cubic and quartic equations. Viète, Harriot, Tschirnhaus, Euler, Bezout and Descartes all devised methods. Tschirnhaus's methods were extended by the Swedish mathematician E S Bring near the end of the 18^{th} Century.

Thomas Harriot made several contributions. One of the most elementary to us, yet showing a marked improvement in understanding, was the observation that if *x* = *b*, *x* = *c*, *x* = *d* are solutions of a cubic then the cubic is

*x*-

*b*)(

*x*-

*c*)(

*x*-

*d*) = 0.

*x*

^{3}+ 3

*b*

^{2}

*x*= 2

*c*

^{3}

*x*= (

*e*

^{2}-

*b*

^{2})/

*e*. Then

*e*

^{6}- 2

*c*

^{3}

*e*

^{3}=

*b*

^{6}

*e*

^{3}, and so can be solved for

*e*

^{3}to get

*e*

^{3}=

*c*

^{3}+√(

*b*

^{6}+

*c*

^{6}).

*e*

^{3}(

*e*

^{3}- 2

*c*

^{3}) =

*b*

^{6}so that

*b*

^{6}/

*e*

^{3}= -

*c*

^{3}+√(

*b*

^{6}+

*c*

^{6}).

*x*=

*e*-

*b*

^{2}/

*e*and both

*e*and

*b*

^{2}/

*e*are cube roots of expressions given above.

Leibniz wrote a letter to Huygens in March 1673. In it he made many contributions to the understanding of cubic equations. Perhaps the most striking is a direct verification of the Cardan-Tartaglia formula. This Leibniz did by reconstructing the cubic from its three roots (as given by the formula) as Harriot claimed in general. Nobody before Leibniz seems to have thought of this direct method of verification. It was the first true algebraic proof of the formula, all previous proofs being geometrical in nature.

**Article by:** *J J O'Connor* and *E F Robertson*

List of References (12 books/articles)

**Other Web sites:**

History Topics Index | Algebra index |

Main index | Biographies Index |

The URL of this page is:

http://www-history.mcs.st-andrews.ac.uk/HistTopics/Quadratic_etc_equations.html