His early education was mainly done at home and he tutored himself in algebra, the subject being his favorite. He then entered the Trinity College, Cambridge, in the year 1811 and along with his fellow scientists, founded the Analytical Society to promote continental mathematics and reformed Newton's mathematics which was a subject taught in the university.