markdown
写像の基本md 9852956
lecture/math/discrete-math/写像の基本-講義.n.md
Download PDF

写像しゃぞうmap基本きほん

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-mathmapfunctionlecture

Basics of maps写像しゃぞう

1導入どうにゅう

写像しゃぞうmap最初さいしょ固定こていすべきいは、「かく入力にゅうりょくinputたいして、出力しゅつりょくoutput一意いちいめているか」である。写像しゃぞうmapは、関係かんけいrelation一種いっしゅであるが、任意にんい関係かんけいrelationよりも条件じょうけんつよい。

この条件じょうけんがあるから、f(a) という記号きごう意味いみつ。1 つの a複数ふくすう出力しゅつりょくoutput対応たいおうすれば、f(a) は 1 つのあたいvalueとしてさだまらない。対応たいおうする出力しゅつりょくoutput存在そんざいしなければ、f(a)未定義みていぎになる。

写像しゃぞうmap必須ひっすなのは、かく入力にゅうりょくinput出力しゅつりょくがちょうど 1 つまることである。ことなる入力にゅうりょくおな出力しゅつりょくくことは、単射たんしゃinjection要求ようきゅうしないかぎゆるされる。

1Introduction

The first question for a map写像しゃぞう is whether each input入力にゅうりょく determines a unique output出力しゅつりょく. A map is a special kind of relation関係かんけい, but it has stronger conditions than an arbitrary relation.

This condition is what makes the notation f(a) meaningful. If one a had several outputs, f(a) would not be a single valueあたい. If it had no output, f(a) would be undefined.

2用語ようご定義ていぎ

集合しゅうごうset A,Bたいして、写像しゃぞうmap f:AB とは、かく aAたいして、一意いちいbB対応たいおうさせる規則きそくである。

A定義域ていぎいきdomainB終域しゅういきcodomainという。a対応たいおうするあたいvaluef(a)く。値域ちいきrangeまたはぞうimageは、実際じっさいあらわれる出力しゅつりょくoutput集合しゅうごうであり、

f(A)={f(a)aA}

である。つねf(A)B である。

2Terms and definition

For sets集合しゅうごう A,B, a map写像しゃぞう f:AB is a rule assigning to each aA a unique element bB.

The set A is the domain定義域ていぎいき, and B is the codomain終域しゅういき. The assigned valueあたい is written f(a). The range値域ちいき, or imageぞう, is the set of outputs出力しゅつりょく that actually appear:

f(A)={f(a)aA}.

Always f(A)B.

3ぞうimage逆像ぎゃくぞうpreimage

部分集合ぶぶんしゅうごうsubset SAぞうimage

f(S)={f(a)aS}

である。部分集合ぶぶんしゅうごうsubset TB逆像ぎゃくぞうpreimage

f-1(T)={aAf(a)T}

である。ここで f-1(T)逆写像ぎゃくしゃぞうinverse map仮定かていしている記号きごうではない。逆像ぎゃくぞうpreimageは、任意にんい写像しゃぞうmap定義ていぎできる。

3Imagesぞう and preimages逆像ぎゃくぞう

For a subset部分集合ぶぶんしゅうごう SA, the imageぞう of S is

f(S)={f(a)aS}.

For a subset TB, the preimage逆像ぎゃくぞう is

f-1(T)={aAf(a)T}.

The notation f-1(T) does not assume that an inverse map逆写像ぎゃくしゃぞう exists. A preimage is defined for every map写像しゃぞう.

4方針ほうしん

写像しゃぞうmap確認かくにんするときは、つぎの 2 てんける。

  1. かく aAたいして、すくなくとも 1 つの出力しゅつりょくoutput存在そんざいするか。
  2. かく aAたいして、出力しゅつりょくoutput高々たかだか 1 つか。

両方りょうほうつとき、出力しゅつりょくoutputは[ちょうど 1 つ]であり、写像しゃぞうmapである。関係かんけいrelationとしてるなら、fA×B部分集合ぶぶんしゅうごうsubsetであり、かく aAたいして (a,b)f となる b が[ちょうど 1 つ]である。

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

4Strategy

To check whether a relation is a map写像しゃぞう, separate two requirements.

  1. For every aA, at least one output出力しゅつりょく exists.
  2. For every aA, at most one output exists.

If both hold, each input has exactly one output, and the relation is a map. From the relation関係かんけい viewpoint, f is a subset部分集合ぶぶんしゅうごう of A×B such that for every aA there is exactly one b with (a,b)f.

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

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

写像しゃぞうmapは、入力側にゅうりょくがわかくげんelementから出力側しゅつりょくがわへ 1 ぽんずつ矢印やじるしとしてかんがえられる。かく入力にゅうりょくinputから矢印やじるしかならず 1 ぽんだけることが写像しゃぞうmap条件じょうけんである。

出力側しゅつりょくがわげんelementには、矢印やじるしが 0 ほんしかはいらないことも、複数ふくすうほんはいることもある。これは写像しゃぞうmapであること自体じたいには問題もんだいない。これらをさらに制限せいげんすると、単射たんしゃinjection全射ぜんしゃsurjectionになる。

機械きかいmachineとしてると、えているのは入力にゅうりょくから出力しゅつりょくへの対応たいおうである。一方いっぽう定義域ていぎいきdomainかくげんelementかなら処理しょりすることと、終域しゅういきcodomainなか出力しゅつりょくすることは保存ほぞんされる。

data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

5Intuitive explanation

A map写像しゃぞう can be pictured as drawing one arrow from each elementげん on the input side to the output side. The defining condition is that exactly one arrow leaves every input入力にゅうりょく.

An element on the output side may have no incoming arrows, or it may have several incoming arrows. That is not a problem for being a map. Additional restrictions on these incoming arrows lead to injections単射たんしゃ and surjections全射ぜんしゃ.

data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

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

写像しゃぞうmap f:ABぞうimage逆像ぎゃくぞうpreimageは、きがちがう。ぞうimageA がわ部分集合ぶぶんしゅうごうsubsetB がわおくる。

SAf(S)B

逆像ぎゃくぞうpreimageB がわ部分集合ぶぶんしゅうごうsubsetA がわもどす。

TBf-1(T)A

逆像ぎゃくぞうpreimageは、写像しゃぞうmap単射たんしゃinjectionでも全射ぜんしゃsurjectionでもない場合ばあいにも定義ていぎできる。

6Precise explanation

For a map写像しゃぞう f:AB, imagesぞう and preimages逆像ぎゃくぞう go in opposite directions. An image sends a subset部分集合ぶぶんしゅうごう of the A side to the B side:

SAf(S)B.

A preimage sends a subset of the B side back to the A side:

TBf-1(T)A.

A preimage is defined even when the map is neither an injection単射たんしゃ nor a surjection全射ぜんしゃ.

7例題れいだい終域しゅういきcodomain値域ちいきrange区別くべつする

7.1問題もんだい

f:{1,2,3}{a,b,c,d}f(1)=af(2)=bf(3)=b定義ていぎする。終域しゅういきcodomain値域ちいきrangeもとめよ。

7Worked example: distinguish codomain終域しゅういき and range値域ちいき

7.1Problem

Define f:{1,2,3}{a,b,c,d} by f(1)=a, f(2)=b, and f(3)=b. Find the codomain終域しゅういき and the range値域ちいき.

7.2解説かいせつ

終域しゅういきcodomainは、写像しゃぞうmapかたとしてさき指定していされた集合しゅうごうsetである。したがって終域しゅういきcodomain{a,b,c,d} である。

値域ちいきrangeは、実際じっさいあたいとしてあらわれる出力しゅつりょくoutput集合しゅうごうである。このれいでは ab だけがあらわれるので、

f(A)={a,b}

である。c,d終域しゅういきcodomainにはふくまれるが、値域ちいきrangeにはふくまれない。

解答かいとうでは、ひょう矢印図やじるしずだけでなく、定義域ていぎいきdomain終域しゅういきcodomain対応規則たいおうきそく言葉ことばでも確認かくにんする。未定義みていぎ入力にゅうりょくや 2 つの出力しゅつりょく入力にゅうりょくがあれば、写像しゃぞうmapではない。

7.2Explanation

The codomain終域しゅういき is the set集合しゅうごう specified in advance as part of the type of the map写像しゃぞう. Therefore the codomain is {a,b,c,d}.

The range値域ちいき is the set of outputs出力しゅつりょく that actually occur as values. In this example only a and b occur, so

f(A)={a,b}.

The elements c,d are in the codomain, but not in the range.

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

変更へんこうわるもの保存ほぞんされるもの
終域しゅういきcodomainひろげる全射性ぜんしゃせいsurjectivity判定はんていかく入力にゅうりょくinputあたいvalue
定義域ていぎいきdomain制限せいげんする値域ちいきrange単射性たんしゃせいinjectivity判定はんていのこった入力にゅうりょくinputあたいvalue
関係かんけいrelationから写像しゃぞうmap採用さいようできる順序対じゅんじょついordered pair母体ぼたいA×B であること

終域しゅういきcodomainひろげたりせばめたりすると、おな対応規則たいおうきそくでも全射性ぜんしゃせいsurjectivityわることがある。一方いっぽうぞうimage定義域ていぎいきdomain対応規則たいおうきそくからまる。

8What changes and what is preserved

ChangeWhat changesWhat is preserved
Enlarging the codomain終域しゅういきwhether surjectivity全射性ぜんしゃせい holdsthe valueあたい of each input入力にゅうりょく
Restricting the domain定義域ていぎいきthe range値域ちいき and the judgment of injectivity単射性たんしゃせいthe values of the remaining inputs
Extracting a map写像しゃぞう from a relation関係かんけいwhich ordered pairs順序対じゅんじょつい may be usedthe ambient product A×B

9見分みわかた関連かんれんリンク

  • かく入力にゅうりょくinput出力しゅつりょくoutputが[ちょうど 1 つ]なら、写像しゃぞうmapである。
  • 1 つの入力にゅうりょくinput複数ふくすう出力しゅつりょくoutput対応たいおうするなら、写像しゃぞうmapではない。
  • 終域しゅういきcodomainさき指定していされた出力しゅつりょくoutput候補こうほ全体ぜんたいである。
  • 値域ちいきrange実際じっさい到達とうたつする出力しゅつりょくoutput集合しゅうごうである。
  • 逆像ぎゃくぞうpreimage逆写像ぎゃくしゃぞうinverse map存在そんざいしなくても定義ていぎできる。
data/exercise/math/discrete-math/写像と単射全射-基本演習.n.md data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md data/lecture/math/discrete-math/合成写像と逆写像-講義.n.md

9How to check and related links

  • If every input入力にゅうりょく has exactly one output出力しゅつりょく, it is a map写像しゃぞう.
  • If one input has multiple outputs, it is not a map.
  • The codomain終域しゅういき is the declared set of possible outputs.
  • The range値域ちいき is the set of outputs actually reached.
  • A preimage逆像ぎゃくぞう is defined even when no inverse map逆写像ぎゃくしゃぞう exists.
data/exercise/math/discrete-math/写像と単射全射-基本演習.n.md data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md data/lecture/math/discrete-math/合成写像と逆写像-講義.n.md
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
タブを全て閉じる