Mary Somerville (née Fairfax, formerly Greig; 26 December 1780 – 29 November 1872) was a Scottish scientist, writer, and polymath. She studied mathematics and astronomy, and in 1835 she was elected together with Caroline Herschel as the first female Honorary Members of the Royal Astronomical Society.