Approximating Solutions Using Euler's Method
導入済み
8:26
微分方程式を用いたモデル化
通常は関数を与えられ、その傾きを求められます。微分方程式はその逆です。すべての点における傾きのルールを与えられて、…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| solution/səˈluːʃn/ | A value, set of values or function that satisfies an equation, inequality or other mathematical condition. |
| differential equation/ˌdɪfəˈrenʃl ɪˈkweɪʒn/ | An equation involving a function and one or more of its derivatives. |
| Euler's method/ˈɔɪləz ˈmeθəd/ | オイラー法 |
| slope/sləʊp/ | The change in a line's vertical coordinate divided by the corresponding change in its horizontal coordinate. |
| step size/step saɪz/ | ステップサイズ |
| second derivative/ˈsekənd dɪˈrɪvətɪv/ | The derivative of a function's first derivative, describing how its gradient changes. |
解を一歩ずつ追跡する
- 全ての微分方程式が公式で解けるわけではないが、数値的に近似解を求めることは可能である。
- オイラー法は、始点から微小な直線のステップで傾き場に沿って進む。
- 各点で微分方程式を使って傾きを求め、それに沿って進行する。
- これを繰り返せば、近似解の曲線を追跡できる。
更新ルール
- $\dfrac{dy}{dx}=f(x,y)$と初期値$(x_0,y_0)$が与えられたとき、固定されたステップ幅$h$を用います:
-
$$y_{n+1}=y_n+h\,f(x_n,y_n),\qquad x_{n+1}=x_n+h$$
- 新しい $y$ = 古い $y$ + (その点での傾き)×(ステップ $h$)。
- 「現在の値+傾き×ステップ」ということだ — 接線によるジャンプである。

オイラー法は接線に沿ってステップを進め、推定値は真の解からずれる
The slope field and exact exponential solution
This field is $dy/dx=ay$, with exact solution $y=y_0e^{ax}$. It illustrates tangent directions, without calculating Euler steps. The worked Euler example below instead uses $dy/dx=x+y$.
Euler's update rule is $y_{n+1}=$
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Old $y$ plus slope times step.
The fixed increment $h$ used at each Euler step is called the ____ size.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
$x$ advances by the step size $h$ each iteration.
テーブルを進む
- 作業を表形式で整理します:各行で$(x_n,y_n)$を読み取り、傾き$f(x_n,y_n)$を計算し、次に$y_{n+1}$を得ます。
- 各行で $x$ を $h$ だけ進め、目標 $x$ に達するまで繰り返す。
- 各ステップは単なる計算であり、微分方程式が傾きを提供する。
- 数行後には、目標における近似 $y$ が得られる。
賛成 $\dfrac{dy}{dx}=x+y$, $y(0)=1$, $h=0.5$: the slope at $(0,1)$ is $1$. Find $y_1$.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
$1+0.5(1)=1.5$.
賛成 $dy/dx=x+y$ with step $h=0.5$, the current point is $(0.5,1.5)$. Find the Euler estimate $y(1)\approx y_2$.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
設定値において $(0.5,1.5)$, the slope is $0.5+1.5=2$. Then $y_2=y_1+h f(x_1,y_1)=1.5+0.5(2)=2.5$.
精度とステップサイズ
- オイラー法はあくまで近似であり、直線的な接線に沿うため真の曲線からずれる。
- 小さいステップサイズ $h$ はより正確な推定値を与える(ただしステップ数が増える)。
- 下に凸の曲線ではオイラー法は概ね過小評価し、上に凸では過大評価する。
- ステップ数を増やすことで誤差が減る — 典型的な精度とコストのトレードオフである。
Using a smaller step size $h$ generally makes Euler's estimate...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Smaller steps drift less from the true curve.
You must recompute the slope at each new point, not reuse the initial slope.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
The slope $f(x_n,y_n)$ changes each step.
各ステップで固定された傾きではなく、現在の点$(x_n,y_n)$における傾きを使用します。そして各ステップで$x$($h$分)と$y$($h\cdot f$分)の両方を更新します。一般的なミスは、すべてのステップで初期の傾きを使い回すことです。傾きは新しい点ごとに再計算する必要があります。
$y(1)$ で $\dfrac{dy}{dx}=x+y$, $y(0)=1$ の $h=0.5$ による近似
- ステップ1:$(0,1)$ での傾きは $0+1=1$ ;$y_1=1+0.5(1)=1.5$ 、$x_1=0.5$ 。
- ステップ2:$(0.5,1.5)$ での傾きは $0.5+1.5=2$ ;$y_2=1.5+0.5(2)=2.5$ 、$x_2=1$ 。
- よって $y(1)\approx 2.5$。
$\dfrac{dy}{dx}=xy$ with $y(1)=2$. Use one Euler step with $h=0.1$ to estimate $y(1.1)$.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Slope at $(1,2)$ is $2$. $y\approx2+0.1\times2=2.2$.
$\dfrac{dy}{dx}=x-y$ with $y(0)=1$. Use two Euler steps with $h=0.5$ to estimate $y(1)$.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
傾き $-1$ at $(0,1)$ gives $y=0.5$ at $x=0.5$. Slope $0$ there, so $y(1)\approx0.5$.
オイラー法は、接線に沿ってステップを踏むことで微分方程式の解を近似します。$y_{n+1}=y_n+h\,f(x_n,y_n)$で固定されたステップサイズ $h$を用い、各点で傾きを再計算します。これは近似であり(直線的なステップは曲線から逸れる)、より小さな$h$が精度を向上させます。
From the $h=0.25$ table, what is the Euler estimate of $y(1)$, to 3 decimal places?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
The last row gives $2.8828\ldots\approx2.883$.
このカードは修正されたため、翻訳が更新されるまで英語で表示されます。
Over- or underestimate?
- AP questions ask you to justify this with the second derivative 二阶导数. Find $\dfrac{d^2y}{dx^2}$ by differentiating $\dfrac{dy}{dx}$ (use the chain rule on $y$).
- For one forward Euler step, if $\dfrac{d^2y}{dx^2}>0$ on the interval, the curve is concave up, the tangent lies below it, and Euler underestimates. If it is negative, Euler overestimates. For multiple steps, concavity of the exact solution alone does not determine the error direction.
このカードは新しいため、翻訳ができるまで英語で表示されます。
Justify the direction. For $\dfrac{dy}{dx}=x+y$ with $y(0)=1$:
- $\dfrac{d^2y}{dx^2}=1+\dfrac{dy}{dx}=1+x+y$.
- On $0\le x\le1$ the solution 解 has $x\ge0$ and $y>0$, so $\dfrac{d^2y}{dx^2}>0$: concave up, so both estimates are underestimates.
For a solution, $\dfrac{d^2y}{dx^2}<0$ on the whole interval. What can you say about an Euler estimate using one forward step from the initial point?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
The curve is concave down, so the tangent steps lie above it.
If $\dfrac{dy}{dx}=y^2$, what is $\dfrac{d^2y}{dx^2}$?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
$\dfrac{d^2y}{dx^2}=2y\dfrac{dy}{dx}=2y\cdot y^2=2y^3$.
このカードは新しいため、翻訳ができるまで英語で表示されます。
Euler's method 欧拉法 approximates a differential equation's solution by stepping along tangents: $y_{n+1}=y_n+h\,f(x_n,y_n)$ with fixed step size $h$, recomputing the slope at each point. It's approximate (straight steps drift from the curve); a smaller $h$ generally improves accuracy for a smooth, stable problem.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。