第1章集合
1.4 Set Operations with Two Sets1.4 2つの集合の演算

Figure 1.18図1.18
A large, multigenerational family contains an intersection and a union of sets. (credit: “Family Photo Shoot Bani Syakur” by Mainur Risyada/Flickr, CC BY 2.0)
英語のヒント
何世代もの大家族には、集合の共通部分と和集合がある。(出典:Mainur Risyada/Flickr の “Family Photo Shoot Bani Syakur”、CC BY 2.0)
Learning Objectives学習目標
After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
- Determine the intersection of two sets.
英語のヒント
2つの集合の共通部分を求める。 - Determine the union of two sets.
英語のヒント
2つの集合の和集合を求める。 - Determine the cardinality of the union of two sets.
英語のヒント
2つの集合の和集合の濃度を求める。 - Apply the concepts of AND and OR to set operations.
英語のヒント
「かつ(AND)」と「または(OR)」の考え方を集合の演算に当てはめる。 - Draw conclusions from Venn diagrams with two sets.
英語のヒント
2つの集合のベン図から結論を引き出す。
The movie Yours, Mine, and Ours was originally released in 1968 and starred Lucille Ball and Henry Fonda. This movie, which is loosely based on a true story, is about the marriage of Helen, a widow with eight children, and Frank, a widower with ten children, who then have an additional child together. The movie is a comedy that plays on the interpersonal and organizational struggles of feeding, bathing, and clothing twenty people in one household.
英語のヒント
映画『合併結婚』(原題 Yours, Mine, and Ours)は1968年に公開され、ルシル・ボールとヘンリー・フォンダが主演した。実話をゆるやかにもとにしたこの映画は、8人の子を持つ未亡人ヘレンと、10人の子を持つ男やもめフランクが結婚し、さらに2人のあいだに子が1人生まれる話である。この映画は、一つの家で20人に食べさせ、風呂に入れ、服を着せるという、人間関係とやりくりの苦労を題材にした喜劇である。
If we consider the set of Helen's children and the set of Frank's children, then the child they had together is the intersection of these two sets, and the collection of all their children combined is the union of these two sets. In this section, we will explore the operations of union and intersection as it relates to two sets.
英語のヒント
ヘレンの子の集合とフランクの子の集合を考えると、2人のあいだに生まれた子はこの2つの集合の共通部分であり、2人の子すべてを合わせた集まりはこの2つの集合の和集合である。この節では、2つの集合にかかわる和集合と共通部分の演算を探る。
The Intersection of Two Sets2つの集合の共通部分
The members that the two sets share in common are included in the intersection of two sets. To be in the intersection of two sets, an element must be in both the first set and the second set. In this way, the intersection of two sets is a logical AND statement. Symbolically, intersection is written as: . intersection is written in set builder notation as: .
英語のヒント
2つの集合が共通に持つ要素は、2つの集合の共通部分に含まれる。2つの集合の共通部分に入るには、要素は1つ目の集合と2つ目の集合の両方に入っていなければならない。この意味で、2つの集合の共通部分は論理の「かつ(AND)」の文である。記号では、との共通部分をと書く。との共通部分は、内包的記法でと書く。
Let us look at Helen's and Frank's children from the movie Yours, Mine, and Ours. Helen's children consist of the set and Frank's children are included in the set . intersection is the set of children they had together. , because Joseph is in both set and set .
英語のヒント
映画『合併結婚』のヘレンとフランクの子を見てみよう。ヘレンの子は集合からなり、フランクの子は集合に含まれる。との共通部分は、2人のあいだに生まれた子の集合である。ジョセフは集合と集合の両方に入っているので、である。
Example 1.23例題 1.23
Finding the Intersection of Set and Set 集合と集合の共通部分を求める
Set and Find intersection
英語のヒント
集合とがある。との共通部分を求めよ。
Solution解答
The intersection of sets and include the elements that set and have in common: 3, 5, and 7.
英語のヒント
集合との共通部分は、集合とが共通に持つ要素3、5、7を含む。
Notice that if sets and are disjoint sets, then they do not share any elements in common, and intersection is the empty set, as shown in the Venn diagram below.
英語のヒント
集合とが互いに素な集合ならば、共通の要素を一つも持たないので、下のベン図に示すように、との共通部分は空集合であることに注意しよう。

Figure 1.19図1.19
Example 1.24例題 1.24
Determining the Intersection of Disjoint Sets互いに素な集合の共通部分を求める
Set and set Find
英語のヒント
集合と集合がある。を求めよ。
Solution解答
Because sets and are disjoint, they do not share any elements in common. So, the intersection of set and set is the empty set.
英語のヒント
集合とは互いに素なので、共通の要素を一つも持たない。よって、集合と集合の共通部分は空集合である。
Notice that if set is a subset of set , then intersection is equal to set , as shown in the Venn diagram below.
英語のヒント
集合が集合の部分集合ならば、下のベン図に示すように、との共通部分は集合に等しいことに注意しよう。

Figure 1.20図1.20
Example 1.25例題 1.25
Finding the Intersection of a Set and a Subset集合とその部分集合の共通部分を求める
Set and set Find
英語のヒント
集合と集合がある。を求めよ。
Solution解答
Because set is a subset of set , intersection is equal to set . the set of odd natural numbers.
英語のヒント
集合は集合の部分集合なので、との共通部分は集合に等しい。これは奇数の自然数の集合である。
The Union of Two Sets2つの集合の和集合
Like the union of two families in marriage, the union of two sets includes all the members of the first set and all the members of the second set. To be in the union of two sets, an element must be in the first set, the second set, or both. In this way, the union of two sets is a logical inclusive OR statement. Symbolically, union is written as: union is written in set builder notation as:
英語のヒント
結婚による2つの家族の結びつきと同じように、2つの集合の和集合は、1つ目の集合のすべての要素と2つ目の集合のすべての要素を含む。2つの集合の和集合に入るには、要素は1つ目の集合か2つ目の集合、またはその両方に入っていなければならない。この意味で、2つの集合の和集合は、論理の両立的な「または(OR)」の文である。記号では、との和集合をと書く。との和集合は、内包的記法でと書く。
Let us consider the sets of Helen's and Frank's children from the movie Yours, Mine, and Ours again. Helen's children is set and Frank's children is set . The union of these two sets is the collection of all nineteen of their children,
Notice, Joseph is in both set and set , but he is only one child, so, he is only listed once in the union.
Notice, Joseph is in both set and set , but he is only one child, so, he is only listed once in the union.
英語のヒント
映画『合併結婚』のヘレンとフランクの子の集合をもう一度考えよう。ヘレンの子は集合、フランクの子は集合である。この2つの集合の和集合は、2人の19人の子すべての集まりである。ジョセフは集合と集合の両方に入っているが、子としては1人なので、和集合には1回だけ書かれることに注意しよう。
Example 1.26例題 1.26
Finding the Union of Sets and When and Overlapとが重なるときの集合との和集合を求める
Set and set . Find union .
英語のヒント
集合と集合がある。との和集合を求めよ。
Solution解答
union is the set formed by including all the unique elements in set , set , or both sets and : The first five elements of the union are the five unique elements in set . Even though 3, 5, and 7 are also members of set , these elements are only listed one time. Lastly, set includes the unique element 2, so 2 is also included as part of the union of sets and .
英語のヒント
との和集合は、集合、集合、または集合との両方に入っている異なる要素をすべて含めてできる集合である。 和集合の最初の5つの要素は、集合にある5つの異なる要素である。3、5、7は集合の要素でもあるが、これらの要素は1回だけ書く。最後に、集合には固有の要素2があるので、2も集合との和集合の一部として含める。
When observing the union of sets and , notice that both set and set are subsets of union . Graphically, union can be represented in several different ways depending on the members that they have in common. If and are disjoint sets, then union would be represented with two disjoint circles within the universal set, as shown in the Venn diagram below.
英語のヒント
集合との和集合を見ると、集合も集合もとの和集合の部分集合であることに気づく。図では、との和集合は、共通に持つ要素によっていくつかの違った形で表せる。とが互いに素な集合ならば、下のベン図に示すように、との和集合は全体集合の中の互いに素な2つの円で表される。

Figure 1.21図1.21
If sets and share some, but not all, members in common, then the Venn diagram is drawn as two separate circles that overlap.
英語のヒント
集合とが、すべてではないがいくつかの要素を共通に持つならば、ベン図は重なり合う2つの別々の円で描く。

Figure 1.22図1.22
If every member of set is also a member of set , then is a subset of set , and union would be equal to set . To draw the Venn diagram, the circle representing set should be completely enclosed in the circle containing set .
英語のヒント
集合のどの要素も集合の要素ならば、は集合の部分集合であり、との和集合は集合に等しい。ベン図を描くには、集合を表す円が、集合を含む円の中にすっぽり収まるようにする。

Figure 1.23図1.23
Example 1.27例題 1.27
Finding the Union of Sets and When and Are Disjointとが互いに素なときの集合との和集合を求める
Set and set Find
英語のヒント
集合と集合がある。を求めよ。
Solution解答
Because sets and are disjoint, the union is simply the set containing all the elements in both set and set .
英語のヒント
集合とは互いに素なので、和集合は単に、集合と集合のすべての要素を含む集合である。
Example 1.28例題 1.28
Finding the Union of Sets and When One Set is a Subset of the Other一方の集合がもう一方の部分集合であるときの集合との和集合を求める
Set and set Find
英語のヒント
集合と集合がある。を求めよ。
Solution解答
Because set is a subset of set , union is equal to set .
英語のヒント
集合は集合の部分集合なので、との和集合は集合に等しい。
Determining the Cardinality of Two Sets2つの集合の濃度を求める
The cardinality of the union of two sets is the total number of elements in the set. Symbolically the cardinality of union is written, . If two sets and are disjoint, the cardinality of union is the sum of the cardinality of set and the cardinality of set . If the two sets intersect, then intersection is a subset of both set and set . This means that if we add the cardinality of set and set , we will have added the number of elements in intersection twice, so we must then subtract it once as shown in the formula that follows.
英語のヒント
2つの集合の和集合の濃度は、その集合の要素の総数である。記号では、との和集合の濃度をと書く。2つの集合とが互いに素ならば、との和集合の濃度は、集合の濃度と集合の濃度の和である。2つの集合が交わるならば、との共通部分は集合と集合の両方の部分集合である。つまり、集合と集合の濃度を足すと、との共通部分の要素の個数を2回足したことになるので、次の式に示すように、1回引かなければならない。
Example 1.29例題 1.29
Determining the Cardinality of the Union of Two Sets2つの集合の和集合の濃度を求める
The number of elements in set is 10, the number of elements in set is 20, and the number of elements in intersection is 4. Find the number of elements in union .
英語のヒント
集合の要素の個数は10、集合の要素の個数は20、との共通部分の要素の個数は4である。との和集合の要素の個数を求めよ。
Solution解答
Using the formula for determining the cardinality of the union of two sets, we can say
英語のヒント
2つの集合の和集合の濃度を求める式を使うと、
Example 1.30例題 1.30
Determining the Cardinality of the Union of Two Disjoint Sets互いに素な2つの集合の和集合の濃度を求める
If and are disjoint sets and the cardinality of set is 37 and the cardinality of set is 43, find the cardinality of union .
英語のヒント
とが互いに素な集合で、集合の濃度が37、集合の濃度が43のとき、との和集合の濃度を求めよ。
Solution解答
To find the cardinality of union , apply the formula, Because sets and are disjoint, is the empty set, therefore and
英語のヒント
との和集合の濃度を求めるには、式を当てはめる。集合とは互いに素なので、は空集合であり、したがってかつ
Applying Concepts of “AND” and “OR” to Set Operations「かつ(AND)」と「または(OR)」の考え方を集合の演算に当てはめる
To become a licensed driver, you must pass some form of written test and a road test, along with several other requirements depending on your age. To keep this example simple, let us focus on the road test and the written test. If you pass the written test but fail the road test, you will not receive your license. If you fail the written test, you will not be allowed to take the road test and you will not receive a license to drive. To receive a driver's license, you must pass the written test AND the road test. For an “AND” statement to be true, both conditions that make up the statement must be true. Similarly, the intersection of two sets and is the set of elements that are in both set and set . To be a member of intersection , an element must be in set and also must be in set . The intersection of two sets corresponds to a logical "AND" statement.
英語のヒント
運転免許を取るには、年齢に応じたほかのいくつかの条件に加えて、何らかの筆記試験と路上試験に合格しなければならない。この例を簡単にするため、路上試験と筆記試験に絞って考えよう。筆記試験に合格しても路上試験に落ちれば、免許はもらえない。筆記試験に落ちれば、路上試験を受けさせてもらえず、運転免許はもらえない。運転免許をもらうには、筆記試験「かつ」路上試験に合格しなければならない。「かつ」の文が真であるには、その文を作る2つの条件がどちらも真でなければならない。同じように、2つの集合との共通部分は、集合と集合の両方に入っている要素の集合である。との共通部分の要素であるには、要素は集合に入っていて、しかも集合にも入っていなければならない。2つの集合の共通部分は、論理の「かつ」の文に対応する。
The union of two sets is a logical inclusive "OR" statement. Say you are at a birthday party and the host offers Leah, Lenny, Maya, and you some cake or ice cream for dessert. Leah asks for cake, Lenny accepts both cake and ice cream, Maya turns down both, and you choose only ice cream. Leah, Lenny, and you are all having dessert. The “OR” statement is true if at least one of the components is true. Maya is the only one who did not have cake or ice cream; therefore, she did not have dessert and the “OR” statement is false. To be in the union of two sets and , an element must be in set or set or both set and set .
英語のヒント
2つの集合の和集合は、論理の両立的な「または」の文である。誕生日のパーティーで、主催者がリア、レニー、マヤ、そしてあなたに、デザートとしてケーキかアイスクリームを勧めたとしよう。リアはケーキを頼み、レニーはケーキとアイスクリームの両方をもらい、マヤはどちらも断り、あなたはアイスクリームだけを選ぶ。リア、レニー、あなたは皆デザートを食べている。「または」の文は、構成要素の少なくとも一つが真ならば真である。ケーキもアイスクリームも食べなかったのはマヤだけである。したがって、マヤはデザートを食べておらず、「または」の文は偽である。2つの集合との和集合に入るには、要素は集合か集合、または集合と集合の両方に入っていなければならない。
Example 1.31例題 1.31
Applying the "AND" or "OR" Operation「かつ」または「または」の演算を当てはめる
and
英語のヒント
と
Find the set consisting of elements in:
英語のヒント
次のものに入っている要素からなる集合を求めよ。
Solution解答
- because only the elements 0 and 12 are members of both set and set .
英語のヒント
集合と集合の両方の要素であるのは要素0と12だけなので、 - because the set or is the collection of all elements in set or set , or both.
英語のヒント
集合またはは、集合か集合、またはその両方に入っているすべての要素の集まりなので、 - because the set or is the collection of all elements in set or set , or both.
英語のヒント
集合またはは、集合か集合、またはその両方に入っているすべての要素の集まりなので、 - Parentheses are evaluated first: because the only member that both set and set share in common is 8. So, now we need to find Because the word translates to the union operation, the problem becomes which is equal to
英語のヒント
括弧の中を先に計算する。集合と集合の両方が共通に持つ要素は8だけなので、 そこで次にを求める必要がある。「または」という語は和集合の演算に置き換わるので、問題はとなり、これはに等しい。
Example 1.32例題 1.32
Determine and Apply the Appropriate Set Operations to Solve the Problemふさわしい集合の演算を決めて当てはめ、問題を解く
Don Woods is serving cake and ice cream at his Juneteenth celebration. The party has a total of 54 guests in attendance. Suppose 30 guests requested cake, 20 guests asked for ice cream, and 12 guests did not have either cake or ice cream.
英語のヒント
ドン・ウッズは、ジューンティーンスの祝いでケーキとアイスクリームを出している。パーティーには全部で54人の客が来ている。30人の客がケーキを頼み、20人の客がアイスクリームを頼み、12人の客はケーキもアイスクリームも食べなかったとする。
- How many guests had cake or ice cream?
英語のヒント
ケーキまたはアイスクリームを食べた客は何人か。 - How many guests had cake and ice cream?
英語のヒント
ケーキとアイスクリームの両方を食べた客は何人か。
Solution解答
- The total number of people at the party is 54, and 12 people did not have cake or ice cream. Recall that the total number of elements in the universal set is always equal to the number of elements in a subset plus the number of elements in the complement of the set, That means , or equivalently, A total of 42 people at the party had cake or ice cream.
英語のヒント
パーティーにいる人の総数は54で、12人はケーキもアイスクリームも食べなかった。全体集合の要素の総数は、いつでも部分集合の要素の個数とその集合の補集合の要素の個数の和に等しいのだった。 つまり、言いかえると パーティーで全部で42人がケーキまたはアイスクリームを食べた。 - To determine the number of people who had both cake and ice cream, we need to find the intersection of the set of people who had cake and the set of people who had ice cream. From Question 1, the number of people who had cake or ice cream is 42. This is the union of the two sets. The formula for the union of two sets is Use the information given in the problem and substitute the known values into the formula to solve for the number of people in the intersection: Adding 30 and 20, the equation simplifies to Which means
英語のヒント
ケーキとアイスクリームの両方を食べた人の数を求めるには、ケーキを食べた人の集合とアイスクリームを食べた人の集合の共通部分を求める必要がある。問い1から、ケーキまたはアイスクリームを食べた人の数は42である。これは2つの集合の和集合である。2つの集合の和集合の式は 問題で与えられた情報を使い、わかっている値を式に代入して、共通部分の人数を求める。 30と20を足すと、式はと簡単になる。つまり
Drawing Conclusions from a Venn Diagram with Two Sets2つの集合のベン図から結論を引き出す
All Venn diagrams will display the relationships between the sets, such as subset, intersecting, and/or disjoint. In addition to displaying the relationship between the two sets, there are two main additional details that Venn diagrams can include: the individual members of the sets or the cardinality of each disjoint subset of the universal set.
英語のヒント
どのベン図も、部分集合、交わる、互いに素など、集合どうしの関係を示す。2つの集合の関係を示すのに加えて、ベン図に含められる主な詳しい情報が2つある。集合の一つ一つの要素と、全体集合の互いに素な各部分の濃度である。
A Venn diagram with two subsets will partition the universal set into 3 or 4 sections depending on whether they are disjoint or intersecting sets. Recall that the complement of set , written is the set of all elements in the universal set that are not in set
英語のヒント
2つの部分集合を持つベン図は、それらが互いに素な集合か交わる集合かによって、全体集合を3つか4つの区画に分ける。集合の補集合はと書き、全体集合の要素のうち集合にないものすべての集合であったことを思い出そう。

Figure 1.25図1.25
Side-by-side Venn diagrams with disjoint and intersecting sets, respectively.
英語のヒント
互いに素な集合と交わる集合のベン図を、それぞれ並べたもの。
Example 1.33例題 1.33
Using a Venn Diagram to Draw Conclusions about Set Membershipベン図を使って集合の要素についての結論を引き出す

Figure 1.26図1.26
- Find
英語のヒント
を求めよ。 - Find
英語のヒント
を求めよ。 - Find .
英語のヒント
を求めよ。 - Find
英語のヒント
を求めよ。
Solution解答
- because union is the collection of all elements in set or set or both.
英語のヒント
との和集合は、集合か集合、またはその両方に入っているすべての要素の集まりなので、 - Because and are disjoint sets, there are no elements that are in both and . Therefore, intersection is the empty set,
英語のヒント
とは互いに素な集合なので、との両方に入っている要素はない。したがって、との共通部分は空集合である。 - The complement of set is the set of all elements in the universal set that are not in set :
英語のヒント
集合の補集合は、全体集合の要素のうち集合にないものすべての集合である。 - The cardinality, or number of elements in set
英語のヒント
集合の濃度、すなわち要素の個数
Example 1.34例題 1.34
Using a Venn Diagram to Draw Conclusions about Set Cardinalityベン図を使って集合の濃度についての結論を引き出す

Figure 1.27図1.27
Venn diagram with two intersecting sets and number of elements in each section indicated.
英語のヒント
交わる2つの集合と、各区画の要素の個数を示したベン図。
- Find
英語のヒント
を求めよ。 - Find
英語のヒント
を求めよ。 - Find
英語のヒント
を求めよ。
Solution解答
- The number of elements in or is the number of elements in union :
英語のヒント
またはの要素の個数は、との和集合の要素の個数である。 - The number of elements in and is the number of elements in intersection :
英語のヒント
かつの要素の個数は、との共通部分の要素の個数である。 - The number of elements in set is the sum of all the numbers enclosed in the circle representing set :
英語のヒント
集合の要素の個数は、集合を表す円の中にあるすべての数の和である。