markdown
Sets and set operations - basic exercisesmd 7fd7da5
exercise/math/discrete-math/sets-and-set-operations.exercise.n.md

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

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

1Exercise method

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


2Problem 1

Let A={1,2,3} and B={3,2,1,1}. Explain why 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,

xAxB,

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

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.3Common mistake

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


3Problem 2

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

3.1Answer

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

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

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

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

3.2Explanation

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

3.3Common mistake

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


4Problem 3

For arbitrary sets集合しゅうごう A,B,C, prove A(BC)=(AB)(AC).

4.1Answer

Take arbitrary x. Then

xA(BC)xAand(xBorxC).

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

(xAandxB)or(xAandxC).

Therefore

x(AB)(AC).

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

4.2Explanation

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

4.3Common mistake

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


5Problem 4

Let An={mZndividesm}. Describe n=14An.

5.1Answer

The statement mn=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.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.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".


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.1Answer

Define f:NE 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 eE, 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.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.3Common mistake

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

8Proof exercise: set operations preserve inclusion

8.1Problem

Assume AB. Prove that, for every set集合しゅうごう C,

ACBC,ACBC.

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

UBUA.

8.2Answer

Take xAC. Then xA or xC. If xA, then xB by AB, so xBC. If xC, then xBC as well. Hence ACBC.

Take xAC. Then xA and xC. Since AB, we have xB, so xBC. Hence ACBC.

Take xUB. If xA, then AB would imply xB, a contradiction. Therefore xA, so xUA.

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
タブを全て閉じる