A professor has won £2.3m for applying complex maths to simple situations – like stirring tea.