Skip to main content
Navigate back to homepage
Open search bar.
Open main navigation menu

Main navigation

  • Study
    UCL Portico statue
    Study at UCL

    Being a student at UCL is about so much more than just acquiring knowledge. Studying here gives you the opportunity to realise your potential as an individual, and the skills and tools to thrive.

    • Undergraduate courses
    • Graduate courses
    • Short courses
    • Study abroad
    • Centre for Languages & International Education
  • Research
    Tree-of-Life-MehmetDavrandi-UCL-EastmanDentalInstitute-042_2017-18-800x500-withborder (1)
    Research at UCL

    Find out more about what makes UCL research world-leading, how to access UCL expertise, and teams in the Office of the Vice-Provost (Research, Innovation and Global Engagement).

    • Engage with us
    • Explore our Research
    • Initiatives and networks
    • Research news
  • Engage
    UCL Print room
    Engage with UCL

    Discover the many ways you can connect with UCL, and how we work with industry, government and not-for-profit organisations to tackle tough challenges.

    • Alumni
    • Business partnerships and collaboration
    • Global engagement
    • News and Media relations
    • Public Policy
    • Schools and priority groups
    • Visit us
  • About
    UCL welcome quad
    About UCL

    Founded in 1826 in the heart of London, UCL is London's leading multidisciplinary university, with more than 16,000 staff and 50,000 students from 150 different countries.

    • Who we are
    • Faculties
    • Governance
    • President and Provost
    • Strategy
  • Active parent page: Mathematical & Physical Sciences
    • About
    • Study
    • Research
    • Departments
    • Active parent page: News and events
    • Innovation & Enterprise
    • Contacts

A formula for cheating at dice

2d DICE

Breadcrumb trail

  • Mathematical & Physical Sciences
  • News and events

Faculty menu

  • Current page: News
  • Events
A selection of two-dimensional dice used in the experiment (the long white plastic bars), two dreidels (one fair, one biased), one fair die and a wooden cuboid that represents a biased 3D die. All but the biased 3D die are now well understood. Photo: O. Usher (UCL MAPS)

A perfectly fair die has one chance in six of landing on each side when it is rolled. But load the dice by making some of the edges longer than others, and the probabilities suddenly become more complicated. In fact, nobody has ever produced a comprehensive theory of the probabilities of such a biased die landing on any given face - a challenge for physicists, as well as for anyone who might want to cheat a casino.

New research by Martin Uhrin and George Pender, PhD students in UCL Physics & Astronomy, represents a major step forward in understanding the behaviour of biased dice. They have developed the first comprehensive mathematical model that deals with this problem in two dimensions. In so doing, they have solved part of a problem which has puzzled scientists for centuries, and which is even mentioned in the writings of Isaac Newton.

"I dropped a length of pine onto the floor and it landed on its narrower, less probable, side," Pender says. "My wife innocently exclaimed, 'Huh. What was the chance of that?'; a question she may later have come to regret after tallying the outcome of the ten thousandth test roll with planks of various side ratios."

The chance of a die landing on any given side is not as simple as measuring the size of the faces and assuming that the chance of it settling on that side is proportional to its dimensions. A thrown die will bounce and roll along a surface until it eventually comes to a stop, but how many times it bounces, and what face it settles on depends on a number of factors that need to be broken down.

Uhrin and Pender analysed all the stages in the motion of a die using a type of flow-chart known to scientists as a Markov Chain. In their analysis, the energy state of the die is calculated at each stage of its motion, determining what will happen next. Each time the die hits the surface, it loses a little energy, and if it falls below a certain threshold (the amount of energy necessary to make the die bounce high enough to tip onto another face), it will stop and settle on that face. Alternatively, if it has enough energy, it will bounce up and run through the flow-chart again.

Based on their analysis, Pender and Uhrin proposed a simple formula (see notes) for determining which face a two dimensional die is likely to land on. A two dimensional die, in this context, is one in which one of the dimensions is so long that the die cannot land on that end, leaving only four faces available - which substantially simplifies the mathematics involved. The object itself is three dimensional - a long rectangular cuboid similar in proportions to a Mars bar. A common real manifestation of a "2D die" is the dreidel, a traditional four-sided Jewish spinning toy.

dreidel

Dreidel Photo: O. Usher (UCL MAPS)

Even small changes in the dimensions of a die, their equation suggests, can make a significant difference: for instance lengthening one side by just 1 per cent, an almost invisibly small amount, can increase the chances of it landing on either of the two enlarged faces by around 2% - enough to get a serious advantage in a game.

After coming up with the theory they tested the formula's predictions with biased dice of various different dimensions, which they produced in a 3D printer at UCL's Institute of Making. Pender's wife, Katy, helped record the results of 16,300 throws of these "dice", each time logging which face they landed on.

Uhrin, a former video games programmer, used specialised software to simulate a further million throws of the dice. The software, known as the Bullet Engine, is used in computer games such as Grand Theft Auto and Hollywood special effects (including the disaster movie 2012) to produce realistic simulations of collisions and falling objects, thanks to its accurate reproduction of Newton's laws of motion.

"Together, the remarkable consistency between theory, experiment and simulation, acts as a big vote of confidence for the Bullet Engine and its ability to reproduce the laws of nature accurately," Uhrin says.

The only noticeable differences between theory and experiment came from the type of surface the die was thrown on.

This means that Pender and Uhrin's formula can be used for two-dimensional dice of any size to predict their properties, based only on their dimensions - something which has not been possible up until now.

Moving from four-faced (two dimensional) dice, to six-faced (three dimensional) dice, like those used in most games, is a big step and the mathematical form of Pender and Uhrin's model is such that it can't be simply extended into 3D.

"It may be that, with a little imagination, our theory could be extended to three dimensions," says Pender, "but it's also possible that, in three dimensions, the final state probabilities depend on the way it is thrown, such as the direction of its initial spin axis."

Notes

  • The research is published in the European Journal of Physics, in an article entitled "Predicting non-square 2D dice probabilities"
  • The ratio of probabilites for a 2D die (the probability of it landing on one side divided by the probability of it landing on the other) is expressed by the formula:

maps1420-formula

(where k and l are the dimensions of the cross-section of the die)

Related links

    • Paper in the European Journal of Physics
    • UCL Physics & Astronomy

    High-resolution image

    • Download image in full resolution
    • View image on Flickr

    This image can be reproduced freely providing the source is credited

    Science contact

    George Pender
    UCL Physics & Astronomy
    george.pender.10@ucl.ac.uk

    Martin Uhrin
    UCL Physics & Astronomy
    martin.uhrin.10@ucl.ac.uk

    Media contact

    Oli Usher
    UCL Faculty of Mathematical and Physical Sciences
    020 7679 7964
    o.usher@ucl.ac.uk

    MAPS Newsletters

    The MAPS Faculty Focus is published monthly and contains news, updates, and opportunities for MAPS staff.

    Newsletter Archive

    Open Days

    UCL Undergraduate Open Day


    The Faculty participates in a number of open days throughout the academic year, including the UCL Undergraduate Open Days and the UCL Graduate Open Day.

    Register your interest

    Out@UCL

    Friends of Out@UCL

    Professor Ivan Parkin - Dean, UCL Faculty of Mathematical and Physical Sciences
    "I fully support the aims of the Friends of Out@UCL campaign. I have personal experience of the need for such a campaign and the difficulties that the LGBTQ+ community face." Read more...

    Snapshots from Space History

    Space history photo (for index right)

    Link

    Online exhibition of historic space photos from the faculty's planetary science archives.

    See the photos

    • Twitter
    • Facebook
    • YouTube
    • Instagram

    UCL footer

    Visit

    • Bloomsbury Theatre and Studio
    • Library, Museums and Collections
    • UCL Maps
    • UCL Shop
    • Contact UCL

    Students

    • Accommodation
    • Current Students
    • Moodle
    • Students' Union

    Staff

    • Inside UCL
    • Staff Intranet
    • Work at UCL
    • Human Resources

    UCL social media menu

    • Link to Instagram
    • Link to Flickr
    • Link to Youtube
    • Link to TikTok
    • Link to Facebook
    • Link to Twitter
    • Link to Soundcloud

    University College London, Gower Street, London, WC1E 6BT

    Tel: +44 (0) 20 7679 2000

    © 2025 UCL

    Essential

    • Disclaimer
    • Freedom of Information
    • Accessibility
    • Cookies
    • Privacy
    • Slavery statement
    • Log in