William soon mastered additional languages but a turning point came in his life at the age of 12 when he met the American Zerah Colburn. Colburn could perform amazing mental arithmetical feats and Hamilton joined in competitions of arithmetical ability with him. It appears that losing to Colburn sparked Hamilton's interest in mathematics.
Hamilton's introduction to mathematics came at the age of 13 when he studied Clairaut's Algebra, a task made somewhat easier as Hamilton was fluent in French by this time. At age 15 he started studying the works of Newton and Laplace. In 1822 Hamilton found an error in Laplace's Mécanique céleste and, as a result of this, he came to the attention of John Brinkley, the Royal Astronomer of Ireland, who said:-
This young man, I do not say will be, but is, the first mathematician of his age.Hamilton entered Trinity College, Dublin at the age of 18 and in his first year he obtained an 'optime' in Classics, a distinction only awarded once in 20 years.
In August 1824, Uncle James took Hamilton to Summerhill to meet the Disney family. It was at this point that William first met their daughter Catherine and immediately fell hopelessly in love with her. Unfortunately, as he had three years left at Trinity College, Hamilton was not in a position to propose marriage. However Hamilton was making remarkable progress for an undergraduate and submitted his first paper to the Royal Irish Academy before the end of 1824, which was entitled On Caustics.
The following February, Catherine's mother informed William that her daughter was to marry a clergyman, who was fifteen years her senior. He was affluent and could offer more to Catherine than Hamilton. In his next set of exams William was given a 'bene' instead of the usual 'valde bene' due to the fact that he was so distraught at losing Catherine. He became ill and at one point he even considered suicide. In this period he turned to poetry, which was a habit that he pursued for the rest of his life in times of anguish.
In 1826 Hamilton received an 'optime' in both science and Classics, which was unheard of, while in his final year as an undergraduate he presented a memoir Theory of Systems of Rays to the Royal Irish Academy. It is in this paper that Hamilton introduced the characteristic function for optics.
Hamilton's finals examiner, Boyton, persuaded him to apply for the post of Royal Astronomer at Dunsink observatory even although there had already been six applicants, one of whom was George Biddell Airy. Later in 1827 the board appointed Hamilton Andrews' Professor of Astronomy in Trinity College while he was still an undergraduate aged twenty-one years. The professorship carried the honorary title Royal Astronomer of Ireland and the benefit of residing at Dunsink Observatory. This appointment brought a great deal of controversy as Hamilton did not have much experience in observing. His predecessor, Professor Brinkley, who had become a bishop, did not think that it had been the correct decision for Hamilton to accept the post and implied that it would have been prudent for him to have waited for a fellowship. It turned out that Hamilton had made an poor choice as he lost interest in astronomy and spend all time on mathematics.
Before beginning his duties in this prestigious position, Hamilton toured England and Scotland (from where the Hamilton family originated). He met the poet Wordsworth and they became friends. One of Hamilton's sisters Eliza wrote poetry too and when Wordsworth came to Dunsink to visit, it was her poems that he liked rather than Hamilton's. The two men had long debates over science versus poetry. Hamilton liked to compare the two, suggesting that mathematical language was as artistic as poetry. However, Wordsworth disagreed saying that :-
Science applied only to material uses of life waged war with and wished to extinguish imagination.Wordsworth had to tell Hamilton quite forcibly that his talents were in science rather than poetry:-
You send me showers of verses which I receive with much pleasure ... yet have we fears that this employment may seduce you from the path of science. ... Again I do venture to submit to your consideration, whether the poetical parts of your nature would not find a field more favourable to their nature in the regions of prose, not because those regions are humbler, but because they may be gracefully and profitably trod, with footsteps less careful and in measures less elaborate.Hamilton took on a pupil by the name of Adare. They were a bad influence on each other as Adare's eyesight started to present problems as he was doing too much observing, while at the same time Hamilton became ill due to overwork. They decided to take a trip to Armagh by way of a holiday and visit another astronomer Romney Robinson. It was on this occasion that Hamilton met Lady Campbell, who was to become one of his favourite confidants. William also took the opportunity to visit Catherine, as she was living relatively nearby, which she then reciprocated by coming to the observatory. Hamilton was so nervous in her presence that he broke the eyepiece of the telescope whilst trying to give her a demonstration. This episode inspired another interval of misery and poem writing.
In July 1830 Hamilton and his sister Eliza visited Wordsworth and it was around this time that he started to think seriously about getting married. He considered Ellen de Vere, and he told Wordsworth that he :-
... admired her mind ...but he did not mention love. He did, however, bombard her with poetry and was about to propose marriage when she happened to say  that she could
... not live happily anywhere but at Curragh.Hamilton thought this was her way of discouraging him tactfully and so he ceased to pursue her. However he was proved to be mistaken as she married the following year and did leave Curragh! Fortunately, one good thing transpired from the event as Hamilton became firm friends with Ellen's brother Aubrey although a dispute about religion in 1851 made them go their separate ways.
Catherine aside, Hamilton seemed quite fickle when it came to relationships with women. Perhaps this was because he thought that he ought to marry and so, if he could not have Catherine, then it did not really matter whom he married. In the end he married Helen Maria Bayly who lived just across the fields from the observatory. William told Aubrey that she was "not at all brilliant" and, unfortunately, the marriage was fated from the start. They spent their honeymoon at Bayly Farm and Hamilton worked on his third supplement to his Theory of Systems of Rays for the duration. Then at the observatory Helen did not have much of an idea of housekeeping and was so often ill that the household became extremely disorganised. In the years to come she spent most of her time away from the observatory as she was looking after her ailing mother or was indisposed herself.
In 1832 Hamilton published this third supplement to Theory of Systems of Rays which is essentially a treatise on the characteristic function applied to optics. Near the end of the work he applied the characteristic function to study Fresnel's wave surface. From this he predicted conical refraction and asked the Professor of Physics at Trinity College, Humphrey Lloyd, to try to verify his theoretical prediction experimentally. This Lloyd did two months later and this theoretical prediction brought great fame to Hamilton. However, it also led to controversy with MacCullagh, who had come very close to the theoretical discovery himself but, he was forced to admit, had failed to take the last step.
On 4 November 1833 Hamilton read a paper to the Royal Irish Academy expressing complex numbers as algebraic couples, or ordered pairs of real numbers. He used algebra in treating dynamics in On a General Method in Dynamics in 1834. In this paper Hamilton gave his first statement of the characteristic function applied to dynamics and wrote a second paper on the topic the following year. Hankins writes in :-
These papers are difficult to read. Hamilton presented his arguments with great economy, as usual, and his approach was entirely different from that now commonly presented in textbooks describing the method. In the two essays on dynamics Hamilton first applied the characteristic function V to dynamics just as he had in optics, the characteristic function being the action of the system in moving from its initial to its final point in configuration space. By his law of varying action he made the initial and final coordinates the independent variables of the characteristic function. For conservative systems, the total energy H was constant along any real path but varied if the initial and final points were varied, and so the characteristic function in dynamics became a function of the 6n coordinates of initial and final position (for n particles) and the Hamiltonian H.The year 1834 was the one in which Hamilton and Helen had a son, William Edwin. Helen then left Dunsink for nine months leaving Hamilton to fight the loneliness by throwing himself into his work even more. In 1835 Hamilton published Algebra as the Science of Pure Time which were inspired by his study of Kant and presented to a meeting of the British Association for the Advancement of Science. This second paper on algebraic couples identified them with steps in time and he referred to the couples as 'time steps'.
Hamilton was knighted in 1835 and that year his second son, Archibald Henry, was born but the next few years did not bring him much happiness. After the discovery of algebraic couples, he tried to extend the theory to triplets, and this became an obsession that plagued him for many years. The following autumn he went to Bristol for a meeting of the British Association, and Helen took the children with her to Bayly Farm for ten months. His cousin Arthur died, and not long after Helen returned from her mother's she went away again to England this time leaving the children behind after the birth of a daughter, Helen Eliza Amelia. At this point, William became depressed and started to have problems with alcohol so his sister came back to live at Dunsink.
Helen returned in 1842 when Hamilton was so preoccupied with the triplets that even his children were aware of it. Every morning they would inquire :-
Well, Papa can you multiply triplets?but he had to admit that he could still only add and subtract them.
On 16 October 1843 (a Monday) Hamilton was walking in along the Royal Canal with his wife to preside at a Council meeting of the Royal Irish Academy. Although his wife talked to him now and again Hamilton hardly heard, for the discovery of the quaternions, the first noncommutative algebra to be studied, was taking shape in his mind:-
And here there dawned on me the notion that we must admit, in some sense, a fourth dimension of space for the purpose of calculating with triples ... An electric circuit seemed to close, and a spark flashed forth.He could not resist the impulse to carve the formulae for the quaternions
In 1958 the Royal Irish Academy erected a plaque commemorating this.
Hamilton felt this discovery would revolutionise mathematical physics and he spent the rest of his life working on quaternions. He wrote :-
I still must assert that this discovery appears to me to be as important for the middle of the nineteenth century as the discovery of fluxions [the calculus] was for the close of the seventeenth.Shortly after Hamilton's discovery of the quaternions his personal life started to prey on his mind again. In 1845, Thomas Disney visited Hamilton at the observatory and brought Catherine with him. This must have upset William as his alcohol dependency took a turn for the worse. At a meeting of the Geological Society the following February he made an exhibition of himself through his intoxication. Macfarlane  writes:-
... at a dinner of a scientific society in Dublin he lost control of himself, and was so mortified that, on the advice of friends he resolved to abstain totally. This resolution he kept for two years, when ... he was taunted for sticking to water, particularly by Airy ... . He broke his good resolution, and from that time forward the craving for alcoholic stimulants clung to him.The year 1847 brought the deaths of his uncles James and Willey and the suicide of his colleague at Trinity College, James MacCullagh, which greatly disturbed him despite the fact that they had not always seen eye to eye. The following year Catherine began writing to Hamilton, which cannot have helped at this time of depression. The correspondence continued for six weeks and became more informal and personal until Catherine felt so guilty that she confessed to her husband. Hamilton wrote to Barlow and informed him that they would never hear from him again. However, Catherine wrote once more and this time attempted suicide (unsuccessfully) as her remorse was so great. She then spent the rest of her life living with her mother or siblings, although there was no official separation from Barlow. Hamilton persisted in his correspondence to Catherine, which he sent through her relatives.
It is no surprise that Hamilton gave in to alcohol immediately after this, but he threw himself into his work and began writing his Lectures on Quaternions. He published Lectures on Quaternions in 1853 but he soon realised that it was not a good book from which to learn the theory of quaternions. Perhaps Hamilton's lack of skill as a teacher showed up in this work.
Hamilton helped Catherine's son James to prepare for his Fellowship examinations which were on quaternions. He saw this as revenge towards Barlow as he was able to help his son in a way that his father could not. Later that year Hamilton received a pencil case from Catherine with an inscription that read :-
From one who you must never forget, nor think unkindly of, and who would have died more contented if we had once more met.Hamilton went straight to Catherine and gave her a copy of Lectures on Quaternions. She died two weeks later. As a way of dealing with his grief, Hamilton plagued the Disney family with incessant correspondence, sometimes writing two letters a day. Lady Campbell was another sufferer of the burden of mail, as only she and the Disneys knew of his love for Catherine. On the other hand, Helen must have always suspected that she did not take first place in her husband's heart, a notion that must have been strengthened in 1855 when she found a letter from Dora Disney (Catherine's sister-in-law). This led to an argument, although the only consequence was that Dora had her letters addressed by her husband, they did not stop altogether.
Determined to produce a work of lasting quality, Hamilton began to write another book Elements of Quaternions which he estimated would be 400 pages long and take 2 years to write. The title suggests that Hamilton modelled his work on Euclid's Elements and indeed this was the case. The book ended up double its intended length and took seven years to write. In fact the final chapter was incomplete when he died and the book was finally published with a preface by his son William Edwin Hamilton.
Not everyone found Hamilton's quaternions the answer to everything they had been looking for. Thomson wrote:-
Quaternions came from Hamilton after his really good work had been done, and though beautifully ingenious, have been an unmixed evil to those who have touched them in any way.Cayley compared the quaternions with a pocket map :-
... which contained everything but had to be unfolded into another form before it could be understood.Hamilton died from a severe attack of gout shortly after receiving the news that he had been elected the first foreign member of the National Academy of Sciences of the USA.
Article by: J J O'Connor and E F Robertson
Click on this link to see a list of the Glossary entries for this page