Root finding and numerical integration
導入済み
7:16
数値計算法
Section I is numerical methods, for equations and integrals that algebra cannot finish. A sign change locates a root of a continuous function. Iteration and…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| root/ruːt/ | Values of a variable that make an equation or polynomial expression equal to zero. |
| numerical methods/njuːˈmerɪkl ˈmeθədz/ | |
| iteration/ˌɪtəˈreɪʃn/ | 反復 |
| Derivative/dɪˈrɪvətɪv/ | |
| trapezium rule/trəˈpiːzɪəm ruːl/ | A numerical method that approximates a definite integral by summing areas of trapezia beneath straight-line segments. |
| strip width | |
| asymptote/ˈæsɪmptəʊt/ | A line that a curve approaches arbitrarily closely as its input or output tends to a particular limit. |
ニュートン自身の三次方程式、1690年
- 1690年、イギリスの数学者ジョセフ・ラフソンは、推定値を何度も改善して根を求める方法を発表しました。アイザック・ニュートンは、きれいな解を持たない方程式$x^3 - 2x - 5 = 0$に同じ考え方を使っていました。$x = 2$から始めると、2回の計算で小数第4位までの根が得られます。現在ニュートン・ラフソン法と呼ばれるこの方法は、電卓の方程式を解く機能に使われています。
- 方程式や積分を厳密に解けないとき、数値的方法で近似値を求めます。A-Levelの問題では、その近似値がどの程度信頼できるかが問われます。
根の位置を求める
- $f$が連続で、$f(a)$と$f(b)$の符号が異なれば、$a$と$b$の間に根があります。
- $f(x) = x^3 - 2x - 5$については、$f(2) = -1$かつ$f(3) = 16$なので、$(2, 3)$に根があります。
$f(x) = x^3 - 3x + 1$ has a root between 0 and 1.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
$f(0) = 1$ かつ $f(1) = -1$; $f$ is continuous.
不動点反復法
- $f(x) = 0$を$x = g(x)$の形に変形し、反復$x_{n+1} = g(x_n)$を使います。
- $x = \sqrt[3]{2x + 5}$で$x_0 = 2$とすると、$2.0801, 2.0924, 2.0942, \dots$が得られます。これは根に収束する階段状の動きです。
Root finding and numerical integration
A continuous function with opposite signs at two endpoints has a root between them
Compare the model with the worked case and explain one change.
Use $x_{n+1} = \sqrt{x_n + 3}$ with $x_0 = 2$. Find $x_1$ to 4 d.p.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
$\sqrt{5} = 2.23607$.
計算例:ニュートン・ラフソン法
$f(x) = x^3 - 2x - 5$に対して、$x_0 = 2$として$x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}$を使います。
- 導関数:$f'(x) = 3x^2 - 2$なので、$f'(2) = 10$かつ$x_1 = 2 - \dfrac{-1}{10} = 2.1$です。
- 次の反復:$f(2.1) = 0.061$かつ$f'(2.1) = 11.23$なので、$x_2 = 2.1 - \dfrac{0.061}{11.23} = 2.09457$です。
- 確認:$f(2.09455) < 0$かつ$f(2.09465) > 0$なので、根は小数第4位までで$2.0946$です。
Use one step of Newton–Raphson on $f(x) = x^2 - 5$ from $x_0 = 2$.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
$2 - \dfrac{-1}{4} = 2.25$.
台形則
- $\displaystyle\int_a^b y\,dx \approx \tfrac{h}{2}\left[y_0 + y_n + 2(y_1 + \dots + y_{n-1})\right]$。区間の幅は$h$です。
- $\displaystyle\int_1^3 \frac{1}{x}\,dx$を4つの区間に分けると、$0.25[1 + 0.333 + 2(0.667 + 0.5 + 0.4)] = 1.117$です。厳密な値は$\ln 3 = 1.099$です。
Use the trapezium rule with 2 strips to estimate $\displaystyle\int_0^2 x^2\,dx$.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
$h = 1$: $\tfrac{1}{2}[0 + 4 + 2(1)] = 3$; the exact value is $\tfrac{8}{3}$.
どの程度信頼できるか
- 台形則は、$\tfrac{1}{x}$のように曲線が下に凸(上向きに曲がる)のとき、値を過大に評価します。区間を増やすと誤差は小さくなります。
- ニュートン・ラフソン法は$f'(x_n) = 0$の場合に使えず、初期値が極値をとる点に近いと、別の根に飛ぶことがあります。
Why does the trapezium rule overestimate $\displaystyle\int_0^2 x^2\,dx$?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Chords lie above a convex curve.
Newton–Raphson fails at $x_0$ when
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
The formula divides by $f'(x_0)$; the tangent is horizontal.
符号が変わっても、必ずしも根があるとは限りません。 $f(x) = \dfrac{1}{x}$は$-1$と1の間で符号が変わりますが、根はなく、漸近線があります。関数はその区間で連続でなければなりません。
連続関数の符号の変化から、根の位置を特定できます。反復法$x_{n+1} = g(x_n)$とニュートン・ラフソン法$x_{n+1} = x_n - \tfrac{f(x_n)}{f'(x_n)}$で根の近似値を改善し、台形則で積分の近似値を求めます。曲線の凹凸、区間の数、初期値が結果に影響するため、常に信頼性を判断しましょう。
Show that $e^x = 3 - x$ has a root between 0 and 1, then use Newton–Raphson from $x_0 = 1$ to find it to 3 d.p.
Locate, then refine.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。