markdown
集合と集合演算-基本演習md 7fd7da5
exercise/math/discrete-math/sets-and-set-operations.exercise.n.md

集合しゅうごうsetと集合演算しゅうごうえんざんset operation-基本演習きほんえんしゅう

date2026-07-14document_iddoc_96a890c7e1dd237df35db262bb4d6980description集合の元、部分集合、集合演算、集合族、濃度の基本を、定義に戻って確認する基本演習である。prerequisites集合の基本 / 集合演算と包含関係 / 集合族と添字集合 / 集合の濃度と可算性type問題演習content_typeexercisestatusactiverelateddata/lecture/math/discrete-math/set-basics.lecture.n.md / data/lecture/math/discrete-math/set-operations-and-inclusion.lecture.n.md / data/lecture/math/discrete-math/families-of-sets-and-index-sets.lecture.n.md / data/lecture/math/discrete-math/cardinality-and-countability.lecture.n.md / data/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md
mathdiscrete-mathexerciseset
data/lecture/math/discrete-math/set-basics.lecture.n.md data/lecture/math/discrete-math/set-operations-and-inclusion.lecture.n.md data/lecture/math/discrete-math/families-of-sets-and-index-sets.lecture.n.md data/lecture/math/discrete-math/cardinality-and-countability.lecture.n.md

Sets集合しゅうごう and set operations集合演算しゅうごうえんざん - basic exercises

data/lecture/math/discrete-math/set-basics.lecture.n.md data/lecture/math/discrete-math/set-operations-and-inclusion.lecture.n.md data/lecture/math/discrete-math/families-of-sets-and-index-sets.lecture.n.md data/lecture/math/discrete-math/cardinality-and-countability.lecture.n.md

1演習えんしゅう方針ほうしん

集合しゅうごうsetの問題もんだいでは、図ずで予想よそうしてよいが、解答かいとうでは x∈A の条件じょうけんに戻もどる。包含ほうがんinclusionは「任意にんいの元げんelement」から始はじめ、集合しゅうごうsetの等式とうしきは両側りょうがわの包含ほうがんinclusionで示しめす。

Venn図ずVenn diagramは方針ほうしんを立たてる補助ほじょであり、証明しょうめいそのものではない。等式とうしきでは左ひだりから右みぎ、右みぎから左ひだりの両方向りょうほうこうを示しめし、失敗しっぱいを示しめるときは条件じょうけんを破やぶる反例はんれいcounterexampleを挙あげる。


1Exercise method

In problems about sets集合しゅうごう, a diagram may help you guess, but the answer should return to the condition x∈A. An inclusion包含ほうがん proof begins with an arbitrary element元げん, and a set equality is proved by inclusions in both directions.


2問題もんだい 1

A={1,2,3}、B={3,2,1,1} とする。A=B であることを説明せつめいせよ。

2Problem 1

Let A={1,2,3} and B={3,2,1,1}. Explain why A=B.

2.1解答かいとう

集合しゅうごうsetでは順序じゅんじょと重複ちょうふくを記録きろくしない。A の元げんelementは 1,2,3 であり、B の元げんelementも 1,2,3 である。したがって任意にんいの x について x∈A⟺x∈B が成立せいりつするので、外延性がいえんせいextensionalityより A=B である。

2.1Answer

A set集合しゅうごう does not record order or repetition. The elements元げん of A are 1,2,3, and the elements of B are also 1,2,3. Therefore, for every x,

x∈A⟺x∈B,

so A=B by extensionality外延性がいえんせい.

2.2解説かいせつ

この問題もんだいは、集合しゅうごうsetの同一性どういつせいが表示ひょうじの仕方しかたではなく元げんelementの一致いっちで決きまることを確認かくにんしている。

2.2Explanation

This problem checks that the identity of a set is determined by equality of elements, not by the way the set is displayed.

2.3よくある誤あやまり

書かき出だしたリストの並ならび順じゅんや重複ちょうふくが違ちがうから別べつの集合しゅうごうsetだと判断はんだんする誤あやまりである。


2.3Common mistake

A common mistake is to decide that the sets are different because the order or repetition in the written lists is different.


3問題もんだい 2

全体集合ぜんたいしゅうごうuniversal setを U={1,2,3,4,5} とし、A={1,2,3}、B={3,4} とする。A∪B、A∩B、A∖B、Ac を求もとめよ。

3Problem 2

Let the universal set全体集合ぜんたいしゅうごう be U={1,2,3,4,5}, and let A={1,2,3} and B={3,4}. Find A∪B, A∩B, A∖B, and Ac.

3.1解答かいとう

和集合わしゅうごうunionは少すくなくとも一方いっぽうに属ぞくする元げんelementの集合しゅうごうなので、A∪B={1,2,3,4} である。

共通部分きょうつうぶぶんintersectionは両方りょうほうに属ぞくする元げんelementの集合しゅうごうなので、A∩B={3} である。

差集合さしゅうごうset differenceは A に属ぞくし B に属ぞくしない元げんelementの集合しゅうごうなので、A∖B={1,2} である。

補集合ほしゅうごうcomplementは U の中なかで A に属ぞくしない元げんelementの集合しゅうごうなので、Ac={4,5} である。

3.1Answer

The union和集合わしゅうごう contains elements belonging to at least one of the two sets, so A∪B={1,2,3,4}.

The intersection共通部分きょうつうぶぶん contains elements belonging to both sets, so A∩B={3}.

The set difference差集合さしゅうごう contains elements belonging to A and not to B, so A∖B={1,2}.

The complement補集合ほしゅうごう contains elements of U that do not belong to A, so Ac={4,5}.

3.2解説かいせつ

補集合ほしゅうごうcomplementでは全体集合ぜんたいしゅうごうuniversal setを固定こていする必要ひつようがある。この問題もんだいでは U が明示めいじされているため Ac を決きめられる。

3.2Explanation

For a complement補集合ほしゅうごう, the universal set全体集合ぜんたいしゅうごう must be fixed. In this problem, U is explicitly given, so Ac is determined.

3.3よくある誤あやまり

Ac を「A に書かかれていない全すべての数かず」と考かんがえ、全体集合ぜんたいしゅうごうuniversal setを確認かくにんしない誤あやまりである。


3.3Common mistake

A common mistake is to treat Ac as "all numbers not written in A" without checking the universal set.


4問題もんだい 3

任意にんいの集合しゅうごうset A,B,C について、A∩(B∪C)=(A∩B)∪(A∩C) を示しめせ。

4Problem 3

For arbitrary sets集合しゅうごう A,B,C, prove A∩(B∪C)=(A∩B)∪(A∩C).

4.1解答かいとう

任意にんいの x を取とる。すると

x∈A∩(B∪C)⟺x∈Aかつ(x∈Bまたはx∈C)

である。論理ろんりlogicの分配法則ぶんぱいほうそくdistributive lawより、これは

(x∈Aかつx∈B)または(x∈Aかつx∈C)

と同値どうちである。したがって

x∈(A∩B)∪(A∩C)

である。任意にんいの x について同値どうちなので、外延性がいえんせいextensionalityより等式とうしきが成立せいりつする。

4.1Answer

Take arbitrary x. Then

x∈A∩(B∪C)⟺x∈Aand(x∈Borx∈C).

By the distributive law分配法則ぶんぱいほうそく of logic論理ろんり, this is equivalent to

(x∈Aandx∈B)or(x∈Aandx∈C).

Therefore

x∈(A∩B)∪(A∩C).

Since the equivalence holds for arbitrary x, the equality follows by extensionality外延性がいえんせい.

4.2解説かいせつ

この問題もんだいは、集合演算しゅうごうえんざんset operationを元げんelementの条件じょうけんへ翻訳ほんやくする練習れんしゅうである。

4.2Explanation

This problem practices translating a set operation集合演算しゅうごうえんざん into a condition on an element元げん.

4.3よくある誤あやまり

図ずだけで説明せつめいして、任意にんいの x に対たいする同値性どうちせいを示しめさない誤あやまりである。


4.3Common mistake

A common mistake is to rely only on a diagram and not prove the equivalence for arbitrary x.


5問題もんだい 4

An={m∈Z∣nはmを割り切る} とする。⋂n=14An を説明せつめいせよ。

5Problem 4

Let An={m∈Z∣ndividesm}. Describe ⋂n=14An.

5.1解答かいとう

m∈⋂n=14An とは、m が 1、2、3、4 のすべてで割わり切きれるという意味いみである。したがって m は lcm(1,2,3,4)=12 の倍数ばいすうである。よって ⋂n=14An は 12 の倍数ばいすう全体ぜんたいである。

5.1Answer

The statement m∈⋂n=14An means that m is divisible by all of 1,2,3,4. Hence m is a multiple of lcm(1,2,3,4)=12. Therefore ⋂n=14An is the set of all multiples of 12.

5.2解説かいせつ

添字付そえじつき共通部分きょうつうぶぶんindexed intersectionでは「すべての添字そえじindexについて」を確認かくにんする。この問題もんだいでは、複数ふくすうの割わり切きれる条件じょうけんを同時どうじに満みたすことが要求ようきゅうされている。

5.2Explanation

For an indexed intersection添字付き共通部分, one checks the condition for every index添字そえじ. Here the element must satisfy several divisibility conditions at the same time.

5.3よくある誤あやまり

共通部分きょうつうぶぶんintersectionを和集合わしゅうごうunionと混同こんどうし、「どれか少すくなくとも 1 つで割わり切きれる」と読よむ誤あやまりである。共通部分きょうつうぶぶんintersectionでは、指定していされた条件じょうけんをすべて同時どうじに満みたす必要ひつようがある。


5.3Common mistake

A common mistake is to confuse an intersection共通部分きょうつうぶぶん with a union和集合わしゅうごう and read the condition as "divisible by at least one of them".


6問題もんだい 5

順序上じゅんじょじょうの注意ちゅういとして、この問題もんだいだけ濃度のうどcardinalityの考かんがえ方かたを先取さきどりする。単射たんしゃinjectionとは違ちがう元げんが同おなじ相手あいてへ重かさならないこと、全射ぜんしゃsurjectionとは行いき先さきに余あまりがないこと、全単射ぜんたんしゃbijectionとはその両方りょうほうを満みたす対応たいおうである。

正せいの偶数ぐうすう全体ぜんたい E={2,4,6,[PARSE ERROR: Undefined("Command(\"dots\")")]} と N={1,2,3,[PARSE ERROR: Undefined("Command(\"dots\")")]} の間あいだに全単射ぜんたんしゃbijectionを構成こうせいせよ。

6Problem 5

Order note: this problem briefly previews the idea of cardinality濃度のうど. An injection単射たんしゃ means that distinct inputs do not overlap at the same output, a surjection全射ぜんしゃ means that no output is left over, and a bijection全単射ぜんたんしゃ means both conditions hold.

Construct a bijection全単射ぜんたんしゃ between the set E={2,4,6,[PARSE ERROR: Undefined("Command(\"dots\")")]} of positive even numbers and N={1,2,3,[PARSE ERROR: Undefined("Command(\"dots\")")]}.

6.1解答かいとう

f:N→E を f(n)=2n と定義ていぎする。f(n1)=f(n2) なら 2n1=2n2 なので、実数じっすうの非零定数ひれいていすう 2 で割わって n1=n2 を得える。よって f は単射たんしゃinjectionである。

任意にんいの e∈E は e=2n と書かける正せいの整数せいすう n を持もつ。したがって f(n)=e であり、f は全射ぜんしゃsurjectionである。よって f は全単射ぜんたんしゃbijectionである。

6.1Answer

Define f:N→E by f(n)=2n. If f(n1)=f(n2), then 2n1=2n2, and dividing by the nonzero real constant 2 gives n1=n2. Hence f is an injection単射たんしゃ.

For arbitrary e∈E, there is a positive integer n such that e=2n. Thus f(n)=e, so f is a surjection全射ぜんしゃ. Therefore f is a bijection全単射ぜんたんしゃ.

6.2解説かいせつ

濃度のうどcardinalityは、数かぞえ終おえることではなく、全単射ぜんたんしゃbijectionで比較ひかくする。この問題もんだいは、無限集合むげんしゅうごうでは真しんの部分集合ぶぶんしゅうごうproper subsetが全体ぜんたいと同おなじ濃度のうどcardinalityを持もちうることを確認かくにんしている。

6.2Explanation

Cardinality濃度のうど is compared by bijections, not by whether one can finish counting. This problem checks that an infinite set may have the same cardinality as a proper subset.

6.3よくある誤あやまり

E⊊N だから濃度のうども小ちいさいと判断はんだんする誤あやまりである。これは有限集合ゆうげんしゅうごうの直感ちょっかんを無限集合むげんしゅうごうへそのまま移うつしたことによる。

6.3Common mistake

A common mistake is to conclude that E has smaller cardinality because E⊊N. That transfers finite-set intuition directly to infinite sets.

8証明しょうめい演習えんしゅう:集合演算しゅうごうえんざんが包含ほうがんを保たもつこと

8Proof exercise: set operations preserve inclusion

8.1問題もんだい

A⊆B のとき、任意にんいの集合しゅうごう C について

A∪C⊆B∪C,A∩C⊆B∩C

を証明しょうめいせよ。また、全体集合ぜんたいしゅうごう U を固定こていしたとき

U∖B⊆U∖A

も証明しょうめいせよ。

8.1Problem

Assume A⊆B. Prove that, for every set集合しゅうごう C,

A∪C⊆B∪C,A∩C⊆B∩C.

Also, after fixing a universal set全体集合ぜんたいしゅうごう U, prove

U∖B⊆U∖A.

8.2解答かいとう

x∈A∪C とする。x∈A または x∈C である。x∈A なら A⊆B より x∈B なので x∈B∪C である。x∈C でも x∈B∪C である。よって A∪C⊆B∪C である。

x∈A∩C とする。x∈A かつ x∈C である。A⊆B より x∈B なので x∈B∩C である。よって A∩C⊆B∩C である。

x∈U∖B とする。もし x∈A なら A⊆B より x∈B となり矛盾むじゅんする。したがって x∉A であり、x∈U∖A である。

8.2Answer

Take x∈A∪C. Then x∈A or x∈C. If x∈A, then x∈B by A⊆B, so x∈B∪C. If x∈C, then x∈B∪C as well. Hence A∪C⊆B∪C.

Take x∈A∩C. Then x∈A and x∈C. Since A⊆B, we have x∈B, so x∈B∩C. Hence A∩C⊆B∩C.

Take x∈U∖B. If x∈A, then A⊆B would imply x∈B, a contradiction. Therefore x∉A, so x∈U∖A.

8.3解説かいせつ

この問題もんだいは、集合演算しゅうごうえんざんが包含ほうがんをどう保存ほぞんし、補集合ほしゅうごうだけは包含ほうがんの向むきを反転はんてんさせることを確認かくにんする演習えんしゅうである。

8.3Explanation

This problem checks how set operations集合演算しゅうごうえんざん preserve inclusion包含ほうがん, and why complement reverses the direction of inclusion.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる