markdown
像と逆像の演習md d29fa4f
exercise/math/discrete-math/images-and-preimages.exercise.n.md

ぞうimage逆像ぎゃくぞうpreimage演習えんしゅう

document_iddoc_ce91c3baaa7e5d4d8beef3d8a3948a8btitle像と逆像 演習type問題演習content_typeexercisedate2026-07-14categorymathdescription像と逆像の計算、逆像による補集合の保存、像と逆像の往復包含、および単射・全射の特徴づけを確認する演習。prerequisites写像の基本 / 写像の像と逆像 / 集合演算と包含関係relateddata/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md / data/lecture/math/discrete-math/map-basics.lecture.n.md / data/lecture/math/discrete-math/images-and-preimages-of-maps.lecture.n.md / data/lecture/math/discrete-math/injections-surjections-and-bijections.lecture.n.md / data/lecture/math/discrete-math/set-operations-and-inclusion.lecture.n.md

Exercises on imagesぞう and preimages逆像ぎゃくぞう

2問題もんだい1:ぞうimageもとめる

A={1,2,3,4}B={0,1} とし、写像しゃぞうmap f:AB を、f(x)x を 2 でったあまり、とさだめる。S={1,2,4}ぞうimage f(S)もとめよ。

2.1解答かいとう

f(1)=1f(2)=0f(4)=0 なので、

f(S)={0,1}

である。

2.2解説かいせつ

ぞうimageは、部分集合ぶぶんしゅうごうsubsetかくげんelement実際じっさいうつしてられる集合しゅうごうsetである。重複ちょうふくしておなあたいになっても、集合しゅうごうsetでは 1 かいだけかぞえる。

2Problem 1: find an imageぞう

Let A={1,2,3,4} and B={0,1}. Define the map写像しゃぞう f:AB by letting f(x) be the remainder when x is divided by 2. Find the imageぞう f(S) of S={1,2,4}.

2.1Answer

Since f(1)=1, f(2)=0, and f(4)=0,

f(S)={0,1}.

2.2Explanation

The imageぞう is the set集合しゅうごう actually obtained by applying the map to each elementげん of the subset部分集合ぶぶんしゅうごう. If several inputs give the same value, that value appears only once in the set.

3問題もんだい2:逆像ぎゃくぞうpreimageもとめる

問題もんだい1の写像しゃぞうmap f について、T={0}逆像ぎゃくぞうpreimage f-1(T)もとめよ。

3.1解答かいとう

f(x)=0 となるのは x=2,4 である。したがって

f-1({0})={2,4}

である。

3.2解説かいせつ

逆像ぎゃくぞうpreimageは、終域しゅういきcodomainがわ指定していされた集合しゅうごうはい出力しゅつりょくoutput入力にゅうりょくinput全体ぜんたいである。逆写像ぎゃくしゃぞうinverse mapとはべつ概念がいねんなので、写像しゃぞうmap全単射ぜんたんしゃbijectionでなくてももとめられる。

3Problem 2: find a preimage逆像ぎゃくぞう

For the map写像しゃぞう f in Problem 1, find the preimage逆像ぎゃくぞう f-1(T) of T={0}.

3.1Answer

The inputs with f(x)=0 are x=2,4. Therefore

f-1({0})={2,4}.

3.2Explanation

A preimage逆像ぎゃくぞう is the set of all inputs入力にゅうりょく whose outputs出力しゅつりょく lie in the specified codomain終域しゅういき-side set. It is different from an inverse map逆写像ぎゃくしゃぞう, so a preimage can be found even when the map is not a bijection全単射ぜんたんしゃ.

4問題もんだい3:逆像ぎゃくぞうpreimage補集合ほしゅうごうcomplementたもつことをしめ

f:ABTB とする。

f-1(BT)=Af-1(T)

しめせ。

4.1解答かいとう

任意にんいxA について、

\begin{aligned} x\in f^{-1}(B\setminus T) &\Longleftrightarrow f(x)\in B\setminus T\\ &\Longleftrightarrow f(x)\notin T\\ &\Longleftrightarrow x\notin f^{-1}(T)\\ &\Longleftrightarrow x\in A\setminus f^{-1}(T). \end{aligned}

任意にんいxA所属条件しょぞくじょうけん同値どうちなので、2 つの集合しゅうごうsetひとしい。

4.2解説かいせつ

補集合ほしゅうごうcomplementでは、どの全体集合ぜんたいしゅうごうたいする補集合ほしゅうごうかが重要じゅうようである。BT出力側しゅつりょくがわ補集合ほしゅうごうcomplementであり、その逆像ぎゃくぞうpreimage入力側にゅうりょくがわ補集合ほしゅうごうcomplement Af-1(T) になる。

4Problem 3: prove that preimages逆像ぎゃくぞう preserve complements補集合ほしゅうごう

Let f:AB and TB. Prove

f-1(BT)=Af-1(T).

4.1Answer

For arbitrary xA,

\begin{aligned} x\in f^{-1}(B\setminus T) &\Longleftrightarrow f(x)\in B\setminus T\\ &\Longleftrightarrow f(x)\notin T\\ &\Longleftrightarrow x\notin f^{-1}(T)\\ &\Longleftrightarrow x\in A\setminus f^{-1}(T). \end{aligned}

Since the membership conditions are equivalent for every xA, the two sets集合しゅうごう are equal.

4.2Explanation

For a complement補集合ほしゅうごう, the ambient set matters. The set BT is the output-side complement, and its preimage逆像ぎゃくぞう is the input-side complement Af-1(T).

5証明しょうめい演習えんしゅうぞうimage逆像ぎゃくぞうpreimage往復おうふく

5.1問題もんだい

f:AB とする。つぎ証明しょうめいせよ。

  1. 任意にんいSA について Sf-1(f(S)) である。すべての SA等号とうごう成立せいりつすることと、f単射たんしゃinjectionであることは同値どうちである。
  2. 任意にんいTB について f(f-1(T))=Tf(A)T である。すべての TBf(f-1(T))=T成立せいりつすることと、f全射ぜんしゃsurjectionであることは同値どうちである。

5Proof exercise: round trips through imagesぞう and preimages逆像ぎゃくぞう

5.1Problem

Let f:AB. Prove the following statements.

  1. For every SA, Sf-1(f(S)). Equality holds for every SA if and only if f is an injection単射たんしゃ.
  2. For every TB, f(f-1(T))=Tf(A)T. The equality f(f-1(T))=T holds for every TB if and only if f is a surjection全射ぜんしゃ.

5.2解答かいとう

  1. xS なら f(x)f(S) なので、xf-1(f(S)) である。よって Sf-1(f(S)) である。

f単射たんしゃinjectionで、xf-1(f(S)) とする。ある sS存在そんざいして f(x)=f(s) だから、単射性たんしゃせいinjectivityより x=sS である。したがってすべての S等号とうごう成立せいりつする。

ぎゃくに、すべての S等号とうごう成立せいりつするとする。f(x1)=f(x2) とし、S={x1}く。すると x2f-1(f(S))=S なので x2=x1 である。よって f単射たんしゃinjectionである。

  1. yf(f-1(T)) なら、ある xf-1(T)存在そんざいして y=f(x) である。逆像ぎゃくぞうpreimage定義ていぎより f(x)T であり、また y=f(x)f(A) だから、yTf(A) である。

ぎゃくyTf(A) なら、ある xA存在そんざいして f(x)=y である。yT なので xf-1(T)、したがって yf(f-1(T)) である。よって

f(f-1(T))=Tf(A)T

である。

f全射ぜんしゃsurjectionで、yT とする。ある xA存在そんざいして f(x)=y である。すると xf-1(T) なので yf(f-1(T)) であり、すべての T等号とうごう成立せいりつする。

ぎゃくに、すべての T等号とうごう成立せいりつするとする。T=Bけば

f(A)=f(f-1(B))=B

だから、f全射ぜんしゃsurjectionである。

5.3解説かいせつ

入力側にゅうりょくがわから「ぞうimageって逆像ぎゃくぞうpreimageもどす」と、おな出力しゅつりょくoutputおくられる入力にゅうりょく追加ついかされうる。その追加ついかきないための条件じょうけん単射性たんしゃせいinjectivityである。

出力側しゅつりょくがわから「逆像ぎゃくぞうpreimageってぞうimageもどす」と、もともと写像しゃぞうmap到達とうたつしないげんelementうしなわれうる。その欠落けつらくきないための条件じょうけん全射性ぜんしゃせいsurjectivityである。

ここで単射性たんしゃせいinjectivity全射性ぜんしゃせいsurjectivity同値どうちなのは、「特定とくていの 1 つの部分集合ぶぶんしゅうごう等号とうごう成立せいりつすること」ではなく、「すべての部分集合ぶぶんしゅうごう等号とうごう成立せいりつすること」である。量化りょうかちがいに注意ちゅういする。

5.2Answer

  1. If xS, then f(x)f(S), so xf-1(f(S)). Hence Sf-1(f(S)).

Suppose f is injective and xf-1(f(S)). There exists sS with f(x)=f(s). Injectivity gives x=sS, so equality holds for every S.

Conversely, suppose equality holds for every S. If f(x1)=f(x2), set S={x1}. Then x2f-1(f(S))=S, so x2=x1. Thus f is injective.

  1. If yf(f-1(T)), there exists xf-1(T) with y=f(x). By the definition of preimage, f(x)T, and y=f(x)f(A), so yTf(A).

Conversely, if yTf(A), there exists xA with f(x)=y. Since yT, one has xf-1(T) and hence yf(f-1(T)). Therefore

f(f-1(T))=Tf(A)T.

Suppose f is surjective and yT. There exists xA with f(x)=y. Then xf-1(T), so yf(f-1(T)). Thus equality holds for every T.

Conversely, suppose equality holds for every T. Taking T=B gives

f(A)=f(f-1(B))=B,

so f is surjective.

5.3Explanation

Starting on the input side, taking an imageぞう and then pulling it back by a preimage逆像ぎゃくぞう may add inputs that share an output. Injectivity単射性たんしゃせい is exactly the condition preventing this addition.

Starting on the output side, taking a preimage and then pushing it forward by an image may lose elements that the map never reaches. Surjectivity全射性ぜんしゃせい is exactly the condition preventing this loss.

The condition equivalent to injectivity or surjectivity is not equality for one particular subset, but equality for every subset. Keep this difference in quantification explicit.

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