プリンキピア

第7章確率

7.1 The Multiplication Rule for Counting7.1 数え上げの積の法則

Close up of a hand lifting two playing cards at a poker table.
Figure 7.2図7.2
The Multiplication Rule for Counting allows us to compute more complicated probabilities, like drawing two aces from a deck. (credit: “Pair of Aces – Poker” by Poker Photos/Flickr, CC BY 2.0)
英語のヒント
数え上げの積の法則を使うと、山札から2枚のエースを引くような、もっと複雑な確率を計算できる。(出典:Poker Photos/Flickr の “Pair of Aces – Poker”、CC BY 2.0)

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Apply the Multiplication Rule for Counting to solve problems.
    英語のヒント
    数え上げの積の法則を当てはめて問題を解く。
One of the first bits of mathematical knowledge children learn is how to count objects by pointing to them in turn and saying: “one, two, three, …” That’s a useful skill, but when the number of things that we need to count grows large, that method becomes onerous (or, for very large numbers, impossible for humans to accomplish in a typical human lifespan). So, mathematicians have developed short cuts to counting big numbers. These techniques fall under the mathematical discipline of combinatorics, which is devoted to counting.
英語のヒント
子どもが最初に学ぶ数学の知識の1つは、物を順に指さして「1、2、3、…」と言って数える方法である。これは役に立つ技能だが、数える必要があるものの数が大きくなると、その方法はわずらわしくなる(とても大きな数では、ふつうの人間の一生のうちにやりとげることが不可能になる)。そこで、数学者は大きな数を数える近道を作ってきた。これらの技法は、数えることに捧げられた数学の分野である組み合わせ論に入る。

Multiplication as a Combinatorial Short Cut組み合わせの近道としての掛け算

One of the first combinatorial short cuts to counting students learn in school has to do with areas of rectangles. If we have a set of objects to be counted that can be physically arranged into a rectangular shape, then we can use multiplication to do the counting for us. Consider this set of objects (Figure 7.3):
英語のヒント
学生が学校で最初に学ぶ、数えることの組み合わせの近道の1つは、長方形の面積に関係がある。数える物の集まりを物理的に長方形に並べられるなら、掛け算を使って数えられる。次の物の集まりを考えよう(図7.3):
A group of beach balls arranged in 1 long row.
Figure 7.3図7.3
Certainly we can count them by pointing and running through the numbers, but it’s more efficient to group them (Figure 7.4).
英語のヒント
もちろん、指さして数を順に言って数えることもできるが、グループに分けるほうが効率がよい(図7.4)。
A group of beach balls arranged in 4 rows of 6 balls.
Figure 7.4図7.4
If we group the balls by 4s, we see that we have 6 groups (or, we can see this arrangement as 4 groups of 6 balls). Since multiplication is repeated addition (i.e., 6×4=4+4+4+4+4+4), we can use this grouping to quickly see that there are 24 balls.
英語のヒント
玉を4個ずつのグループに分けると、6つのグループがあることがわかる(または、この並びを6個の玉の4つのグループと見ることもできる)。掛け算は足し算の繰り返し(つまり6×4=4+4+4+4+4+4)なので、このグループ分けを使って、玉が24個あることがすばやくわかる。
Let’s generalize this idea a little bit. Let’s say that we’re visiting a bakery that offers customized cupcakes. For the cake, we have three choices: vanilla, chocolate, and strawberry. Each cupcake can be topped with one of four types of frosting: vanilla, chocolate, lemon, and strawberry. How many different cupcake combinations are possible? We can think of laying out all the possibilities in a grid, with cake choices defining the rows and frosting choices defining the columns (Figure 7.5).
英語のヒント
この考えを少し一般化しよう。自分好みのカップケーキを出すパン屋を訪れているとする。ケーキには、バニラ、チョコレート、イチゴの3つの選択肢がある。それぞれのカップケーキには、バニラ、チョコレート、レモン、イチゴの4種類のフロスティングのどれかをのせられる。カップケーキの異なる組み合わせは何通り可能か。ケーキの選択肢を行に、フロスティングの選択肢を列にして、すべての可能性を格子に並べることを考えられる(図7.5)。
A rectangular grid with 3 rows and 4 columns. The row headers representing the cakes show vanilla, chocolate, and strawberry. The column headers representing the frostings show vanilla, chocolate, lemon, and strawberry. Data from the grid are as follows. Row 1: vanilla cake with vanilla frosting, vanilla cake with chocolate frosting, vanilla cake with lemon frosting, and vanilla cake with strawberry frosting. Row 2: chocolate cake with vanilla frosting, chocolate cake with chocolate frosting, chocolate cake with lemon frosting, and chocolate cake with strawberry frosting. Row 3: strawberry cake with vanilla frosting, strawberry cake with chocolate frosting, strawberry cake with lemon frosting, and strawberry cake with strawberry frosting.
Figure 7.5図7.5
Since there are 3 rows (cakes) and 4 columns (frostings), we have 3×4=12 possible combinations. This is the reasoning behind the Multiplication Rule for Counting, which is also known as the Fundamental Counting Principle. This rule says that if there are n ways to accomplish one task and m ways to accomplish a second task, then there are n×m ways to accomplish both tasks. We can tack on additional tasks by multiplying the number of ways to accomplish those tasks to our previous product.
英語のヒント
行(ケーキ)が3つ、列(フロスティング)が4つあるので、3×4=12通りの組み合わせが可能である。これが数え上げの積の法則の背後にある考えで、この法則は数え上げの基本原理とも呼ばれる。この法則は、1つの作業をする方法がn通り、2つ目の作業をする方法がm通りあるなら、両方の作業をする方法はn×m通りある、というものである。さらに作業を加えるには、それらの作業をする方法の数を前の積にかければよい。
Example 7.1例題 7.1

Using the Multiplication Rule for Counting数え上げの積の法則を使う

Every card in a standard deck of cards has two identifying characteristics: a suit (clubs, diamonds, hearts, or spades; these are indicated by these symbols, respectively: ♣, ♢, ♡, ♠) and a rank (ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, jack, queen, and king; the letters A, J, Q, and K are used to represent the words). Each possible pair of suit and rank appears exactly once in the deck. How many cards are in the standard deck?
英語のヒント
標準のトランプの山札のどのカードにも、2つの見分ける特徴がある。スート(クラブ、ダイヤ、ハート、スペードで、それぞれ記号♣、♢、♡、♠で示される)と、ランク(エース、2、3、4、5、6、7、8、9、10、ジャック、クイーン、キングで、言葉を表すのに文字A、J、Q、Kが使われる)である。スートとランクのありうる組はどれも山札にちょうど1回ずつ現れる。標準の山札には何枚のカードがあるか。
Solution解答
Since there are 4 suits and 13 ranks, the number of cards must be 4×13=52 (Figure 7.6).
英語のヒント
スートが4つ、ランクが13あるので、カードの枚数は4×13=52でなければならない(図7.6)。
A deck of playing cards sorted by suit into 4 groups. Each group is arranged from largest to smallest value.
Figure 7.6図7.6
Standard Deck of Cards, Sorted by Rank and Suit (credit: "Playing Cards, USS Arkansas" by Naval History & Heritage Command/Flickr, CC BY 2.0)
英語のヒント
ランクとスートで並べた標準のトランプの山札(出典:Naval History & Heritage Command/Flickr の “Playing Cards, USS Arkansas”、CC BY 2.0)
Example 7.2例題 7.2

Using the Multiplication Rule for Counting for 4 Groups4つのグループに数え上げの積の法則を使う

The University Combinatorics Club has 31 members: 8 seniors, 7 juniors, 5 sophomores, and 11 first-years. How many possible 4-person committees can be formed by selecting 1 member from each class?
英語のヒント
大学の組み合わせ論クラブには31人の部員がいる。4年生8人、3年生7人、2年生5人、1年生11人である。それぞれの学年から1人ずつ選んで、4人の委員会は何通り作れるか。
Solution解答
Since we have 8 choices for the senior, 7 choices for the junior, 5 for the sophomore, and 11 for the first-year, there are 8×7×5×11=3,080 different ways to fill out the committee.
英語のヒント
4年生の選択肢が8、3年生の選択肢が7、2年生が5、1年生が11あるので、委員会を埋める方法は8×7×5×11=3,080通りある。
Example 7.3例題 7.3

Using the Multiplication Rule for Counting for More Groupsもっと多くのグループに数え上げの積の法則を使う

The standard license plates for vehicles in a certain state consist of 6 characters: 3 letters followed by 3 digits. There are 26 letters in the alphabet and 10 digits (0 through 9) to choose from. How many license plates can be made using this format?
英語のヒント
ある州の車の標準のナンバープレートは、6文字でできている。3つの文字のあとに3つの数字が続く。アルファベットは26文字、数字は(0から9までの)10個から選ぶ。この形式を使うと、ナンバープレートは何通り作れるか。
Solution解答
Since there are 26 different letters and 10 different digits, the total number of possible license plates is 26×26×26×10×10×10=17,576,000.
英語のヒント
異なる文字が26、異なる数字が10あるので、可能なナンバープレートの合計の数は26×26×26×10×10×10=17,576,000である。