Having obtained a first class degree in mathematics from Wadham College, Oxford, Walter Waddingham Shirley (1828–66) taught mathematics there before turning his attention to …