Skip to main content

Card Counting

  • Chapter
  • First Online:
Risk and Reward
  • 1545 Accesses

Abstract

The analysis in Chap. 7 of Optimal Basic Strategy considered only the round immediately following a shuffle, so that the first card drawn had value j with likelihood d 0(j). But for subsequent rounds, deeper into the pack, the distribution of the remaining cards varies and so do the likelihoods d(j).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  • Griffin, Peter A., “The Theory of Blackjack", Huntington Press, 6th edition, 1999

    Google Scholar 

  • Shores, Thomas S., “Applied Linear Algebra and Matrix Analysis”, Springer 2007

    Book  MATH  Google Scholar 

  • Thorp, Edward O., “Does Basic Strategy Have the Same Expectation for Each Round?”, in Vancura, O., J.A. Cornelius, and W.R. Eadington (eds.), “Finding the Edge: Mathematical Analysis of Casino Games”, University of Nevada, Reno, 2000

    Google Scholar 

  • Vancura, Olaf, and Ken Fuchs, “Knock-Out Blackjack", Huntington Press, 1998

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to N. Richard Werthamer Dr. .

1 Appendix 1 Asymptotic Distribution of Card Likelihoods

Equation (8.1), exhibited at the start of this chapter, should be recognizable to those familiar with discrete probabilities; but its asymptotic limit (8.2) may be less familiar, so the derivation is worth outlining. For compactness we use d j 0 and d j here rather than d 0(j) and d(j) as in the text body; and we set \({d}_{j} \equiv {d}_{j}^{0}(1 + {\varepsilon }_{j})\).

If the number of cards of each value is considered large, ν j > > 1, then each factorial in (8.1) can be replaced by its asymptotic Stirling approximation, \(n! \approx \sqrt{2\pi n}\,{(n\left /e\right.)}^{n}\); Stirling is within 2% of correct even for n as small as 4, and the error diminishes rapidly as n increases. After considerable manipulation, (8.1) can then be written as the distribution of likelihoods d,

$$\begin{array}{rcl} p(\hat{M}\mathbf{d})& & = \delta ( \sum _{j}{d}_{j}^{0}{\varepsilon }_{ j},0)\sqrt{ \frac{2\pi (52D )f\tilde{f}} {\prod \limits_{j}\left [2\pi {\nu }_{j}(\tilde{f} +\tilde{ f}{\varepsilon }_{j})(f -\tilde{ f}{\varepsilon }_{j})\right ]}} \\ & & \qquad \times \exp \left [ \sum _{j}{\nu }_{j}\Phi ({\varepsilon }_{j})\right ], \end{array}$$
(8.34)
with the further notation \(\tilde{f} \equiv 1 - f\) and
$$\Phi (\varepsilon ) \equiv \ln \left [ \frac{{f}^{f}{(\tilde{f})}^{\tilde{f}}} {{(\tilde{f} +\tilde{ f}\varepsilon )}^{\tilde{f}+\tilde{f}\varepsilon }{(f -\tilde{ f}\varepsilon )}^{f-\tilde{f}\varepsilon }}\right ].$$
(8.35)

In the asymptotic limit, the otherwise discrete variables d become quasi-continuous: the expected value of a function of d, which in the discrete case sums the function over the distribution \(p(\hat{M}\mathbf{d})\), becomes an integration over d. Also, the Kronecker delta converts to a Dirac delta. Furthermore, within that integration the exponential part of (8.34) is mostly very small, since ν j is very large and Φ can be shown to be nonpositive. Thus, it is asymptotically valid for each d j integral to focus on the integration range near ɛ j = 0, where Φ(0) = 0: we replace Φ and the square root in (8.34) by the lowest nonvanishing term in their Taylor series about ɛ j = 0. In particular, \(\Phi ({\varepsilon }_{j}) \approx -\tilde{f}\,{\varepsilon }_{j}^{2}/2f\). The process described here for taking the asymptotic limit is typically called the Method of Stationary Phase.

To complete the derivation, rescaling is needed for the conversion of the ten discrete sums to continuous integrations (over the range extended to − < d < + ), and from the Kronecker to Dirac delta functions. Also, bring back the parameter \(\Delta \equiv \sqrt{f/52D\tilde{f}}\) and restore the original variables via the reverse substitution to \({\varepsilon }_{j} = ({d}_{j} - {d}_{j}^{0})/{d}_{j}^{0}.\). Then the asymptotic limit of (8.34) becomes just the form (8.2), QED.

2 Appendix 2 Eigenmodes

In matrix algebra, an n ×n dimensional real symmetric matrix M i, j = M j, i is said to have eigenvectors e i μ, where 1 ≤ μ ≤ n, if ∑ j M i, j e j μ = m μ e i μ is satisfied for each μ; m μ is termed the corresponding eigenvalue. If the eigenvectors are also chosen to be orthonormal, \(\sum _{j=1}^{n}{e}_{j}^{\mu }{e}_{j}^{\nu } = \delta (\mu ,\nu )\), then the matrix M can be represented in terms of its eigenmodes as \({M}_{i,j} = \sum _{\mu =1}^{n}{m}_{\mu }{e}_{i}^{\mu }{e}_{j}^{\mu }\). For a fuller exposition see Shores (2007).

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Werthamer, N.R. (2009). Card Counting. In: Risk and Reward. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-0253-5_8

Download citation

Publish with us

Policies and ethics