Last active
April 12, 2019 13:52
-
-
Save shotahorii/3ece437fefb60d978517bad8c86aea64 to your computer and use it in GitHub Desktop.
Differentiation Formulas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"### Differentiation Formulas\n", | |
"- [分数関数の微分](https://mathwords.net/bunsunobibun)\n", | |
"- [合成関数の微分公式と例題7問](https://mathtrain.jp/composite)\n", | |
"- [積の微分公式とその証明の味わい](https://mathtrain.jp/sekinobibun)\n", | |
"- [ライプニッツの公式の証明と二項定理](https://mathtrain.jp/leibniz)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#### 分数関数の微分公式" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 5, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/latex": [ | |
"次の分数関数を考える。\n", | |
"<br><br>\n", | |
"$$\\frac{f(x)}{g(x)}$$\n", | |
"<br><br>\n", | |
"この微分は以下である。\n", | |
"<br><br>\n", | |
"$$\\frac{f'(x)g(x) - f(x)g'(x)}{g(x)^2}$$" | |
], | |
"text/plain": [ | |
"<IPython.core.display.Latex object>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"%%latex\n", | |
"次の分数関数を考える。\n", | |
"<br><br>\n", | |
"$$\\frac{f(x)}{g(x)}$$\n", | |
"<br><br>\n", | |
"この微分は以下である。\n", | |
"<br><br>\n", | |
"$$\\frac{f'(x)g(x) - f(x)g'(x)}{g(x)^2}$$" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#### 合成関数の微分公式" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 11, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/latex": [ | |
"<b>考え方1</b>\n", | |
"<br>\n", | |
"$$y$$が$$u$$の関数で,$$u$$が$$x$$の関数であるとき,$$y$$を$$x$$で微分したものは以下のようになる。\n", | |
"<br><br>\n", | |
"$$\\frac{dy}{dx} = \\frac{dy}{du}\\frac{du}{dx}$$\n", | |
"<br><br>\n", | |
"<b>考え方2</b>\n", | |
"<br>\n", | |
"具体的に二つの関数を$$u=g(x), y=f(u)$$とおくと,以下のように書くこともできる。\n", | |
"<br><br>\n", | |
"$$f(g(x))'=f'(g(x))g'(x)$$" | |
], | |
"text/plain": [ | |
"<IPython.core.display.Latex object>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"%%latex\n", | |
"<b>考え方1</b>\n", | |
"<br>\n", | |
"$$y$$が$$u$$の関数で,$$u$$が$$x$$の関数であるとき,$$y$$を$$x$$で微分したものは以下のようになる。\n", | |
"<br><br>\n", | |
"$$\\frac{dy}{dx} = \\frac{dy}{du}\\frac{du}{dx}$$\n", | |
"<br><br>\n", | |
"<b>考え方2</b>\n", | |
"<br>\n", | |
"具体的に二つの関数を$$u=g(x), y=f(u)$$とおくと,以下のように書くこともできる。\n", | |
"<br><br>\n", | |
"$$f(g(x))'=f'(g(x))g'(x)$$" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#### 積の微分公式" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 12, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/latex": [ | |
"$$f(x),g(x)$$が、考えている区間で微分可能な時、この積の微分は以下のようになる。\n", | |
"<br><br>\n", | |
"$$\\{f(x)g(x)\\}' = f'(x)g(x)+f(x)g'(x)$$" | |
], | |
"text/plain": [ | |
"<IPython.core.display.Latex object>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"%%latex\n", | |
"$$f(x),g(x)$$が、考えている区間で微分可能な時、この積の微分は以下のようになる。\n", | |
"<br><br>\n", | |
"$$\\{f(x)g(x)\\}' = f'(x)g(x)+f(x)g'(x)$$" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#### ライプニッツの公式\n", | |
"上の積の微分公式の一般化。" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 37, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/latex": [ | |
"$$f,g,h$$を$$x$$の関数とする。関数の積は以下のように微分できる。\n", | |
"<br><br>\n", | |
"$$(fg)' = f'g + fg'$$\n", | |
"<br><br>\n", | |
"$$(fg)'' = f''g + 2f'g' + fg''$$\n", | |
"<br><br>\n", | |
"$$(fgh)' = f'gh + fg'h + fgh'$$\n", | |
"<br><br>\n", | |
"上の二番目の公式を一般化し、微分回数を任意の回数nとする。つまり$$fg$$のn回微分は以下のようになる。\n", | |
"<br><br>\n", | |
"$$(fg)^{(n)} = \\sum_{k=0}^n {}_n C_k f^{(k)} g^{(n-k)}$$\n", | |
"<br><br>\n", | |
"次に積を取る関数の数を m 個に増やし,$$f_1,f_2,...,f_m$$のn回微分を考えると以下のようになる。\n", | |
"<br><br>\n", | |
"$$(f_1f_2...f_m)^{(n)} = \n", | |
"\\sum_{k_i\\ge 0,\\sum k_i=n} (\\frac{n!}{\\prod_{i=1}^m k_i!} \\prod_{i=1}^m f_i^{(k_i)})$$" | |
], | |
"text/plain": [ | |
"<IPython.core.display.Latex object>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"%%latex\n", | |
"$$f,g,h$$を$$x$$の関数とする。関数の積は以下のように微分できる。\n", | |
"<br><br>\n", | |
"$$(fg)' = f'g + fg'$$\n", | |
"<br><br>\n", | |
"$$(fg)'' = f''g + 2f'g' + fg''$$\n", | |
"<br><br>\n", | |
"$$(fgh)' = f'gh + fg'h + fgh'$$\n", | |
"<br><br>\n", | |
"上の二番目の公式を一般化し、微分回数を任意の回数nとする。つまり$$fg$$のn回微分は以下のようになる。\n", | |
"<br><br>\n", | |
"$$(fg)^{(n)} = \\sum_{k=0}^n {}_n C_k f^{(k)} g^{(n-k)}$$\n", | |
"<br><br>\n", | |
"次に積を取る関数の数を m 個に増やし,$$f_1,f_2,...,f_m$$のn回微分を考えると以下のようになる。\n", | |
"<br><br>\n", | |
"$$(f_1f_2...f_m)^{(n)} = \n", | |
"\\sum_{k_i\\ge 0,\\sum k_i=n} (\\frac{n!}{\\prod_{i=1}^m k_i!} \\prod_{i=1}^m f_i^{(k_i)})$$" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.5.2" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment