But something strange happens if the animals keep practising these actions beyond the point at which they have effectively learnt them - they seem to “forget” about the specific effects of each action. After this “overtraining”, you feed the animal food before the experiment and they keep on pressing the lever to produce food, regardless of the fact that they have just been fed. The rat has developed a habit, something it does just because it the opportunity is there, without thinking about the outcome.
Sound like anyone we know? To a psychologist, lots of human rituals look a lot like the automatic behaviours developed by Skinner's pigeons or Dickinson's rats. Chunks of behaviour that do not truly have an effect on the world, but which get stuck in our repertoire of actions.
And when the stakes are high – such as with sports – there is even more pressure on our brains to “capture” whatever behaviours might be important for success. Some rituals can help a sportsperson to relax and get “in the zone” as part of a well-established routine before and during a big game. But some of the habits you see put my kettle boiling routine to shame. Tiger Woods always wears red the last day of a golf tournament, because he says it is his “power colour”. In baseball, Wade Boggs claimed he hit better if he ate chicken the night before. Soccer’s Kolo Toure once missed the start of the second half because refused to come out – superstition dictated he had to be the last player to re-emerge from the dressing room, but on that occasion he was stuck there waiting for a stricken teammate to finish treatment.
We cling to these habits because we – or ancient animal parts of our brains – do not want to risk finding out what happens if we change. The rituals survive despite seeming irrational because they are coded in parts of our brains, which are designed by evolution not to think about reasons. They just repeat what seemed to work last time. This explains why having personal rituals is a normal part of being human. It is part of our inheritance as intelligent animals, a strategy that works in the long-term, even though it clearly does not make sense for every individual act.
If you would like to comment on this story or anything else you have seen on Future, head over to our Facebook page or message us on Twitter.