(a) f(x)=1+x1 の場合: テイラー展開を利用する。
f(x)=f(0)+f′(0)x+2!f′′(0)x2+3!f′′′(0)x3+… f′(x)=−(1+x)21, f′(0)=−1 f′′(x)=(1+x)32, f′′(0)=2 f′′′(x)=−(1+x)46, f′′′(0)=−6 2次近似: 1−x+x2 3次近似: 1−x+x2−x3 グラフを描画する。
(b) f(x)=sinx の場合: f′(x)=cosx, f′(0)=1 f′′(x)=−sinx, f′′(0)=0 f′′′(x)=−cosx, f′′′(0)=−1 3次近似: x−3!x3 グラフを描画する。
(c) f(x)=cosx の場合: f′(x)=−sinx, f′(0)=0 f′′(x)=−cosx, f′′(0)=−1 f′′′(x)=sinx, f′′′(0)=0 f(4)(x)=cosx, f(4)(0)=1 2次近似: 1−2!x2 4次近似: 1−2!x2+4!x4 グラフを描画する。
(d) f(x)=exp(x)=ex の場合: f′(x)=ex, f′(0)=1 f′′(x)=ex, f′′(0)=1 f′′′(x)=ex, f′′′(0)=1 2次近似: 1+x+2!x2 3次近似: 1+x+2!x2+3!x3 グラフを描画する。
(e) f(x)=tanhx=coshxsinhx=ex+e−xex−e−x の場合: f′(x)=cosh2x1, f′(0)=1 f′′(x)=−cosh3x2sinhx, f′′(0)=0 f′′′(x)=cosh4x6sinh2x−cosh2x2=2tanh2x⋅cosh2x1−cosh2x2, f′′′(0)=−2 3次近似: x−3x3 グラフを描画する。
(f) 多項式展開の次数を拡げることで、より広い範囲で元の関数に近い近似が得られる。つまり、近似の精度が向上する。
(g) オイラーの公式の証明:
eiθ=cosθ+isinθ e−iθ=cos(−θ)+isin(−θ) cos(−θ)=cosθ and sin(−θ)=−sinθなので e−iθ=cosθ−isinθ