Calculus BC · Unit 7
Step along the tangent, recompute the slope, and compare the estimate with the exact value when you can.
Follow the tangent for one step
\(y_{n+1}=y_n+h\,f(x_n,y_n)\)
\(h\) is the step in \(x\). Use the new point before you take the next step.
The slope is recomputed
Do not reuse the first slope for the second step unless \(f\) really has the same value at the new point.
Concavity hints at the error
If the solution is concave up and you step forward along the tangent, Euler’s estimate is too small.
A smaller step usually tracks the curve longer
Compare two step sizes on the same interval before you trust a one-step estimate.
One step. Substitute the starting point into f.
\(y_1=y_0+h\,f(x_0,y_0)\)
\(f(0,1)=0+1=1\)
\(y_1=1+0.5\cdot 1\)
\(1.5\)
Answer: \(1.5\)
\(f(1,4)=2\)
\(4+0.1\cdot 2\)
\(4.2\)
Answer: \(4.2\)
\(f(0,2)=2\)
\(2+1\cdot 2\)
\(4\)
Answer: \(4\)
\(5+0.5\cdot(-2)\)
\(4\)
Answer: \(4\)
Add the change in x times the slope at the known point.
The slope at the unknown new point is not available yet.
Answer: A. \(y_1=y_0+hf(x_0,y_0)\)
\(f(0,1)=0\)
\(1+0.5\cdot 0\)
\(1\)
Answer: \(1\)
Two steps. Update the slope after the first one.
First slope: \(f(0,1)=1\).
\(y(0.5)\approx 1.5\)
Second slope: \(f(0.5,1.5)=2\).
\(1.5+0.5\cdot 2\)
\(2.5\)
Answer: \(2.5\)
\(f(0,1)=2\)
\(y(0.5)\approx 1+0.5\cdot 2=2\)
\(f(0.5,2)=4\)
\(2+0.5\cdot 4\)
\(4\)
Answer: \(4\)
\(f(1,2)=1\)
\(y(1.2)\approx 2+0.2\cdot 1=2.2\)
\(f(1.2,2.2)=1\)
\(2.2+0.2\cdot 1\)
\(2.4\)
Answer: \(2.4\)
One step of size 1: \(1+1\cdot 1=2\).
First half-step: \(1+0.5\cdot 1=1.5\).
Second half-step: \(1.5+0.5\cdot 1.5=2.25\).
The smaller step gives 2.25, which is closer to \(e\) than 2 is.
Answer: \(h=1\) gives 2; \(h=0.5\) gives 2.25
\(f(0,3)=1-3=-2\)
\(3+0.5\cdot(-2)\)
\(2\)
Answer: \(2\)
The tangent line sits below a concave-up graph.
Stepping forward along that tangent lands too low.
Answer: A. underestimates y
Three short steps, an equilibrium, or a comparison with the exact value.
\(f(0,1)=-1\)
\(y(1)\approx 1+1\cdot(-1)=0\)
\(f(1,0)=1\)
\(0+1\cdot 1\)
\(1\)
Answer: \(1\)
\(f(0,2)=2\)
\(y_1=2+0.1\cdot 2=2.2\)
\(f(0.1,2.2)=2.3\)
\(y_2=2.2+0.1\cdot 2.3=2.43\)
\(f(0.2,2.43)=2.63\)
\(y_3=2.43+0.1\cdot 2.63\)
\(2.693\)
Answer: \(2.693\)
\(f(0,3)=0\)
\(3+0.5\cdot 0=3\)
\(y=3\) is an equilibrium, so the slope stays 0 and Euler stays there.
Answer: \(3\)
\(f(0,0)=0\)
\(y(0.5)\approx 0\)
\(f(0.5,0)=1\)
\(y(1)\approx 0.5\)
The exact solution is \(y=x^2\), so \(y(1)=1\).
The estimate 0.5 is too small. The solution is concave up.
Answer: estimate 0.5, exact 1
\(e>2.7>2.25\)
The tangent steps stay under the concave-up solution.
Answer: A. The estimate is less than the exact value.
\(f(0,0)=4\)
\(y(1)\approx 4\)
\(f(1,4)=2\)
\(y(2)\approx 4+1\cdot 2=6\)
Exact: \(y(2)=8-4=4\).
The estimate is 6, which is larger than 4. On \([0,2]\) the second derivative \(-2\) is negative, so the tangents sit above the graph.
Answer: estimate 6, exact 4
Need help with Euler's method?
Book a Session with Amy