Abakcus

← All articles

Washington · April 1, 1876

James Garfield’s Proof of the Pythagorean Theorem

Five years before he became president, a congressman from Ohio found a new way to prove the oldest theorem in geometry. It needs two triangles, one trapezoid and four lines of algebra.

By Ali Kaya11 minute read150 years old in 2026

a²+ b²= c²

I · The Capitol, 1876

A trapezoid in the House of Representatives

In the spring of 1876 the United States was getting ready for its hundredth birthday and for one of the most bitter presidential elections in its history. In the House of Representatives, a member from Ohio named James Abram Garfield was passing some of his spare time in a way no congressman has been caught doing since. He was working on geometry with his colleagues, and somewhere in those conversations he drew a trapezoid that proved the Pythagorean theorem by a route he had not seen in any book.

Portrait photograph of James A. Garfield with a full beard, in a dark coat
James A. Garfield, photographed in the 1870s.

The proof went into print on April 1, 1876, in the New-England Journal of Education, a weekly paper for schoolteachers published in Boston. It appeared under the heading “Pons Asinorum,” the old schoolroom nickname for a proposition that separates those who can cross it from those who cannot. The editors explained that General Garfield had shown them the demonstration in person, and that he had hit upon it “in some mathematical amusements and discussions with other M.C.’s,” meaning members of Congress.

We think it something on which the members of both houses can unite without distinction of party.

The editors of the New-England Journal of Education, April 1, 1876

The joke is the editors’, although it is often credited to Garfield himself. It has aged well. The House of 1876 agreed on very little, and a right triangle is still one of the few things a legislature cannot amend, as Indiana’s lawmakers would discover with π twenty-one years later.

II · Ohio, 1831 to 1876

From the towpath to the House

Garfield is the last American president to have been born in a log cabin. It stood in Orange Township, in the Western Reserve of north-eastern Ohio, and he was born in it in November 1831. His father died before the boy was two, and his mother raised four children on a small farm. At sixteen he left home to go to sea and got as far as the Ohio and Erie Canal, where he spent about six weeks leading the mules that pulled a canal boat along the towpath. He could not swim, and he fell into the canal often enough to catch a fever that sent him home.

James A. Garfield seated in the uniform of a Union brigadier general, photographed in the Brady studio
Brigadier General Garfield during the Civil War, photographed in Mathew Brady’s studio.

School was the way out. He studied at a local seminary, then at the Western Reserve Eclectic Institute in Hiram, where he paid his way as the janitor and was teaching classes before he had finished taking them. He went east to Williams College in Massachusetts, graduated in 1856, and came back to Hiram to teach Latin, Greek and mathematics. At twenty-six he was running the school. He read law at night, served in the Ohio Senate, and when the Civil War came he raised a regiment, won a small battle in Kentucky and rose to major general. Ohio elected him to Congress while he was still in the field. He took his seat in December 1863 and kept it for seventeen years.

A story follows him around that he could write Latin with one hand and Greek with the other at the same time. Nobody has found a reliable witness to it. What is on record is plainer and more useful for this story: before he was a politician he was a classroom teacher, and geometry was one of his subjects. The trapezoid did not come from nowhere.

III · The proof

One move at a time

The theorem says that in any right triangle, the squares on the two legs add up to the square on the long side: a² + b² = c². Proving it means showing that this must be so for every right triangle there could ever be, and there are many ways to do it. Garfield’s way starts from one triangle and asks for almost nothing else.

The construction

Six moves, two triangles

abcβαabαc90°

1 / 6

Start with any right triangle

Call the legs a and b and the long side c. The two sharp angles, α and β, add up to 90°, because the three angles of a triangle make 180° and the square corner has already used 90° of it.

Everything turns on the fifth move. The two triangles lean against each other at a single point on the base, and each brings one of its sharp angles to that point. Those two angles are the pair that add up to 90° inside any right triangle. A straight line is 180°, so whatever is left between them must be the other 90°. The middle triangle is therefore a right triangle too, with both of its legs equal to c, and its area is simply half of c times c.

That is the only piece of geometry in the proof. The rest is bookkeeping. The same flat shape cannot have two different areas, so the two ways of counting it must agree.

The algebra

Four lines

½ (a + b)(a + b) = ½ab + ½ab + ½c²

The trapezoid, counted whole and counted in pieces.

(a + b)² = 2ab + c²

Both sides doubled.

a² + 2ab + b² = 2ab + c²

The square multiplied out. The same 2ab stands on both sides and goes.
a²+ b²= c²
Which was to be shown

Try it

Pick any two legs

The argument never used the numbers 3 and 4, or any numbers at all. Change the legs and watch the two counts of the area keep pace with each other.

As a trapezoid
½ × (3 + 4)² = 24.50
As three triangles
6 + 6 + 12.50 = 24.50
So
3² + 4² = 9 + 16 = 25 = c², and c = 5

The proof would fit on a calling card. Euclid’s own demonstration, Proposition 47 of the first book of the Elements, needs a tangle of auxiliary lines and a page of argument about congruent triangles, and generations of students have known its diagram as the bride’s chair or the windmill. English readers first met it in Henry Billingsley’s translation of 1570, and in 1847 Oliver Byrne redrew the whole book in red, yellow and blue, with colours standing in for letters. The figures on this page borrow his palette.

IV · Where it comes from

Half of an older idea

The editors took the proof to be new. They wrote that they did not remember to have seen it before, and in the form Garfield gave it, it was. But it has a close relative that is very old. Take four copies of the triangle and arrange them inside a square whose side is a + b, so that their long sides enclose a smaller, tilted square in the middle. The big square has area (a + b)². The four triangles and the tilted square together have area 2ab + c². The rest follows exactly as before.

abba½c²
The square of side a + b, with four copies of the triangle around a tilted square of area c². Cut it along the dashed line and the upper half is Garfield’s trapezoid.

Now draw the diagonal of the tilted square and carry it out to the edges. The big square falls into two identical halves, and each half is Garfield’s trapezoid: two of the triangles, and half of the middle square. His proof is the older one cut in two. It reaches the same theorem with half the paper, which is the kind of economy mathematicians admire and the kind a former schoolteacher would notice.

In 1927 an Ohio teacher named Elisha Loomis published The Pythagorean Proposition, a catalogue of every proof of the theorem he had been able to collect over a lifetime. The second edition holds more than three hundred and sixty. Garfield’s is in it, among the algebraic proofs, and it is the only one whose author went on to live in the White House. The same appetite for a shorter road shows up all over mathematics, from the proof that √2 is not a fraction to proofs that need no words at all.

V · 1880 to 1881

One hundred and ninety-nine days

In 1880 Garfield went to the Republican convention in Chicago to nominate someone else and came home as the candidate, chosen on the thirty-sixth ballot as a compromise nobody had planned. He won the election narrowly and was sworn in on March 4, 1881. He remains the only sitting member of the House of Representatives ever elected president.

On the morning of July 2, less than four months into his term, he walked into the Baltimore and Potomac railway station in Washington on his way to a reunion at Williams College. A man named Charles Guiteau, who believed he was owed a government post, shot him twice from behind.

Wood engraving of the shooting of President Garfield in a railway station waiting room, with bystanders seizing the gunman
The scene in the station, as Frank Leslie’s Illustrated Newspaper drew it for its issue of July 16, 1881. Garfield, in the top hat at the centre, has just been hit. Behind him the crowd is seizing Guiteau.

The wound need not have killed him. What followed did. For eleven weeks his doctors searched for the bullet with unwashed fingers and unsterilised probes, at a time when Joseph Lister’s case for antisepsis was known in America and not yet believed. Alexander Graham Bell, five years after the telephone, built an electrical device to find the metal without cutting, and tried it on the president twice. It gave a confused signal, most likely because of the steel springs in the mattress, and the doctors had in any case told him to search the wrong side of the body.

Line diagram from Alexander Graham Bell’s 1882 paper showing coils, a battery and a telephone receiver wired together
Bell’s own diagram of the apparatus he used on July 26, 1881, from the paper he published the following year. It is the ancestor of the metal detector.

Garfield died on September 19, 1881, at a cottage on the New Jersey shore where he had been taken to escape the Washington heat. He was forty-nine. He had been president for one hundred and ninety-nine days, and for the last eleven weeks of them he had been dying.

VI · Afterwards

What lasted

It is hard to name a law that carries Garfield’s signature. He did not have time to sign many. His death did push Congress to reform the system of handing out government jobs as favours, which is a legacy of a kind, though not one he chose.

199 daysThe presidency · March 4 to September 19, 1881
150 years, so farThe proof · in print since April 1, 1876

The trapezoid has done better. It is drawn on classroom boards every year in every country that teaches geometry, usually with his name attached, by teachers who could not say what party he belonged to. The presidency is the sliver on top, and drawn exactly to scale it would be thinner still.

There is something fitting in that. An election result holds for a term, and a law holds until the next legislature. A proof is not held in place by anyone. It was true before Garfield drew it and it will be true when the last record of the forty-fourth Congress has crumbled, because the order it describes was put into the world, not voted into it. The most a person can do is notice it, and on some afternoon in the Capitol, between one piece of business and the next, he did.

Quick answers

Garfield’s proof in five questions

Did a U.S. president really prove the Pythagorean theorem?

Yes. James A. Garfield found an original proof in 1876, while he was a congressman from Ohio, five years before he became the twentieth president. It was printed in the New-England Journal of Education on April 1, 1876.

How does Garfield’s proof work?

Two copies of a right triangle with legs a and b are set corner to corner so that they form a trapezoid with a third triangle between them. The area of the trapezoid is ½(a + b)². It is also the sum of the three triangles, ½ab + ½ab + ½c². Setting the two equal and simplifying gives a² + b² = c².

Why is the middle triangle in Garfield’s trapezoid a right triangle?

The two acute angles of a right triangle add up to 90 degrees. Where the two copies meet on the base, one contributes each of those angles, and the three angles on a straight line total 180 degrees, so the angle left for the middle triangle is exactly 90 degrees.

When and where was Garfield’s proof published?

In the New-England Journal of Education, volume 3, number 14, dated April 1, 1876, under the heading “Pons Asinorum.” The editors wrote that Garfield had shown it to them in a personal interview.

Is Garfield’s proof related to other proofs of the Pythagorean theorem?

Yes. A classic proof arranges four copies of the triangle inside a square of side a + b. Garfield’s trapezoid is exactly half of that square, cut along the diagonal of the tilted inner square, so his proof reaches the theorem with half the figure.

a²The square on one leg
+ b²The square on the other
= c²The square on the long side

Something on which the members of both houses can unite without distinction of party.

New-England Journal of Education · April 1, 1876

Sources

  • “Pons Asinorum,” New-England Journal of Education 3, no. 14 (April 1, 1876), 161. The original printing of the proof, with the editors’ introduction.
  • Elisha S. Loomis, The Pythagorean Proposition (1927; second edition 1940). Garfield’s proof is number 231 among the algebraic proofs.
  • Allan Peskin, Garfield: A Biography (1978).
  • Candice Millard, Destiny of the Republic: A Tale of Madness, Medicine and the Murder of a President (2011).
  • Alexander Graham Bell, Upon the Electrical Experiments to Determine the Location of the Bullet in the Body of the Late President Garfield (1882).
  • Photographs and engravings: Library of Congress and Wikimedia Commons. All are in the public domain. The geometric figures are drawn for this article in the colours of Oliver Byrne’s 1847 Euclid.

Beyond Euclid

Liked this? Get one like it every week.

One email a week, handpicked by Ali. 240 issues so far, free.