A martingale is a class of betting strategies that originated from and were popular in 18th-century France. The simplest of these strategies was designed for a game in which the gambler wins the stake if a coin comes up heads and loses if it comes up tails. The strategy had the gambler double the bet after every loss, so that the first win would recover all previous losses plus win a profit equal to the original stake. Thus, the strategy bears similarities to the St. Petersburg paradox.
The martingale strategy has also been applied to roulette, as the probability of hitting either red or black is close to 50%.
Intuitive analysis
The fundamental reason why all martingale-type betting systems fail is that no amount of information about the results of past bets can be used to predict the results of a future bet with accuracy better than chance. In mathematical terminology, this corresponds to the assumption that the win–loss outcomes of each bet are independent and identically distributed random variables, an assumption which is valid in many realistic situations. It follows from this assumption that the expected value of a series of bets is equal to the sum, over all bets that could potentially occur in the series, of the expected value of a potential bet times the probability that the player will make that bet. In most casino games, the expected value of any individual bet is negative, so the sum of many negative numbers will also always be negative.
The martingale strategy fails even with unbounded stopping time, as long as there is a limit on earnings or on the bets (which is also true in practice). It is only with unbounded wealth, bets and time that it could be argued that the martingale becomes a winning strategy.
Mathematical analysis
The impossibility of winning over the long run, given a limit of the size of bets or a limit in the size of one's bankroll or line of credit, is proven by the optional stopping theorem. This intuitive belief is sometimes referred to as the representativeness heuristic.
Anti-martingale
In a classic martingale betting style, gamblers increase bets after each loss in hopes that an eventual win will recover all previous losses. The anti-martingale approach, also known as the reverse martingale, instead increases bets after wins, while reducing them after a loss. The perception is that the gambler will benefit from a winning streak or a "hot hand", while reducing losses while "cold" or otherwise having a losing streak. However, in practice the anti-martingale system fails to generate a profit.
