Euler's Method - Differential Equations

  1. Consider the initial value problem y′=−2yy' = -2y, y(0)=1y(0)=1. The true solution, y(x)=e−2xy(x)=e^{-2x}, approaches 0 as x→∞x \to \infty. If Euler's method is applied with a step size h=1.2h=1.2, what is the long-term behavior of the sequence of approximations yny_n?
    Answer: yny_n oscillates with increasing amplitude. The recurrence relation for Euler's method applied to y′=−2yy'=-2y is yn+1=yn+h(−2yn)=yn(1−2h)y_{n+1} = y_n + h(-2y_n) = y_n(1-2h). This is a geometric sequence with ratio r=1−2hr = 1-2h. The long-term behavior depends on the value of this ratio. With h=1.2h=1.2, the ratio is r=1−2(1.2)=1−2.4=−1.4r = 1 - 2(1.2) = 1 - 2.4 = -1.4. The sequence of approximations is given by yn=y0(r)n=1(−1.4)ny_n = y_0(r)^n = 1(-1.4)^n. Since the base of the exponentiation, -1.4, is negative, the sign of yny_n will alternate between positive and negative, meaning the sequence oscillates. Since the magnitude of the base, ∣−1.4∣=1.4>1|-1.4| = 1.4 > 1, the amplitude of these oscillations will increase without bound. Therefore, yny_n oscillates with increasing amplitude.
  2. Euler's method with a step size of h=0.2h=0.2 is used to approximate the solution to the initial value problem y′=x−yy' = x - y with y(0)=2y(0) = 2. What is the resulting approximation for y(0.4)y(0.4)?
    Answer: 1.321.32 We need to perform two steps of Euler's method. Let (x0,y0)=(0,2)(x_0, y_0) = (0, 2) and h=0.2h=0.2. The formula is yn+1=yn+h⋅f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n). Step 1: Find y1≈y(0.2)y_1 \approx y(0.2). x0=0x_0 = 0, y0=2y_0 = 2. The slope is f(x0,y0)=0−2=−2f(x_0, y_0) = 0 - 2 = -2. y1=y0+h⋅f(x0,y0)=2+0.2(−2)=2−0.4=1.6y_1 = y_0 + h \cdot f(x_0, y_0) = 2 + 0.2(-2) = 2 - 0.4 = 1.6. So, (x1,y1)=(0.2,1.6)(x_1, y_1) = (0.2, 1.6). Step 2: Find y2≈y(0.4)y_2 \approx y(0.4). x1=0.2x_1 = 0.2, y1=1.6y_1 = 1.6. The slope is f(x1,y1)=0.2−1.6=−1.4f(x_1, y_1) = 0.2 - 1.6 = -1.4. y2=y1+h⋅f(x1,y1)=1.6+0.2(−1.4)=1.6−0.28=1.32y_2 = y_1 + h \cdot f(x_1, y_1) = 1.6 + 0.2(-1.4) = 1.6 - 0.28 = 1.32. Thus, the approximation for y(0.4)y(0.4) is 1.321.32.
  3. To approximate y(0.1)y(0.1) for the initial value problem 2y′−y=4x2y' - y = 4x, y(0)=3y(0) = 3, one step of Euler's method is used with h=0.1h=0.1. What is the resulting approximation?
    Answer: 3.153.15 When you encounter Euler's method problems, you're applying a fundamental numerical technique that approximates solutions to differential equations by taking small linear steps based on the slope at each point. First, you need to express the differential equation in the form y′=f(x,y)y' = f(x,y). Starting with 2y′−y=4x2y' - y = 4x, solve for y′y': y′=y+4x2y' = \frac{y + 4x}{2}. This gives you the slope function. Euler's method uses the formula: yn+1=yn+h⋅f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n), where hh is the step size. With your initial condition y(0)=3y(0) = 3, you have x0=0x_0 = 0, y0=3y_0 = 3, and h=0.1h = 0.1. Calculate the slope at the initial point: f(0,3)=3+4(0)2=32=1.5f(0,3) = \frac{3 + 4(0)}{2} = \frac{3}{2} = 1.5 Apply Euler's formula: y1=y0+h⋅f(x0,y0)=3+0.1(1.5)=3+0.15=3.15y_1 = y_0 + h \cdot f(x_0, y_0) = 3 + 0.1(1.5) = 3 + 0.15 = 3.15 This confirms answer A) 3.153.15 is correct. Answer B) 3.003.00 would result from forgetting to add the increment (h⋅fh \cdot f) to the initial value. Answer C) 2.852.85 likely comes from subtracting instead of adding the increment. Answer D) 3.303.30 suggests doubling the correct increment, possibly from miscalculating the slope function. Remember: Euler's method always moves in the direction of the slope. Double-check your slope calculation by carefully solving for y′y', and verify you're adding (not subtracting) the increment h⋅f(x,y)h \cdot f(x,y).
  4. Let Euler's method be used to approximate the solution to the initial value problem y′=cos⁡(x)y' = \cos(x) with y(0)=0y(0)=0 on the interval [0,4][0, 4]. Which statement best describes the error of the approximation for y(4)y(4)?
    Answer: The approximation is neither a guaranteed overestimate nor a guaranteed underestimate. When analyzing Euler's method error behavior, you need to understand how the method's linear approximation interacts with the actual curve's concavity over the entire interval. Euler's method uses tangent line segments to approximate the solution. Whether this creates an overestimate or underestimate depends on the concavity of the true solution. For y′=cos⁡(x)y' = \cos(x) with y(0)=0y(0) = 0, the exact solution is y=sin⁡(x)y = \sin(x). The key insight is examining y′′=−sin⁡(x)y'' = -\sin(x) over [0,4][0,4]. The second derivative changes sign multiple times: it's negative on (0,π)(0,\pi), positive on (π,2π)(\pi,2\pi), negative on (2π,3π)(2\pi,3\pi), and positive on (3π,4](3\pi,4] since 4>3π4 > 3\pi. When the solution is concave down (y′′<0y'' < 0), Euler's method overestimates; when concave up (y′′>0y'' > 0), it underestimates. Answer A is wrong because the solution isn't always concave down over [0,4][0,4] - there are intervals where y′′>0y'' > 0. Answer B is wrong for the same reason in reverse - the solution isn't always concave up. Answer C is incorrect because Euler's method is only exact for linear functions, and sin⁡(x)\sin(x) is nonlinear despite having a "simple" derivative. Answer D is correct because the concavity changes multiple times over the interval, so Euler's method sometimes overestimates and sometimes underestimates, making the cumulative error at x=4x = 4 unpredictable in sign. Study tip: For Euler's method error analysis, always check the second derivative of the exact solution to determine concavity changes over the entire interval.
  5. Consider the initial value problem y′=cos⁡(x)−yy' = \cos(x) - y, with y(0)=0y(0)=0. Let yE(x)y_E(x) be the approximation of the true solution y(x)y(x) using Euler's method with a small positive step size. Which of the following statements about the error is true for the approximation near x=0x=0?
    Answer: The method will initially produce an overestimate because the solution is initially concave down. The nature of the error in Euler's method (overestimate vs. underestimate) depends on the concavity of the solution curve, determined by the sign of y′′y''. We have y′=cos⁡(x)−yy' = \cos(x) - y. Differentiating with respect to xx gives y′′=−sin⁡(x)−y′y'' = -\sin(x) - y'. Substituting y′y' yields y′′=−sin⁡(x)−(cos⁡(x)−y)=y−sin⁡(x)−cos⁡(x)y'' = -\sin(x) - (\cos(x) - y) = y - \sin(x) - \cos(x). At the initial point (x0,y0)=(0,0)(x_0, y_0) = (0, 0), the second derivative is y′′(0)=0−sin⁡(0)−cos⁡(0)=0−0−1=−1y''(0) = 0 - \sin(0) - \cos(0) = 0 - 0 - 1 = -1. Since y′′<0y'' < 0 at the starting point, the solution curve is concave down. Euler's method follows tangent lines, which lie above a concave down curve. Therefore, for xx slightly greater than 0, the approximation will be an overestimate.
  6. Consider two initial value problems, both approximated using Euler's method with the same small step size hh over the interval [0,1][0, 1]. IVP 1: y′=yy' = y, y(0)=1y(0)=1 IVP 2: z′=2zz' = 2z, z(0)=1z(0)=1 Let Ey(1)E_y(1) and Ez(1)E_z(1) be the global errors for the respective approximations at x=1x=1. How are the magnitudes of these errors, ∣Ey(1)∣|E_y(1)| and ∣Ez(1)∣|E_z(1)|, most likely to compare?
    Answer: ∣Ey(1)∣<∣Ez(1)∣|E_y(1)| < |E_z(1)| The error in Euler's method is closely related to the magnitude of the second derivative of the solution, which measures the curve's concavity. A larger second derivative implies the curve bends away from its tangent line more sharply, leading to a larger error in the linear approximation. For IVP 1, the solution is y(x)=exy(x) = e^x. The second derivative is y′′(x)=exy''(x) = e^x. For IVP 2, the solution is z(x)=e2xz(x) = e^{2x}. The second derivative is z′′(x)=4e2xz''(x) = 4e^{2x}. Over the interval [0,1][0, 1], the value of z′′(x)=4e2xz''(x) = 4e^{2x} is always significantly larger than y′′(x)=exy''(x) = e^x. Because the solution curve for IVP 2 is much more concave up than the solution for IVP 1, its approximation by straight line segments will be less accurate. Therefore, the magnitude of the global error for IVP 2 will be larger than that for IVP 1, meaning ∣Ez(1)∣>∣Ey(1)∣|E_z(1)| > |E_y(1)|.
  7. The initial value problem y′=x−y2y' = x - y^2, y(0)=1y(0)=1 is approximated using Euler's method with a small positive step size hh. Which of the following statements is true about the approximation yE(x)y_E(x) for xx in a small interval just greater than 0?
    Answer: yE(x)y_E(x) will be an underestimate of the true solution y(x)y(x). The error behavior of Euler's method depends on the concavity of the solution curve, which is determined by the sign of the second derivative, y′′y''. Given y′=x−y2y' = x - y^2, we can find y′′y'' using implicit differentiation with respect to xx: y′′=ddx(x−y2)=1−2y⋅y′y'' = \frac{d}{dx}(x - y^2) = 1 - 2y \cdot y'. Substituting the expression for y′y', we get y′′=1−2y(x−y2)=1−2xy+2y3y'' = 1 - 2y(x - y^2) = 1 - 2xy + 2y^3. At the initial point (x0,y0)=(0,1)(x_0, y_0) = (0, 1), we have y′′(0)=1−2(0)(1)+2(1)3=3y''(0) = 1 - 2(0)(1) + 2(1)^3 = 3. Since y′′>0y'' > 0 at the initial point, the solution curve is concave up. Euler's method uses tangent line segments to approximate the curve. For a concave up function, the tangent lines lie below the curve, resulting in an underestimate.
  8. Consider the initial value problem y′=3y' = 3 with y(1)=5y(1) = 5. If Euler's method is used to approximate y(4)y(4), what can be said about the error of the approximation?
    Answer: The error is exactly zero for any step size hh. The exact solution to the differential equation y′=3y' = 3 with y(1)=5y(1) = 5 can be found by direct integration: y(x)=3x+Cy(x) = 3x + C. Using the initial condition, 5=3(1)+C5 = 3(1) + C, which gives C=2C=2. The exact solution is the line y(x)=3x+2y(x) = 3x + 2. Euler's method approximates the solution curve by taking steps along tangent lines. For a linear function, the tangent line at any point is the function itself. Therefore, each step of Euler's method will land exactly on the true solution line, regardless of the step size hh. As a result, the error will be exactly zero.
  9. Euler's method with step size hh is applied to the IVP y′=2xy' = 2x, y(0)=0y(0)=0. The approximation for y(1)y(1) is found to be 0.90.9. What was the step size hh used?
    Answer: 0.100.10 When you encounter Euler's method problems, you're working with a numerical technique that approximates solutions to differential equations by taking small linear steps. The key is understanding how the step size affects the approximation accuracy. For the IVP y′=2xy' = 2x, y(0)=0y(0) = 0, Euler's method uses the formula yn+1=yn+h⋅f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n), where f(x,y)=2xf(x,y) = 2x. Starting at (0,0)(0,0), each step adds h⋅2xnh \cdot 2x_n to the current yy-value. With n=1hn = \frac{1}{h} steps to reach x=1x = 1, the approximation becomes: y1≈h[2(0)+2(h)+2(2h)+…+2((n−1)h)]y_1 \approx h[2(0) + 2(h) + 2(2h) + \ldots + 2((n-1)h)] =2h2[0+1+2+…+(n−1)]=2h2⋅(n−1)n2=h2n(n−1)= 2h^2[0 + 1 + 2 + \ldots + (n-1)] = 2h^2 \cdot \frac{(n-1)n}{2} = h^2n(n-1) Since n=1hn = \frac{1}{h}, this becomes h2⋅1h⋅(1h−1)=h(1h−1)=1−hh^2 \cdot \frac{1}{h} \cdot (\frac{1}{h} - 1) = h(\frac{1}{h} - 1) = 1 - h. Setting 1−h=0.91 - h = 0.9 gives us h=0.1h = 0.1, which is answer choice D. Choice A (h=0.05h = 0.05) would give y(1)≈0.95y(1) \approx 0.95, choice B (h=0.20h = 0.20) would give y(1)≈0.8y(1) \approx 0.8, and choice C (h=0.15h = 0.15) would give y(1)≈0.85y(1) \approx 0.85. Strategy tip: For Euler's method problems, always set up the systematic calculation pattern first. The arithmetic series that emerges from the step-by-step process often simplifies dramatically, making these problems more manageable than they initially appear.
  10. For the initial value problem y′=2x+yy' = 2x + y with y(0)=1y(0) = 1, a single step of Euler's method gives the approximation y(h)≈1.2y(h) \approx 1.2. What was the step size hh used?
    Answer: 0.200.20 Euler's method formula for one step is y1=y0+h⋅f(x0,y0)y_1 = y_0 + h \cdot f(x_0, y_0). We are given the initial condition (x0,y0)=(0,1)(x_0, y_0) = (0, 1) and the result y1=1.2y_1 = 1.2. The function defining the slope is f(x,y)=2x+yf(x, y) = 2x + y. First, we evaluate the slope at the initial point: f(x0,y0)=f(0,1)=2(0)+1=1f(x_0, y_0) = f(0, 1) = 2(0) + 1 = 1. Now, we plug the known values into the formula: 1.2=1+h⋅(1)1.2 = 1 + h \cdot (1). Solving for hh, we get 1.2−1=h1.2 - 1 = h, which means h=0.2h = 0.2.
  11. Consider the initial value problem y′=2yy' = 2y, y(0)=1y(0)=1. Let A1A_1 be the approximation of y(0.2)y(0.2) using Euler's method with one step (h=0.2h=0.2), and let A2A_2 be the approximation of y(0.2)y(0.2) using two steps (h=0.1h=0.1). What is the value of A2−A1A_2 - A_1?
    Answer: 0.040.04 First, we calculate A1A_1 with h=0.2h=0.2. The initial point is (x0,y0)=(0,1)(x_0, y_0) = (0, 1). The slope is f(0,1)=2(1)=2f(0, 1) = 2(1) = 2. A1=y1=y0+h⋅f(x0,y0)=1+0.2(2)=1.4A_1 = y_1 = y_0 + h \cdot f(x_0, y_0) = 1 + 0.2(2) = 1.4. Next, we calculate A2A_2 with h=0.1h=0.1. This requires two steps. Step 1: from x=0x=0 to x=0.1x=0.1. (x0,y0)=(0,1)(x_0, y_0) = (0, 1). The slope is f(0,1)=2(1)=2f(0, 1) = 2(1) = 2. y1=1+0.1(2)=1.2y_1 = 1 + 0.1(2) = 1.2. The new point is (0.1,1.2)(0.1, 1.2). Step 2: from x=0.1x=0.1 to x=0.2x=0.2. (x1,y1)=(0.1,1.2)(x_1, y_1) = (0.1, 1.2). The slope is f(0.1,1.2)=2(1.2)=2.4f(0.1, 1.2) = 2(1.2) = 2.4. A2=y2=y1+h⋅f(x1,y1)=1.2+0.1(2.4)=1.2+0.24=1.44A_2 = y_2 = y_1 + h \cdot f(x_1, y_1) = 1.2 + 0.1(2.4) = 1.2 + 0.24 = 1.44. Finally, we find the difference: A2−A1=1.44−1.4=0.04A_2 - A_1 = 1.44 - 1.4 = 0.04.
  12. Euler's method is used to approximate y(2)y(2) for the initial value problem y′=y+1y' = y+1, y(0)=0y(0) = 0. With a step size hh, the global error in the approximation is EE. If the step size is reduced to h/3h/3, what will be the approximate new global error?
    Answer: E/3E/3 Euler's method is a first-order method, which means its global truncation error is approximately proportional to the step size hh. We can write this relationship as E≈C⋅hE \approx C \cdot h for some constant CC. Let the initial error be E1E_1 with step size h1=hh_1=h, so E1=E≈C⋅hE_1 = E \approx C \cdot h. Let the new error be E2E_2 with step size h2=h/3h_2 = h/3. Then E2≈C⋅h2=C⋅(h/3)=(C⋅h)/3≈E/3E_2 \approx C \cdot h_2 = C \cdot (h/3) = (C \cdot h)/3 \approx E/3. Therefore, reducing the step size by a factor of 3 reduces the global error by approximately the same factor.
  13. Using Euler's method with a step size of h=1h=1, an approximation for the solution to the initial value problem y′=x−2yy' = x - 2y, y(0)=1y(0)=1 is calculated. What is the value of the second approximation, y2y_2, which corresponds to an approximation of y(2)y(2)?
    Answer: 2 We are given (x0,y0)=(0,1)(x_0, y_0) = (0, 1), h=1h=1, and f(x,y)=x−2yf(x, y) = x - 2y. The formula for Euler's method is yn+1=yn+h⋅f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n). Step 1: Find y1≈y(1)y_1 \approx y(1). x0=0,y0=1x_0 = 0, y_0 = 1. The slope at this point is f(0,1)=0−2(1)=−2f(0, 1) = 0 - 2(1) = -2. y1=y0+h⋅f(x0,y0)=1+1⋅(−2)=−1y_1 = y_0 + h \cdot f(x_0, y_0) = 1 + 1 \cdot (-2) = -1. So, the first approximation point is (x1,y1)=(1,−1)(x_1, y_1) = (1, -1). Step 2: Find y2≈y(2)y_2 \approx y(2). x1=1,y1=−1x_1 = 1, y_1 = -1. The slope at this new point is f(1,−1)=1−2(−1)=1+2=3f(1, -1) = 1 - 2(-1) = 1 + 2 = 3. y2=y1+h⋅f(x1,y1)=−1+1⋅(3)=2y_2 = y_1 + h \cdot f(x_1, y_1) = -1 + 1 \cdot (3) = 2. Thus, the second approximation is y2=2y_2 = 2.
  14. For a given initial value problem, Euler's method with a step size of h=0.2h = 0.2 is used to approximate y(T)y(T), and the resulting global error is found to be approximately 0.080.08. If the step size is changed to h=0.05h = 0.05, what is the expected global error for the new approximation of y(T)y(T)?
    Answer: 0.020.02 Euler's method is a first-order method, which means its global truncation error is approximately proportional to the step size hh. Let the error be Eh≈C⋅hE_h \approx C \cdot h for some constant CC. We are given that for h1=0.2h_1 = 0.2, the error E0.2E_{0.2} is 0.080.08. We can estimate CC as C≈E0.2/h1=0.08/0.2=0.4C \approx E_{0.2} / h_1 = 0.08 / 0.2 = 0.4. Now, we can predict the error for the new step size h2=0.05h_2 = 0.05: E0.05≈C⋅h2=0.4⋅0.05=0.02E_{0.05} \approx C \cdot h_2 = 0.4 \cdot 0.05 = 0.02. Alternatively, since the error is proportional to hh, the ratio of the new error to the old error should be the same as the ratio of the new step size to the old step size: Enew/Eold=hnew/holdE_{new} / E_{old} = h_{new} / h_{old}. So, Enew=Eold⋅(hnew/hold)=0.08⋅(0.05/0.2)=0.08⋅(1/4)=0.02E_{new} = E_{old} \cdot (h_{new} / h_{old}) = 0.08 \cdot (0.05 / 0.2) = 0.08 \cdot (1/4) = 0.02.
  15. One step of Euler's method with a step size of h=0.2h=0.2 is used to approximate y(1.2)y(1.2) for the initial value problem y′+2y=3xy' + 2y = 3x, starting from y(1)=y0y(1)=y_0. If the resulting approximation is y1=4y_1 = 4, what is the value of the initial condition y0y_0?
    Answer: 17/317/3 First, rewrite the differential equation in the form y′=f(x,y)y' = f(x, y): y′=3x−2yy' = 3x - 2y. The initial point is (x0,y0)=(1,y0)(x_0, y_0) = (1, y_0), the step size is h=0.2h=0.2, and the result of the first step is y1=y(1.2)≈4y_1 = y(1.2) \approx 4. The formula for one step of Euler's method is y1=y0+h⋅f(x0,y0)y_1 = y_0 + h \cdot f(x_0, y_0). Substituting the known values: 4=y0+0.2⋅f(1,y0)4 = y_0 + 0.2 \cdot f(1, y_0). The function is f(1,y0)=3(1)−2y0=3−2y0f(1, y_0) = 3(1) - 2y_0 = 3 - 2y_0. So the equation becomes: 4=y0+0.2(3−2y0)4 = y_0 + 0.2(3 - 2y_0). Now, we solve for y0y_0: 4=y0+0.6−0.4y04 = y_0 + 0.6 - 0.4y_0 3.4=0.6y03.4 = 0.6y_0 y0=3.4/0.6=34/6=17/3y_0 = 3.4 / 0.6 = 34/6 = 17/3.
  16. Consider the initial value problem y′=y−x2y' = y - x^2 with y(0)=2y(0) = 2. An approximation of the solution is computed using Euler's method with a small step size h>0h > 0. For x>0x > 0 near x=0x=0, which of the following statements is true about the approximation?
    Answer: The approximation will be an underestimate of the true solution. To determine if Euler's method overestimates or underestimates, we examine the concavity of the solution curve by finding the second derivative, y′′y''. Given y′=y−x2y' = y - x^2, we differentiate with respect to xx: y′′=ddx(y−x2)=y′−2xy'' = \frac{d}{dx}(y - x^2) = y' - 2x. Substituting the expression for y′y', we get y′′=(y−x2)−2x=y−x2−2xy'' = (y - x^2) - 2x = y - x^2 - 2x. We evaluate the sign of y′′y'' at the initial point (0,2)(0, 2): y′′(0)=2−02−2(0)=2y''(0) = 2 - 0^2 - 2(0) = 2. Since y′′(0)>0y''(0) > 0, the solution curve is concave up near x=0x=0. Euler's method works by following tangent lines. For a concave up curve, the tangent line at any point lies below the curve. Therefore, each step of Euler's method will fall below the true solution, resulting in an underestimate.
  17. The approximation for y(1)y(1) is computed for the initial value problem y′=y2y' = y^2, y(0)=−1y(0)=-1 using Euler's method with nn steps. Let yny_n be the resulting approximation. What is the value of lim⁡n→∞yn\lim_{n \to \infty} y_n?
    Answer: −1/2-1/2 The problem asks for the limit of the Euler's method approximation as the number of steps nn goes to infinity. As n→∞n \to \infty, the step size h=(1−0)/nh = (1-0)/n approaches 0. In the limit as h→0h \to 0, the approximation from Euler's method converges to the true solution. Therefore, we need to find the true value of y(1)y(1). The differential equation is separable: dy/dx=y2  ⟹  y−2dy=dxdy/dx = y^2 \implies y^{-2} dy = dx. Integrating both sides gives −y−1=x+C-y^{-1} = x + C, or y(x)=−1x+Cy(x) = -\frac{1}{x+C}. We use the initial condition y(0)=−1y(0)=-1 to find CC: −1=−10+C  ⟹  C=1-1 = -\frac{1}{0+C} \implies C=1. The true solution is y(x)=−1x+1y(x) = -\frac{1}{x+1}. The value of the solution at x=1x=1 is y(1)=−11+1=−12y(1) = -\frac{1}{1+1} = -\frac{1}{2}. Since lim⁡n→∞yn=y(1)\lim_{n \to \infty} y_n = y(1), the limit is −1/2-1/2.
  18. When using Euler's method, the global error at step nn is generally not equal to the sum of the local errors from steps 1 to nn. Which of the following is the primary reason for this discrepancy?
    Answer: Each step's calculation begins from a point that is already an approximation, not a point on the true solution curve. Local error at a step is defined as the error introduced in that single step, under the assumption that the starting point of the step lies on the true solution curve. However, in practice, after the first step, every subsequent step begins from a point (xn,yn)(x_n, y_n) that is already an approximation and is not on the true curve. The slope f(xn,yn)f(x_n, y_n) is calculated at this approximate point, not at the correct point (xn,y(xn))(x_n, y(x_n)) on the true solution. This propagation and compounding of errors from previous steps is the fundamental reason why the total global error is not simply the sum of the individual local errors.

Start this quiz