House Profits in Negative Edge Games

This is a simulation of gambling profits with plots of the profits or losses of individual gamblers along with a density plot of all the gambling together. The gambling consists of successive independent plays to win one unit ($1 for instance) with probability and lose one unit with probability , where ranges from 0.5 down to 0.3, reflecting the negative edge of casino games. The plot also includes a heavy line for the expectation stake of a player after n plays, simply , where is the player's initial bankroll. The gambler is busted and play ends when his stake is exhausted.
Charting shows the perspective of the house where player losses are colored green (as house profits). Also the simulation shows the efficacy of the house odds with in the range of 0.4 to just under 0.5. In this range the gamblers mostly lose money (so the house profits consistently) while most gamblers stay in the game for dozens of plays, with not too many bust. Likewise many common casino games have win probabilities in this range.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The selections for length of run are kept relatively short to reflect a casino gambling session. In a casino building players might play for a period of time of a few hours and the house's daily profits depend on the outcomes of these sessions. Since play at most games is a significant fraction of a minute this simulation is intended to reflect the outcome for casual players who play for about an hour. Typical odds must assure the house adequate profits with an ensemble of such players.
The bankroll reflects a typical number of units (dollar value of minimum bet) that a player has in cash entering the casino. 20 is a typical number and a short list in the setter bar, 1, 5, 20, 50, gives a few to choose from. A more detailed study of bankrolling could be done by adding to these choices.
Also as the final thumbnail shows, odds that are too steep on the house's side have a peril too. Much below 0.4 the rate of going bust rises quickly and takes players out of the game.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+