Pages

Friday, 30 September 2016

Square and Triangular Number Puzzle

I have a puzzle for you which is very nice. 36 is a square number, it is 6 squared. It is also the 8th triangular number. Can you find another number which is a square and a triangular number. If other such numbers exist can you find the pattern behind them?

NB: The formula for the triangular number is x(x+1)/2.

The solution will be in the next post. Enjoy!

Wednesday, 7 September 2016

Review: A Mathematician's Apology by G.H.Hardy

I recently had the pleasure of reading A Mathematician's Apology by G.H.Hardy. The book, as the title suggests, is Hardy giving a defence of mathematics. He explains the reason why mathematics is important and why mathematics is beautiful. I will give a short biography of the author, G.H.Hardy, before I continue with my review because I feel the background to the book and why it was written helps us understand why it is such an important book.


G.H.Hardy was one of the greatest pure mathematicians of the early 20th century. Hardy spent the early and late part of his career at Trinity College Cambridge, prior to being at New College Oxford. However, his most famous work was done in collaboration with John Littlewood and his Indian prodigy Srinivasa Ramanujan after returning to Cambridge. To anyone that doesn’t know the story of Hardy’s discovery of Ramanujan, I suggest reading the The Man who Knew Infinity. Hardy had two loves in life mathematics and cricket. However, at the time the book is written Hardy is aged 63 and no longer, as he puts it, has the ‘creativity, patience or inspiration to be a successful mathematician.’ It is clear Hardy struggles to deal with the loss of his academic abilities which creates a sombre tone throughout the book. In the book Hardy gives not just a defence of mathematics, but a defence of his life as a mathematician.


Hardy starts his defence by explaining what is meant by mathematics. He does this by exploring the question of whether we invented mathematics or whether if always existed and we discovered it. Hardy is a firm believer that we discovered mathematics and every breakthrough he ever made was a discovery not an invention. This belief famously led him to say ‘317 is a prime, not because we think so, or because our minds are shaped in one way rather than another, but because it is, because mathematical reality is built that way.’


Hardy argues that many weak defences of mathematics suggest that mathematics is important because it is important in real life situations. For example, mathematics helps us to build bridges or model variables. However, Hardy is a pure mathematician and he states that nothing he has ever achieved has any practical application. He believes that the mathematics used in engineering or other fields that utilises mathematics is not real mathematics. He believes that only pure mathematics is real. This raises the question of, if we then only take the purest mathematics as our definition of maths, can something with no applications be important? Hardy argues the beauty of mathematics is what makes it so important. He argues that a painting has no purpose other than its aesthetic beauty and the emotions it creates and mathematics is the same.


Hardy also defines mathematical beauty in the book, although even he admits he struggles to define it. He thinks that the beauty of a result or proof is when it manages to combine together a great many different unrelated ideas. Hardy believes there are only 2 examples of mathematical beauty that non mathematicians can understand. The fact there are so few, is why he believes there are misconceptions surrounding mathematical beauty. His two examples are Euclid’s proof of infinitely many primes by reductio ad absurdum and pythagoras’ proof that the square root of 2 is irrational, which I am sure many of you will be fond of also.


A final question he ponders is whether mathematics can cause harm. This is particularly important to Hardy because he was a pacifist. He saw that some mathematics was being used in a destructive way to support war such as its uses in ballistics. This causes him to discuss whether this makes mathematics a subject we should not study, because it causes harm.  He concludes that the mathematics he calls "real mathematics" can not  be used for war. He says "No one has yet discovered any warlike purpose to be served by the theory of numbers or relativity, and it seems unlikely that anyone will do so for many years".


I would highly recommend reading this book even if you are not a mathematician because it provides such a good insight into the life and thoughts of a mathematician. As Hardy’s chosen field was number theory, my next review will be of one of the greatest books ever written about this subject, which is The Higher Arithmetic by H. Davenport. That review will be online soon. Thank you for reading.

Friday, 19 August 2016

Calculating Pi Using Darts

As you may have noticed, it is summer. However, just because the academic season has ended there is still lots of maths that can be done. Yesterday, having been inspired by a quick video I found online, I decided to undertake an interesting experiment. I tried to calculate 𝛑 using darts. In doing this, I found that although this is something I have never done before, it is remarkably easy. All you need to try this at home is a dart, a dart board or alternative to stop the darts, a piece of square paper, a pencil and a compass.

The first thing I did was use the pencil and compass to draw the shape below with the circle completely inside the square just touching the centre of each of the square’s edges.


If we call the length of the square x, the area of the square is x2 . The radius of the circle is x/2. Therefore the area of the circle is 𝛑x2/4.
Thus the ratio of the area of the circle to the area of the square is 𝛑/4.
Thus the ratio of the area of the circle to the area of the square times by 4 is 𝛑.
This also proves that the length of the square is unimportant, which is apparent anyway.


How would one approximate the area of the circle and square? This is where the darts come in because the number of darts landing in a particular area over a large enough number of throws will be proportional to the area as long as the throws are random.
Therefore if I throw lots of darts at the shape above,  4 x the number of darts that land in the circle/ the number that land on the whole shape should equal 𝛑.

 
I tried this and I threw lots of darts at the pattern above and then I decided to see how close I got. My approximation for 𝛑 was 3.96 (3 s.f.). That is not a typo, 3.96, not 3.16. Oh dear! I did some thinking about why I was so far from the true value. This method is never going to work too well for a number of reasons e.g. The circle I had drawn does not fit the square correctly. However, it was clear the biggest issue was arising from my throwing. Each time I threw I aimed for the centre of the target and although I only occasionally play darts I was getting the dart usually within about 5 inches of the centre of the target. This resulted in me getting way too many darts in the square than would be random. Therefore, I made a few changes.


I firstly changed the target to the shape below, (dimensions irrelevant). The ratio of the area of the circles to the area of everthing is still 𝛑/4.


I felt this design meant even if I threw consistently my results would be good. The net thing to do was make my throwing more random. For this I had some help. I ‘borrowed’ my brother to throw darts as well to try and reduce systematic error because the darts are only thrown with my style. Also, to make our throws more random we threw from different angles, threw on the move, we threw with our opposite hands, threw underarm and even threw blindfolded, which is not recommended. The places the darts landed looked very random, but did we get an accurate result? We showed 𝛑 is approximately 3.16. This value is quite close.
To improve the accuracy further we probably needed to throw more darts and use a better template. However, if you follow these steps correctly and do enough dart throwing you can get a pretty good value of 𝛑.




I hope you enjoyed this post and please try this at home and write in the comments what your approximation of 𝛑 is and if you made any changes to the experiment tell me them too.

Thank you for reading.

Mathematicians Interviewed - 4. Professor Damian Rƶssler

The latest eminent mathematician to kindly answer my questions is Professor Damian Rƶssler. He is currently a Professor of pure mathematics at the University of Oxford Mathematical Institute and a tutor and fellow of Pembroke College. His research interests primarily focus on number theory and algebraic geometry. This interview is one of my favourites not only because I had the pleasure of meeting Professor Rƶssler in June, but I found his thoughts on the mathematical way of thinking inspiring.


1. What inspired you to become a mathematician?


I have found mathematics fascinating from an early age. There seemed to be a promise of
an intellectual garden of Eden, where intellectual investigation can uncover incontrovertible but also widely applicable truths. I still see mathematics in that way and I have now even come to believe that the mathematical way of thinking is a model for any intellectual activity - but this might just be the natural bias of someone who has dedicated a large part of his life to one subject.


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

I am potentially interested in any area of mathematics but since the end of my studies, I have mainly been interested in algebraic geometry and its applications to number theoretic problems. I find that I am very often more interested in geometric problems than combinatorial of analytic ones.


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

There are two conjectures that I find absolutely fascinating (but I have no hope whatsoever that I shall ever prove them). The Hodge conjecture:


and the conjecture of Birch and Swinnerton-Dyer:



4. What is your favourite maths book and why?

I suppose that my favourite graduate textbook is "ElĆ©ments de GĆ©omĆ©trie AlgĆ©brique”
by A. Grothendieck and J. DieudonnĆ© (see https://en.wikipedia.org/wiki/%C3%89l%C3%A9ments_de_g%C3%A9om%C3%A9trie_alg%C3%A9brique) but my favourite undergraduate textbook is the book “Calculus" by M. Spivak.


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

I think that a good way to do this is to teach them Euclidean Geometry, which is the very origin of mathematics. The core of the mathematical activity is the proof of theorems and this is what historically distinguished Euclidean Geometry from other contributions to mathematical techniques.


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

I think that mathematics can be a gate to many other subjects, like physics, computer science, biology, finance and in its applied form it also has many industrial applications, eg Big Data. So studying mathematics is not a bad idea for the undecided. On the other hand, it is a course that requires a lot of dedication and work.


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

It is impossible to answer that question… mathematics is like an unstable chemical compound and you never know what will come next.


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

One of my favourite mathematicians is Daniel Quillen (see https://en.wikipedia.org/wiki/Daniel_Quillen ).His writings are an absolute model of clarity and lucidity.


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

I am quite proud of my elementary proof, with the German mathematician Richard Pink, of the Manin-Mumford conjecture. See