Peirce entered Harvard College in 1825 and graduated four years later. During these years he assisted his friend Ingersoll Bowditch's father. Bowditch's translation of the first four volumes of Laplace's Traite de mécanique céleste had been completed by 1818 but he had still not published it during the years that Peirce was an undergraduate. Almost certainly the cost of publication caused the delay, but Bowditch had not put the work on one side after 1818, still continuing to improve it over the succeeding years. While he was an undergraduate, Peirce became involved in Bowditch's project and worked through the text doing proof-reading and suggesting improvements.
Peirce taught at George Bancroft's Round Hill School in Northampton, Massachusetts, from 1829 to 1831, and then was appointed as a tutor at Harvard College in 1831, two years after graduating. He was awarded a Master's Degree by Harvard in 1833 and in the same year he married Sarah Hunt Mills, the daughter of Senator Elijah Hunt Mills. Benjamin and Sarah Peirce had four sons and one daughter, among them Charles Peirce (who also has a biography in this archive) and James Mills Peirce who taught in the Mathematics Department at Harvard, and then from 1890 to 1895 served as Dean of the Graduate School at Harvard and, after that, as Dean of the Faculty of Arts and Sciences. Their other two sons also enjoyed successful careers, Benjamin Mills Peirce as a mining engineer and Herbert Henry Davis Peirce as a diplomat.
It was at Harvard that Peirce spent the whole of his career from 1831. Appointed professor of Mathematics and Natural Philosophy there in 1833 he held this position for nine years until the professorship of Mathematics and Astronomy became vacant when he was moved to that chair. His first chair was not endowed, but the chair he was appointed to in 1842 was the endowed Perkins Professorship and he went on to hold this until his death.
In the early part of his career Peirce published a number of textbooks. For example An Elementary Treatise on Plane Trigonometry (1835), First Part of an Elementary Treatise on Spherical Trigonometry (1836), An Elementary Treatise on Sound (1836), An Elementary Treatise on Algebra : To which are added Exponential Equations and Logarithms (1837), An Elementary Treatise on Plane and Solid Geometry (1837), An Elementary Treatise on Plane and Spherical Trigonometry (1840), and An Elementary Treatise on Curves, Functions, and Forces Vol 1 (1841), Vol 2 (1846). These books were original and mathematically elegant but were rather too demanding for the American students of the time. The students found them too concise and all but the very best students also found his lecturing style very difficult ;-
He lectured without stopping for questions and filled the blackboard with a mass of scribblings. The best students, however, were able to appreciate his quirks and were inspired by his enthusiasm for mathematics.In  Archibald quotes the opinion of Lawrence Lowell, one of the best students that Peirce taught:-
As soon as he had finished the problem or filled the blackboard he would rub everything out and begin again. He was impatient of detail, and sometimes the result would not come out right; but instead of going over his work to find the error, he would rub it out, saying that he had made a mistake in a sign somewhere, and that we should find it when we went over our notes. Described in this way it may seem strange that such a method of teaching should be inspiring; yet to us it was so to the highest degree. We were carried along by the rush of his thought, by the ease and grasp of his intellectual movement.If the average student could not cope with the mathematics that Peirce was presenting them with, then he decided it was better he saw only the more talented and dedicated students continue with mathematics beyond their first year. He proposed three different tracks from which the students could make a choice. One option was a one year practical course, the second was a one year theoretical course designed primarily for school teachers, and the third option was a three year course which would train mathematicians of the future. After the Lawrence Scientific School was founded at Harvard in 1847, Peirce was able to teach graduate level mathematics for the first time in the United States. The course he set up was impressive, including the study of works of Lacroix, Cauchy, Monge, Biot, Hamilton, Laplace, Poisson, Gauss, Le Verrier, Bessel, Adams, Airy, MacCullagh and Franz Neumann. It was a truly ambition course but it was somewhat ahead of its time and he taught it to only about two students per year.
Peirce undertook research on a wide range of mathematical topics from celestial mechanics and geodesy on the applied side to linear associative algebra and number theory on the pure side. In an early number theory paper he proved that there is no odd perfect number with fewer than four distinct prime factors. He also revised and wrote a commentary on Bowditch's translation of the first four volumes of Laplace's Traité de mécanique céleste which he had himself had proof-read as an undergraduate student. Only three of these volumes appeared in Bowditch's lifetime, and Peirce himself completed editing the fourth volume and saw it through publishing.
Peirce helped determine the orbit of Neptune (discovered in 1846) and calculated the perturbations produced by Neptune on the orbit of Uranus and on the other planets. In fact he held controversial views on this topic for he claimed that the predictions for the position of the planet perturbing Uranus as made by Le Verrier and Adams did not coincide with the planet Neptune which Galle discovered. He also claimed that Neptune was not following the orbit predicted by Le Verrier and Adams.
In 1852, Peirce introduced methods into the theory of errors applied to observations which would allow faulty observations to be discarded. There was an interesting consequence of this, namely that he was called as an expert witness in a court case in 1856 (see ). The case concerned the forging of the signature of Sylvia Ann Howland on a contested will. Peirce examined the thirty downward lines in the signature and measured the angle of each. He then claimed that the comparison of these angles with those of another of Sylvia Ann Howland's signatures was so great that the alleged forged signature must indeed be a forgery and must have been traced. To support his claims he did a statistical analysis of the angles of the downstrokes in 42 genuine Sylvia Ann Howland signatures. There are weaknesses in Peirce's statistical arguments which are pointed out in , particularly concerning the independence of the probabilities he considered. Perhaps it was fortunate that the case was decided on the basis of a legal formality and Peirce's evidence was not crucial in determining the outcome of the case. One of the nice things about  is that the authors give all the signatures that Peirce worked with, so we can all play at being expert witnesses ourselves!
In 1870 Peirce published, at his own expense, Linear Associative Algebra a classification of all complex associative algebras of dimension less than seven. He used the, now familiar, tools of idempotent and nilpotent elements (terms invented by Peirce) to establish the foundations of a general theory of linear associative algebra and he presented multiplication tables for over 150 new algebras in the book. He had been much influenced by Hamilton's work on the quaternions to develop this particular line of algebraic thinking. Pycior discusses this work in  where she claims:-
Benjamin Peirce deserves recognition, not only as a founding father of American mathematics, but also as a founding father of modern abstract algebra.Peirce read the text before the National Academy of Sciences in Washington in 1870 before circulating 100 lithographed copies :-
Peirce had presented some of his results from 1867 onwards to the National Academy of Sciences, of which he had been appointed a founder member four years earlier; but they could not afford to print it. Thus, in an initiative taken by Coast Survey staff, a lady without mathematical training but possessing a fine hand was found who could both read his ghastly script and write out the entire text 12 pages at a time on lithograph stones.His son Charles Peirce later edited the work for publication in the American Journal of Mathematics in 1881.
There is another side to Peirce's career which we still have to mention. He was involved in a major way in the United States Coast Survey, as director of the longitude determinations in 1852 then he as made director of the United States Coast Survey in 1867 on the death of the then director Alexander Dallas Bache. He continued as director until 1874 and as well as overseeing the production of a map of the United States, he organised expeditions by the Survey to Sicily, Nagasaki, the Chatham Islands, and Alaska to observe astronomical events. He said in his address as the end of his presidency of the American Association for the Year 1853 :-
In astronomy ... it must be conceded that Saturn and Jupiter, Mars and Venus, are yet subject to unexplained irregularities of motion; that the theory of the asteroids has not advanced beyond the earliest stage of arithmetic; that the rings of Saturn are connected with their primary by a [mysterious]... force; and the laws under which the tides obey the attractions of the sun and moon are quite undeveloped. The remarkable researches upon this subject made in the Coast Survey, have established that here still remains another world to be conquered ...In  Peirce shows that he strongly believes in mathematics:-
... it is the great master-key, which unlocks every door of knowledge, and without which no discovery - no discovery which deserves the name, which is law and not isolated fact - has been or ever can be made.However, he warns against pure mathematics for its own sake:-
Fascinated by its symmetry, the geometer may, at times, have been too exclusively engrossed with his science, forgetful of its applications; he may have exalted it into his idol, and worshipped it; he may have degraded it into his toy, and childishly amused himself with the singular shapes which it would assume, when he should have been hard at work with it, using it for the benefit of mankind ...Given this statement it is slightly strange that Peirce has been called the "Father of pure mathematics" in America (see for example ).
Benjamin Peirce received many honours for his outstanding contributions to American mathematics. He worked for the establishment of the American Association for the Advancement of Science (founded 1847) and the National Academy of Sciences (United States) (founded 1863). Peirce was one of a committee of five set up by the American Academy of Arts and Sciences in 1847 to organise the Smithsonian Institution. He was also appointed to a scientific council of three who organised the Dudley Observatory at Albany, New York, from 1955 to 1858. Peirce was elected to the American Philosophical Society (1842), the Royal Astronomical Society (1850), and the Royal Society (1852).
Let us finally note that Peirce was a devout Christian and saw :-
... mathematics as study of God's work by God's creatures.Peirce expands on this at length in . We give a short quote:-
There is proof enough furnished by every science, but by none more than geometry, that the world to which we have been allotted is peculiarly adapted to our minds, and admirably fitted to promote our intellectual progress. There can be no reasonable doubt that it was part of the Creator's plan. How easily might the whole order have been transposed! How readily might we have been assigned to some complicated system which our feeble and finite powers could not have unravelled!
Article by: J J O'Connor and E F Robertson