markdown
直積集合の基本md 8b94f48
lecture/math/discrete-math/直積集合の基本-講義.n.md
Download PDF

直積集合ちょくせきしゅうごうCartesian product基本きほん

date2026-06-06description直積集合を、複数の集合から順序付きの組を作る操作として導入し、座標、表、関係、写像への接続を整理する講義である。prerequisites集合の基本 / 集合演算と包含関係type講義statusactiverelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md / data/lecture/math/discrete-math/集合の基本-講義.n.md / data/lecture/math/discrete-math/関係の基本-講義.n.md / data/lecture/math/discrete-math/写像の基本-講義.n.md / data/exercise/math/discrete-math/直積集合とべき集合-基本演習.n.mdrelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md
mathdiscrete-mathcartesian-productlecture

Basics of the Cartesian product直積集合ちょくせきしゅうごう

1導入どうにゅう

直積集合ちょくせきしゅうごうCartesian product最初さいしょ理解りかいすべきことは、「複数ふくすう選択せんたく順序じゅんじょつきでひとつの対象たいしょうobjectにする」操作そうさだというてんである。A から 1 つ、B から 1 つえらんだ結果けっかを、たんa,bならべるのではなく、順序対じゅんじょついordered pair (a,b) として記録きろくする。

この順序じゅんじょ重要じゅうようである。(a,b)(b,a) は、一般いっぱんにはべつ対象たいしょうobjectである。したがって直積集合ちょくせきしゅうごうCartesian productは、関係かんけいrelation写像しゃぞうmap座標ざひょうcoordinate状態空間じょうたいくうかんstate space共通きょうつう土台どだいになる。

順序対じゅんじょついordered pairでは成分せいぶん順番じゅんばん情報じょうほう一部いちぶである。そのため、一般いっぱんAimesBBimesAおなじではなく、だい 1 成分せいぶんだい 2 成分せいぶん役割やくわり区別くべつする。

1Introduction

The first thing to understand about the Cartesian product直積集合ちょくせきしゅうごう is that it turns several choices into one ordered object. Choosing one element from A and one from B is not recorded as the unordered list a,b, but as the ordered pair順序対じゅんじょつい (a,b).

The order is important. In general, (a,b) and (b,a) are different objects. Therefore the Cartesian product is a common foundation for relations関係かんけい, maps写像しゃぞう, coordinates座標ざひょう, and state spaces.

2用語ようご定義ていぎ

集合しゅうごうset A,Bたいして、直積集合ちょくせきしゅうごうCartesian product A×B

A×B={(a,b)aA,bB}

定義ていぎする。ここで (a,b)順序対じゅんじょついordered pairであり、だい 1 成分せいぶんaだい 2 成分せいぶんb である。

より一般いっぱんに、A1,A2,[PARSE ERROR: Undefined("Command(\"dots\")")],An直積集合ちょくせきしゅうごうCartesian product

A1××An={(a1,[PARSE ERROR: Undefined("Command(\"dots\")")],an)aiAiforeveryi}

である。これは順序付じゅんじょづくみordered tupleあつめた集合しゅうごうsetである。

2Terms and definitions

For sets A and B, the Cartesian product直積集合ちょくせきしゅうごう A×B is defined by

A×B={(a,b)aA,bB}.

Here (a,b) is an ordered pair順序対じゅんじょつい; its first component is a and its second component is b.

More generally, for A1,A2,[PARSE ERROR: Undefined("Command(\"dots\")")],An,

A1××An={(a1,[PARSE ERROR: Undefined("Command(\"dots\")")],an)aiAiforeveryi}.

This is the set of ordered tuples[順序付き組].

3方針ほうしん

直積集合ちょくせきしゅうごうCartesian productあつかうときは、げんが 1 つのあたいではなく、順序対じゅんじょついordered pairくみtupleであることを意識いしきする。したがって xA×Bかれていたら、x(a,b)き、aAbBす。

この方針ほうしんは、あと関係かんけいrelation理解りかいするときにそのまま使つかう。関係かんけいrelationA×B部分集合ぶぶんしゅうごうsubsetである。つまり、関係かんけいrelationは「どの順序対じゅんじょついordered pair採用さいようするか」という選択せんたくである。

data/lecture/math/discrete-math/関係の基本-講義.n.md

3Strategy

When working with a Cartesian product直積集合ちょくせきしゅうごう, remember that an element is not a single unstructured value. It is an ordered pair or tuple. Thus, if xA×B, write x=(a,b) and extract the facts aA and bB.

This strategy is used directly when studying relations関係かんけい. A relation is a subset of A×B. In other words, a relation is a choice of which ordered pairs to accept.

data/lecture/math/discrete-math/関係の基本-講義.n.md

4直感的ちょっかんてき説明せつめい

A×B は、ひょうぎょうれつcolumnつく操作そうさとしてると理解りかいしやすい。Aげんelementぎょう見出みだし、Bげんelementれつcolumn見出みだしにすると、かくマスが 1 つの順序対じゅんじょついordered pair (a,b)対応たいおうする。

たとえば A={1,2}B={x,y,z} なら

A×B={(1,x),(1,y),(1,z),(2,x),(2,y),(2,z)}

である。このれいでは |A|=2|B|=3 なので、|A×B|=6 である。有限集合ゆうげんしゅうごうでは一般いっぱん

|A×B|=|A||B|

つ。選択せんたく段階だんかいが 2 つあり、だい 1 選択せんたく|A| とおり、だい 2 選択せんたく|B| とおりあるためである。

4Intuitive explanation: tables and counting

It is often useful to view A×B as the operation of forming rows and columns of a table. Use the elements of A as row labels and the elements of B as column labels. Each cell corresponds to one ordered pair (a,b).

For example, if A={1,2} and B={x,y,z}, then

A×B={(1,x),(1,y),(1,z),(2,x),(2,y),(2,z)}.

In this example, |A|=2 and |B|=3, so |A×B|=6. For finite sets, in general,

|A×B|=|A||B|.

There are two stages of choice: |A| choices for the first component and |B| choices for the second component.

5厳密げんみつ説明せつめい

順序対じゅんじょついordered pair本質的ほんしつてきなのは、つぎ同値性どうちせいである。

(a,b)=(a,b)(a=aかつb=b)

この性質せいしつにより、だい 1 成分せいぶんだい 2 成分せいぶん別々べつべつ比較ひかくできる。直積集合ちょくせきしゅうごうCartesian product等式とうしき包含ほうがんinclusionしめすときも、げん順序対じゅんじょついordered pairとして分解ぶんかいする。

境界例きょうかいれい重要じゅうようである。A=[PARSE ERROR: Undefined("Command(\"varnothing\")")] または B=[PARSE ERROR: Undefined("Command(\"varnothing\")")] なら、A×B=[PARSE ERROR: Undefined("Command(\"varnothing\")")] である。なぜなら、(a,b)つくるには aAbB両方りょうほう必要ひつようであり、片方かたほう集合しゅうごうsetげんelement存在そんざいしなければ順序対じゅんじょついordered pairつくれないからである。

順序対じゅんじょついordered pair等号とうごう成分せいぶんごとに判定はんていする。(a,b)=(a,b) なら a=a かつ b=b であり、直積集合ちょくせきしゅうごうCartesian productへの所属しょぞくかく座標ざひょうただしい集合しゅうごうはいることを同時どうじ要求ようきゅうする。

5Precise explanation

The essential equality rule for ordered pairs順序対じゅんじょつい is

(a,b)=(a,b)(a=aandb=b).

This property lets us compare the first and second components separately. When proving equality or inclusion involving Cartesian products, decompose elements as ordered pairs.

The boundary case involving the empty set is also important. If A=[PARSE ERROR: Undefined("Command(\"varnothing\")")] or B=[PARSE ERROR: Undefined("Command(\"varnothing\")")], then

A×B=[PARSE ERROR: Undefined("Command(\"varnothing\")")].

To make an ordered pair (a,b), both aA and bB are required. If one side has no elements, no ordered pair can be made.

6例題れいだい直積集合ちょくせきしゅうごうCartesian product順序じゅんじょ

6Worked example: Cartesian products and order

6.1問題もんだい

A={0,1}B={1,2} とする。A×BB×Aし、両者りょうしゃ一般いっぱんひとしくないことを確認かくにんせよ。

6.1Problem

Let A={0,1} and B={1,2}. List A×B and B×A, and confirm that they are not generally equal.

6.2解説かいせつ

定義ていぎより

A×B={(0,1),(0,2),(1,1),(1,2)}

である。一方いっぽう

B×A={(1,0),(1,1),(2,0),(2,1)}

である。たとえば (0,1)A×B だが、(0,1)B×A である。したがって A×BB×A である。

ここで確認かくにんしているのは、直積集合ちょくせきしゅうごうCartesian productたんなる組合くみあわせではなく、順序じゅんじょ記録きろくする操作そうさであるというてんである。

6.2Explanation

By definition,

A×B={(0,1),(0,2),(1,1),(1,2)}.

On the other hand,

B×A={(1,0),(1,1),(2,0),(2,1)}.

For example, (0,1)A×B, but (0,1)B×A. Therefore A×BB×A.

This confirms that the Cartesian product直積集合ちょくせきしゅうごう is not just an unordered combination. It records order.

7わるものと保存ほぞんされるもの

操作そうさわるもの保存ほぞんされるもの
A×B から B×A への成分せいぶん位置いちえらんだ材料ざいりょう集合しゅうごう
A×B部分集合ぶぶんしゅうごうsubset採用さいようする順序対じゅんじょついordered pair成分せいぶんAB からること
A1××An拡張かくちょうする成分せいぶんかずかく成分せいぶん指定していされた集合しゅうごうsetからること

片方かたほう因子いんしえると、ひょうでいえばぎょうまたはれつcolumnわる。一方いっぽうかくげんelement順序対じゅんじょついであり、だい 1 成分せいぶんだい 2 成分せいぶん区別くべつすることは保存ほぞんされる。

7What changes and what is preserved

OperationWhat changesWhat is preserved
switching from A×B to B×Apositions of the componentsthe sets used as materials for selection
taking a subset of A×Bwhich ordered pairs順序対じゅんじょつい are acceptedeach component still comes from A and B
extending to A1××Anthe number of componentseach component comes from its specified set

8見分みわかた

  • 複数ふくすう選択せんたく同時どうじ記録きろくするなら、直積集合ちょくせきしゅうごうCartesian productかんがえる。
  • 順序じゅんじょ意味いみつなら、順序対じゅんじょついordered pairとしてあつかう。
  • 関係かんけいrelation 定義ていぎするなら、まず母体ぼたいとなる A×B確認かくにんする。
  • 写像しゃぞうmap 定義ていぎするなら、A×Bうちかく aAたいしてだい 2 成分せいぶん一意いちい」な部分集合ぶぶんしゅうごうsubsetかんがえる。

判定はんていでは、まず対象たいしょう順序対じゅんじょついになっているかをる。つぎだい 1 成分せいぶんA に、だい 2 成分せいぶんBはいっているかを確認かくにんする。どちらか 1 つでもはずれれば AimesBげんelementではない。

8Recognition criteria

  • Use a Cartesian product直積集合ちょくせきしゅうごう when several choices are recorded simultaneously.
  • If order matters, treat the result as an ordered pair順序対じゅんじょつい.
  • To define a relation関係かんけい, first identify the ambient set A×B.
  • To define a map写像しゃぞう, consider a subset of A×B in which, for each aA, the second component is unique.

9証明しょうめい補足ほそく直積ちょくせき包含ほうがんたも条件じょうけん

直積集合ちょくせきしゅうごうCartesian product各成分かくせいぶん包含ほうがん保存ほぞんする。つまり

AA,BBA×BA×B

である。

証明しょうめいする。(a,b)A×B とする。この意味いみaA かつ bB である。AABB より aA かつ bB である。したがって (a,b)A×B である。

逆向ぎゃくむきには空集合くうしゅうごう注意ちゅうい必要ひつようである。もし A×BA×B で、さらに AB がどちらもからでないなら、AA かつ BBしたがう。たとえば aAり、Bからでないので bBる。すると (a,b)A×BA×B だから aA である。おな議論ぎろんBBかる。

この非空ひくう仮定かていとすと、A×[PARSE ERROR: Undefined("Command(\"varnothing\")")]=[PARSE ERROR: Undefined("Command(\"varnothing\")")] となり、左辺さへんだけから A情報じょうほうれない。

9Proof supplement: when products preserve inclusion

The Cartesian product直積集合ちょくせきしゅうごう preserves inclusion in each component. That is,

AA,BBA×BA×B.

Proof. Take (a,b)A×B. This means aA and bB. Since AA and BB, we have aA and bB. Therefore (a,b)A×B.

The converse direction needs a nonempty-set condition. If A×BA×B and both A and B are nonempty, then AA and BB. For example, take aA. Since B is nonempty, choose bB. Then (a,b)A×BA×B, so aA. The same argument shows BB.

If the nonempty assumption is omitted, this conclusion can fail. Since A×[PARSE ERROR: Undefined("Command(\"varnothing\")")]=[PARSE ERROR: Undefined("Command(\"varnothing\")")], the left-hand side may contain no information about A.

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