William Thomson's father, James Thomson, had originally intended to become a minister of the Presbyterian Church but had opted for an academic career as a mathematician. William's mother died when he was six years old and from that time he was brought up by his father. James Thomson was the professor of engineering in Belfast at the time of William's birth and, when William was eight years old, his father James was appointed to the chair of mathematics at the University of Glasgow. James Thomson was a dominant father who brought his family up in a strict Presbyterian fashion. William's sister wrote of this childhood [4]:-

Our father read to us regularly every Sunday morning some chapters in the Old Testament, and in the evening some in the New.

However, despite his father being very strict he had a very close relationship with William. It was from his father that William learn mathematics and at a very young age he became an accomplished mathematician with knowledge of the latest developments in the subject.

William attended Glasgow University from the age of 10. This early age is not quite as unusual as one would think, for at that time the universities in Scotland to some extent competed with the schools for the most able junior pupils. Thomson began what we would consider university level work in 1838 when he was 14 years old. In the session 1838-39 he studied astronomy and chemistry. The following year he took natural philosophy courses (today called physics) which included a study of heat, electricity and magnetism. His Essay on the Figure of the Earth won him a gold medal from the University of Glasgow when he was 15 years old and it was a truly remarkable work containing important ideas which Thomson returned to throughout his life.

At the end of session 1839-40 Thomson read Fourier's The Analytical Theory of Heat a work on the application of abstract mathematics to heat flow. He later wrote [9]:-

I took Fourier out of the University Library; and in a fortnight I had mastered it - gone right through it.

In fact there was a strong interest among the lecturers in Glasgow at that time in the French mathematical approach to physical science. In particular the works of Lagrange, Laplace, Legendre, Fresnel and Fourier were treated with "reverence" to use a word which Thomson himself would later use to describe the attitude that his lecturers had towards these French mathematicians. In fact Thomson also read Laplace's Mécanique céleste in session 1839-40 and visited Paris during this session. Wilson, writing in [10], describes Thomson's undergraduate years in Glasgow as follows:-

... from 1838 to 1841, William appears to have become thoroughly familiar with the phenomena of heat, electricity, and magnetism. Meikleham [the professor of natural philosophy] evidently encouraged something of a unified view of these branches of natural philosophy. Not only did his professors put him in touch with much modern experimental and mathematical research, but they also articulated the ideal of mathematising physical theory, even though none of them was himself a master of that craft.

In 1841 Thomson entered Cambridge and in the same year his first paper was published. This paper Fourier's expansions of functions in trigonometrical series was written to defend Fourier's mathematics against criticism from the professor of mathematics at the university of Edinburgh. A more important paper On the uniform motion of heat and its connection with the mathematical theory of electricity was published in 1842 while Thomson was studying for the mathematical tripos examinations at Cambridge.

At Cambridge Thomson was coached by William Hopkins, a famous Cambridge coach who played a more important role than the lecturers. Despite the efforts of Babbage, Peacock and Herschel to introduce the new French mathematics into Cambridge, the style of the Mathematical Tripos taken by Thomson still left much to be desired. Herschel and Babbage had conducted some experiments on magnetism in 1825, developing methods introduced by Arago, but nothing on heat, electricity or magnetism had entered the syllabus of the Tripos.

Thomson took the final part of the Mathematical Tripos examinations in 1845. He graduated with a BA and he was Second Wrangler (ranked second in the list of those obtaining a First Class degree). Further examinations saw him become first Smith's prizeman and he was elected a fellow of Peterhouse. Also in 1845 Thomson read George Green's work which was to have a major influence on the direction of his research. His interest in the French approach, and advice from his father, meant that after taking his degree Thomson went to Paris. There he worked in the physical laboratory of Henri-Victor Regnault and he was soon taking part in deep discussions with Biot, Cauchy, Liouville, Dumas, and Sturm.

Perhaps the most profitable discussions that Thomson had in Paris were with Liouville. It was at Liouville's request that Thomson began to try to bring together the ideas of Faraday, Coulomb and Poisson on electrical theory. Ideas of 'action at a distance' or properties of the 'ether', and ideas of an 'electrical fluid' were difficult to unify. There were problems of whether or not an 'electrical fluid' was an actual physical entity with the properties of a fluid. Thomson was led to study the whole methodology of a physical science, distinguishing 'physical' parts of a theory from 'mathematical' parts.

In 1846 the chair of natural philosophy at Glasgow became vacant. Thomson's father used his influence in the University to help his son become the leading candidate for the post. Thomson returned from Paris to Glasgow and, in 1846, was unanimously elected professor of natural philosophy at the University. In 1847-49 he collaborated with Stokes on hydrodynamical studies, which Thomson applied to electrical and atomic theory. This collaboration with Stokes was to last for over fifty years with frequent letters on scientific matters being exchanged. Many of these letters have survived, for example copies of 407 letters from Thomson to Stokes and 249 letters from Stokes to Thomson have been published. Many of these letters discuss the mathematical similarities in the theory of heat and the theory of fluids. For example Stokes wrote to Thomson in 1847 (see for example [10]):-

What an intimate relation there is between the mathematical considerations which are applicable to heat, fluid motion, and attraction.

The thermodynamical studies of Thomson led him to propose an absolute scale of temperature in 1848. The absolute scale that he proposed was based on his studies of the theory of heat, in particular the theory proposed by Sadi Carnot and later developed by Clapeyron. The Kelvin absolute temperature scale, as it is now known, was precisely defined much later after conservation of energy had become better understood. It derives its name from the title, Baron Kelvin of Largs, that Thomson received from the British government in 1892, and named after Thomson because of his proposal in this 1848 paper.

Thomson's work on heat, and its shortcomings, is described fully in [12]. The author summarises his conclusions:-

... Thomson published between 1849 and 1852 three influential papers on the theory of heat. However, historians of science have already called attention to Thomson's difficulties in reconciling a principle formulated by James Prescott Joule with another principle formulated by Nicolas Leonard Sadi Carnot, and to errors Thomson made in his calculations. In the meantime, Rudolf Julius Emmanuel Clausius reconciled the two principles, and in 1854 he derived an expression for Carnot's principle. ... it was fundamental to Clausius's reasoning that he took to its ultimate consequence the meaning of Carnot's principle as a 'recovery' condition. Thomson somehow let the meaning of 'recovery' escape him. Therefrom came his troubles. He seems to have been so obsessed by his initial difficulties that he put the emphasis on irreversibility and on conservation of energy, missing 'all the rest'.

In 1852 Thomson observed what is now called the Joule-Thomson effect, namely the decrease in temperature of a gas when it expands in a vacuum. Joule's ideas on heat were to change Thomson's views over the years. Thomson came to believe in a dynamical theory of heat and, in 1872, he wrote about how his views were led towards that approach (see for example [1]):-

... [before 1847] I did not ... know that motion is the very essence of what has hitherto been called matter. At the 1847 meeting of the British Association in Oxford, I learned from Joule the dynamical theory of heat, and was forced to abandon at once many, and gradually from year to year all other, statical preconceptions regarding the ultimate causes of apparently statical phenomena.

The dynamical theory of heat led Thomson to also think of a dynamical theory for electricity and magnetism. In 1856 he sent a paper on this subject to the Royal Society of London entitled Dynamical illustrations of the magnetic and helicoidal rotary effects of transparent bodies on polarised light. He explained his notion of electricity in these words a few years later (see [1]):-

... we can conceive that electricity itself is to be understood as not an accident, but an essence of matter. Whatever electricity is, it seems quite certain that electricity in motion is heat; and that a certain alignment of axes of revolution in this motion is magnetism...

This work by Thomson in 1856 on electricity and magnetism is important for it was these ideas which led Maxwell to develop his remarkable new theory of electromagnetism. One might think that Thomson would have eagerly supported Maxwell's theory which his own work had helped to create, but this was not so. Thomson had ideas of his own which he hoped would lead to a unifying theory, and his ideas took him further and further from accepting those of Maxwell. On vortex motion which Thomson published in 1867, set out his ideas. The paper begins:-

The mathematical work of the present paper has been performed to illustrate the hypothesis that space is continuously occupied by an incompressible frictionless fluid acted on by no force, and that material phenomena of every kind depend solely on motions created in the fluid.

However, Thomson's initial hope that his theory could explain electromagnetism, light, gravity, and chemical processes slowly faded. In [19] the author argues for the importance of Thomson's electromagnetic work despite its eventual failure:-

We wish to stress Thomson's often under-estimated merits in the theory of the electromagnetic field. W Thomson was the first who tried to treat mathematically Faraday's conception of lines of force, and he introduced J C Maxwell to the problems of the electromagnetic field not only by his works, but also by his personal initiative.

The author of the biography of Thomson [24], puts forward the view that during the first half of Thomson's career he seemed incapable of being wrong while during the second half of his career he seemed incapable of being right. This seems too extreme a view, but Thomson's refusal to accept atoms, his opposition to Darwin's theories, his incorrect speculations as to the age of the Earth and the Sun, and his opposition to Rutherford's ideas of radioactivity, certainly put him on the losing side of many arguments later in his career.

Having studied some of Thomson's research contributions, let us comment on the innovations he introduced into teaching at the University of Glasgow. He introduced laboratory work into the degree courses, keeping this part of the work distinct from the mathematical side. He encouraged the best students by offering prizes. Some prizes were awarded to the best student, a vote being organised among the students to determine the recipient. There were also prizes which Thomson gave to the student that he considered most deserving.

Not only did Thomson take a unified view of the physical world in his research, but he carried this into his teaching. One of his students, who attended Thomson's 1859-60 lectures, wrote (see [10]):-

His impulse was to correlate phenomena and arrive at the principle underlying them, and this gave him a certain impatience with branches of science which were still in the observational stage, and not yet come under mechanical laws. Hence the most brilliant and weighty part of his course was at the end, when he summed up his teaching and generalised energy, and the correlation of the physical forces...

Another of Thomson's famous pieces of work was his joint project with Tait to produce their famous text Treatise on Natural Philosophy which they began working on in the early 1860s. They worked by posting a notebook back and forward to each other on this huge project which Thomson envisaged as covering all physical theories. Many volumes were intended, but only the first two were ever written which cover kinematics and dynamics. These were remarkable volumes which became the standard texts for many generations of scientists.

Thomson achieved his greatest fame through an event that we have still to discuss. He was always greatly interested in the improvement of physical instrumentation, and Thomson designed and implemented many new devices, including the mirror-galvanometer that was used in the first successful sustained telegraph transmissions in transatlantic submarine cable. Thomson had joined a group of industrialists in the mid 1850s on a project to lay a submarine cable between Ireland and Newfoundland. He played several roles in this project, being on the board of directors and also being an advisor on theoretical electrical matters.

The electrician who was in charge of the practical side of the operation was E O W Whitehouse, who insisted on using his own system against Thomson's advice. The cable was successfully laid in 1858, an attempt having failed the previous year when the cable broke. After initial difficulties with transmitting a signal, there was a sudden marked improvement and Whitehouse claimed success for his system. However it was soon discovered that he had substituted Thomson's mirror-galvanometer for his own instruments and there was a furious row between Whitehouse, Thomson and the other directors. Thomson's instruments were fully used for the third attempt at laying a cable in 1865 and this proved highly successful with rapid transmission of signals possible.

For his work on the transatlantic cable Thomson was knighted in 1866 and made Baron Kelvin of Largs in 1892. The Kelvin is the river which runs through the grounds of Glasgow University and Largs is the town on the Scottish coast where Thomson built his house. As well as fame, his participation in the telegraph cable project led to a large personal fortune brought about by his cable patents and consulting. He was able to buy a 126-ton yacht (the Lalla Rookh) as well as a fine house with surrounding estate. The Glasgow Herald proudly claimed the success of the cable [9]:-

Is Professor Thomson, the distinguished electrician, without whose inspiring genius this great business had not been so easily achieved, not a Glasgow man? And were the principal electrical instruments employed in testing and working the cable not manufactured by Mr White, the optician of this city, though under Professor Thomson's directions?

Thomson published more than 600 papers. He was elected to the Royal Society in 1851, received its Royal Medal in 1856, received its Copley Medal in 1883 and served as its president from 1890 to 1895. In addition to his activities with the Royal Society, as one would expect of such an eminent Scottish professor, he served the Royal Society of Edinburgh over many years. He served three terms as president of this Society, first from 1873 to 1878, for the second time from 1886 to 1890, and for the third time from 1895 until his death in 1907. Thomson served as president of yet a third society when he was elected as president of the British Association for the Advancement of Science in 1871.