3問題1:量化を否定する
次の命題の否定を書け。
\forall x\in A,\ P(x)\Rightarrow Q(x)
3.1解答
否定は
\exists x\in A\ \text{such that}\ P(x)\ \text{and}\ \lnot Q(x)
である。
3.2解説
全称量化の否定は存在量化になる。また、含意 P\Rightarrow Q の否定は P\land\lnot Q である。
4Problem 1: negate quantification
Write the negation of the following proposition命題めいだい.
\forall x\in A,\ P(x)\Rightarrow Q(x)
4.1Answer
The negation is
\exists x\in A\ \text{such that}\ P(x)\ \text{and}\ \lnot Q(x).
4.2Explanation
The negation of universal quantification全称量化ぜんしょうりょうか becomes existential quantification存在量化そんざいりょうか. Also, the negation of the implication含意がんい P\Rightarrow Q is P\land\lnot Q.
5問題もんだい2:包含ほうがんinclusionの推移性すいいせいtransitivityを示しめす
A\subseteq B かつ B\subseteq C のとき、A\subseteq C を示しめせ。
5.1解答かいとう
任意にんいの x を取とり、x\in A とする。A\subseteq B より x\in B である。さらに B\subseteq C より x\in C である。したがって x\in A\Rightarrow x\in C が任意にんいの x で成なり立たつので、A\subseteq C である。
5.2解説かいせつ
これは直接証明ちょくせつしょうめいdirect proofである。包含関係ほうがんかんけいinclusion relationは、すべての元げんelementに対たいする含意がんいimplicationとして読よむ。
6Problem 2: prove transitivity推移性すいいせい of inclusion包含ほうがん
Assume A\subseteq B and B\subseteq C. Prove A\subseteq C.
6.1Answer
Take arbitrary x and assume x\in A. Since A\subseteq B, we have x\in B. Since B\subseteq C, we have x\in C. Thus x\in A\Rightarrow x\in C holds for every x, so A\subseteq C.
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)\in R だが (2,1)\notin R である。したがって R は対称性たいしょうせいsymmetryを持もたない。
7.2解説かいせつ
反例はんれいcounterexampleでは、主張しゅちょうの対象たいしょうになっている条件じょうけんを満みたす例れいを作つくり、その結論けつろんが成なり立たたないことを示しめす。この問題もんだいでは R\subseteq A\times 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)\in R but (2,1)\notin R. Therefore R does not have symmetry対称性たいしょうせい.
8.2Explanation
A counterexample反例はんれい must satisfy the assumptions of the claim and make the conclusion fail. Here R\subseteq A\times A, so it really is a relation関係かんけい on A.
9問題もんだい4:帰納法きのうほうinductionで示しめす
すべての n\ge 1 について、
1+2+\cdots+n=\frac{n(n+1)}{2}
を示しめせ。
9.1解答かいとう
n=1 のとき、左辺さへんは 1、右辺うへんは 1\cdot2/2=1 なので成なり立たつ。
n=k で成なり立たつと仮定かていする。
1+2+\cdots+k=\frac{k(k+1)}{2}
このとき
1+2+\cdots+k+(k+1)
=
\frac{k(k+1)}{2}+(k+1)
=
\frac{(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\ge 1,
1+2+\cdots+n=\frac{n(n+1)}{2}.
10.1Answer
For n=1, the left-hand side is 1 and the right-hand side is 1\cdot2/2=1, so the statement holds.
Assume the statement holds for n=k:
1+2+\cdots+k=\frac{k(k+1)}{2}.
Then
1+2+\cdots+k+(k+1)
=
\frac{k(k+1)}{2}+(k+1)
=
\frac{(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.