Question 391
🟥 Let y=f(x) solve \(\frac{dy}{dx}=2x+y\) with \(f(1)=0\). Approximate f(2) using Euler’s method with two steps of equal length, starting at x=1.
Main Solution
Strategy
The step size is h=(2−1)/2=0.5. Starting at (1,0), the slope is 2(1)+0=2, so y₁=0+0.5(2)=1 at x₁=1.5. Recompute the slope there: 2(1.5)+1=4. Thus y₂=1+0.5(4)=3 at x₂=2. Euler’s approximation is f(2)≈3.
Key Insight
The step size is h=(2−1)/2=0.5. Starting at (1,0), the slope is 2(1)+0=2, so y₁=0+0.5(2)=1 at x₁=1.5. Recompute the slope there: 2(1.5)+1=4. Thus y₂=1+0.5(4)=3 at x₂=2. Euler’s approximation is f(2)≈3.
A
B
C
D
Education Coach Advice
Use the differential equation to evaluate slopes at the relevant points.
Check both the initial condition and the behavior required by the equation or slope field.
Answer images


