導関数の定義と差商の基本演習
mathcalculusexercisederivative
data/lecture/math/calculus/derivative-definition-and-difference-quotients.lecture.n.md
1問題 1
定義から f(x)=x^3 の導関数を求めよ。
1.1解答例
f:\mathbb{R}\to\mathbb{R}、f(x)=x^3 とする。
h\ne0 の範囲で
\frac{(x+h)^3-x^3}{h}=3x^2+3xh+h^2
である。したがって h\to0 として f'(x)=3x^2 を得る。
1.2解説
h で割るため、先に h\ne0 で整理し、最後に極限を取る。
1.3よくある誤り
h=0 を途中で代入する誤りがある。
2問題 2
f(x)=1/x について、定義から f'(a) を求めよ。ただし a\ne0 とする。
2.1解答例
f:\mathbb{R}\setminus\{0\}\to\mathbb{R} とする。a\ne0、h\ne0、a+h\ne0 の範囲で
\frac{\frac{1}{a+h}-\frac{1}{a}}{h}
=
\frac{-1}{a(a+h)}
である。したがって
f'(a)=\lim_{h\to0}\frac{-1}{a(a+h)}=-\frac{1}{a^2}
である。
2.2解説
文字式の分母が現れるため、a\ne0、h\ne0、a+h\ne0 の3条件を確認する。
2.3よくある誤り
1/(a+h)-1/a の通分で符号を誤る場合が多い。
3問題 3
f(x)=|x| が 0 で微分可能でないことを示せ。
3.1解答例
差商は
\frac{|0+h|-|0|}{h}=\frac{|h|}{h}
である。h>0 では 1、h<0 では -1 であるため、
\lim_{h\to0+}\frac{|h|}{h}=1,
\qquad
\lim_{h\to0-}\frac{|h|}{h}=-1
である。左右の極限が一致しないため、f'(0) は存在せず、f は 0 で微分可能ではない。
3.2解説
連続でも微分可能とは限らない。定義域の内点で微分可能であるためには、有限な両側差商極限が存在する必要がある。
4関連リンク
data/lecture/math/calculus/derivative-definition-and-difference-quotients.lecture.n.md
data/lecture/math/calculus/limits-and-continuity.lecture.n.md
data/lecture/math/calculus/local-linear-approximation-and-differentiability.lecture.n.md
Basic Exercises on the Derivative Function and Difference Quotients
data/lecture/math/calculus/derivative-definition-and-difference-quotients.lecture.n.md
1Problem 1
Use the definition to derive the derivative function of f(x)=x^3.
1.1Sample Solution
Let f:\mathbb{R}\to\mathbb{R} be defined by f(x)=x^3. For h\ne0,
\frac{(x+h)^3-x^3}{h}=3x^2+3xh+h^2.
Taking the limit as h\to0 gives f'(x)=3x^2.
1.2Explanation
Because the expression divides by h, it must first be simplified under the condition h\ne0. Only then is the limit taken.
1.3Common Error
Substituting h=0 before cancellation makes the difference quotient undefined.
2Problem 2
For f(x)=1/x, derive f'(a) from the definition, assuming a\ne0.
2.1Sample Solution
Let f:\mathbb{R}\setminus\{0\}\to\mathbb{R}. For a\ne0, h\ne0, and a+h\ne0,
\frac{\frac{1}{a+h}-\frac{1}{a}}{h}
=
\frac{-1}{a(a+h)}.
Therefore,
f'(a)=\lim_{h\to0}\frac{-1}{a(a+h)}=-\frac{1}{a^2}.
2.2Explanation
The denominators require all three conditions: a\ne0, h\ne0, and a+h\ne0.
2.3Common Error
A frequent error is to lose the negative sign when combining 1/(a+h)-1/a over a common denominator.
3Problem 3
Prove that f(x)=|x| is not differentiable at 0.
3.1Sample Solution
The difference quotient is
\frac{|0+h|-|0|}{h}=\frac{|h|}{h}.
It equals 1 for h>0 and -1 for h<0. Hence,
\lim_{h\to0+}\frac{|h|}{h}=1,
\qquad
\lim_{h\to0-}\frac{|h|}{h}=-1.
Because the one-sided limits disagree, f'(0) does not exist, and f is not differentiable at 0.
3.2Explanation
Continuity does not imply differentiability. A finite two-sided difference-quotient limit is required at an interior point.
4Related Material
data/lecture/math/calculus/derivative-definition-and-difference-quotients.lecture.n.md
data/lecture/math/calculus/limits-and-continuity.lecture.n.md
data/lecture/math/calculus/local-linear-approximation-and-differentiability.lecture.n.md