markdown
数学的帰納法と再帰的定義md ff9be5f
lecture/math/discrete-math/数学的帰納法と再帰的定義-講義.n.md
Download PDF

数学的帰納法すうがくてききのうほう再帰的定義さいきてきていぎ

title数学的帰納法と再帰的定義 講義type講義content_typelecturedate2026-06-06categorymathdescription自然数[上/うえ]の命題を扱う数学的帰納法と、数列・木・グラフの定義に現れる再帰的定義を説明する。relateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md

離散数学りさんすうがくdiscrete mathematicsでは、対象たいしょうを 1 つずつやす議論ぎろんがよくあらわれる。数学的帰納法すうがくてききのうほうmathematical inductionは、そのような「最初さいしょち、つぎすすめるなら、すべてでつ」という構造こうぞう証明しょうめいにしたものである。

数学的帰納法すうがくてききのうほうmathematical inductionは、自然数しぜんすう沿って命題めいだい全体ぜんたいひろげる証明法しょうめいほうである。再帰的定義さいきてきていぎrecursive definitionは、最初さいしょあたいまえあたいからつぎめる規則きそく対象たいしょう定義ていぎする。

Mathematical induction数学的帰納法すうがくてききのうほう and recursive definitions再帰的定義さいきてきていぎ

In discrete mathematics離散数学りさんすうがく, arguments often add objects one by one. Mathematical induction数学的帰納法すうがくてききのうほう turns the structure "it holds at the start, and if it can advance to the next case, then it holds everywhere" into a proof method.

Mathematical induction数学的帰納法すうがくてききのうほう is a proof method that extends a proposition along the natural numbers自然数しぜんすう. A recursive definition再帰的定義さいきてきていぎ defines objects by giving an initial value and a rule that determines the next value from earlier values.

1数学的帰納法すうがくてききのうほうかたち

自然数しぜんすう nかんする命題めいだい P(n) をすべての n[PARSE ERROR: Undefined("Command(\"ge\")")]n0しめしたいとする。このとき、つぎの 2 つをしめす。

P(n0)
P(k)P(k+1)(k[PARSE ERROR: Undefined("Command(\"ge\")")]n0)

最初さいしょしき基底段階きていだんかいbase caseつぎしき帰納段階きのうだんかいinduction stepという。帰納段階きのうだんかいinduction step仮定かていする P(k)帰納法きのうほう仮定かていinduction hypothesisという。

基底きていbase case帰納法きのうほうのステップinduction step両方りょうほう必要ひつようである。いくつかのれい確認かくにんするだけではすべての nしめしたことにならず、仮定かてい P(n) からつぎP(n+1)みちび論理ろんり必要ひつようである。

1Induction form

Suppose we want to prove a proposition命題めいだい P(n) about a natural number自然数しぜんすう n for all n[PARSE ERROR: Undefined("Command(\"ge\")")]n0. Then we prove the following two statements.

P(n0)
P(k)P(k+1)(k[PARSE ERROR: Undefined("Command(\"ge\")")]n0)

The first statement is the base case基底段階きていだんかい, and the second statement is the induction step帰納段階きのうだんかい. The temporary assumption P(k) used inside the induction step is the induction hypothesis帰納法の仮定.

Both the base case基底段階きていだんかい and the induction step帰納段階きのうだんかい are necessary. Checking several examples does not prove all n; the proof needs a logical step that derives P(n+1) from the assumption P(n).

2なぜこれで十分じゅうぶん

数学的帰納法すうがくてききのうほうmathematical inductionは、ドミノたおしの比喩ひゆ理解りかいできる。最初さいしょのドミノがたおれることが基底段階きていだんかいbase caseであり、任意にんいのドミノがたおれたらつぎたおれることが帰納段階きのうだんかいinduction stepである。すると、すべてのドミノがたおれる。

厳密げんみつには、自然数しぜんすう整列性せいれつせいwell-ordering property同値どうち原理げんりとして理解りかいできる。もしたない n があれば、そのなか最小さいしょうのものが存在そんざいする。その最小値さいしょうち基底段階きていだんかいではなく、直前ちょくぜんまではつはずなので、帰納段階きのうだんかい矛盾むじゅんする。

基底きていbase case最初さいしょ到達点とうたつてんあたえ、帰納法きのうほうのステップinduction step一歩先いっぽさきすすめる規則きそくあたえる。有限回ゆうげんかいこの規則きそくかえすことで、任意にんい自然数しぜんすう到達とうたつする。

2Why it works

Mathematical induction数学的帰納法すうがくてききのうほう can be understood through the domino metaphor. The base case基底段階きていだんかい says that the first domino falls. The induction step帰納段階きのうだんかい says that whenever an arbitrary domino falls, the next one also falls. Therefore every domino falls.

More rigorously, induction can be understood as a principle equivalent to the well-ordering property整列性せいれつせい of the natural numbers. If some n failed to satisfy P(n), there would be a smallest failing n. That smallest value cannot be the base case, and the previous case should already hold, so the induction step gives a contradiction.

The base case基底段階きていだんかい gives the first reachable point, and the induction step帰納段階きのうだんかい gives the rule for moving one step forward. Repeating this rule finitely many times reaches any chosen natural number自然数しぜんすう.

3具体例ぐたいれい有限集合ゆうげんしゅうごう冪集合べきしゅうごうおおきさ

このれいは、べき集合しゅうごうpower set正式せいしき講義こうぎよりまえ帰納法きのうほうれいである。ここでは最小限さいしょうげんとして、|A|Aげんelement個数こすう[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)A部分集合ぶぶんしゅうごうsubset全体ぜんたい集合しゅうごうset有限集合ゆうげんしゅうごうfinite setげんn もつ集合しゅうごうとしてあつかう。

|A|=n のとき、|[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=2nしめす。

基底段階きていだんかいとして、n=0 のとき A=[PARSE ERROR: Undefined("Command(\"varnothing\")")] であり、

[PARSE ERROR: Undefined("Command(\"mathcal\")")]P([PARSE ERROR: Undefined("Command(\"varnothing\")")])={[PARSE ERROR: Undefined("Command(\"varnothing\")")]}

なので |[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=1=20 である。ここで n=0場合ばあい明示めいじすることが重要じゅうようである。空集合くうしゅうごう例外れいがいではなく、公式こうしき出発点しゅっぱつてんである。

帰納段階きのうだんかいとして、|A|=k のとき |[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=2k仮定かていする。あたらしいげん aAくわえた集合しゅうごう A=A{a}かんがえる。A部分集合ぶぶんしゅうごうは、aふくまないものとふくむものにかれる。ふくまないものは A部分集合ぶぶんしゅうごうであり、ふくむものは B{a}かたちBA一対一いちたいいち対応たいおうする。したがって

|[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=2k+2k=2k+1

である。

data/lecture/math/discrete-math/べき集合の基本-講義.n.md

3Worked theorem: size of a power set

This example appears before the formal lecture on power sets[べき集合]. Here, |A| means the number of elementsげん of A, [PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A) means the set集合しゅうごう of all subsets部分集合ぶぶんしゅうごう of A, and a finite set有限集合ゆうげんしゅうごう is treated as a set with n elements.

We prove that if |A|=n, then |[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=2n.

As the base case基底段階きていだんかい, when n=0 we have A=[PARSE ERROR: Undefined("Command(\"varnothing\")")] and

[PARSE ERROR: Undefined("Command(\"mathcal\")")]P([PARSE ERROR: Undefined("Command(\"varnothing\")")])={[PARSE ERROR: Undefined("Command(\"varnothing\")")]},

so |[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=1=20. It is important to state the case n=0 explicitly. The empty set is not an exception; it is the starting point of the formula.

For the induction step帰納段階きのうだんかい, assume that |A|=k implies |[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=2k. Add a new elementげん aA and consider A=A{a}. Each subset部分集合ぶぶんしゅうごう of A either does not contain a or does contain a. The subsets not containing a are exactly the subsets of A, and the subsets containing a correspond one-to-one to sets of the form B{a} with BA. Therefore

|[PARSE ERROR: Undefined("Command(\"mathcal\")")]P(A)|=2k+2k=2k+1.
data/lecture/math/discrete-math/べき集合の基本-講義.n.md

4再帰的定義さいきてきていぎ

再帰的定義さいきてきていぎrecursive definitionは、最初さいしょ対象たいしょうと、つぎ対象たいしょうつく規則きそくによって全体ぜんたいさだめる方法ほうほうである。

たとえば数列すうれつ an

a0=1,an+1=2an+1

さだめることは再帰的定義さいきてきていぎrecursive definitionである。ここで a0指定していしないと、つぎつく規則きそくだけではあたいさだまらない。

再帰的定義さいきてきていぎrecursive definitionでは、つぎかなら確認かくにんする。

  • 初期値しょきち指定していされている。
  • つぎつく規則きそく明確めいかくである。
  • どの範囲はんいnたいして規則きそく使つかうかが明確めいかくである。

再帰的定義さいきてきていぎrecursive definitionでは、初期値しょきち再帰規則さいききそく不足ふそくしていないかを確認かくにんする。おな初期値しょきち規則きそくからられる対象たいしょう一意いちいであることは、しばしば数学的帰納法すうがくてききのうほうmathematical inductionしめせる。

4Recursive definitions

A recursive definition gives initial data and a rule for producing the next object, such as

a0=1,an+1=2an+1

Specifying a0 is necessary; the rule for producing the next term alone does not determine the values.

For a recursive definition再帰的定義さいきてきていぎ, always check the following points.

  • Initial values are specified.
  • The rule for producing the next object is clear.
  • The range of n for which the rule is used is clear.

For a recursive definition再帰的定義さいきてきていぎ, check that neither the initial value nor the recursion rule is missing. The fact that the same initial value and rule determine a unique object can often be proved by mathematical induction数学的帰納法すうがくてききのうほう.

5注意ちゅうい

帰納法きのうほう仮定かていは、すべての n について証明しょうめいしたい命題めいだいそのものを一度いちど仮定かていすることではない。任意にんいの 1 つの k について一時的いちじてき仮定かていし、つぎ場合ばあいしめすためだけに使つかう。

5Warning

The induction hypothesis is not the statement to be proved for all n at once. It is a temporary assumption for one arbitrary k, used only to prove the next case.

7まとめ

数学的帰納法すうがくてききのうほうmathematical inductionは、自然数しぜんすううえ命題めいだいあつか基本きほんてき証明しょうめいほうである。再帰的定義さいきてきていぎrecursive definitionは、有限ゆうげんれつ、グラフ、計算けいさんじゅん定義ていぎ頻繁ひんぱん使つかわれる。

7Summary

Mathematical induction数学的帰納法すうがくてききのうほう is a basic proof method for statements over the natural numbers自然数しぜんすう. Recursive definitions再帰的定義さいきてきていぎ are used frequently when defining finite sequences, trees, graphs, and computational procedures.

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