When James was eight years old his mother died. His parents plan that they would educate him at home until he was 13 years old, and that he would then be able to go the Edinburgh University, fell through. A 16 year old boy was hired to act as tutor but the arrangement was not a successful one and it was decided that James should attend the Edinburgh Academy.

James, together with his family, arrived at 31 Heriot Row, the house of Isabella Wedderburn his father's sister, on 18 November 1841. He attended Edinburgh Academy where he had the nickname 'Dafty'. http://www-history.mcs.st-and.ac.uk/Mathematicians/Tait.html - P G Tait , although almost the same age, was one class below James. http://www-history.mcs.st-and.ac.uk/Mathematicians/Tait.html - Tait , who would become a close school friend and friend for life, described Maxwell's school days [ - 41 ]:-

In early 1846 at the age of 14, Maxwell wrote a paper on ovals. In this work he generalised the definition of an - - locus of a point where the sum of *m* times the distance from one fixed point plus *n* times the distance from a second fixed point is constant. If *m* = *n* = 1 then the curve is an ellipse. Maxwell also defined curves where there were more than two foci. This became his first paper *On the description of oval curves, and those having a plurality of foci* which was read to the http://www-history.mcs.st-and.ac.uk/Societies/RSE.html - Maxwell was not dux of the Edinburgh Academy, this honour going to Lewis Campbell who later became the professor of Greek at the University of St Andrews. Lewis Campbell was a close friend of Maxwell's and he wrote the biography [ - 4 ] and its second edition [ - 5 ]. These biographies make fascinating reading filled with personal memories.

*... he brought to Cambridge in the autumn of *1850*, a mass of knowledge which was really immense for so young a man, but in a state of disorder appalling to his methodical private tutor. Though the tutor was http://www-history.mcs.st-and.ac.uk/Mathematicians/Hopkins.html - William Hopkins , the pupil to a great extent took his own way, and it may safely be said that no high - Thomson [ - 41 ] describes Maxwell's undergraduate days:-*

*... Scholars dined together at one table. This brought Maxwell into daily contact with the most intellectual set in the College, among whom were many who attained distinction in later life. These in spite of his shyness and some eccentricities recognised his exceptional powers. ... The impression of power which Maxwell produced on all he met was remarkable; it was often much more due to his personality than to what he said, for many found it difficult to follow him in his quick changes from one subject to another, his lively imagination started so many hares that before he had run one down he was off on another.*

*Maxwell obtained his fellowship and graduated with a degree in mathematics from Trinity College in 1854. The First Wrangler in that year was http://www-history.mcs.st-and.ac.uk/Mathematicians/Routh.html - Edward Routh , who as well as being an excellent mathematician was a genius at mastering the cramming methods required to succeed in the Cambridge Tripos of that time. Maxwell remained at Cambridge where he took pupils, then was awarded a Fellowship by Trinity to continue work.*

*One of Maxwell's most important achievements was his extension and mathematical formulation of http://www-history.mcs.st-and.ac.uk/Mathematicians/Faraday.html - Michael Faraday 's theories of electricity and magnetic lines of force. His paper **On Faraday's lines of force* was read to the Cambridge Philosophical Society in two parts, 1855 and 1856. Maxwell showed that a few relatively simple mathematical equations could express the behaviour of electric and magnetic fields and their interrelation.

*However, in early 1856, Maxwell's father became ill and Maxwell wanted to be able to spend more time with him. He therefore tried to obtain an appointment in Scotland, applying for the post of Professor of Natural Philosophy at Marischal College in Aberdeen when Forbes told him it was vacant. Maxwell travelled to Edinburgh for the Easter vacation of 1856 to be with his father and the two went together to Glenlair. On 3 April his father died and, shortly after, Maxwell returned to Cambridge as he had planned. Before the end of April he learnt that he had been appointed to the chair at Marischal College.*

*In November 1856 Maxwell took up the appointment in Aberdeen. When the subject announced by St John's College Cambridge for the Adams Prize of 1857 was **The Motion of Saturn's Rings* Maxwell was immediately interested. Maxwell and http://www-history.mcs.st-and.ac.uk/Mathematicians/Tait.html - Tait had thought about the problem of Saturn's rings in 1847 while still pupils at the Edinburgh Academy. Maxwell decided to compete for the prize and his research at Aberdeen in his first two years was taken up with this topic. He showed that stability could be achieved only if the rings consisted of numerous small solid particles, an explanation now confirmed by the Voyager spacecraft. In a letter to Lewis Campbell, written on 28 August 1857, while he was at Glenlair, Maxwell wrote:-

*I have effected several breaches in the solid ring, and now am splash into the fluid one, amid a clash of symbols truly astounding. When I reappear it will be in the dusky ring, which is something like the siege of Sebastopol conducted from a forest of guns *100* miles one way, and *30,000* miles the other, and the shot never to stop, but go spinning away round a circle, radius *170,000* miles...*

*Maxwell's essay won him the Adams Prize and http://www-history.mcs.st-and.ac.uk/Mathematicians/Airy.html - Airy wrote:-*

*It is one of the most remarkable applications of mathematics to physics that I have ever seen.*

*Maxwell became engaged to marry Katherine Mary Dewar in February 1858 and they married in June 1859. Despite the fact that he was now married to the daughter of the Principal of Marischal College, in 1860, when Marischal College and King's College combined, Maxwell, as the junior of the department, had to seek another post. His scientific work, however, had been proceeding with great success. http://www-history.mcs.st-and.ac.uk/Mathematicians/Stokes.html - Stokes had written to him on 7 November 1857:-*

*I have just received your papers on the dynamical top, etc., and the account of experiments on the perception of colour. The latter, which I missed seeing at the time when it was published, I have just read with great interest. The results afford most remarkable and important evidence in favour of the theory of three primary colour-perceptions, a theory which you, and you alone, as far as I know, have established on an exact numerical basis.*

*When the Chair of Natural Philosophy at Edinburgh became vacant in 1859, Forbes having moved to St Andrews, it seemed that fate had smiled on Maxwell to bring him back to his home town. He asked http://www-history.mcs.st-and.ac.uk/Mathematicians/Faraday.html - Faraday to act as a referee for him, in a letter written on 30 November 1859. Many of Maxwell's friends were also applicants for this post including http://www-history.mcs.st-and.ac.uk/Mathematicians/Tait.html - Tait and http://www-history.mcs.st-and.ac.uk/Mathematicians/Routh.html - Routh . Maxwell lost out to http://www-history.mcs.st-and.ac.uk/Mathematicians/Tait.html - Tait despite his outstanding scientific achievements. When the Edinburgh paper, the **Courant,* reported the result it noted that:-

*Professor Maxwell is already acknowledged to be one of the most remarkable men known to the scientific world.*

*The reason he was not appointed must have been those given by the paper when they wrote:-*

*... there is another quality which is desirable in a Professor in a University like ours and that is the power of oral exposition proceeding on the supposition of imperfect knowledge or even total ignorance on the part of pupils.*

*The claim that he was not the best person to teach poorly qualified pupils may have been a fair one but it is certainly not the case that he was a poor lecturer. http://www-history.mcs.st-and.ac.uk/Mathematicians/Stokes.html - Stokes wrote in 1854 that he had:-*

*... once been present when *[*Maxwell*]* was giving an account of his geometrical researches to the Cambridge Philosophical Society, on which occasion I was struck with the singularly lucid manner of his exposition.*

*Again Fleming, who had attended Maxwell's lectures, expressed similar thoughts [ - 21 ]:-*

*Maxwell in short had too much learning and too much originality to be at his best in elementary teaching. For those however who could follow him his teaching was a delight.*

*In 1860 Maxwell was appointed to the vacant chair of Natural Philosophy at King's College in London. The six years that Maxwell spent in this post were the years when he did his most important experimental work. The duties of the post were more demanding than those at Aberdeen. Campbell writes in [ - 4 ]:-*

*There were nine months of lecturing in the year, and evening lectures to artisans, etc., were recognised as a part of the Professor's duties.*

*In London, around 1862, Maxwell calculated that the speed of propagation of an electromagnetic field is approximately that of the speed of light. He proposed that the phenomenon of light is therefore an electromagnetic phenomenon. Maxwell wrote the truly remarkable words:-*

*We can scarcely avoid the conclusion that light consists in the transverse undulations of the same medium which is the cause of electric and magnetic phenomena.*

*Maxwell also continued work he had begun at Aberdeen, considering the kinetic theory of gases. By treating gases statistically in 1866 he formulated, independently of Ludwig http://www-history.mcs.st-and.ac.uk/Mathematicians/Boltzmann.html - Boltzmann , the Maxwell- http://www-history.mcs.st-and.ac.uk/Mathematicians/Boltzmann.html - Boltzmann kinetic theory of gases. This theory showed that temperatures and heat involved only molecular movement.*

*This theory meant a change from a concept of certainty, heat viewed as flowing from hot to cold, to one of statistics, molecules at high temperature have only a high probability of moving toward those at low temperature. Maxwell's approach did not reject the earlier studies of thermodynamics but used a better theory of the basis to explain the observations and experiments.*

*Maxwell left King's College, London in the spring of 1865 and returned to his Scottish estate Glenlair. He made periodic trips to Cambridge and, rather reluctantly, accepted an offer from Cambridge to be the first Cavendish Professor of Physics in 1871. He designed the Cavendish laboratory and helped set it up. The Laboratory was formally opened on 16 June 1874.*

*The four - One of the tasks which occupied much of Maxwell's time between 1874 and 1879 was his work editing Henry Cavendish's papers. Cavendish, see [ - 16 ]:-*

*... published only two papers *[*and*]* left twenty packages of manuscript on mathematical and experimental electricity. ... Maxwell entered upon this work with the utmost enthusiasm: he saturated his mind with the scientific literature of Cavendish's period; he repeated many of his experiments, and copied out the manuscript with his own hand. ... The volume entitled The Electrical Researches of the Honourable Henry Cavendish was published in *1879*, and is unequalled as a chapter in the history of electricity.*

*Fleming attended Maxwell's last lecture course at Cambridge. He writes [ - 22 ]:-*

*During the last term in May *1879* Maxwell's health evidently began to fail, but he continued to give his lectures up to the end of the term. ... To have enjoyed even a brief personal acquaintance with Professor Maxwell and the privilege of his oral instruction was in itself a liberal education, nay more, it was an inspiration, because everything he said or did carried the unmistakable mark of a genius which compelled not only the highest admiration but the greatest reverence as well.*

*Maxwell returned with his wife, who was also ill, to Glenlair for the summer. His health continued to deteriorate and he suffered much pain although remained remarkably cheerful. On 8 October 1879 he returned with his wife to Cambridge but, by this time he could scarcely walk. One of the greatest scientists the world has known passed away on 5 November. His doctor, Dr Paget, said:-*

*No man ever met death more consciously or more calmly.*