Joseph-Louis Lagrange
In papers which were published in the third volume, Lagrange studied the integration of differential equations and made various applications to topics such as fluid mechanics (where he introduced the Lagrangian function). Also contained are methods to solve systems of linear differential equations which used the characteristic value of a linear substitution for the first time. Another problem to which he applied his methods was the study the orbits of Jupiter and Saturn.
The Académie des Sciences in Paris announced its prize competition for 1764 in 1762. The topic was on the libration of the Moon, that is the motion of the Moon which causes the face that it presents to the Earth to oscillate causing small changes in the position of the lunar features. Lagrange entered the competition, sending his entry to Paris in 1763 which arrived there not long before Lagrange himself. In November of that year he left Turin to make his first long journey, accompanying the Marquis Caraccioli, an ambassador from Naples who was moving from a post in Turin to one in London. Lagrange arrived in Paris shortly after his entry had been received but took ill while there and did not proceed to London with the ambassador. D'Alembert was upset that a mathematician as fine as Lagrange did not receive more honour. He wrote on his behalf:-
Monsieur de la Grange, a young geometer from Turin, has been here for six weeks. He has become quite seriously ill and he needs, not financial aid, for the Marquis de Caraccioli directed upon leaving for England that he should not lack for anything, but rather some signs of interest on the part of his native country ... In him Turin possesses a treasure whose worth it perhaps does not know.
Returning to Turin in early 1765, Lagrange entered, later that year, for the Académie des Sciences prize of 1766 on the orbits of the moons of Jupiter. D'Alembert, who had visited the Berlin Academy and was friendly with Frederick II of Prussia, arranged for Lagrange to be offered a position in the Berlin Academy. Despite no improvement in Lagrange's position in Turin, he again turned the offer down writing:-
It seems to me that Berlin would not be at all suitable for me while M Euler is there.By March 1766 d'Alembert knew that Euler was returning to St Petersburg and wrote again to Lagrange to encourage him to accept a post in Berlin. Full details of the generous offer were sent to him by Frederick II in April, and Lagrange finally accepted. Leaving Turin in August, he visited d'Alembert in Paris, then Caraccioli in London before arriving in Berlin in October. Lagrange succeeded Euler as Director of Mathematics at the Berlin Academy of Science on 6 November 1766.
Lagrange was greeted warmly by most members of the Academy and he soon became close friends with Lambert and Johann(III) Bernoulli. However, not everyone was pleased to see this young man in such a prestigious position, particularly Castillon who was 32 years older than Lagrange and considered that he should have been appointed as Director of Mathematics. Just under a year from the time he arrived in Berlin, Lagrange married his cousin Vittoria Conti. He wrote to d'Alembert:-
My wife, who is one of my cousins and who even lived for a long time with my family, is a very good housewife and has no pretensions at all.
They had no children, in fact Lagrange had told d'Alembert in this letter that he did not wish to have children.
Turin always regretted losing Lagrange and from time to time his return there was suggested, for example in 1774. However, for 20 years Lagrange worked at Berlin, producing a steady stream of top quality papers and regularly winning the prize from the Académie des Sciences of Paris. He shared the 1772 prize on the three body problem with Euler, won the prize for 1774, another one on the motion of the moon, and he won the 1780 prize on perturbations of the orbits of comets by the planets.
His work in Berlin covered many topics: astronomy, the stability of the solar system, mechanics, dynamics, fluid mechanics, probability, and the foundations of the calculus. He also worked on number theory proving in 1770 that every positive integer is the sum of four squares. In 1771 he proved Wilson's theorem (first stated without proof by Waring) that n is prime if and only if (n -1)! + 1 is divisible by n. In 1770 he also presented his important work Réflexions sur la résolution algébrique des équations which made a fundamental investigation of why equations of degrees up to 4 could be solved by radicals. The paper is the first to consider the roots of a equation as abstract quantities rather than having numerical values. He studied permutations of the roots and, although he does not compose permutations in the paper, it can be considered as a first step in the development of group theory continued by Ruffini, Galois and Cauchy.
Although Lagrange had made numerous major contributions to mechanics, he had not produced a comprehensive work. He decided to write a definitive work incorporating his contributions and wrote to Laplace on 15 September 1782:-
I have almost completed a Traité de mécanique analytique, based uniquely on the principle of virtual velocities; but, as I do not yet know when or where I shall be able to have it printed, I am not rushing to put the finishing touches to it.
Caraccioli, who was by now in Sicily, would have liked to see Lagrange return to Italy and he arranged for an offer to be made to him by the court of Naples in 1781. Offered the post of Director of Philosophy of the Naples Academy, Lagrange turned it down for he only wanted peace to do mathematics and the position in Berlin offered him the ideal conditions. During his years in Berlin his health was rather poor on many occasions, and that of his wife was even worse. She died in 1783 after years of illness and Lagrange was very depressed. Three years later Frederick II died and Lagrange's position in Berlin became a less happy one. Many Italian States saw their chance and attempts were made to entice him back to Italy.
The offer which was most attractive to Lagrange, however, came not from Italy but from Paris and included a clause which meant that Lagrange had no teaching. On 18 May 1787 he left Berlin to become a member of the Académie des Sciences in Paris, where he remained for the rest of his career. Lagrange survived the French Revolution while others did not and this may to some extent be due to his attitude which he had expressed many years before when he wrote:-
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.The Mécanique analytique which Lagrange had written in Berlin, was published in 1788. It had been approved for publication by a committee of the Académie des Sciences comprising of Laplace, Cousin, Legendre and Condorcet. Legendre acted as an editor for the work doing proof reading and other tasks. The Mécanique analytique summarised all the work done in the field of mechanics since the time of Newton and is notable for its use of the theory of differential equations. With this work Lagrange transformed mechanics into a branch of mathematical analysis. He wrote in the Preface:-