Rule of Product Applied to Decks of Cards

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

If there are ways to do and ways to do no matter what the result was for , then the number of ways to do both and is .

[more]

In this Demonstration, is the result of drawing a card of a given suit and is the result of drawing a card of a given value (1, 2, 3, …, J, Q, K, A). The suit of the card drawn has no influence on its value, so the product rule applies.

Here is another example (not shown in the graphic). How many ways are there of first drawing a red card and then drawing a spade (♠)? The two sets are reds and spades; they are distinct because a spade is black. There are 26 ways to draw a red card and 13 ways to draw a spade, so the number of possible ways to draw a red card and then a spade is .

[less]

Contributed by: S. M. Blinder (July 2018)
Open content licensed under CC BY-NC-SA


Snapshots


Details

The product rule generalizes when there are more than two kinds of results, as long as they are pairwise independent. So .

Reference

[2] Wikipedia. "Rule of Product." (Jun 4, 2018) en.wikipedia.org/wiki/Rule_of_product.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send