Pages

Wednesday, 27 April 2016

Sum of the Natural Numbers Puzzle

This week I discovered one of the strangest results in mathematics I have ever come across. I will explore this in the format of a puzzle and explain what could be thought of as correct answers. So the puzzle is: What is the sum of all the natural numbers. The natural numbers are the positive integers. To clarify this is the sum from 1 to infinity of the natural numbers, as expressed in the sum below. This is a slightly weird one, because depending on how you define some aspects of mathematics, you may receive a strange answer.  






Sunday, 24 April 2016

Mathematicians Interviewed - 3. Dr Vicky Neale

The latest eminent mathematician to kindly answer my questions is Dr Vicky Neale. She is a lecturer at Balliol College at the University of Oxford. She was previously at Cambridge where she did her PhD. Her research is primarily in analytic number theory and additive combinatorics. I had the pleasure of meeting Dr Neale at a number theory masterclass last month. She was incredibly interesting and I came away having learnt a lot.

1.     What inspired you to become a mathematician?

I really like maths!  I have always enjoyed maths, it was always my favourite subject at school (although I enjoyed lots of other subjects too, especially languages).    I had no idea that it was possible to become a mathematician, which with hindsight is a bit puzzling because I remember watching the Horizon documentary about Fermat's Last Theorem when I was at secondary school, and watching Ian Stewart's Royal Institution Christmas lectures and reading some books by him.  But somehow I didn't think "Oh, I could be a mathematician too".  I just kept choosing the 'do more maths' option whenever I had a chance.  I was about 16 when I realised that it was possible to do maths at university, and then to keep studying maths, and from that point I think it was clear to me, and to everyone else, that I'd try to do that if I possibly could.

2.     What is your favourite area of mathematics and why?

I fell in love with number theory when I was doing my A levels.  I did some olympiad maths at that stage, and I found a number theory book, and I just loved the way it seemed to make sense, the problems seemed really interesting and the techniques for solving them very beautiful.  I still found the problems I was trying to solve really hard, though!  I still love number theory, and also areas that I wasn't aware of when I was at school, such as combinatorics and graph theory.  Lots of things, in fact!

3.     If you could discover any conjecture or problem what would it be and why?

I don't really have an answer to that, I just enjoy trying to understand pieces of mathematics and then trying to help others to understand them too.


4.     What is your favourite maths book and why?

I really like "The Higher Arithmetic" by Davenport.  It's a proper maths book, with proper proofs and stuff, but it reads really well, it's the nearest you'll get to bedtime reading in something that's essentially a maths textbook.  I also really like two books by Tim Gowers.  One is "Mathematics: A Very Short Introduction", which captures beautifully lots of key ideas about maths, and is written in such a clear way, and is indeed very short.  And the other is "The Princeton Companion to Mathematics", which is very long, and has lots of articles by leading mathematicians (all edited by Gowers), and is just an amazing idea.


5.     What do you think could be done to encourage more interest in maths in children and young people?

I spend quite a lot of my time working with young people.  I accept that not everyone is going to be as excited about maths as I am, but I'd like every young person to have a taste of what it is to think mathematically, to explore patterns and seek explanations and make conjectures and create proofs and simply to play around, so that they know what mathematics is really about.  I think that many students are inspired by the creativity and logic and problem solving contained in mathematics, and that many students are naturally curious about mathematics when they have the opportunity to explore.

6.     What advice would you give to a 16 or 17 year old who is thinking of studying maths at university?

Go for it!  And get good at solving hard problems, by practising solving hard problems.  Maths is great: the more work you put into it, the better you get and the more you enjoy it.  (Of course that applies to lots of things, not just maths.)  So find problems that are just hard enough that you look at them and think "Help!", and then spend a good long time working on them.  There are lots of great sources for problems like this, for example the UK Maths Trust (https://www.ukmt.org.uk/) and NRICH (http://nrich.maths.org/).

7.     What breakthroughs do you think are imminent in maths?

When a school student is set a problem by their teacher, it's probably the case that the teacher knows how to solve it, and knows that the student knows enough techniques to be able to solve it, and knows that if the student thinks really hard then they have a good chance of being able to solve it within a reasonable time frame.  Research maths isn't like that.  If you're working on a problem that nobody in the history of humanity has ever solved, you have no idea what techniques you might need, or what bits of maths might be useful, or how long it will take.  That's hugely exciting, but also makes it hard to predict breakthroughs!  You'll notice that this is a long way of politely not answering your question...

8.     Who is your favourite mathematician past or present and why?

Gosh, hard question.  Hardy and Littlewood are mathematical heroes of mine, I've spent a lot of time trying to understand the Hardy-Littlewood circle method, and they did all sorts of other interesting mathematical things, and they were both at Trinity College, Cambridge (where I was a student), and Hardy also spent many years working in Oxford (where I now work).  I find the story of Sophie Germain really inspiring: she did genuinely significant work in number theory, despite living in a society that did not encourage women to do mathematics.  And I think that Julia Robinson is a really interesting mathematician whose life and work are somewhat overlooked.  She has this great quote: an administrator asked her to describe her typical week, and she replied "Monday: tried to prove theorem.  Tuesday: tried to prove theorem.  Wednesday: tried to prove theorem.  Thursday: tried to prove theorem.  Friday: theorem false".

9.     What do you feel is your greatest contribution to mathematics?

If I've made any contribution to mathematics, I think that it's via my undergraduate students and the school students I've worked with.  I'm really proud that my past undergraduates have gone on to follow their dreams, whether by doing a PhD or becoming a school teacher or working in industry or setting up their own business or all sorts of things.  Of course that's because they've worked hard and aimed high, but it's a privilege to think that I've played a small part in their journeys.

I would like to thank Dr. Neale again for answering my questions.

How Would Solve this A Level Style Question? Solution

Here is the proof for the A level style question puzzle. I am going to talk about two approaches to this question which I enjoy. The first is proof by induction and the second is modular arithmetic.

However, before we get on to those ideas we can make the puzzle simpler.
The expression n5-n can easily be factorised, by using the differences of two squares as below.

     n5-n = n(n4-1)
=n(n2+1)(n2-1)
=n(n+1)(n-1)(n2+1)

This already helps us a lot. We have to prove that expression always divides by 30. Another way of doing that is proving that it always divides by 30’s prime factors, which are 2,3 and 5. This relies on composite numbers having unique prime factorisation which we know is true. (That may be a good topic for another post) In the expression n(n+1)(n-1)(n2+1) we have three consecutive numbers making up terms. These are n-1 , n ,n+1. Every third number divides by three and every second number divides by two. Therefore, if you have a string of 3 consecutive number you know one of these will divide by three and at least one will divide by two. This means the proof can now be reduced to prove n5-n is divisible by 5.

      
Proof by Induction

Proof by induction is one of the most important tools in a mathematician’s toolkit. The logical argument for a proof by induction is that if we can prove something is true for all the numbers then it is true for the next number n. if we have such an argument the fact it is true for the number 1 implies it is true for the numbers 1 and 2. Then the fact it is true for the numbers 1 and 2 will imply it is true for the number 3 and so on indefinitely. To conduct a proof by induction we need to prove two things: firstly, that the assertion is true for the number 1 and secondly that if it is true for one it is true for all integers. If we don’t have the first part the proof is not valid, it is a strict if, then argument.  We can then say the proof is true for all the natural numbers.

Sadly, I couldn’t get the necessary symbols to type the proof up, so I have provided a picture of my paper copy of the proof. I must first mention that the notation, a|b, means that b divides into a and the arrow means if, then.

 

The first thing I did was establish f(1) was true. If you were wondering, strictly 5 does divide into 0, every number strictly does.

I then continue onto a lemma. This is pivotal because it tells us how to get from f(n) to f(n+1) which we base the proof on. The statement f(n+1)-af(n)|5 (for some value a) is a standard result. It just means that f(n+1) take away something times by f(n) will divide by 5. There will always be a value of a for this independent of f(n). I then expand out the expression. On line 5 of the lemma I then factorise the expression. This clearly shows that when a=6 f(n+1)-af(n)|5. We can now move onto the main proof.


We are still working on an if, then statement so the proof goes if f(n)|5 then 6f(n)|5. This is allowed because, if a|b then xa|b for all integer values of x. The third line down we can write from the lemma. Any number divisible by 5 add another number divisible by 5 (which we got from the lemma) will still be divisible by 5. This is generalised as if a|b and c|b then a+c|b. Clearly in the proof the plus and minus 6f(n) cancel to leave the result, f(n+1) is divisible by 5.
Therefore, we have proved the original statement that n5-n|30 for when n is a natural number.

 Modular Arithmetic

At first modular arithmetic can seem quite an odd concept, but the range of things we can solve using this way of thinking is remarkable.  Modular arithmetic offers an alternative way to look at our number system, instead of imagining numbers lying on a line, a section of the number line is ‘rolled up’ to form a circle, much like a clock face. Once the time reaches 12 o’clock, it becomes not 13 but 1 o’clock, and continues around the cycle as before. Under this system, it could be said that 12 + 1 =13 is essentially the same as 1, or that both 2 + 48 = 50 and 4 + 10 = 14 are essentially the same as 2. In fact, many numbers could be said to be essentially the same if the time of day doesn’t matter, If a number other than 12 is chosen, the same idea should follow, but the sets of equivalent numbers are arranged differently. As shown below.

In mathematics this idea of many numbers occupying the same place on the clock has been formalised and condensed into a more workable form by introducing the concept of congruence to take the place of numbers being effectively the same and naming the number of hours on the clock as the modulus. I would encourage research on modular arithmetic, it can do some fascinating things but I will now explain its relevance to the proof.

One law that arises from modular arithmetic is that, mod m, if two congruencies of two different numbers are the same, when you take them away from each other the result will always divide by m. Therefore, if we can show that n5 and n are the same for 0,1,2,3,4,5, all the numbers up to 5 (mod 30) it proves that n5-n|5.  

I produced the table below

r                 N5              n
0                0                0
1                1                1
2                2                2
3                3                3
4                4                4
5                5                5

Hence, we have now proved that n5-n|5. Therefore, we know that n5-n|30




I hope you enjoyed that puzzle the next puzzle will be online soon. Thank you again for reading