Turin had been the capital of the duchy of Savoy, but became the capital of the kingdom of Sardinia in 1720, sixteen years before Lagrange's birth. Lagrange's family had French connections on his father's side, his great-grandfather being a French cavalry captain who left France to work for the Duke of Savoy. Lagrange always leant towards his French ancestry, for as a youth he would sign himself Lodovico LaGrange or Luigi Lagrange, using the French form of his family name.
Despite the fact that Lagrange's father held a position of some importance in the service of the king of Sardinia, the family were not wealthy since Lagrange's father had lost large sums of money in unsuccessful financial speculation. A career as a lawyer was planned out for Lagrange by his father, and certainly Lagrange seems to have accepted this willingly. He studied at the College of Turin and his favourite subject was classical Latin. At first he had no great enthusiasm for mathematics, finding Greek geometry rather dull.
Lagrange's interest in mathematics began when he read a copy of Halley's 1693 work on the use of algebra in optics. He was also attracted to physics by the excellent teaching of Beccaria at the College of Turin and he decided to make a career for himself in mathematics. Perhaps the world of mathematics has to thank Lagrange's father for his unsound financial