学習環境
- Surface、Surface ペン(端末)
- Windows 10 Pro (OS)
- Nebo(Windows アプリ)
- iPad Pro 10.5 + Apple Pencil
- MyScript Nebo - MyScript(iPad アプリ(iOS))
- 参考書籍
微分積分学 (ちくま学芸文庫) (吉田 洋一(著)、筑摩書房)のⅡ.(微分法の公式)、2.(数学的帰納法)、問2の解答を求めてみる。
とおくと、
よって、 (D)より、
また、 (5)より
よって、
(証明終)
コード
Python 3
#!/usr/bin/env python3
from sympy import pprint, symbols, Function, Derivative
print('2.')
x = symbols('x')
f = Function('f')(x)
n = symbols('n', integer=True, nonzero=True)
df1 = Derivative(f ** n, x, 1)
df2 = n * f ** (n - 1) * Derivative(f, x, 1)
for o in [df1, df1.doit(), df1.doit().simplify() == df2.simplify()]:
pprint(o)
print()
入出力結果(Bash、cmd.exe(コマンドプロンプト)、Terminal、Jupyter(IPython))
$ ./sample2.py
2.
d ⎛ n ⎞
──⎝f (x)⎠
dx
n d
n⋅f (x)⋅──(f(x))
dx
────────────────
f(x)
True
$
0 コメント:
コメントを投稿