markdown
論理と証明法 基本演習md 862447d
exercise/math/discrete-math/logic-and-proof-methods.exercise.n.md

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

document_iddoc_e5b67ffb45f07185379a145613a42e68title論理と証明法 基本演習type問題演習content_typeexercisedate2026-07-14categorymathdescription命題、述語、量化、否定、直接証明、対偶証明、反例の基本演習。prerequisites命題・述語と量化 / 証明法と反例 / 数学的帰納法と再帰的定義relateddata/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md / data/lecture/math/discrete-math/propositions-predicates-and-quantifiers.lecture.n.md / data/lecture/math/discrete-math/proof-methods-and-counterexamples.lecture.n.md / data/lecture/math/discrete-math/mathematical-induction-and-recursive-definitions.lecture.n.md

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

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

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

xA,P(x)Q(x)

2.1解答かいとう

否定ひてい

xAsuchthatP(x)and¬Q(x)

である。

2.2解説かいせつ

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

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

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

xA,P(x)Q(x)

2.1Answer

The negation is

xAsuchthatP(x)and¬Q(x).

2.2Explanation

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

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

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

3.1解答かいとう

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

3.2解説かいせつ

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

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

Assume AB and BC. Prove AC.

3.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.

3.2Explanation

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

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

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

4.1解答かいとう

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

4.2解説かいせつ

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

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

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

4.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対称性たいしょうせい.

4.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.

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

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

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

しめせ。

5.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 でも成立せいりつする。

5.2解説かいせつ

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

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

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

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

5.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.

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