# Joseph-Louis Lagrange

**Joseph-Louis Lagrange**^{[a]} (born **Giuseppe Luigi Lagrangia**^{[5]}^{[b]} or **Giuseppe Ludovico De la Grange Tournier**;^{[6]}^{[c]} 25 January 1736 – 10 April 1813), also reported as **Giuseppe Luigi Lagrange**^{[7]} or **Lagrangia**,^{[8]} was an Italian mathematician and astronomer, later naturalized French. He made significant contributions to the fields of analysis, number theory, and both classical and celestial mechanics.

In 1766, on the recommendation of Swiss Leonhard Euler and French d'Alembert, Lagrange succeeded Euler as the director of mathematics at the Prussian Academy of Sciences in Berlin, Prussia, where he stayed for over twenty years, producing volumes of work and winning several prizes of the French Academy of Sciences. Lagrange's treatise on analytical mechanics (*Mécanique analytique*, 4. ed., 2 vols. Paris: Gauthier-Villars et fils, 1788–89), written in Berlin and first published in 1788, offered the most comprehensive treatment of classical mechanics since Newton and formed a basis for the development of mathematical physics in the nineteenth century.

In 1787, at age 51, he moved from Berlin to Paris and became a member of the French Academy of Sciences. He remained in France until the end of his life. He was instrumental in the decimalisation in Revolutionary France, became the first professor of analysis at the École Polytechnique upon its opening in 1794, was a founding member of the Bureau des Longitudes, and became Senator in 1799.

Lagrange was one of the creators of the calculus of variations, deriving the Euler–Lagrange equations for extrema of functionals. He extended the method to include possible constraints, arriving at the method of Lagrange multipliers.
Lagrange invented the method of solving differential equations known as variation of parameters, applied differential calculus to the theory of probabilities and worked on solutions for algebraic equations. He proved that every natural number is a sum of four squares. His treatise *Theorie des fonctions analytiques* laid some of the foundations of group theory, anticipating Galois. In calculus, Lagrange developed a novel approach to interpolation and Taylor theorem. He studied the three-body problem for the Earth, Sun and Moon (1764) and the movement of Jupiter's satellites (1766), and in 1772 found the special-case solutions to this problem that yield what are now known as Lagrangian points. Lagrange is best known for transforming Newtonian mechanics into a branch of analysis, Lagrangian mechanics, and presented the mechanical "principles" as simple results of the variational calculus.

In appearance he was of medium height, and slightly formed, with pale blue eyes and a colourless complexion. In character he was nervous and timid, he detested controversy, and to avoid it willingly allowed others to take the credit for what he had himself done.

He always thought out the subject of his papers before he began to compose them, and usually wrote them straight off without a single erasure or correction.

Firstborn of eleven children as *Giuseppe Lodovico Lagrangia*, Lagrange was of Italian and French descent.^{[7]} His paternal great-grandfather was a French captain of cavalry, whose family originated from the French region of Tours.^{[7]} After serving under Louis XIV, he had entered the service of Charles Emmanuel II, Duke of Savoy, and married a Conti from the noble Roman family.^{[7]} Lagrange's father, Giuseppe Francesco Lodovico, was doctor in Law at the University of Torino, while his mother was the only child of a rich doctor of Cambiano, in the countryside of Turin.^{[7]}^{[10]} He was raised as a Roman Catholic (but later on became an agnostic).^{[11]}

His father, who had charge of the king's military chest and was Treasurer of the Office of Public Works and Fortifications in Turin, should have maintained a good social position and wealth, but before his son grew up he had lost most of his property in speculations. A career as a lawyer was planned out for Lagrange by his father,^{[7]} and certainly Lagrange seems to have accepted this willingly. He studied at the University of Turin and his favourite subject was classical Latin. At first he had no great enthusiasm for mathematics, finding Greek geometry rather dull.

It was not until he was seventeen that he showed any taste for mathematics – his interest in the subject being first excited by a paper by Edmond Halley from 1693^{[12]} which he came across by accident. Alone and unaided he threw himself into mathematical studies; at the end of a year's incessant toil he was already an accomplished mathematician. Charles Emmanuel III appointed Lagrange to serve as the "Sostituto del Maestro di Matematica" (mathematics assistant professor) at the Royal Military Academy of the Theory and Practice of Artillery in 1755, where he taught courses in calculus and mechanics to support the Piedmontese army's early adoption of the ballistics theories of Benjamin Robins and Leonhard Euler. In that capacity, Lagrange was the first to teach calculus in an engineering school. According to Alessandro Papacino D'Antoni, the academy's military commander and famous artillery theorist, Lagrange unfortunately proved to be a problematic professor with his oblivious teaching style, abstract reasoning, and impatience with artillery and fortification-engineering applications.^{[13]} In this Academy one of his students was François Daviet.^{[14]}

Lagrange is one of the founders of the calculus of variations. Starting in 1754, he worked on the problem of the tautochrone, discovering a method of maximizing and minimizing functionals in a way similar to finding extrema of functions. Lagrange wrote several letters to Leonhard Euler between 1754 and 1756 describing his results. He outlined his "δ-algorithm", leading to the Euler–Lagrange equations of variational calculus and considerably simplifying Euler's earlier analysis.^{[15]} Lagrange also applied his ideas to problems of classical mechanics, generalising the results of Euler and Maupertuis.

Euler was very impressed with Lagrange's results. It has been stated that "with characteristic courtesy he withheld a paper he had previously written, which covered some of the same ground, in order that the young Italian might have time to complete his work, and claim the undisputed invention of the new calculus"; however, this chivalric view has been disputed.^{[16]} Lagrange published his method in two memoirs of the Turin Society in 1762 and 1773.

The second volume contains a long paper embodying the results of several papers in the first volume on the theory and notation of the calculus of variations; and he illustrates its use by deducing the principle of least action, and by solutions of various problems in dynamics.

The third volume includes the solution of several dynamical problems by means of the calculus of variations; some papers on the integral calculus; a solution of a Fermat's problem: given an integer *n* which is not a perfect square, to find a number *x* such that *nx*^{2} + 1^{[verification needed]} is a perfect square; and the general differential equations of motion for three bodies moving under their mutual attractions.

The next work he produced was in 1764 on the libration of the Moon, and an explanation as to why the same face was always turned to the earth, a problem which he treated by the aid of virtual work. His solution is especially interesting as containing the germ of the idea of generalised equations of motion, equations which he first formally proved in 1780.

Already by 1756, Euler and Maupertuis, seeing Lagrange's mathematical talent, tried to persuade Lagrange to come to Berlin, but he shyly refused the offer. In 1765, d'Alembert interceded on Lagrange's behalf with Frederick of Prussia and by letter, asked him to leave Turin for a considerably more prestigious position in Berlin. He again turned down the offer, responding that^{: 361 }

*It seems to me that Berlin would not be at all suitable for me while M.Euler is there*

In 1766, after Euler left Berlin for Saint Petersburg, Frederick himself wrote to Lagrange expressing the wish of "the greatest king in Europe" to have "the greatest mathematician in Europe" resident at his court. Lagrange was finally persuaded. He spent the next twenty years in Prussia, where he produced a long series of papers published in the Berlin and Turin transactions, and composed his monumental work, the *Mécanique analytique*. In 1767, he married his cousin Vittoria Conti.

Lagrange was a favourite of the king, who frequently lectured him on the advantages of perfect regularity of life. The lesson was accepted, and Lagrange studied his mind and body as though they were machines, and experimented to find the exact amount of work which he could do before exhaustion. Every night he set himself a definite task for the next day, and on completing any branch of a subject he wrote a short analysis to see what points in the demonstrations or in the subject-matter were capable of improvement. He carefully planned his papers before writing them, usually without a single erasure or correction.

Nonetheless, during his years in Berlin, Lagrange's health was rather poor, and that of his wife Vittoria was even worse. She died in 1783 after years of illness and Lagrange was very depressed. In 1786, Frederick II died, and the climate of Berlin became difficult for Lagrange.^{[10]}

In 1786, following Frederick's death, Lagrange received similar invitations from states including Spain and Naples, and he accepted the offer of Louis XVI to move to Paris. In France he was received with every mark of distinction and special apartments in the Louvre were prepared for his reception, and he became a member of the French Academy of Sciences, which later became part of the Institut de France (1795). At the beginning of his residence in Paris he was seized with an attack of melancholy, and even the printed copy of his *Mécanique* on which he had worked for a quarter of a century lay for more than two years unopened on his desk. Curiosity as to the results of the French revolution first stirred him out of his lethargy, a curiosity which soon turned to alarm as the revolution developed.

It was about the same time, 1792, that the unaccountable sadness of his life and his timidity moved the compassion of 24-year-old Renée-Françoise-Adélaïde Le Monnier, daughter of his friend, the astronomer Pierre Charles Le Monnier. She insisted on marrying him, and proved a devoted wife to whom he became warmly attached.

In September 1793, the Reign of Terror began. Under intervention of Antoine Lavoisier, who himself was by then already thrown out of the Academy along with many other scholars, Lagrange was specifically exempted by name in the decree of October 1793 that ordered all foreigners to leave France. On 4 May 1794, Lavoisier and 27 other tax farmers were arrested and sentenced to death and guillotined on the afternoon after the trial. Lagrange said on the death of Lavoisier:

*It took only a moment to cause this head to fall and a hundred years will not suffice to produce its like.*

Though Lagrange had been preparing to escape from France while there was yet time, he was never in any danger; different revolutionary governments (and at a later time, Napoleon) gave him honours and distinctions. This luckiness or safety may to some extent be due to his life attitude he expressed many years before: "".^{[10]} A striking testimony to the respect in which he was held was shown in 1796 when the French commissary in Italy was ordered to attend in full state on Lagrange's father, and tender the congratulations of the republic on the achievements of his son, who "had done honor to all mankind by his genius, and whom it was the special glory of Piedmont to have produced." It may be added that Napoleon, when he attained power, warmly encouraged scientific studies in France, and was a liberal benefactor of them. Appointed senator in 1799, he was the first signer of the Sénatus-consulte which in 1802 annexed his fatherland Piedmont to France.^{[7]} He acquired French citizenship in consequence.^{[7]} The French claimed he was a French mathematician, but the Italians continued to claim him as Italian.^{[10]}

*I believe that, in general, one of the first principles of every wise man is to conform strictly to the laws of the country in which he is living, even when they are unreasonable*

Lagrange was involved in the development of the metric system of measurement in the 1790s. He was offered the presidency of the Commission for the reform of weights and measures (*la Commission des Poids et Mesures*) when he was preparing to escape. After Lavoisier's death in 1794, it was largely Lagrange who influenced the choice of the metre and kilogram units with decimal subdivision, by the commission of 1799.^{[18]} Lagrange was also one of the founding members of the Bureau des Longitudes in 1795.

In 1795, Lagrange was appointed to a mathematical chair at the newly established École Normale, which enjoyed only a short existence of four months. His lectures there were elementary; they contain nothing of any mathematical importance, though they do provide a brief historical insight into his reason for proposing undecimal or Base 11 as the base number for the reformed system of weights and measures.^{[19]}^{: 23 } The lectures were published because the professors had to "pledge themselves to the representatives of the people and to each other neither to read nor to repeat from memory" ["Les professeurs aux Écoles Normales ont pris, avec les Représentans du Peuple, et entr'eux l'engagement de ne point lire ou débiter de mémoire des discours écrits"^{[20]}^{: iii }]. The discourses were ordered taken down in shorthand to enable the deputies to see how the professors acquitted themselves. It was also thought the published lectures would interest a significant portion of the citizenry ["Quoique des feuilles sténographiques soient essentiellement destinées aux élèves de l'École Normale, on doit prévoir quיelles seront lues par une grande partie de la Nation"^{[20]}^{: v }].

In 1794, Lagrange was appointed professor of the École Polytechnique; and his lectures there, described by mathematicians who had the good fortune to be able to attend them, were almost perfect both in form and matter.^{[citation needed]} Beginning with the merest elements, he led his hearers on until, almost unknown to themselves, they were themselves extending the bounds of the subject: above all he impressed on his pupils the advantage of always using general methods expressed in a symmetrical notation.

But Lagrange does not seem to have been a successful teacher. Fourier, who attended his lectures in 1795, wrote:

In 1810, Lagrange commenced a thorough revision of the *Mécanique analytique*, but he was able to complete only about two-thirds of it before his death at Paris in 1813, in 128 rue du Faubourg Saint-Honoré. Napoleon honoured him with the Grand Croix of the Ordre Impérial de la Réunion just two days before he died. He was buried that same year in the Panthéon in Paris. The inscription on his tomb reads in translation:

JOSEPH LOUIS LAGRANGE. Senator. Count of the Empire. Grand Officer of the Legion of Honour. Grand Cross of the Imperial Order of the Reunion. Member of the Institute and the Bureau of Longitude. Born in Turin on 25 January 1736. Died in Paris on 10 April 1813.

Lagrange was extremely active scientifically during twenty years he spent in Berlin. Not only did he produce his *Mécanique analytique*, but he contributed between one and two hundred papers to the Academy of Turin, the Berlin Academy, and the French Academy. Some of these are really treatises, and all without exception are of a high order of excellence. Except for a short time when he was ill he produced on average about one paper a month. Of these, note the following as amongst the most important.

First, his contributions to the fourth and fifth volumes, 1766–1773, of the *Miscellanea Taurinensia*; of which the most important was the one in 1771, in which he discussed how numerous astronomical observations should be combined so as to give the most probable result. And later, his contributions to the first two volumes, 1784–1785, of the transactions of the Turin Academy; to the first of which he contributed a paper on the pressure exerted by fluids in motion, and to the second an article on integration by infinite series, and the kind of problems for which it is suitable.

Most of the papers sent to Paris were on astronomical questions, and among these including his paper on the Jovian system in 1766, his essay on the problem of three bodies in 1772, his work on the secular equation of the Moon in 1773, and his treatise on cometary perturbations in 1778. These were all written on subjects proposed by the Académie française, and in each case the prize was awarded to him.

Between 1772 and 1788, Lagrange re-formulated Classical/Newtonian mechanics to simplify formulas and ease calculations. These mechanics are called Lagrangian mechanics.

The greater number of his papers during this time were, however, contributed to the Prussian Academy of Sciences. Several of them deal with questions in algebra.

Several of his early papers also deal with questions of number theory.

There are also numerous articles on various points of analytical geometry. In two of them, written rather later, in 1792 and 1793, he reduced the equations of the quadrics (or conicoids) to their canonical forms.

During the years from 1772 to 1785, he contributed a long series of papers which created the science of partial differential equations. A large part of these results was collected in the second edition of Euler's integral calculus which was published in 1794.

Lastly, there are numerous papers on problems in astronomy. Of these the most important are the following:

Over and above these various papers he composed his fundamental treatise, the *Mécanique analytique*.

In this book, he lays down the law of virtual work, and from that one fundamental principle, by the aid of the calculus of variations, deduces the whole of mechanics, both of solids and fluids.

The object of the book is to show that the subject is implicitly included in a single principle, and to give general formulae from which any particular result can be obtained. The method of generalised co-ordinates by which he obtained this result is perhaps the most brilliant result of his analysis. Instead of following the motion of each individual part of a material system, as D'Alembert and Euler had done, he showed that, if we determine its configuration by a sufficient number of variables *x*, called generalized coordinates, whose number is the same as that of the degrees of freedom possessed by the system, then the kinetic and potential energies of the system can be expressed in terms of those variables, and the differential equations of motion thence deduced by simple differentiation. For example, in dynamics of a rigid system he replaces the consideration of the particular problem by the general equation, which is now usually written in the form

where *T* represents the kinetic energy and *V* represents the potential energy of the system.
He then presented what we now know as the method of Lagrange multipliers—though this is not the first time that method was published—as a means to solve this equation.^{[23]}
Amongst other minor theorems here given it may suffice to mention the proposition that the kinetic energy imparted by the given impulses to a material system under given constraints is a maximum, and the principle of least action. All the analysis is so elegant that Sir William Rowan Hamilton said the work could be described only as a scientific poem. Lagrange remarked that mechanics was really a branch of pure mathematics analogous to a geometry of four dimensions, namely, the time and the three coordinates of the point in space; and it is said that he prided himself that from the beginning to the end of the work there was not a single diagram. At first no printer could be found who would publish the book; but Legendre at last persuaded a Paris firm to undertake it, and it was issued under the supervision of Laplace, Cousin, Legendre (editor) and Condorcet in 1788.^{[10]}

Lagrange's lectures on the differential calculus at École Polytechnique form the basis of his treatise *Théorie des fonctions analytiques*, which was published in 1797. This work is the extension of an idea contained in a paper he had sent to the Berlin papers in 1772, and its object is to substitute for the differential calculus a group of theorems based on the development of algebraic functions in series, relying in particular on the principle of the generality of algebra.

A somewhat similar method had been previously used by John Landen in the *Residual Analysis*, published in London in 1758. Lagrange believed that he could thus get rid of those difficulties, connected with the use of infinitely large and infinitely small quantities, to which philosophers objected in the usual treatment of the differential calculus. The book is divided into three parts: of these, the first treats of the general theory of functions, and gives an algebraic proof of Taylor's theorem, the validity of which is, however, open to question; the second deals with applications to geometry; and the third with applications to mechanics.

Another treatise on the same lines was his *Leçons sur le calcul des fonctions*, issued in 1804, with the second edition in 1806. It is in this book that Lagrange formulated his celebrated method of Lagrange multipliers, in the context of problems of variational calculus with integral constraints. These works devoted to differential calculus and calculus of variations may be considered as the starting point for the researches of Cauchy, Jacobi, and Weierstrass.

At a later period Lagrange fully embraced the use of infinitesimals in preference to founding the differential calculus on the study of algebraic forms; and in the preface to the second edition of the *Mécanique Analytique*, which was issued in 1811, he justifies the employment of infinitesimals, and concludes by saying that:

*When we have grasped the spirit of the infinitesimal method, and have verified the exactness of its results either by the geometrical method of prime and ultimate ratios, or by the analytical method of derived functions, we may employ infinitely small quantities as a sure and valuable means of shortening and simplifying our proofs.*

His *Résolution des équations numériques*, published in 1798, was also the fruit of his lectures at École Polytechnique. There he gives the method of approximating to the real roots of an equation by means of continued fractions, and enunciates several other theorems. In a note at the end he shows how Fermat's little theorem, that is

where *p* is a prime and *a* is prime to *p*, may be applied to give the complete algebraic solution of any binomial equation. He also here explains how the equation whose roots are the squares of the differences of the roots of the original equation may be used so as to give considerable information as to the position and nature of those roots.

The theory of the planetary motions had formed the subject of some of the most remarkable of Lagrange's Berlin papers. In 1806 the subject was reopened by Poisson, who, in a paper read before the French Academy, showed that Lagrange's formulae led to certain limits for the stability of the orbits. Lagrange, who was present, now discussed the whole subject afresh, and in a letter communicated to the Academy in 1808 explained how, by the variation of arbitrary constants, the periodical and secular inequalities of any system of mutually interacting bodies could be determined.

Euler proposed Lagrange for election to the Berlin Academy and he was elected on 2 September 1756. He was elected a Fellow of the Royal Society of Edinburgh in 1790, a Fellow of the Royal Society and a foreign member of the Royal Swedish Academy of Sciences in 1806. In 1808, Napoleon made Lagrange a Grand Officer of the Legion of Honour and a Count of the Empire. He was awarded the Grand Croix of the Ordre Impérial de la Réunion in 1813, a week before his death in Paris, and was buried in the Panthéon, a mausoleum dedicated to the most honoured French people.

Lagrange was awarded the 1764 prize of the French Academy of Sciences for his memoir on the libration of the Moon. In 1766 the Academy proposed a problem of the motion of the satellites of Jupiter, and the prize again was awarded to Lagrange. He also shared or won the prizes of 1772, 1774, and 1778.

Lagrange is one of the 72 prominent French scientists who were commemorated on plaques at the first stage of the Eiffel Tower when it first opened. *Rue Lagrange* in the 5th Arrondissement in Paris is named after him. In Turin, the street where the house of his birth still stands is named *via Lagrange*. The lunar crater Lagrange and the asteroid 1006 Lagrangea also bear his name.

The initial version of this article was taken from the public domain resource *A Short Account of the History of Mathematics* (4th edition, 1908) by W. W. Rouse Ball.