he was born in london on 20 january 1815. he went to a private school, and was articled at the age of fifteen as an architect and surveyor; but went on to support himself by teaching, chiefly mathematical, privately and at a school. he then attended university college, london. in 1841 he graduated b.a. in the university of london.