Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

      Popular topics and tags

      Shapes

      • Geometry
      • Vectors and matrices
      • Topology
      • Networks and graph theory
      • Fractals

      Numbers

      • Number theory
      • Arithmetic
      • Prime numbers
      • Fermat's last theorem
      • Cryptography

      Computing and information

      • Quantum computing
      • Complexity
      • Information theory
      • Artificial intelligence and machine learning
      • Algorithm

      Data and probability

      • Statistics
      • Probability and uncertainty
      • Randomness

      Abstract structures

      • Symmetry
      • Algebra and group theory
      • Vectors and matrices

      Physics

      • Fluid dynamics
      • Quantum physics
      • General relativity, gravity and black holes
      • Entropy and thermodynamics
      • String theory and quantum gravity

      Arts, humanities and sport

      • History and philosophy of mathematics
      • Art and Music
      • Language
      • Sport

      Logic, proof and strategy

      • Logic
      • Proof
      • Game theory

      Calculus and analysis

      • Differential equations
      • Calculus

      Towards applications

      • Mathematical modelling
      • Dynamical systems and Chaos

      Applications

      • Medicine and health
      • Epidemiology
      • Biology
      • Economics and finance
      • Engineering and architecture
      • Weather forecasting
      • Climate change

      Understanding of mathematics

      • Public understanding of mathematics
      • Education

      Get your maths quickly

      • Maths in a minute

      Main menu

    • Home
    • Articles
    • Collections
    • Podcasts
    • Maths in a minute
    • Puzzles
    • Videos
    • Topics and tags
    • Audiences

      • cat icon
        Curiosity
      • newspaper icon
        Media
      • graduation icon
        Education
      • briefcase icon
        Policy

      Secondary menu

    • My list
    • About Plus
    • Sponsors
    • Subscribe
    • Contact Us
    • Log in
    • painting

      1089 and all that

      David Acheson
      1 September, 2004
      22 comments
      September 2004


      The element of surprise in mathematics

      Why do so many people say they hate mathematics?

      All too often, the real truth is that they have never been allowed anywhere near it, and I believe that mathematicians like myself could do more, if we wanted, to bring some of the ideas and pleasures of our subject to a wide public.

      And one way of doing this might be to emphasise the element of surprise that often accompanies mathematics at its best.

      Everybody likes a nice surprise.

      cartoon of David Acheson and not quite the Indian rope trick, by Steve Bell

      A trick with numbers

      I had my first mathematical surprise in 1956, at the age of 10. I was keen on magic tricks at the time, and one day I came across a "trick with numbers" in an article called "Abracadabra! Uncle Jack turns you into a Conjuror!"

      the 1089 trick
      Take any 3-digit number in which the first and last digits differ by 2 or more. Reverse the number, and subtract the smaller of the two numbers from the larger (e.g. 782-287=495). Then reverse the result and add (thus 495+594=1089). The remarkable thing with this is: the result is always 1089, no matter which 3-figure number you start with.

      Professional mathematicians, of course, regard this "1089 trick" as mathematically lightweight and of relatively little consequence. But I have to tell you this: if you first see it as a 10-year old boy in 1956, it blows your socks off.


      Surprising geometry

      A little later on I had my first surprise in geometry. One day at school we were told that if AB is a diameter of a circle, and C is any point on the circumference, then the angle ACB is a right angle. I remember finding this difficult to believe at the time; it seemed to me that moving the point C along the circumference would almost certainly change the angle ACB, especially as C moved closer and closer to B.

      But it doesn't.

      the angle on the diameter is always a right angle
      To understand this, join C to the centre of the circle O by a straight line. Then

      OA=OB=OC.

      So triangle AOC is isosceles, and the two angles marked a in the diagram are therefore equal. By the same argument applied to the triangle BOC, the angles marked b are also equal. But the angles of the triangle ACB add up to 180o, so

      a+(a+b)+b=180o.

      So a+b=90o, and angle ACB is therefore a right angle.

      Even now, I still regard this as one of the most devastatingly effective and illuminating proofs in the whole of mathematics.

      Surprising mistakes

      The great mathematician Leonhard Euler

      The great mathematician Leonhard Euler

      The whole idea of proof is, perhaps, one of the major difficulties in communicating mathematics to the wider public. Yet, without proof, mathematicians can sometimes get things badly wrong. And even the greatest of mathematicians are not immune.

      In 1753, for instance, the great Swiss mathematician Leonhard Euler proved the N=3 case of Fermat's Last Theorem. He proved, in other words, that there are no whole number solutions a, b, c to the equation:

      a3 + b3= c3.

      In short, 2 cubes cannot add up to a cube.

      But a little later he went on to conjecture that, in a similar way, it would be impossible for 3 fourth powers to add up to a fourth power, and, more generally, that it would be impossible for m-1 mth powers to add up to an mth power.

      For nearly two hundred years no one could find anything wrong with this proposition. Nobody could actually prove it, either, but it had been around for a very long time, and it had been proposed, after all, by a very respected authority...

      And then, in 1966, L. J. Lander and T. R Parkin found a counter-example, four fifth powers that add up to a fifth power:

      275+845+1105+1335=1445.

      And 20 years after that, the m=4 case of the proposition fell too, when another mathematician "noticed" that

      2,682,4404+15,365,6394+18,796,7604=20,615,6734.

      Attempting to generalise in mathematics on the basis of one or two special cases is always a risky business, of course, and one of the most telling examples I know involves an apparently innocent little problem in geometry.

      Take a circle, mark n points on the circumference, and join each point to all the others by straight lines. This divides the circle into a number of different regions, and the question is: how many? (It is assumed that no more than two lines intersect at any point inside the circle).

      Now, for the first few values of n, namely 2, 3, 4 and 5, the number of regions follows a very simple pattern: 2, 4, 8 and 16.

      dividing the circle into different regions, using lines joining 2, 3, 4 and 5 points

      dividing the circle into different regions, using lines joining 6 points

      And, in my experience, it is possible at this point to lure virtually anybody into "deducing" that when n=6 the number of regions will be 32.

      But it isn't. It's 31!

      And the general formula for the number of regions isn't the simple one we had in mind at all.

      It's

      (n4-6n3+23n2-18n+24)/24.


      Surprising connections

      In higher mathematics, some of the deepest surprises come about from unexpected connections between apparently quite different parts of the subject.

      When we first meet the number π=3.14159... , for instance, it is all about circles. In particular, if we take any circle, then π is the ratio of circumference to diameter. \par Imagine the surprise, then, in the mid-17th century, when Leibniz discovered the following extraordinary connection between π and the {\em odd numbers}:

      While it is possible to prove this result, beyond all doubt, using the methods of calculus, I have yet to meet anyone who can explain this connection between circles and the odd numbers in truly simple terms.

      image showing the foci of an ellipse
      Sometimes, however, the surprising connection lies not within mathematics itself, but between mathematics and real world.

      The ellipse, for instance, is a curve that was well known to Greek mathematicians, and it can be constructed by pulling a loop of string round two fixed points. These points, H and I, are called focal points.

      At first sight, perhaps, this is "just" geometry. Yet, some 1,500 years after the ellipse's first appearance in this way, the German astronomer Kepler discovered that the planets move around the Sun in elliptical orbits, and - as if that were not coincidence enough - the Sun is always at one of the focal points! And explaining this elliptical planetary motion in terms of a gravitational force on each planet towards the Sun was eventually to be the cornerstone of Newton's most famous work, the Principia.


      Not Quite the Indian Rope Trick

      The real Indian rope trick

      Yet I suppose the greatest mathematical surprise I've ever had came one rainy November afternoon in 1992, when I found myself proving a strange new theorem.

      I was trying to give a new twist to an old problem in dynamics, first studied by Daniel Bernoulli in 1738. He had considered a hanging chain of several linked pendulums, all suspended from one another, and discovered various different modes of oscillation.

      My theorem showed how it is possible to take all these linked pendulums, turn them upside-down, so that they are all precariously balanced on top of one another, and then stabilise them in that position by vibrating the pivot up and down. The upshot of the theorem (which appears on the blackboard in the Steve Bell cartoon at the beginning of this article) is that the "trick" can always be done if the pivot is vibrated up and down by a small enough amount and at a high enough frequency.

      Computer simulations suggested that the upside-down state could in fact be very stable indeed, and this was borne out when a colleague of mine, Tom Mullin, confirmed the theorem experimentally. The photograph below shows an upside-down 50 cm triple pendulum, with the pivot vibrating through 2cm or so at about 40 cycles per second, and the chain of pendulums is seen wobbling back towards the upward vertical after a fairly severe initial disturbance.

      not quite the Indian rope trick

      not quite the Indian rope trick

      As soon as we started calling this gravity-defying experiment "Not Quite the Indian Rope Trick" we found that newspapers, radio and TV all began getting interested, and Tom and I have had a great deal of fun with this topic over the years. My scientific papers on the subject have even been acquired by the archives of the Magic Circle in London, which would surely have astonished a certain 10-year old boy in 1956. (The papers are kept, I understand, in a box file called Sundry Ephemera).

      In the end, though, it is not all that important whether mathematics might or might not explain a particular magic trick.

      What matters, surely, is the extent to which surprising results like this may help persuade the wider public that mathematics, at its best, has a certain magic of its own.



      About this article

      This is a shortened version of an article that appeared in the European Mathematical Society Newsletter, Issue 49, 2003.

      David Acheson's latest book "1089 and All That" (Oxford University Press 2002) is an original attempt at bringing some of the ideas and pleasures of mathematics to a wide public, and is a Plus favourite. Your can read our review in issue 23 of Plus, and further details may be found at David Acheson's homepage.

      Recently, David Acheson gave a lecture in Cambridge on the topics covered in this article, and more. The lecture was filmed by Science Media Network, and is available to watch online.

      • Log in or register to post comments

      Comments

      Anonymous

      20 November 2010

      Permalink

      I tried this with 478 and it did not work. What's the problem.

      Placido DSouza

      • Log in or register to post comments

      Marianne

      22 November 2010

      In reply to 1089 by Anonymous

      Permalink

      Hi! starting with 478 you get 874-478=396. Then reversing 396 and adding gives 396+693=1089.

      • Log in or register to post comments

      Anonymous

      27 January 2011

      In reply to 1089 by Anonymous

      Permalink

      I think you thought 874 - 478 was 404! Difference between 8 and 4 in column 1 and 3, difference between 7 and 7 is zero in the middle...
      I bet that's what you did...

      There are conditions where it fails to work but 478 isn't one of them. :)

      JavaMain

      • Log in or register to post comments

      Anonymous

      2 August 2011

      In reply to 478 by Anonymous

      Permalink

      9x0 - 0x9 = 891 + 198 - 1089.
      Read this in a book by Shalinka Devi in my teens.

      She also has a great about about 1729 to blow the qubic theory. 1729 is the lowest number that is the sum of two cubes in TWO different ways.

      10^3 + 9^3 = 12^3 + 1^3.

      • Log in or register to post comments

      Peter Bottomley

      25 November 2017

      In reply to Even works with ZEROES by Anonymous

      Permalink

      A Japanese mathematician (? Fukimara or similar) described the numbers that reappear if their digits are summed, that number reversed and those added.
      1729 adds to 19; 19 times 91 is 1729, the Hardy taxi number.
      Many know 91 is 3 cubed plus 4 cubed; it is also 6 cubed plus -5 cubed.

      • Log in or register to post comments

      Andrew Nash

      24 October 2018

      In reply to 1089 by Anonymous

      Permalink

      Hi Placido. I would check your maths again. I used your numbers and it worked for me.

      • Log in or register to post comments

      Pankaj Choudhary

      19 June 2019

      In reply to 1089 by Anonymous

      Permalink

      478+874=1352
      1352+2531=3883
      3883+3883=7766
      7766-6677=1089

      • Log in or register to post comments

      Mohamed Ayad

      18 June 2022

      In reply to It works by Pankaj Choudhary

      Permalink

      Does Pankaj Choudhari have other examples of the save flavour, that is reaching 1089, after adding the reverse several times and finaly substracting the reverse? Thank you

      • Log in or register to post comments

      Darshan kangtani

      23 November 2022

      In reply to 1089 by Anonymous

      Permalink

      568???

      • Log in or register to post comments

      ethan

      26 March 2023

      In reply to 1089 by Anonymous

      Permalink

      it wont work if the digits are not decreasing.example is not 312 but somthing like 321

      • Log in or register to post comments

      Dan

      14 November 2023

      In reply to 1089 by Anonymous

      Permalink

      Yes, it does work

      • Log in or register to post comments

      Anonymous

      19 January 2011

      Permalink

      my father could also demonstrate this by algebra

      • Log in or register to post comments

      Anonymous

      29 June 2012

      Permalink

      Just did this with my 11 year old boy. When he calculated the answer I asked him to take his book, turn to page 108 and find line 9.

      Of course I was able to recite it to him :)

      Maths can be fun!

      • Log in or register to post comments

      Anonymous

      23 October 2012

      Permalink

      If first number is 100a + 10b + c
      Second number is a+ 10b + 100c
      Difference is 99( a-c)

      By use of divisibility rules or by exhaustion the 99 times table (1..8) has the property that the outside digits add to 9 and the middle digit is 9

      So we have a number of the form 100d+ 90 + f
      Add to the digits reversed d +90 + 100f
      to get 101(d+f) + 180
      And since d + f = 9
      The result = 909+ 180 = 1089

      Note that this breaks down if a= c e.g. 414 reversed is 414 the difference is zero and digit reversal sum is also zero

      The usually stated condition is that the initial three digits are different.
      a sufficient but not necessary condition.

      Eg. 441 -144 = 297 =99*3 etc.

      • Log in or register to post comments

      Anonymous

      21 December 2012

      In reply to Proof of 1089 by Anonymous

      Permalink

      No divisibility rules or 99 times table is needed for the proof.

      If the number is 100a + 10b + c, and a>c then
      100a + 10b + c
      - 100c + 10b - a
      = 100*(a-c) + (c-a) -- or, since c-a is negative
      = 100*(a-c-1) + 90 + (10+c-a)
      This shows that the middle digit is 9.
      Then adding digits:
      100*(a-c-1) + 90 + (10+c-a)
      + 100*(10+c-a) + 90 + (a-c-1)
      = 1000 - 100 + 180 + 9 = 1089

      • Log in or register to post comments

      Anonymous

      18 August 2013

      Permalink

      Same Method is applicable for all the numbers with all ODD number of digits (digits of the number taken in decreasing order) , greater than 3 (of course). Consequently, the outcomes vary according to number of digits.
      Let the number of digits be (2*N+1), where N=1,2,3,4...
      Then, the corresponding magic number is given by;

      11*10^(N-1)*[10^(N+1)-1]
      If N=1; THREE digit number; 11*1*(100-1)=11*99=1089

      If N=2; FIVE digit numbers; 11*10*[1000-1}=109890
      1. 87542-24578=62964
      62964+46926=109890.

      2. 85421-12458=72963
      72963+36927=109890

      Similarly for 7, 9 11, 13....
      Cool. Isn't it?
      Hoping that you got it,
      Alanka Anil Kumar™

      • Log in or register to post comments

      Anonymous

      5 November 2015

      Permalink

      A most engrossing article. I wonder, if the following premise has a particular description and if anybody would be kind enough to furnish me with an explanation? In respect of the 1089 trick; I found that any number, of two or more digits (except 'mirrored' numbers such as 11 or 89,598) where at least one number is more or less than it's adjoining digits, when reversed and the lower subtracted from the higher the answer is always divisible by 9, for example:

      75 - 57 = 18 = 9 x 2
      9801 - 1089 = 8712 = 9 x 968
      7,324,586 - 6,854,237 = 470,349 = 9 x 52,261

      I have very little academic background, simply interest and curiosity and would greatly appreciate any clarification.

      Thank you in advance.

      Mike.

      • Log in or register to post comments

      Marianne

      9 November 2015

      In reply to divisible by 9... by Anonymous

      Permalink

      Hi Mike. You might like to see this article, https://plus.maths.org/content/arithmetic-made-easy-reversible-numbers which explores what happens when you add and subtract such "reversible" pairs of numbers.

      • Log in or register to post comments

      Simon Fearn

      21 April 2017

      Permalink

      Can someone show me how this was solved. Thanks.

      • Log in or register to post comments

      Martin Cohen

      21 September 2021

      In reply to Cistern example by Simon Fearn

      Permalink

      I think this is the problem you are referring to, as given as an example of a typical math problem.
      A and B working to together can fill a cistern in 4 hours.
      It takes A and C 5 hours.
      B can fill the cistern twice as fast as C.
      How long does it take C to fill the cistern?

      Let a, b and c be the rates at which A, B and C fill the cistern. It is convenient to work with rates rather than time, because the rates can be added.
      a + b =1/4
      a + c = 1/5
      b=2c.
      Substitute 2c for b in the first equation. That gives two equations in a and c, which I trust you can easily solve. We end up with c=.05, a=.15 and b= .1.
      c=.05=1/20, so it takes C 20 hours to fill the cistern.

      • Log in or register to post comments

      darshanracer59@gmail.com

      23 November 2022

      Permalink

      568

      • Log in or register to post comments

      sam

      20 September 2023

      In reply to 568 by darshanracer59…

      Permalink

      why are you writing 568? 568 works! are you missing the formula for the maths?
      568 reversed = 865
      865-568=297
      297+792=1089!

      • Log in or register to post comments

      Read more about...

      ellipse
      proof
      Fermat's Last Theorem
      pendulum
      geometry
      Pi
      kepler
      mathematics and magic
      leibniz
      University of Cambridge logo

      Plus Magazine is part of the family of activities in the Millennium Mathematics Project.
      Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

      Terms