Lamb was taught by Stokes and Maxwell at Cambridge and graduated as Second Wrangler in 1872 (meaning that he was second in the ranked list of those students awarded a First Class degree).
Lamb ay tinuturuan sa pamamagitan ng Stokes at Maxwell sa Cambridge at nagtapos bilang Ikalawang Wrangler sa 1872 (ang ibig sabihin ay siya ang pangalawa sa listahan ng ranggo ng mga mag-aaral na iginawad ng isang Unang Klase degree).