Born on March 3, 1847 in Edinburgh, Scotland, Alexander showed a flair for art, poetry, and music since his childhood years. He was a student of the Royal High School, from which he dropped out. However, he continued pursuing his interest in science. At the age of ten, Alexander adopted 'Graham' as his middle name.