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:A→B を、f(x) は x を 2 で割わった余あまり、と定さだめる。S={1,2,4} の像ぞうimage f(S) を求もとめよ。

2.1解答かいとう

f(1)=1、f(2)=0、f(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:A→B 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:A→B、T⊆B とする。

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

を示しめせ。

4.1解答かいとう

任意にんいの x∈A について、

\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}

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

4.2解説かいせつ

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

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

Let f:A→B and T⊆B. Prove

f-1(B∖T)=A∖f-1(T).

4.1Answer

For arbitrary x∈A,

\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 x∈A, the two sets集合しゅうごう are equal.

4.2Explanation

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

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

5.1問題もんだい

f:A→B とする。次つぎを証明しょうめいせよ。

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

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

5.1Problem

Let f:A→B. Prove the following statements.

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

5.2解答かいとう

  1. x∈S なら f(x)∈f(S) なので、x∈f-1(f(S)) である。よって S⊆f-1(f(S)) である。

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

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

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

逆ぎゃくに y∈T∩f(A) なら、ある x∈A が存在そんざいして f(x)=y である。y∈T なので x∈f-1(T)、したがって y∈f(f-1(T)) である。よって

f(f-1(T))=T∩f(A)⊆T

である。

f が全射ぜんしゃsurjectionで、y∈T とする。ある x∈A が存在そんざいして f(x)=y である。すると x∈f-1(T) なので y∈f(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 x∈S, then f(x)∈f(S), so x∈f-1(f(S)). Hence S⊆f-1(f(S)).

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

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

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

Conversely, if y∈T∩f(A), there exists x∈A with f(x)=y. Since y∈T, one has x∈f-1(T) and hence y∈f(f-1(T)). Therefore

f(f-1(T))=T∩f(A)⊆T.

Suppose f is surjective and y∈T. There exists x∈A with f(x)=y. Then x∈f-1(T), so y∈f(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
タブを全て閉じる