When I was at Primary School, I was given a "Girl's Annual" one Christmas. Back then, these usually had a few stories, an article about washing your hair carefully, a couple of craft projects, and mini biographies of two or three 'worthy women' who would be good role models. This particular book had a feature about Mary Fairfax Somerville. From the first paragraph, I was fascinated by her. You can read details of her life here.
From an early age, she fell in love with mathematics, spending hours wrestling with algebra problems. Her father wondered if she were a lunatic and should be confined to an asylum. She was skilled at French, loved science, and became an accomplished astronomer. She was a true polymath. She was the first woman to be admitted to the Royal Astronomical Society. In 1834 - before Victoria ascended to the throne, after the publication of Mary's second book, the Master of Trinity College, Cambridge, William Whewell, suggested that the term 'men of science' was now obsolete, and instead the term 'scientist' should be used, recognising both women and men had valued contributions to make. So Mary was truly the first person to be called a scientist
I do not think Mary is as well known as she should be. Somerville College, Oxford is named after her, being founded within a decade of her death. She was highly respected by so many in her lifetime - not just scientists - she was a great friend of the artist JMWTurner. I really must watch that film sometime- Mary is portrayed in it - here she is demonstrating the properties of violet light
Sir David Brewster, the inventor of the kaleidoscope [yes, really] said of her
... certainly the most extraordinary woman in Europe - a mathematician of the very first rank with all the gentleness of a woman ... She is also a great natural philosopher and mineralogist.
I end with two quotes from Mary herself - one rather wordy one about her faith -
Nothing has afforded me so convincing a proof of the unity of the Deity as these purely mental conceptions of numerical and mathematical science which have been by slow degrees vouchsafed to man, and are still granted in these latter times by the Differential Calculus, now superseded by the Higher Algebra, all of which must have existed in that sublimely omniscient Mind from eternity.
And a second quote that I really identified with as a schoolgirl - and still do even now
Sometimes I find [mathematical problems] difficult, but my old obstinacy remains, for if I do not succeed today, I attack them again on the morrow.