He joined the military academy in Auxerre. Aged sixteen, he became a teacher. At age 26, he entered the École normale supérieure in Paris. People like Joseph-Louis Lagrange, Gaspard Monge, and Pierre-Simon de Laplace were among his teachers.