somerville conducted experiments to explore the relationship between light and magnetism and she published her first paper, "the magnetic properties of the violet rays of the solar spectrum", in the "proceedings of the royal society" in 1826. sir david brewster, inventor of the kaleidoscope, wrote in 1829 that mary somerville was "certainly the most extraordinary woman in europe - a mathematician of the very first rank with all the gentleness of a woman".