 Her grandfather, Robert Couper, M.D., was a Scottish physician and poet.She attended the University of London from 1871–74 and was a gifted student, passing the examinations for Special Certificates in mathematics and in logic and moral philosophy (the university did not award degrees to women until 1878).She also spoke several languages.