 Despite his father's death, he won a scholarship, allowing him to continue his studies to university level.He then studied Mathematics at the University of St Andrews in Fife, graduating MA in 1902.He then began as an Assistant Lecturer at the university.