markdown
合成写像と逆写像md a613bf5
lecture/math/discrete-math/合成写像と逆写像-講義.n.md
Download PDF

合成写像ごうせいしゃぞうcomposite map逆写像ぎゃくしゃぞうinverse 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/exercise/math/discrete-math/写像と単射全射-基本演習.n.mdrelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md
mathdiscrete-mathcompositioninverse-maplecture

Composite maps合成写像ごうせいしゃぞう and inverse maps逆写像ぎゃくしゃぞう

1導入どうにゅう

合成写像ごうせいしゃぞうcomposite map重要じゅうようなのは、写像しゃぞうmap操作そうさとしてむことである。f:ABAげんelementBげんelementおく操作そうさであり、g:BC はその結果けっかをさらに Cおく操作そうさである。この 2 つをつづけておこなうのが合成写像ごうせいしゃぞうcomposite mapである。

逆写像ぎゃくしゃぞうinverse mapは、操作そうさもともど操作そうさinverse operationである。ただし、もどすためには、入力にゅうりょくつぶれておらず、出力側しゅつりょくがわあまりもないことが必要ひつようである。この条件じょうけん全単射ぜんたんしゃbijectionである。

合成ごうせいcompositionでは順序じゅんじょ重要じゅうようで、さき適用てきようした写像しゃぞうmap終域しゅういきcodomainが、つぎ写像しゃぞうmap定義域ていぎいきdomain必要ひつようがある。逆写像ぎゃくしゃぞうinverse mapは、この移動いどうをすべての入力にゅうりょく出力しゅつりょくもどせるときにだけ存在そんざいする。

1Introduction

The key to a composite map合成写像ごうせいしゃぞう is to read a map写像しゃぞう as an operation. A map f:AB sends an elementげん of A to an element of B, and a map g:BC sends that result further into C. Performing these two operations in sequence is composition.

An inverse map逆写像ぎゃくしゃぞう is an operation that restores the original input. To restore inputs, no two inputs may have collapsed to the same output, and no element of the output side may be left unused. This condition is exactly bijection全単射ぜんたんしゃ.

2用語ようご定義ていぎ

写像しゃぞうmap f:ABg:BCあたえられたとき、合成写像ごうせいしゃぞうcomposite map gf:AC

(gf)(a)=g(f(a))

定義ていぎする。記号きごう gf は、さきf適用てきようし、つぎg適用てきようすることをあらわす。

集合しゅうごうset A うえ恒等写像こうとうしゃぞうidentity map idA:AA は、

idA(a)=a

定義ていぎされる写像しゃぞうmapである。

写像しゃぞうmap f:ABたいして、写像しゃぞうmap h:BA

hf=idA,fh=idB

たすとき、hf逆写像ぎゃくしゃぞうinverse mapといい、f-1く。

2Terms and definitions

Given maps f:AB and g:BC, define the composite map合成写像ごうせいしゃぞう gf:AC by

(gf)(a)=g(f(a)).

The notation gf means that f is applied first and g is applied second.

The identity map恒等写像こうとうしゃぞう idA:AA on a set A is the map defined by

idA(a)=a.

For a map f:AB, if a map h:BA satisfies

hf=idA,fh=idB,

then h is called the inverse map逆写像ぎゃくしゃぞう of f and is written f-1.

3方針ほうしん

合成写像ごうせいしゃぞうcomposite mapでは、かたさき確認かくにんする。gfつくるには、f終域しゅういきcodomaing定義域ていぎいきdomainっていなければならない。すくなくとも f(A)dom(g)必要ひつようである。

逆写像ぎゃくしゃぞうinverse mapでは、f-1 という記号きごうまえに、f全単射ぜんたんしゃbijectionであることを確認かくにんする。逆像ぎゃくぞうpreimage f-1(T)任意にんい写像しゃぞうmap定義ていぎできるが、逆写像ぎゃくしゃぞうinverse map f-1:BA全単射ぜんたんしゃbijectionでなければ存在そんざいしない。

data/lecture/math/discrete-math/写像の基本-講義.n.md data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

3Method

For a composite map合成写像ごうせいしゃぞう, check the types first. To form gf, the codomain終域しゅういき of f must match the domain定義域ていぎいき of g. At minimum, f(A)dom(g) must hold.

For an inverse map逆写像ぎゃくしゃぞう, check that f is a bijection全単射ぜんたんしゃ before writing f-1 as a map. A preimage逆像ぎゃくぞう f-1(T) is defined for any map, but an inverse map f-1:BA exists only when f is bijective.

data/lecture/math/discrete-math/写像の基本-講義.n.md data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

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

合成写像ごうせいしゃぞうcomposite mapは、機械きかい直列ちょくれつ接続せつぞくすることに対応たいおうする。最初さいしょ機械きかい f入力にゅうりょくinput aれると f(a)出力しゅつりょくされる。つぎ機械きかい gf(a)れると g(f(a))出力しゅつりょくされる。したがって全体ぜんたい機械きかいgf である。

逆写像ぎゃくしゃぞうinverse mapは、機械きかい結果けっかから入力にゅうりょく完全かんぜん復元ふくげんする機械きかいである。もし 2 つの入力にゅうりょくおな出力しゅつりょくつぶれていれば、出力しゅつりょくだけをてももと入力にゅうりょくえらべない。もし終域しゅういきcodomainとどかないげんelementがあれば、そのげんelementもど入力にゅうりょく存在そんざいしない。

合成ごうせいcomposition矢印やじるしひだりからみぎ連結れんけつする操作そうさであり、一般いっぱんには gcircffcircgおなじではない。かたわなければ、そもそも合成ごうせい定義ていぎできない。

4Intuitive explanation

A composite map合成写像ごうせいしゃぞう is like connecting machines in series. Put an input入力にゅうりょく a into the first machine f, and the output is f(a). Put that output into the second machine g, and the output is g(f(a)). The whole machine is therefore gf.

An inverse map逆写像ぎゃくしゃぞう is a machine that reconstructs the input from the result. If two inputs collapse to the same output, the output alone cannot tell which input was used. If some element of the codomain終域しゅういき is never reached, there is no input to send back from that element.

5厳密げんみつ説明せつめい逆写像ぎゃくしゃぞうinverse map全単射ぜんたんしゃbijection

f:AB逆写像ぎゃくしゃぞうinverse map h:BAつとする。f(a1)=f(a2) なら、両辺りょうへんh適用てきようして

h(f(a1))=h(f(a2))

る。hf=idA より a1=a2 である。したがって f単射たんしゃinjectionである。

また、任意にんいbBたいして、a=h(b)くと、f(a)=f(h(b))=b である。ここで fh=idBもちいた。したがって f全射ぜんしゃsurjectionである。

ぎゃくf全単射ぜんたんしゃbijectionなら、任意にんいbBたいして、f(a)=bたす aA存在そんざいし、しかも単射性たんしゃせいinjectivityにより一意いちいである。そこで f-1(b)=a定義ていぎできる。この一意性いちいせいがなければ、逆写像ぎゃくしゃぞうinverse mapあたいvalueまらない。

5Rigorous explanation: inverse maps and bijections

Suppose f:AB has an inverse map逆写像ぎゃくしゃぞう h:BA. If f(a1)=f(a2), then applying h to both sides gives

h(f(a1))=h(f(a2)).

Since hf=idA, we get a1=a2. Hence f is an injection単射たんしゃ.

Also, for any bB, put a=h(b). Then f(a)=f(h(b))=b by fh=idB. Hence f is a surjection全射ぜんしゃ.

Conversely, if f is a bijection全単射ぜんたんしゃ, then for every bB there exists aA with f(a)=b, and injectivity単射性たんしゃせい makes this a unique. Therefore one can define f-1(b)=a. Without this uniqueness, the value of the inverse map would not be determined.

6例題れいだい合成写像ごうせいしゃぞうcomposite map逆写像ぎゃくしゃぞうinverse map

6Worked example: composite maps and inverse maps

6.1問題もんだい

A={1,2,3}B={a,b,c} とし、f:AB

f(1)=b,f(2)=c,f(3)=a

定義ていぎする。f全単射ぜんたんしゃbijectionであることを確認かくにんし、逆写像ぎゃくしゃぞうinverse mapもとめよ。

6.1Problem

Let A={1,2,3} and B={a,b,c}. Define f:AB by

f(1)=b,f(2)=c,f(3)=a.

Check that f is a bijection全単射ぜんたんしゃ and find its inverse map逆写像ぎゃくしゃぞう.

6.2解説かいせつ

f(1),f(2),f(3) はそれぞれ b,c,a であり、たがいにことなる。したがってことなる入力にゅうりょくinputことなる出力しゅつりょくoutputおくられるので、f単射たんしゃinjectionである。

また、終域しゅういきcodomain B={a,b,c}すべてのげんelementfあたいvalueとしてあらわれる。したがって f全射ぜんしゃsurjectionである。よって f全単射ぜんたんしゃbijectionである。

逆写像ぎゃくしゃぞうinverse mapは、矢印やじるし逆向ぎゃくむきにむことで

f-1(a)=3,f-1(b)=1,f-1(c)=2

となる。

6.2Explanation

The values f(1),f(2),f(3) are b,c,a, and they are distinct. Thus distinct inputs入力にゅうりょく are sent to distinct outputs出力しゅつりょく, so f is an injection単射たんしゃ.

Every elementげん of the codomain終域しゅういき B={a,b,c} appears as a value of f. Therefore f is a surjection全射ぜんしゃ. Hence f is a bijection全単射ぜんたんしゃ.

The inverse map逆写像ぎゃくしゃぞう is obtained by reading the arrows backward:

f-1(a)=3,f-1(b)=1,f-1(c)=2.

7見分みわかた

  • gfさきfあとg適用てきようする。
  • 合成写像ごうせいしゃぞうcomposite map つくまえに、出力しゅつりょくつぎ入力にゅうりょくかたうかを確認かくにんする。
  • 逆写像ぎゃくしゃぞうinverse map 全単射ぜんたんしゃbijectionのときにだけ存在そんざいする。
  • 逆像ぎゃくぞうpreimage 逆写像ぎゃくしゃぞうinverse map混同こんどうしない。

見分みわけるときは、まず定義域ていぎいきdomain終域しゅういきcodomain確認かくにんする。逆写像ぎゃくしゃぞうinverse mapでは、片側かたがわだけでなく gcircffcircg両方りょうほう恒等写像こうとうしゃぞうになることを確認かくにんする。

7How to distinguish the ideas

  • In gf, f is applied first and g is applied second.
  • Before forming a composite map合成写像ごうせいしゃぞう, check that the output type and the next input type match.
  • An inverse map逆写像ぎゃくしゃぞう exists only for a bijection全単射ぜんたんしゃ.
  • Do not confuse a preimage逆像ぎゃくぞう with an inverse map逆写像ぎゃくしゃぞう.

8証明しょうめい補足ほそく合成ごうせい単射たんしゃ全射ぜんしゃ保存ほぞんされる理由りゆう

f:XYg:YZ とする。fg がともに単射たんしゃinjectiveなら、gf単射たんしゃである。

証明しょうめいする。(gf)(x1)=(gf)(x2) とする。これは g(f(x1))=g(f(x2)) である。g単射たんしゃなので f(x1)=f(x2) である。さらに f単射たんしゃなので x1=x2 である。したがって gf単射たんしゃである。

fg がともに全射ぜんしゃsurjectiveなら、gf全射ぜんしゃである。zZ任意にんいる。g全射ぜんしゃなので、ある yY存在そんざいして g(y)=z である。さらに f全射ぜんしゃなので、ある xX存在そんざいして f(x)=y である。よって (gf)(x)=z である。

このふたつをわせると、全単射ぜんたんしゃbijection合成ごうせいはまた全単射ぜんたんしゃである。逆写像ぎゃくしゃぞう存在そんざいすることも、単射たんしゃ全射ぜんしゃ同時どうじつことのえである。

8Proof supplement: why composition preserves injectivity and surjectivity

Let f:XY and g:YZ. If both f and g are injective単射たんしゃ, then gf is injective.

To prove this, assume (gf)(x1)=(gf)(x2). This means g(f(x1))=g(f(x2)). Since g is injective, f(x1)=f(x2). Since f is injective, x1=x2. Therefore gf is injective.

If both f and g are surjective全射ぜんしゃ, then gf is surjective. Take arbitrary zZ. Since g is surjective, there exists yY with g(y)=z. Since f is surjective, there exists xX with f(x)=y. Hence (gf)(x)=z.

Combining these two statements, the composite of bijections全単射ぜんたんしゃ is again a bijection. The existence of an inverse map is another way to say that injectivity and surjectivity hold at the same time.

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