markdown
論理と証明法 基本演習md 8326791
exercise/math/discrete-math/論理と証明法-基本演習.n.md

論理ろんりlogic証明法しょうめいほうproof method 基本きほん演習えんしゅう

title論理と証明法 基本演習type問題演習content_typeexercisedate2026-06-06categorymathdescription命題、述語、量化、否定、直接証明、対偶証明、反例の基本演習。relateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md

Logic論理ろんり and proof methods証明法しょうめいほう: basic exercises

3問題もんだい1:量化りょうかquantification否定ひていする

つぎ命題めいだいproposition否定ひていけ。

xA,P(x)Q(x)

3.1解答かいとう

否定ひてい

xAsuchthatP(x)and¬Q(x)

である。

3.2解説かいせつ

全称量化ぜんしょうりょうかuniversal quantification否定ひてい存在量化そんざいりょうかexistential quantificationになる。また、含意がんいimplication PQ否定ひていP¬Q である。

4Problem 1: negate quantification量化りょうか

Write the negation of the following proposition命題めいだい.

xA,P(x)Q(x)

4.1Answer

The negation is

xAsuchthatP(x)and¬Q(x).

4.2Explanation

The negation of universal quantification全称量化ぜんしょうりょうか becomes existential quantification存在量化そんざいりょうか. Also, the negation of the implication含意がんい PQ is P¬Q.

5問題もんだい2:包含ほうがんinclusion推移性すいいせいtransitivityしめ

AB かつ BC のとき、ACしめせ。

5.1解答かいとう

任意にんいxり、xA とする。AB より xB である。さらに BC より xC である。したがって xAxC任意にんいxつので、AC である。

5.2解説かいせつ

これは直接証明ちょくせつしょうめいdirect proofである。包含関係ほうがんかんけいinclusion relationは、すべてのげんelementたいする含意がんいimplicationとしてむ。

6Problem 2: prove transitivity推移性すいいせい of inclusion包含ほうがん

Assume AB and BC. Prove AC.

6.1Answer

Take arbitrary x and assume xA. Since AB, we have xB. Since BC, we have xC. Thus xAxC holds for every x, so AC.

6.2Explanation

This is a direct proof直接証明ちょくせつしょうめい. An inclusion relation包含関係ほうがんかんけい is read as an implication含意がんい about every elementげん.

7問題もんだい3:反例はんれいcounterexampleつく

任意にんい関係かんけいrelation対称たいしょうsymmetricである」という主張しゅちょう反例はんれいcounterexampleあたえよ。

7.1解答かいとう

A={1,2} うえ関係かんけいrelation R={(1,2)}かんがえる。(1,2)R だが (2,1)R である。したがって R対称性たいしょうせいsymmetryたない。

7.2解説かいせつ

反例はんれいcounterexampleでは、主張しゅちょう対象たいしょうになっている条件じょうけんたすれいつくり、その結論けつろんたないことをしめす。この問題もんだいでは RA×A なので、たしかに A うえ関係かんけいrelationである。

8Problem 3: construct a counterexample反例はんれい

Give a counterexample反例はんれい to the claim “every relation関係かんけい is symmetric対称たいしょう.”

8.1Answer

Consider the relation関係かんけい R={(1,2)} on A={1,2}. We have (1,2)R but (2,1)R. Therefore R does not have symmetry対称性たいしょうせい.

8.2Explanation

A counterexample反例はんれい must satisfy the assumptions of the claim and make the conclusion fail. Here RA×A, so it really is a relation関係かんけい on A.

9問題もんだい4:帰納法きのうほうinductionしめ

すべての n[PARSE ERROR: Undefined("Command(\"ge\")")]1 について、

1+2++n=n(n+1)2

しめせ。

9.1解答かいとう

n=1 のとき、左辺さへん1右辺うへん1·2/2=1 なのでつ。

n=kつと仮定かていする。

1+2++k=k(k+1)2

このとき

1+2++k+(k+1)=k(k+1)2+(k+1)=(k+1)(k+2)2

である。したがって n=k+1 でもつ。

9.2解説かいせつ

基底段階きていだんかいbase case帰納段階きのうだんかいinduction stepけてく。文字式もじしきざんあらわれるが、分母ぶんぼ定数ていすう 2 なので、零除算れいじょざん確認かくにん不要ふようである。

10Problem 4: prove by induction帰納法きのうほう

Prove that for every n[PARSE ERROR: Undefined("Command(\"ge\")")]1,

1+2++n=n(n+1)2.

10.1Answer

For n=1, the left-hand side is 1 and the right-hand side is 1·2/2=1, so the statement holds.

Assume the statement holds for n=k:

1+2++k=k(k+1)2.

Then

1+2++k+(k+1)=k(k+1)2+(k+1)=(k+1)(k+2)2.

Thus the statement also holds for n=k+1.

10.2Explanation

Write the base case基底段階きていだんかい and the induction step帰納段階きのうだんかい separately. Division appears in the algebraic expression, but the denominator is the constant 2, so there is no zero-division issue to check.

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