Monday, 11 August 2008

Modelling Olympic Gold

After every Olympics, there is speculation about which country performed best. Should we really be surprised when China, with its huge population, and the US, with its combination of high GDP and population, top the medal table? Can we take a look at the medal tables and see which countries did indeed perform better than expected?

This is a shorter version of an article I wrote up over at Plus, so to read more, especially about some of the maths involved, see the article Harder, better, faster, stronger.

In terms of total medals won, the same five countries topped both the 2000 Sydney Olympics table and the 2004 Athens Olympics table:

PositionCountry2000 Medal Count
Country2004 Medal Count
1United States92
United States103
2Russia88
Russia92
3China59
China63
4Australia58
Australia49
5Germany56
Germany49

By-and-large the same countries rise to the top each Olympics, but a quick look at the medal tables seems to suggest two obvious variables that may play a part in a country's Olympic success — population and Gross Domestic Product (GDP). A high population gives a country more athletes to draw from, while GDP could be assumed to represent a country's prosperity, with a prosperous country more likely to spend money on frivolous activities such as sport. Adjusting for population, we see that the top 5 countries have changed, except for Australia, who has over-performed for its population:

PositionCountry2000 Medal CountPopulation ('000s) per medal
Country2004 Medal Count Population ('000s) per medal
1Bahamas2142
Bahamas2150
2Barbados1259
Australia49406
3Iceland1273
Cuba27419
4Australia58324
Estonia3447
5Jamaica7379
Slovenia4503

India, with its huge population, under-performed in 2004, with one medal per one billion people, however we may expect with its rising GDP that it could come near the top of future lists. Looking at GDP, we find a new top 5, with Australia dropping out, but Cuba, Jamaica and the Bahamas again performing well:

PositionCountry2000 Medal CountGDP ($ '000,000s) per medal
Country2004 Medal Count GDP ($ '000,000s) per medal
1Cuba29597
Cuba271170
2Jamaica71257
Jamaica52042
3Georgia61867
Bahamas22550
4Macedonia12100
Georgia43045
5Bulgaria132585
Eritrea13300

Looking at simple plots of medal tally against population and GDP for the 2004 games, it can quickly be seen that linear models of these variables will be unsatisfactory:

The extreme values of GDP and population suggest that logarithms should be used. This makes practical sense — a country with a high population does not get to enter more athletes in the Olympics than lowly populated countries, and whilst a high population gives a strong base from which to draw quality athletes, as population increases, this effect will diminish. With regards to GDP, countries occasionally produce athletes with so much natural ability that no amount of money spent on training the opposition could defeat them. Findings in the report Do elite sports systems mean more Olympic medals? by Simon Geoffrey, Martina Kerim, Peren Arinb, Nitha Palakshappac and Sylvie Chettyd from the Department of Commerce at Massey University back this up, with the authors suggesting that "the extraordinary talent required in winning a gold medal cannot be surpassed by the employment of an elite sports system."

Looking at the countries that received more than 15 medals in 2004, plots of the logarithm of medal count against the logarithms of population and GDP show a linear relationship. Using linear regression — a form of analysis that fits a straight line to the data by minimising the distances between the data points and the fitted curve — we can find a straight line that fits well. We found that the R2 values of this fit (R2 is a statistical measure of correlation between 0 and 1) are above 0.5, suggesting that, while not quite high enough to prove a correlation, we may be on to something:

Using a linear combination of the logarithms of GDP and population, we can come up with a fitted line:

We can see that Cuba, Australia and Russia all fall above the line of best fit and so compared to the other countries who received more than 15 medals, achieved well. This could be explained by Cuba's famous tradition of boxers and the spending of Australia and Russia on sport.

The danger with any such fitted model is that you can fit anything to anything after the event — the challenge is to come up with a worthwhile representative model that can not only let teams know how they are doing now, but can predict how they may do in the future.

In the paper Who wins the Olympic games: Economic development and medal totals, Andrew B. Bernard and Meghan R. Busse from The National Bureau of Economic Research developed a model that includes population, GDP, whether the country was the Olympic host and whether the country was formerly part of the Soviet Union or eastern block. They found that countries win 1.8% more medals when host than otherwise, and similarly, found that former Soviet Union or eastern block countries, because of their forced mobilisation of resources towards sport, and countries with planned economies, won more than 3% more medals than equivalent western countries. Their model is formulated as:

where M is a country's medal count, N is the population, Y is the GDP, C, alpha and beta are constants, and Host, Soviet and Planned are constants equal to zero or some value depending on whether the country was the host, part of the Soviet block, or had a planned economy.

In their more developed models, the authors included terms to represent how countries performed at previous Olympic games — perhaps to represent the experience gained by athletes competing at multiple games. Their overall conclusion is that whilst GDP is the best single variable for predicting medal tallies, other factors such as being the host country need to be included. Indeed, their model predicted that Australia would win 17 more medals than otherwise when it hosted the Sydney Olympics — the model was only one short of the actual 18 extra medals Australia did win.

With this in mind, it is hard to look past China, as host country and with vast amounts of money pouring into Olympic sports for just this occasion, topping the medal tally.

  • Data from the World Bank and the International Olympic Committee was used in the analysis. Due to doping scandals, the medal tables may change but are accurate at the time of writing.
  • Wednesday, 30 July 2008

    Tanneries and water - meandering through Morocco

    Morocco is a hot, dry place. We were lucky enough to visit the town of Marrakech last week, and apart from being stunning to look at, it was 40 degrees and chaotic! This latest post is not meant to be a travel blog - there are plenty of them out there - but instead we are going to take a look at some of the science from this most recent trip abroad.

    Tanneries

    To work in a tannery in Marrakech is to work under some of the harshest working conditions there are. Not only are you exposed to the blazing sun, but you are are soaked in blood, animal bodily fluids and parts, pigeon poo, and get paid appallingly.

    But there is some science to the ancient Moroccan tannery tradition.

    Legend has it that the tanners are descended from demons who lived under a black king. As they didn't obey his rules, they were condemned to work in the tanneries. They use hundreds of concrete vats to process animal skins which are bought locally in the souks. The skins (mainly sheep and goat although cow and camel are sometimes used - lions are no longer used as they were hunted to extinction in the region around 1900) are treated far differently to the way leather is treated in other parts of the world as the process clings to its ancient traditions. Hair and flesh are removed by soaking the skins in quicklime (Calcium Oxide formed when limestone - calcium carbonate - decomposes) and water. After this, the skins are placed in a vat of water and blood, then separated and rung out, before being coloured using a few natural products:
    • Pomegranate for yellow;
    • Olive oil for shininess;
    • Bark for various colours, presumably brown;
    • Saffron for golden yellow;
    • Henna for red/orange;
    • Poppy for many other colours including white, pink, yellow, orange, red and blue.
    The skins are stretched out and left to dry for over 20 days in little piles that look rancid. Pigeon poo is used to soften the leather, and if anyone knows why, I would love to know. Presumably the poo is slightly acidic. Pigeon poo has actually been reported to be quite dangerous, with people almost dying after ingesting it. The poo adds to the smell of the place, with there being large pigeon coups near the top in which you could wade knee deep in the brown-smelly stuff.

    Our guide, apart from ripping us off ridiculously, did give us some mint to hold under our noses to mask the smell.

    If you want to be a tanner, you need to be born into it, and only men are allowed. Many suffer from arthritis and are forced into an early retirement. And it has been reported that in Bangladesh, half a million people are at risk of serious health issues due to their tanneries emitting toxic chemicals such as sulphuric acid. Not a place I would like to work.

    Water

    Morocco has a massive water problem. It rains about a third of that in Canberra, Australia, which is considered in severe drought. The average rainfall in a summer month is 3 mm, and there are increasing demands on the scare water-supply by a massive push to increase tourism and reduced rain-fall, presumably due to global warming. The period in which crops woudl grow in the 1960s was about 180 days per year. Now it is 110, and most of the country still live off the land. Add to this food shortages and there will be a problem in the years to come.

    It has not always been this way. When Marrakesh was originally settled by the Almoravids, who had lived in the desert all their history, water management was done well. The Almoravids built massive underground piping systems called khettaras which brought water from melted snow from the Atlas Mountains, a few hundred kilometers from Marrakech. It was quite an engineering project, but unfortunately western irrigation techniques, developed in places where there is lots of water, are now being used and water is running out. There are still magnificent oases in Marrakech, such as the Palmeraie and the Majorelle Gardens, but these are irrigated using modern methods.

    I took my recording gear to Marrakech, so listen up to the podcast here. You will also here some commentary from the local lads on Australia, east and west coast America, and north and south England, and some of the sounds of Marrakech.

    Listen here:








    More of my Marrakech photos can be found on my flickr site.

    Monday, 28 July 2008

    Cocoa Condoms

    Not too long ago we sort to find out whether or not you can recycle condoms, and didn't reach a conclusion. However, there has been one recent development in this area, with the condom manufacturer Condomi releasing condoms that are slightly higher up the ethical stakes.

    Condoms are made from latex, which comes from the tropical rubber tree Hevea brasiliensis. Liquid latex, a dispersion of rubber particles (30%) in water (70%), lies between the bark and wood and is collected by slashing through the bark and allowing the latex to flow out. Ammonia is added to counter the acid production of waste products from the bacteria that naturally feed on the latex and cause it to curdle.

    The liquid latex is centrifuged to concentrate the rubber particles so that it is 60% solid rubber. Other chemicals including an antioxidant, a sulfur-based vulcanizing agent, and a vulcanizing accelerator, are added to increase both the rate and extent of cross-linking in the latex compound during vulcanization - a process in which polymer molecules are cross-linked by sulfur atoms or carbon-carbon bonds under high heat. This makes the latex harder and more durable.

    This is where there is some ethical debate. The manufacture of condoms usually involves casein, a phosphoprotein that occurs in milk and cheese and so is from cows and not vegan friendly. Casein is added at this stage to toughen up the latex. Condomi have replaced casein with cocoa powder. It is thought that these condoms might be a tiny bit weaker.

    I'm not sure which option is the best for the planet as the latex produced is still largely not biodegradable, but it's good to see that the best brains on the planet have made life a bit easier for a couple of vegans. I always figured there was some connection between sex and chocolate...

    Friday, 18 July 2008

    Who is your favourite fictional scientist?





    Who is your favourite fictional scientist? I've come up with my top 14 covering my favourites from my formative years, including Doc Emmette Brown and his flux capacitor, the parapsychology-studying ghostbusters and the crazy muppet scientists Beaker and Honeydew.

    Have a vote in the poll and once we get enough responses, we'll close it off and write detailed profiles of those scientists who top the list.

    If you can't see the poll (perhaps you are viewing in a feed reader that doesn't like flash), then follow this link: View Poll. Or check out the poll in the right sidebar of our homepage.

    To get you in the mood, have a look at Forbes Magazine's Top 15 richest fictional characters, topped by Scrooge McDuck. This list features two characters who are arguably scientists - Tony Stark (from Iron Man) and Monty Burns (from The Simpsons). But I prefer to classify them as businessmen who work in scientific industry.

    If we have missed anyone off this list, then please leave a comment.

    Thursday, 17 July 2008

    Run away and join the circus - the science circus that is

    Good looking science types

    Interested in science communication? Love travelling? Then the Science Circus might be for you.

    If you are a recent science or technology graduate and enjoy science communication, then you can earn a prestigious Graduate Diploma from ANU and travel Australia communicating science in cities, towns, outback stations, indigenous communities, schools, nursing homes, just about everywhere around Australia. Your HECS is paid for, and you get a living allowance.

    I did the course in 2001 and it was fantastic, although judging from the picture above, and with all due respect to my year, it looks like the students have got better looking...

    Not only have I now seen places in Australia that barely anyone gets to see, but I had a ball and made contacts in science communication fields. Plus, you are on tour much of the year and believe it or not, when you aren't, Canberra is a pretty good place to live.

    Applications are due Friday 29 August 2008 - see the circus website, or this flyer, for more information.

    For my reflections on my 2001 year, see my Science Circus flickr photo set and this rather silly Mr Science story - if you're game, listen to the podcast of that episode to hear me sing...

    Wednesday, 9 July 2008

    Science Podcasters

    I am happy to announce that The Mr Science Show has joined up with sciencepodcasters.org, a fledgling organisation for supporting and promoting science podcasts. It was started by Ginger Campbell, MD host of the Brain Science Podcast. The purpose of this website is to create a site where people can find high quality science podcasts about a wide variety of fields. It offers science podcasters a place to post announcements, show notes and links back to their websites and content. This is not a directory or hosting site. Our main motivation is a spirit of mutual support. We all believe in the importance of using podcasting as a tool to communicate science to a broader audience. We have chosen the blog format in recognition of the fact that sites with content that is constantly updated is also more attractive to search engines. The more content we post on this site, the more we will help all the shows on the site to get the recognition they deserve.

    So get over and check out sciencepodcasters.org

    Tuesday, 8 July 2008

    The 118118 Challenge

    118118 is a directory enquiries phone number in the UK that has recently expanded to "answer any question you put to us, no matter how big or small."

    So we thought we might test them out with some of the unsolved questions from our show, and then some maths.


    Listen here, with the voice of 118118 played by the AT&T Text-to-Speech synthesiser.









    Marc: Can you recycle condoms?
    118118: In general, condoms are made of latex and are not recyclable. It is probably better to dispose of your used condoms in the rubbish. Thank you!
    Verdict: Pretty much what we came up with too. To read more about recycling condoms, see the Mr Science article Recycling Condoms.

    Marc: How many colours to do you need to colour a political map of the world such that no two bordering countries are the same colour?
    118118: Four colour theorem: any plan separated into regions, the regions may be coloured using 4 colours in such a way that no 2 adjacent regions receive the same.
    Verdict: Pretty good. The four colour theorem is correct, although it is just a theorem and so no one has conclusively proven that you only need 4 colours to colour the map. See the Plus article The origins of proof IV: The philosophy of proof.

    Marc: Is there a formula for solving quintic equations, like there is for quadratic equations?
    118118: There is no formula for general quintic equations over the rationals in terms of radicals. Some can be solved by factorising into radicals. Thank you!
    Verdict: Correct. For more on the quintic, see the Plus article The equation that couldn't be solved.

    Marc: Is the Mandelbrot set locally connected?
    118118: The Mandelbrot set is a set of points in the complex plane. It is a compact set, contained in the closed disk of radius 2 around the origin. Thanks!
    Verdict: Well, that's correct but not an answer. That the Mandelbrot set is locally connected is an outstanding conjecture. To read more about the Mandelbrot set, see the Plus article Unveiling the Mandelbrot set.

    Then I got my Plus co-editor Marianne involved, and she was less forgiving...

    Marianne: Can any even number bigger than two be written as the sum of two primes?
    118118: Every even number bigger than 2 can be written as a sum of two
    primes. Thank you.
    Marianne: But that's wrong!
    118118: 2 is the only even prime.
    Marianne: But that's got nothing to do with the question.
    118118: Every even number bigger than 2 can be written as a sum of two primes.
    Marianne: Still wrong.
    118118: No charge. Please direct any questions to our customer service
    department.
    Verdict: It was a bit harsh asking 118118 an unproven conjecture. The Goldbach conjecture postulates that all even number greater than 4 can be written as the sum of two odd primes. To read more about the Goldbach conjecture, see the Plus article Mathematical mysteries: the Goldbach conjecture.

    Finally, a couple of big questions.

    Marc
    : Can science disprove God?
    118118: It's a personal decision for you to make. Everything was "created", therefore decide if you believe it was by someone, some being or a metaphysical force.
    Verdict: Nice answer!

    And an even bigger one...


    Should you have sex the night before a big sporting event? (see map)

    Yes - Good for your performance:
    (32%)
    No - Bad for your performance:
    (25%)
    I'll take it when I can get it:
    (24%)
    Only if you're married:
    (5%)
    Makes absolutely no difference to your performance:
    (15%)
    Total Votes: 199
    Powered by Blog Flux Polls

    Marc: Should you have sex before sport?
    118118: Various studies have been carried out to examine the possibility that intercourse before a sporting event drains an athlete of their physical ability.
    Verdict: Well, not an answer. So let us turn to readers of this site, and as you can see, 32% of voters say sex before sport is good for your performance and 24% will take it when they can get it, whilst 25% think it is bad for performance and 15% think it makes no difference. Only 5% thought you should be married. So from our poll, you definitely should have sex before sport, even just to get it when you can.


    Listen here:






    Wednesday, 2 July 2008

    Pi appears in crop circle, Mr Science appears in cliff face

    If we are to believe the latest signs from outer space, the local aliens are keen mathematicians.

    A new crop circle appeared on the 1st of June this year in a barley field near Barbury Castle in Wiltshire, England, measuring 150 feet in diameter and correctly representing the first 10 digits of the irrational constant pi.

    If you look at figure, you will notice that the grooves in the circle spiral outwards with steps at various points along the way. You can see that these steps occur at particular angles — the circle is divided into 10 equal segments of 36 degrees each. Starting at the centre, you can see that the first section is 3 segments wide. Then there is a step and underneath this step is a small circle. This is the decimal point. The next section is 1 segment wide and then there is another step. The following section is 4 segments wide, and so on until the final number encoded is 3.141592654. Michael Reed, the astrophysicist who first decoded the image, is quoted on earthfiles.com as saying:

    "The fact that the Pi decimal point is included and there is rounding up to 10 decimal places is to me a little mind boggling!"

    The location of the new Pi crop circle is 51.488258 degrees north, 1.771964 west, but unfortunately it has not yet appeared on Google maps.

    This latest crop circle has appeared on the eve of the new X-files movie I want to believe and has created quite a storm amongst crop circle enthusiasts. Lucy Pringle, a crop circle researcher, was quoted in The Scotsman as finding it hard to believe such an intricate crop circle could have been created by humans, and whilst there was rain the night before it appeared, there was no mud inside the formation.

    "You can do it on a computer, but you try putting that in a field in the middle of the night and achieving that degree of mathematical accuracy."

    Pringle's theory is that crop circles are created by a spiralling electromagnetic force that hits the ground for a nanosecond.

    Local councillor Stewart Dobson said: "It's hard to believe somebody managed to work (the design) out so it shows pi so accurately. It's either a very educated person who has done it or a very educated alien." I think that an alien capable of making it millions of light years across the Universe to visit us is more than likely to have some understanding of pi...

    The mysterious Mr Science rock carving of BrazilIt is not the first time mathematics has appeared in a crop circle. Indeed, whether it's the nerdy nature of crop circle fraudsters, or because aliens choose maths as a method of communication because of its fundamental role in the Universe, mathematical patterns are fairly common. One of the best-known mathematical crop circles appeared in the form of the Julia set 12 years ago, again in Wiltshire, near Stone Henge.

    For the latest buzz on this crop circle, and to have a peek at all the theories regarding it, see crop circle connector. And whatever caused these mathematical imprints on the face of the Earth, always remember, the truth is out there.

    It reminds me of the mysterious alien Mr Science rock carving of Brazil. Some things are just not meant to be understood.

    Friday, 20 June 2008

    Exhibition Design, where art and science meet

    Exhibition design is not a career that the mathematically inclined tend to think about, let alone pursue.

    Barry Phipps is the first interdisciplinary fellow with the Kettle's Yard gallery in Cambridge, funded by the Newton Trust. His remit is to develop projects of an interdisciplinary nature, to find the common ground between things.

    I wrote a career interview with Barry in issue 47 of Plus. In this article, and the accompanying podcast, I talk to Barry about breaking down the barriers between artists and scientists and creating greater dialogue because, as Barry says, science and art are intrinsically related at the centre, and there is no stepping away from one to be another.

    Read the full interview in Plus.

    Listen here:






    Tuesday, 3 June 2008

    Economists, oil, cricket and correlation

    One of my bug bears, and something that I am increasingly aware of editing a maths magazine, is the bad use of maths to prove a point, particularly regarding cause and effect.

    Yesterday, I was reading The Independent on Sunday, not a newspaper usually prone to sensationalist journalism and easily my favourite UK newspaper (there is not all that much competition, it doesn't have breasts on page 3).

    Hamish McRae writes on economics, is a very well respected economist and a fine writer, and writes with some insight. He was writing on the current rise in oil prices, and presented a graph of the oil price between 2000 and 2008. On this graph, the Nasdaq technology index between 1992 and 2000 was also plotted. It showed a startling similarity between the two, and at first glance you would think that oil prices are due for a crash, just like the dot-com burst of 2000.

    Now, I don't believe that McRae was trying to be misleading at all - he was simply making the point that markets often overshoot in the way that they price things. However, thanks to the way the page was edited, a casual observer would read this page and predict an oil price crash.

    Of course, the problem is that not only does the graph present different time frames and so different market conditions, but oil and technology stocks are completely unrelated. You could never use the Nasdaq to predict oil prices, a comparison is completely spurious. We all need energy, but we don't all need technology shares. They make look similar, but there is no cause and effect and the factors underlying the pricing are completely different.

    So, I thought to myself, what else could we plot against oil price. Let's check out the Australian Cricket Team's Test winning percentage averaged over its last 40 games between 1982 and 2004.

    It's all cricket's fault

    As you can see, the correlation is remarkable! So, when you fill up this week and notice the latest price rise, you can blame Allan Border, Mark Taylor and Steve Waugh for improving the results of the Aussie Test Team! By the way, the data are completely real - make it for yourself at Cricinfo.

    Economists are prone to this kind of thing - not the insightful ones, like Hamish McRae, but those without mathematical understanding. Books about how economics explains everything in our lives are a dime a dozen these days, from the very good ones like Freakonomics, to others I have had the misfortune of reviewing. They are prone to interesting ideas, like how the greedy free market will solve global warming, to how economic growth is good for all, both the poor and the rich. Did you hear the one about the two economists who paid each other $10000 to eat a poo sandwich? The GDP of each economist went up by $10000. Yes, economic growth is always a good thing.... Buy me a beer, I'll go on for days with my half-baked economic theories!

    I will write a more thorough story on this over at Plus soon.

    Saturday, 24 May 2008

    The science of Eurovision

    It is one of my favourite times of year, and I'm not even European.

    The Eurovision Song Contest to Australians is a strange mix of bad 80's music, songs about "joy", "love" and "unity" (it's a good drinking game to take a shot every time one of those words are said), amazingly good looking hosts with amusing English skills, scantily dressed Eastern Europeans and reality TV winners from Western Europe. For the first time in my life, living in the UK I get a chance to vote for the winner and watch it live instead of having to ignore radio reports (of course it's all over the news) till the Sydney Sunday evening replay.

    The voting of Eurovision is a complex interaction of politics and voting blocks. Each country votes in a popular vote, in which they can not vote for themselves, and each country has equal voting power. The voting is often based on politics and the whole system is a complex interaction of objects (countries) who interact with each other by giving each other points. A statistical analysis of the system can then give some insight in the nature of the interactions. For example, it can show whether certain countries form cliques that always vote similarly, or whether a country's voting is "in tune" with that of the whole group.

    A team of Oxford scientists recently performed statistical tests on data from between 1992 and 2003 to uncover what is behind the voting. The team simulated a "random song contest", in which each country assigns its points randomly to 10 other countries, and compared these results to the actual data.

    One of their tests looked at voting relationships over time. If, for example, country A gives and/or receives points from another country B over a long period of time, then we can deduce that in some way the musical tastes of the two countries are related. Carrying out the same analysis between country A and all other countries in turn will show whether country A thinks the same as the rest of Europe.

    Another test observes the number of countries to which a given country A has awarded points and from which it has also received points. If a country has many such "reciprocal links", then one might deduce that its musical taste harmonises well with that of Europe in general. They also tested whether the ways countries voted could be correlated with each other. They looked at whether two countries that have both received and/or awarded points to a third country are likely to give or receive points from each other.

    And the results? The UK is in tune with the rest of Europe, while France is a slight outsider. The cliques that were uncovered were Greece and Cyprus, the UK and Ireland, and the Nordic countries. Also, more surprising pairings such as Croatia and Malta, which are not geographically close, were found.

    Read more in the Plus article United Kingdom - twelve points, and don't forget to vote!

    Listen to this show here (with small, less than 10%, Eurovision music clips - yes I own some Eurovision albums....)

    Thursday, 22 May 2008

    Creating your own podcast

    Here is something I put together for The Helix about creating podcasts - hopefully it will be of use here too!

    ......

    Want the world to hear what you have to say? In this world of Web 2.0, one of the best ways for your voice to be heard is with your very own podcast.

    If you're unfamiliar with podcasts, think of them as prerecorded radio shows that you can download and listen to at any time. You can also create video podcasts. You don't need to be a corporation, professional broadcaster or have a sound studio to release a podcast. Some of the most successful podcasts are those by people recording on their own computer from the privacy of their own home. All you need is a computer, an Internet connection and a microphone.

    The first, most obvious, thing you need is a topic to talk about. The biggest challenge for any podcaster is to produce something others will want to listen to. That's why people often podcast about topics in which they have a particular expertise, interest or passion. Have a browse around the Internet and see what others have done and where you can contribute. Many people also use podcasting as a way of building up a catelogue of recordings for their resume – like writing a blog.

    Technical Side of Podcasting

    A podcast is a media file that is distributed by subscription (paid or unpaid) over the Internet using syndication feeds. You can play them back on mobile devices such as your ipod or mobile phone, or on your personal computer.

    The first step in creating your very own podcast is to make an audio file. To do this, you need something with which you can record and edit sounds.

    Creating an audio file

    The best programs with which to start making your audio files are Audacity (on mac and PC) and Garage Band (on mac). Both these products are simple to use, and most importantly, free! Most podcasts that are available for download on the Internet are created using these products. Both allow you to record your own voice as well as having multiple tracks – so you can have music playing behind your voice and you can mix two tracks together to create professional sounding audio effects.

    • Garage Band comes pre-installed on modern macs, but if you have a slightly older computer, there are many products you can use;
    • Audacity can be downloaded for PC.

    If you want to spend some money, you can buy professional sound editing suites such as Sony SoundForge (PC) and Pro Tools (mac). These suites have a lot of functions that most podcasters do not need. However, as you would expect from something you can pay hundreds of dollars for, they are very good!

    Once you are finished recording and editing, you need to create an mp3 file. Mp3 is the ubiquitous file format for distributing audio on the Internet. It is a compressed audio format, and the amount that you compress your file is important. Choose a “bit rate” of 128 kbps – this is a good compromise between file size and audio quality. You may get away with 64 kbps if your podcast is just voice, and the file will be half the size. Choose mono sound as well.

    Equipment

    Apart from an Internet connection and a computer, you will need speakers and a microphone. There can be some difference in quality between microphones. Some PCs and many macs come with them in-built, and whilst these are good for speaking to your friends over the Internet, the quality may not be quite good enough for a podcast. For our purposes, there are two choices.

    • The cheapest option is a dynamic microphone. These are rugged and good with loud sounds. You can pick one up for as little as $10.
    • A more expensive option is a condensor microphone. These need to be powered by batteries, but in general they sound a lot better for voice and are less noisey. Prices start around $80 but you can pay into the thousands for a very very good one.
    The more you pay, the better sound you get. For podcasters starting out, a dynamic microphone will be OK, but condensor microphones are better when interviewing people and when there is a noisey background.

    Creating a Video File

    You may be interested in not only sharing your thoughts, but also your images. To create video podcasts, you need some video editing software. Macs come with iMovie, whilst many PCs come with Adobe Premiere – although, if it came with your computer, it is most likely the cut-down free version. Both these programs allow you to edit together videos taken on your camera or downloaded from the net. You can also create an audio commentary.

    If you want to spend lots of money, Final Cut Pro is the industry standard.

    You need to export to the mp4 format. Like mp3, this is a compressed file. If your video editing suite does not export to mp4, the Simplified Universal Player Encoder & Renderer is a fantastic free tool that converts almost any file format to any other.

    Music – create your own or find some free stuff

    Copyright is important; make sure you use copyright free music. If you want to include music in your recording but don't have original tunes lying around, then go to websites such as Royalty Free Music and Trackline where you'll find hundreds of songs you can buy and use. Or for free stuff try Podsafe Audio, Magnatune or Podshow.

    You can also find thousands of up and coming bands on myspace that will be more than happy for you to sample their music. Garage Band comes with many inbuilt sound effects and tunes that are all royalty free, so you may notice that many podcasts contain the same sounds and theme music.

    I've never got a straight answer on how much of a commercial song you can include in a podcast before breaching copyright - many people say less than 10% and in that case the music should be relevant to the topic. Our little podcast was a bit naughty in the beginning, but we're sticking to copyright free music or less than 10% of relevant commercial songs now!

    How to turn an audio file into a podcast?

    Now you have your recordings and videos, you need to get them up onto the Internet for other people to download – you will need your own homepage or blog. There are many places on the web that offer free homepages. One good place to start is Blogger.

    You will also need to upload your podcast somewhere. If you don't have your own web hosting, you can try Ourmedia or Podbean which are free, or Libsyn which has minimal cost but allows you to upload more files than the free options. Podbean and Libsyn also let you blog, so are very options all round.

    Once you have your own blog and have uploaded your podcast, write a post in your new blog and link to the audio / video file. In blogger, you add this link as an enclosure (directly underneath the subject heading when you are writing the blog). Podbean and Libsyn do this automatically.

    You’re almost there….

    The critical part of this process is creating something called an RSS (Really Simple Syndication) feed. The feed is what is read and updated by whatever product you use to download podcasts. Most blogs automatically generate an RSS feed, or you can get one by setting up a FeedBurner account. Sign up, then tell FeedBurner your blog address, and you’re there! FeedBurner lets you modify your feed however you like – for example, you may add a picture so that people who view your feed always see this image (perhaps your album cover or a picture of yourself). It also gives you stats on subscribers - you can see how many people subscribe to this feed in the sidebar.

    Submitting to Podcast Directories

    At this stage, you should submit your podcast to the iTunes store. To do this, download iTunes if you haven’t already, install it and click on iTunes music store, then click podcasts and submit a podcast. Type in your RSS feed address, and they will (hopefully) list it for you within a few days.

    It doesn't cost anything to be listed in the large, well-known directories. Some great ones include Podcast Alley and Podcast Directory.

    Playing Podcasts

    Most people will download your podcast with iTunes. Another product quickly becoming popular is the Juice Cross Platform Podcast Reciever. Or you can just download them in Firefox or Internet Explorer.

    If you sign up with Feedburner, its free stats section will tell you how many times your files are downloaded, how many people are listening and lots of other cool bits of information like what type of product is downloading it (iTunes, Juice…) and what sort of computers (PC, mac…)

    Good Luck!

    For other podcasting tips, such as how to present your podcast, the best thing to do is download other podcasts and see how they do it. One interesting thing you can do is interview people over the internet using Skype. Or you could buy a portable recorder and interview people in the field.

    Happy podcasting!

    Wednesday, 21 May 2008

    More maths in the movies

    Maths in the movies is obviously in vogue these days.

    This video comes from Triple J and is a nice summation of how maths has been used as a tool for plot development over the years.








    Thanks to Marc Fennell, the host of the show, for the permissions. He's a good bloke!

    Tuesday, 20 May 2008

    Biofuels debate - The UK Report in The Helix

    Here is another UK report I wrote for The Helix, Australia's premier science education magazine since 1986.

    UK Biofuel Debate:

    The UK has embarked on an audacious new scheme to lessen the country’s fossil-fuel dependency and to minimise climate change. But not everyone is in favour.

    From April 15, all petrol and diesel sold in UK pumps must contain at least 2.5% biofuel. The target is set to rise to 5% by 2010, with the motive to make Britain's 33 million vehicles greener. But critics argue that the benefits from the scheme may be outweighed by the negative effects of biofuel production, which results in forest clearing, the loss of habitat, and may indeed speed up climate change.

    Biofuels are made from renewable biological sources such as sugar cane or maize, and can have advantages over traditional fossil fuel sources as, when they are burnt, they only release the carbon dioxide they absorbed from the atmosphere during their lifetime. In contrast, fossil fuels release massive quantities of carbon locked out of the Earth’s carbon cycle for millions of years.

    Whilst burning biofuels adds less carbon to the atmosphere than burning fossil fuels, biofuels require extensive land clearing. This could involve cutting down established forests that absorb much more carbon dioxide than the newly planted biofuel crops. Additional carbon dioxide may escape from the soil or peat, where it was trapped by the roots of trees.

    Researchers at the University of Minnesota published a study in February arguing that converting Brazilian, Southeast Asian and US rainforests, peatlands, savannas, and grasslands to produce biofuels will release 17 to 420 times more carbon dioxide than the fossil fuels they replace.

    Apart from the climate change implications, there may be catastrophic conservation consequences for not only virgin forests, but also animal species. In South America, sugar cane production for biofuels has wiped out the habitat of the large Alagoas curassow, making it extinct.

    The other major problem with the move towards biofuels is food security. Poorer countries are now switching land previously used to grow food crops to more profitable biofuel crops. The UK, which sources much of its produce from overseas, has already seen food prices rise.

    Motor Neuron Disease Breakthrough - The UK Report in The Helix

    Since living in the UK, I have been reporting in a regular column in The Helix. The Helix is one of CSIRO's magazines and has been Australia's premier science education magazine since 1986.

    The column deals with the science stories that have been featured in the UK media. I have written about some of them here on the blog - for example the UK Wi-Fi scandal.

    Here is a story I wrote about breakthroughs in Motor Neuron Disease research:

    British and Australian scientists have made an incredible breakthrough in the understanding of motor-neuron disease.

    The international effort between King's College London and the ANZAC Research Institute at Sydney's Concord Hospital has identified an inherited genetic mutation believed to be associated with the underlying source of the crippling condition.

    Motor-neuron disease is caused by the death of nerves cells – motor neurons – that connect the spinal cord and brain with muscles. 2 in every 100,000 people develop the condition each year, with life expectancy after onset between 2 and 5 years. One notable exception is Professor Stephen Hawking, who has remarkably lived with the disease for 45 years.

    The research suggests that a genetic abnormality produces a toxic protein known as TDP-43. Sufferers of the condition were previously known to have high levels of the protein in dying nerve cells, but it was thought this was caused by the damaged cells trying to repair themselves. Now however, the researchers think that it is the protein itself doing the damage.

    Lead researcher Professor Chris Shaw from Kings College says that this is the most significant breakthrough in motor-neuron disease research in 15 years, however considers a cure a long way off.

    "It is a new biological tool to understand the disease and develop treatments… However, a cure for any neurological disease is a long way off. It's really hard to say how far off it is, but this is certainly a major leap forward in that direction."

    Tuesday, 13 May 2008

    The Enigma Machine

    The Enigma machine was once considered unbreakable, and the cracking of the "unbreakable code" by the allies changed the course of World War 2. This week on the podcast we talk to Nadia Baker from the Enigma Project about the history of codes and code-breaking, why the Enigma machine was considered unbreakable, the mathematics behind codes, and how it was finally cracked. The Enigma Project travels all over the United Kingdom and abroad, visiting over 100 schools and organisations, reaching over 12,000 people of all ages every year.

    Listen to this show here.

    You can read more on the Enigma Machine in this Plus article.
    Coincidentally, I did the same course in Science Communication as Nadia, just a few years apart. Funny to meet up in Cambridge!

    Thursday, 1 May 2008

    Maths in the Movies

    Much of my recent work has been involved with understanding the maths used in movie production and in how mathematics and mathematicians are portrayed on film.

    I recently attended the mathematics film festival Film3 — maths at the movies at the Edinburgh International Science Festival, and Plus Magazine (where I work) is running a series of stories on maths in the movies in conjunction with this.

    I am also running a video conference on the topic with the Motivate program. Motivate runs real-time video-conferences for schools, providing maths, science and cross-curricular information and linked projects for students of all ages (5-19) both in the UK and internationally. In my session, we are investigating some of the maths we find in movies such as A Beautiful Mind and Pi, and also some of the maths used to create movies, such as in Lord of the Rings and Shrek. This involves such things as coordinate and vector geometry and complex numbers. If you are a student or teacher and are interested in getting involved with this, see the program’s website.

    This week's podcast is a sneak peak at some of this maths / movies content. In this show, I interview the director of the Edinburgh maths film festival, Madeleine Shepherd, over a couple of drinks after the screening of the film Pi - listen to this podcast here.

    The season of mathematical movies was created by the International Centre for Mathematical Sciences and Filmhouse Cinema to showcase three very different independent films. Each film is based around a mathematical concept, but also provides an element of social commentary.

    The season opened with the UK premiere of the highly acclaimed animation, Flatland the Film. Based on the 1889 novel by Edwin A. Abbot, the film tackles issues revolving around race, gender, religion and globalisation. Mr A. Square is an average middle-class Flatlander until enlightenment allows him to see his world from a different dimension. He discovers that Flatland is threatened by forces it cannot possibly recognise. Will he be able to save his family and his world?

    Pi explores the life and experiences of Max, a gifted mathematician who believes that everything in the Universe can be expressed mathematically. He becomes obsessed with finding the underlying pattern behind the stock market, but religious and commercial groups try to exploit his research. Can he pass through this philosophical maelstrom and survive unscathed?

    The final film, Cube investigates the relationships between six apparently unconnected individuals who wake up inside a three-dimensional maze of interlocking cubes. Developing mutual trust is the key to survival as they are forced to collaborate on cracking the code behind the Cube's mechanism. How many will escape to discover the bigger mystery that lies outside their existentialist prison?

    You can read more about maths in the movies in the Plus and Mr Science articles: And it seems Hollywood has finally figured out what we've all known for a while: that maths is sexy.

    Actor John Hurt believes maths has become "sexy". Hurt stars as a maths professor in the new film The Oxford Murders. In the film, Hurt and a graduate student played by Elijah Wood discover a series of murders linked by mathematical symbols.

    Hurt told the BBC World Service that: "I think there is something that has brought maths to the fore. I think probably because we live in a world with so many lies, and so much lack of truth, that it has become quite sexy to think of the one thing we have which is the only language that is truthful. There's no way of disproving that two plus two equals four, and therefore, take that to the ultimate, much more complicated areas, and you're dealing with something which is truthful."

    NASA is looking after us

    One of the weirdest news releases recently comes from NASA, who are thankfully maintaining that the world is still safe from asteroids for the time being, despite the calculations of a young German student.

    The Near-Earth Object Program Office at NASA's Jet Propulsion Laboratory has not changed its current estimates for the very low probability (1 in 45,000) of an Earth impact by the asteroid Apophis in 2036.

    Contrary to recent press reports, NASA offices involved in near-Earth object research were not contacted and have had no correspondence with a young German student, who claims the Apophis impact probability is far higher than the current estimate.

    This student's conclusion reportedly is based on the possibility of a collision with an artificial satellite during the asteroid's close approach in April 2029. However, the asteroid will not pass near the main belt of geosynchronous satellites in 2029, and the chance of a collision with a satellite is exceedingly remote.

    Therefore, consideration of this satellite collision scenario does not affect the current impact probability estimate for Apophis, which remains at 1 in 45,000.

    This information is adapted from a NASA press release.

    Saturday, 26 April 2008

    Iceland in G Magazine

    This travel/science article of mine about Iceland was recently published in G Magazine, the world's only monthly environmental publication.

    Read the article here.
    And you can read more on this site on Iceland in this Iceland article and in this Iceland video.

    Many of my photos of Iceland can be found here.

    Plastic paper protects Morrisons Mushrooms

    Recycling can be a difficult business, and big grocery stores don't make it easy. Whilst I can just about understand the Health and Safety reasons for wrapping up every vegetable in the fearful UK, there are some things that are just plain confounding. For instance, the following information given on my mushroom bag:

    This packaging can not be recycled. But because we care about the environment we are working on it.

    Clearly, Morrisons has not quite caught onto that not-so-modern concept of paper packaging. The ancient Egyptians used it, many other stores use it, but not Morrisons. For some unfathomable reason, they put a thin sliver of plastic in the bag, presumably so you can keep an eye on your mushrooms, just to make sure they are safe.

    This really is one of the strangest things I have seen, but at least "they are working on it". Who knows what this involves. Perhaps a collaboration with the high-end scientists who came up with The Seven Signs of Aging.