πŸŽ“ BookMCQ
← Back to 9. Mathematical Modelling with Differential Equations

πŸ“ Euler's method differential equations (38 MCQs)

πŸ“– From Calculus β€’ 9. Mathematical Modelling with Differential Equations β€’ 38 questions available

What is Euler's method differential equations?

Definition:
Euler's Method approximates ODE solutions iteratively using tangent line approximation: yn+1=yn+hβ‹…f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n) where hh is step size and ff is the derivative function.

Example:
Solve yβ€²=2xy'=2x, y(0)=1y(0)=1, h=0.5h=0.5: y1=1+0.5(0)=1y_1 = 1 + 0.5(0) = 1; y2=1+0.5(1)=1.5y_2 = 1 + 0.5(1) = 1.5 at x=1x=1.

Reason:
This simple numerical method provides approximate solutions when exact methods fail, forming basis for more sophisticated computational algorithms.

11
Easy
10
Medium
17
Hard

πŸ“ All Euler's method differential equations MCQs

Q1. In the context of solving y' = f(x,y) numerically, Euler's method is derived from the first two terms of the Taylor series expansion. If a student attempts to improve accuracy by simply including the third term \frac{h^2}{2}y''(x_n) without deriving y'' analytically from f(x,y)f(x,y), what is the fundamental flaw in this approach?

A.The method becomes implicit rather than explicit.
B.The truncation error increases because higher-order terms are unstable.
C.The method requires evaluating partial derivatives of ff, effectively transforming it into a different algorithm like Taylor Series Method of order 2. βœ…
D.Adding terms always guarantees convergence regardless of step size.
πŸ’‘ Difficulty: medium | βœ… Correct: C

πŸ“– Explanation: Euler's method is strictly a first-order Taylor approximation. Simply adding the second derivative term requires computing y'' = f_x + f_y f via the chain rule. If a student adds this term without performing this specific differentiation, they are not using a valid numerical scheme for the given ODE. This distinguishes Euler's method from higher-order Taylor series methods, which require analytical derivation of higher derivatives, whereas Runge-Kutta methods achieve higher order without explicit derivative evaluation.

Q2. Consider the initial value problem y' = -100y, y(0)=1. This equation represents a stiff system. If one applies Euler's method with a step size h=0.05h=0.05, the numerical solution oscillates and diverges despite the exact solution decaying smoothly to zero. Which analysis best explains this instability?

A.The global truncation error dominates the local error.
B.The stability region of Euler's method requires ∣1+hλ∣<1|1 + h\lambda| < 1, and h=0.05h=0.05 violates this for Ξ»=βˆ’100\lambda = -100. βœ…
C.Round-off errors accumulate faster than the decay rate.
D.Euler's method cannot handle negative eigenvalues.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: For the test equation y&#039; = \lambda y, Euler's method yields yn+1=(1+hΞ»)yny_{n+1} = (1+h\lambda)y_n. Stability requires the amplification factor ∣1+hΞ»βˆ£β‰€1|1+h\lambda| \leq 1. With Ξ»=βˆ’100\lambda = -100 and h=0.05h=0.05, the factor is ∣1βˆ’5∣=4|1 - 5| = 4, causing exponential growth of errors. This demonstrates that for stiff equations, step size is limited by stability constraints, not just accuracy requirements, making explicit Euler unsuitable unless h<2/∣λ∣h < 2/|\lambda|.

Q3. A slope field for y&#039; = f(x,y) shows tangent segments that are horizontal along the line y=2y=2 and vertical along x=0x=0. If Euler's method is initiated at (0,2)(0, 2) with any step size h>0h > 0, what will be the immediate behavior of the first approximation y1y_1?

A.y1=2y_1 = 2 because the slope is zero at the initial point. βœ…
B.y1y_1 is undefined because the slope is infinite at x=0x=0.
C.y1=2+hβ‹…f(0,2)y_1 = 2 + h \cdot f(0,2), but since f(0,2)f(0,2) involves conflicting directional information, the result depends on implementation.
D.The method fails because Euler's method cannot start at a critical point.
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: At the specific point (0,2)(0,2), the slope field indicates horizontal tangents, meaning f(0,2)=0f(0,2) = 0. Euler's formula y1=y0+hf(x0,y0)y_1 = y_0 + h f(x_0, y_0) evaluates to 2+h(0)=22 + h(0) = 2. Even though nearby points might have steep or undefined slopes, Euler's method only samples the derivative at the current node. Therefore, the first step remains stationary at y=2y=2, potentially masking singularities or rapid changes immediately adjacent to the starting point.

Q4. When modeling population dynamics with P&#039; = kP(1-P/L), a researcher uses Euler's method with a large step size hh. The numerical solution predicts a population exceeding the carrying capacity LL and then crashing to negative values, which is biologically impossible. What is the primary mathematical cause of this artifact?

A.The model parameters kk and LL were estimated incorrectly.
B.Euler's method overshoots the equilibrium due to linear extrapolation beyond the basin of attraction. βœ…
C.Numerical diffusion causes artificial damping of the population.
D.The differential equation becomes stiff near P=LP=L.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: The logistic equation has stable equilibrium at P=LP=L. Euler's method approximates the curve with tangent lines. If hh is too large, the tangent line at a point near LL may project significantly above LL. In the next step, P&#039; becomes negative, and a large hh can project the value below zero. This is a geometric failure of linear approximation violating the invariant region [0,L][0, L], highlighting the need for adaptive step sizes or positivity-preserving integrators in biological modeling.

Q5. Compare Euler's method and the Improved Euler (Heun's) method for solving y&#039; = f(x,y). If both methods are applied with the same step size hh to a smooth function, why does Improved Euler typically yield significantly smaller global error?

A.Improved Euler uses a smaller effective step size internally.
B.Improved Euler is a second-order method that averages slopes, canceling out the leading O(h)O(h) error term present in standard Euler. βœ…
C.Improved Euler evaluates the derivative at more points, reducing round-off error.
D.Standard Euler accumulates error linearly while Improved Euler accumulates it logarithmically.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: Standard Euler matches the Taylor series up to O(h)O(h), resulting in local truncation error O(h2)O(h^2) and global error O(h)O(h). Improved Euler uses a predictor-corrector approach equivalent to matching the Taylor series up to O(h2)O(h^2), yielding local error O(h3)O(h^3) and global error O(h2)O(h^2). The averaging of the slope at the beginning and predicted end of the interval effectively captures the curvature of the solution, eliminating the dominant linear error component that plagues basic Euler.

Q6. Given the IVP y&#039; = x^2 + y^2, y(0)=0, a student computes y(0.1)β‰ˆ0.001y(0.1) \approx 0.001 using Euler's method with h=0.1h=0.1. Without calculating the exact solution, how can one rigorously determine if this approximation is an underestimate or overestimate based solely on the geometry of the ODE?

A.By checking the sign of y&#039;&#039;; since y&#039;&#039; = 2x + 2yy&#039;, and both terms are non-negative for x,yβ‰₯0x,y \geq 0, the solution is concave up, making Euler's tangent-line approximation an underestimate. βœ…
B.Since f(x,y)f(x,y) is increasing in both variables, Euler's method always underestimates.
C.Euler's method always overestimates for positive derivatives.
D.It is impossible to determine without the exact solution.
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: Euler's method follows the tangent line. If the solution curve is concave up (y&#039;&#039; > 0), the tangent line lies below the curve, making the Euler approximation an underestimate. Differentiating y&#039; = x^2 + y^2 gives y&#039;&#039; = 2x + 2y(x^2+y^2). For xβ‰₯0,yβ‰₯0x \geq 0, y \geq 0, y&#039;&#039; \geq 0. Thus, the true solution curves upward away from the tangent, confirming yEuler<yexacty_{Euler} < y_{exact}. This connects calculus concepts of concavity directly to numerical error analysis.

Q7. A student claims that halving the step size hh in Euler's method will exactly halve the error at the final time TT. Under which condition is this claim most likely to fail significantly?

A.When the solution is linear.
B.When the accumulation of round-off errors becomes comparable to truncation errors. βœ…
C.When the differential equation is autonomous.
D.When the initial condition is zero.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Theoretical global truncation error is O(h)O(h), so halving hh should halve the error asymptotically. However, total error = truncation error + round-off error. Round-off error accumulates as O(Ο΅/h)O(\epsilon/h) where Ο΅\epsilon is machine precision. As hβ†’0h \to 0, round-off grows. If hh is already small, halving it may double the round-off contribution, negating the reduction in truncation error. This highlights the practical limitation of numerical methods versus theoretical convergence rates.

Q8. Consider the system y&#039; = z, z&#039; = -y representing simple harmonic motion. Applying Euler's method yields a spiral trajectory in the phase plane rather than a closed circle. What conservation law is violated by this numerical artifact?

A.Conservation of momentum.
B.Conservation of symplectic structure and energy. βœ…
C.Conservation of mass.
D.Conservation of charge.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: The exact flow of Hamiltonian systems preserves the symplectic form and energy E=(y2+z2)/2E = (y^2+z^2)/2. Explicit Euler is not a symplectic integrator; it introduces artificial dissipation or excitation depending on formulation. For y&#039;=z, z&#039;=-y, Euler produces yn+12+zn+12=(1+h2)(yn2+zn2)y_{n+1}^2 + z_{n+1}^2 = (1+h^2)(y_n^2+z_n^2), causing energy to grow as (1+h2)n(1+h^2)^n. This spiraling outward violates energy conservation, demonstrating why geometric integrators are preferred for oscillatory systems over long time intervals.

Q9. You are solving y&#039; = f(x,y) where ff is Lipschitz continuous with constant LL. The global error bound is proportional to eL(bβˆ’a)βˆ’1Lh\frac{e^{L(b-a)}-1}{L} h. If LL is very large, what does this imply about the utility of this error bound for practical step size selection?

A.The bound is tight and useful for all hh.
B.The bound becomes exponentially pessimistic, suggesting impractically small hh even if the actual error is moderate. βœ…
C.The bound indicates the problem is ill-posed.
D.The bound proves Euler's method is convergent for any hh.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: The factor eL(bβˆ’a)e^{L(b-a)} arises from Gronwall's inequality. For stiff problems with large LL, this factor is enormous, making the theoretical bound useless for predicting actual error or choosing hh. While mathematically correct, it fails to capture the asymptotic behavior where error depends on the smoothness of the solution rather than just the Lipschitz constant. Practitioners must rely on local error estimation and adaptive stepping rather than global a priori bounds for stiff systems.

Q10. In implementing Euler's method for y&#039; = \sqrt{|y|}, y(0)=0, a programmer obtains yn=0y_n = 0 for all nn. However, y(x)=x2/4y(x) = x^2/4 is also a valid solution. Why did the numerical method fail to capture the non-trivial solution?

A.The step size was too large.
B.The function f(y)=∣y∣f(y) = \sqrt{|y|} is not Lipschitz continuous at y=0y=0, violating uniqueness conditions. βœ…
C.Round-off error forced the solution to stay at zero.
D.Euler's method only finds stable solutions.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: Picard-LindelΓΆf theorem guarantees uniqueness only if ff is Lipschitz. ∣y∣\sqrt{|y|} has infinite slope at y=0y=0, allowing multiple solutions. Euler's method, starting exactly at the singularity with zero slope, stays trapped at the equilibrium y=0y=0. Any perturbation or different discretization might trigger the parabolic branch. This illustrates that numerical methods assume well-posedness; when uniqueness fails, the algorithm selects one solution arbitrarily based on initialization and arithmetic.

Q11. A chemical reaction model involves concentrations C(t)C(t) that must remain non-negative. Using Euler's method with step hh, a computed concentration becomes negative. Besides reducing hh, which modification to the Euler update rule Cn+1=Cn+hf(Cn)C_{n+1} = C_n + h f(C_n) best preserves positivity without changing the order of accuracy?

A.Replace Cn+1C_{n+1} with max⁑(0,Cn+1)\max(0, C_{n+1}).
B.Use the implicit Euler method Cn+1=Cn+hf(Cn+1)C_{n+1} = C_n + h f(C_{n+1}).
C.Use the exponential integrator form Cn+1=Cnexp⁑(hf(Cn)/Cn)C_{n+1} = C_n \exp(h f(C_n)/C_n) when applicable. βœ…
D.Add a small positive constant Ο΅\epsilon to CnC_n.
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: Clipping (Option A) destroys accuracy and conservation. Implicit Euler (B) preserves positivity for certain classes but requires solving nonlinear equations. Option C, often called the Patankar trick or exponential Euler, inherently maintains positivity because the exponential is always positive, and it reduces to standard Euler as hβ†’0h \to 0. This is crucial in chemistry/biology where negative concentrations are unphysical. It modifies the discrete map to respect the invariant set Cβ‰₯0C \geq 0 structurally.

Q12. When solving y&#039; = \lambda y with Ξ»<0\lambda < 0, the ratio of successive numerical solutions is R=yn+1/ynR = y_{n+1}/y_n. For the exact solution, this ratio approaches eΞ»he^{\lambda h}. How does the Euler ratio 1+Ξ»h1+\lambda h compare to the exact ratio for small hh?

A.They are identical.
B.The Euler ratio is the first-order Taylor approximation of the exact ratio, matching up to O(h)O(h). βœ…
C.The Euler ratio is always larger than the exact ratio.
D.The Euler ratio is always smaller than the exact ratio.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: Expanding eΞ»h=1+Ξ»h+(Ξ»h)2/2+…e^{\lambda h} = 1 + \lambda h + (\lambda h)^2/2 + \dots. Euler's amplification factor is exactly 1+Ξ»h1+\lambda h. Thus, Euler's method matches the exact amplification only to first order. The discrepancy O(h2)O(h^2) per step accumulates to global O(h)O(h) error. This comparison directly links the algebraic stability function of the numerical method to the analytic properties of the exponential function, explaining the origin of truncation error in linear problems.

Q13. A student solves y&#039; = y^2, y(0)=1 on [0,2][0, 2] using Euler's method. The numerical solution exists and is finite at x=2x=2, but the exact solution blows up at x=1x=1. What is the most dangerous aspect of this numerical result?

A.The method is unstable.
B.The method falsely suggests global existence, masking the finite-time singularity. βœ…
C.The step size was too small.
D.The computer rounded off the infinity.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: The exact solution y=1/(1βˆ’x)y = 1/(1-x) has a vertical asymptote at x=1x=1. Euler's method, being a linear projection, steps across the singularity without detecting the blow-up, producing finite but completely erroneous values for x>1x>1. This is a critical failure mode: numerical methods do not automatically detect domain boundaries or singularities. Users must independently verify solution existence; blind trust in the output leads to catastrophic misinterpretation of physical models.

Q14. In adaptive Euler methods, the step size hh is adjusted based on local error estimate Eβ‰ˆCh2E \approx Ch^2. If the tolerance is Ο„\tau, the new step is chosen as hnew=h(Ο„/E)1/2h_{new} = h (\tau/E)^{1/2}. Why is the exponent 1/21/2 used instead of 11?

A.Because global error is O(h)O(h).
B.Because local truncation error is O(h2)O(h^2), so h∝Eh \propto \sqrt{E}. βœ…
C.Because it provides a safety margin.
D.Because the method is second-order.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Adaptive control targets the local truncation error per step, which for Euler scales as h^2 y&#039;&#039;/2. To achieve a target local error Ο„\tau, we solve Chnew2=Ο„β‡’hnewβˆΟ„C h_{new}^2 = \tau \Rightarrow h_{new} \propto \sqrt{\tau}. If we were controlling global error (which scales as hh), the exponent would be 1. Confusing local vs. global error scaling is a common mistake. The square root arises directly from the Taylor remainder term governing the single-step deviation.

Q15. Consider the ODE y&#039; = -y + \sin(x). As xβ†’βˆžx \to \infty, the exact solution approaches a periodic steady state. If Euler's method is used with fixed hh, what happens to the amplitude of the numerical steady state as hh increases within the stability region?

A.It remains exact.
B.It decreases due to numerical damping. βœ…
C.It increases due to numerical amplification.
D.It becomes chaotic.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: Euler's method applied to y&#039; = -y + g(x) acts as a low-pass filter with gain ∣1/(1+h)∣|1/(1+h)| for the homogeneous part and modified response for forcing. For h>0h>0, the numerical damping is stronger than exact damping eβˆ’hβ‰ˆ1βˆ’h+h2/2e^{-h} \approx 1-h+h^2/2. Since 1βˆ’h<eβˆ’h1-h < e^{-h}, Euler dissipates energy faster, reducing the amplitude of the forced response. This artificial viscosity distorts long-term dynamics, making Euler poor for capturing accurate steady-state amplitudes even when stable.

Q16. Which of the following best describes the relationship between Euler's method and the forward difference quotient?

A.Euler's method replaces the derivative y&#039;(x_n) with the backward difference (ynβˆ’ynβˆ’1)/h(y_n - y_{n-1})/h.
B.Euler's method replaces the derivative y&#039;(x_n) with the forward difference (yn+1βˆ’yn)/h(y_{n+1} - y_n)/h. βœ…
C.Euler's method uses the central difference for better accuracy.
D.There is no direct relationship.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: The definition of Euler's method yn+1=yn+hf(xn,yn)y_{n+1} = y_n + h f(x_n, y_n) can be rearranged as (yn+1βˆ’yn)/h=f(xn,yn)(y_{n+1} - y_n)/h = f(x_n, y_n). This is precisely the forward difference approximation of the derivative at xnx_n. This connection explains why Euler is first-order accurate: the forward difference has truncation error O(h)O(h). Understanding this link helps students see numerical ODE solvers as discrete analogues of differential operators.

Q17. A researcher observes that for a specific nonlinear ODE, doubling the number of steps in Euler's method reduces the final error by a factor of 4, not 2. What is the most plausible explanation?

A.The method has become second-order due to symmetry.
B.The initial step size was in the pre-asymptotic regime where higher-order error terms dominated. βœ…
C.Round-off error cancelled out the truncation error.
D.The ODE is linear.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Asymptotic O(h)O(h) convergence holds only as hβ†’0h \to 0. For moderate hh, the error expansion is E=C1h+C2h2+…E = C_1 h + C_2 h^2 + \dots. If C1hβ‰ͺC2h2C_1 h \ll C_2 h^2 initially, the error behaves quadratically. Only when hh is sufficiently small does the linear term dominate. Observing quadratic reduction suggests the solver hasn't reached the asymptotic regime yet. This warns against estimating order from coarse grids; true order verification requires progressively finer steps until the ratio stabilizes.

Q18. When solving a system \mathbf{y}&#039; = A\mathbf{y} where AA has complex eigenvalues λ=α±iβ\lambda = \alpha \pm i\beta, Euler's method is stable only if hh satisfies ∣1+hλ∣<1|1 + h\lambda| < 1. Geometrically, what region in the complex hλh\lambda-plane represents stability?

A.The left half-plane.
B.The unit disk centered at -1. βœ…
C.The unit disk centered at 0.
D.The right half-plane.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: The stability condition is ∣1+z∣<1|1 + z| < 1 where z=hΞ»z = h\lambda. This inequality describes the interior of a circle of radius 1 centered at z=βˆ’1z = -1 in the complex plane. For purely imaginary eigenvalues (Ξ±=0\alpha=0), zz lies on the imaginary axis, which never enters this disk (except at origin). Thus, explicit Euler is unconditionally unstable for undamped oscillators. This geometric insight explains why Euler fails for wave equations and orbital mechanics regardless of step size.

Q19. In a predator-prey model, Euler's method often causes the populations to spiral outward to extinction or explosion, unlike the closed orbits of the exact Lotka-Volterra system. Which property of the exact flow is NOT preserved by Euler's map?

A.Time reversibility.
B.Volume preservation in phase space. βœ…
C.Positivity of populations.
D.Boundedness of solutions.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Lotka-Volterra systems are conservative with a first integral. The exact flow is area-preserving (divergence-free). Explicit Euler expands area: the Jacobian determinant of the map I+hJI + hJ is 1+htr(J)+O(h2)1 + h \text{tr}(J) + O(h^2). Even if tr(J)=0\text{tr}(J)=0, higher-order terms cause area change. This artificial source/sink of phase volume drives the spiral. Symplectic or volume-preserving integrators are required to maintain qualitative correctness. Euler's failure here is structural, not just quantitative.

Q20. Suppose you apply Euler's method to y&#039; = f(x) (quadrature problem). The method reduces to the left Riemann sum. If f(x)f(x) is concave down on [a,b][a,b], how does the Euler approximation compare to the true integral?

A.It overestimates the integral. βœ…
B.It underestimates the integral.
C.It equals the trapezoidal rule.
D.The error is zero.
πŸ’‘ Difficulty: hard | βœ… Correct: A

Q21. A student implements Euler's method but accidentally uses yn+1=yn+hf(xn+1,yn)y_{n+1} = y_n + h f(x_{n+1}, y_n). What is the consequence of this 'semi-implicit' error?

A.The method becomes fully implicit and stable.
B.The method remains explicit but evaluates the slope at the wrong x-coordinate, introducing an O(h)O(h) perturbation that does not improve order. βœ…
C.The method becomes second-order accurate.
D.The method is equivalent to Heun's method.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Using xn+1x_{n+1} with yny_n creates an inconsistent scheme. Taylor expanding f(xn+h,yn)=f+hfx+…f(x_n+h, y_n) = f + h f_x + \dots shows this differs from standard Euler by O(h2)O(h^2) locally, but since the base method is O(h)O(h), it doesn't raise the order. It merely changes the error constant. Crucially, it doesn't gain the stability benefits of true implicit methods because yn+1y_{n+1} isn't used in ff. This is a common coding bug that produces plausible but incorrect results.

Q22. Why is Euler's method considered 'conditionally stable' rather than 'unconditionally stable' for dissipative systems like y&#039; = -\lambda y?

A.Because it requires hh to be below a threshold dependent on Ξ»\lambda to prevent error growth. βœ…
B.Because it only works for positive Ξ»\lambda.
C.Because it requires adaptive step sizing.
D.Because it is explicit.
πŸ’‘ Difficulty: easy | βœ… Correct: A

πŸ“– Explanation: Unconditional stability means stable for all h>0h > 0. Implicit Euler has this property for Re(Ξ»)<0\text{Re}(\lambda) < 0. Explicit Euler requires ∣1βˆ’hλ∣<1β‡’h<2/Ξ»|1 - h\lambda| < 1 \Rightarrow h < 2/\lambda. If hh exceeds this, numerical solutions grow despite physical decay. This conditional nature forces small steps for fast-decaying modes (stiffness), making explicit Euler inefficient for multiscale problems. The distinction is fundamental in selecting solvers for transient simulations.

Q23. In the context of error propagation, if the local truncation error at each step is bounded by Ξ΄\delta, and the Lipschitz constant is LL, the global error at time TT is bounded by Ξ΄eLTβˆ’1L\delta \frac{e^{LT}-1}{L}. What does the term eLTe^{LT} represent physically?

A.The rate of convergence.
B.The amplification of initial/local errors due to system sensitivity over time. βœ…
C.The number of steps taken.
D.The stability region size.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: The factor eLTe^{LT} is the Gronwall constant. It quantifies how much an error introduced at any point can grow by the final time due to the system's dynamics. For chaotic or stiff systems with large LL, this factor is huge, meaning tiny local errors explode. This explains why high precision per step doesn't guarantee global accuracy for sensitive systems. It links numerical analysis to dynamical systems theory: error bounds depend on intrinsic system properties, not just algorithm parameters.

Q24. A simulation of a satellite orbit uses Euler's method. After one period, the satellite has gained significant energy and moved to a higher orbit. Which alternative first-order method would conserve energy better without reducing step size?

A.Backward Euler.
B.Symplectic Euler (Semi-implicit Euler). βœ…
C.Runge-Kutta 4.
D.Adams-Bashforth.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: Standard Euler adds energy to Hamiltonian systems. Backward Euler removes energy. Symplectic Euler (updating position with new velocity or vice versa) preserves the symplectic structure, bounding energy error over exponentially long times despite being only first-order. RK4 conserves energy better short-term but drifts long-term. For orbital mechanics, preserving geometric structure is more important than local order. Symplectic Euler is the minimal fix for Euler's energy drift in conservative systems.

Q25. When solving y&#039; = f(x,y) where ff is discontinuous at y=0y=0, Euler's method may produce erratic results near the discontinuity. What is the theoretically correct approach before applying any numerical method?

A.Use a smaller step size near y=0y=0.
B.Smooth the discontinuity with a sigmoid function.
C.Split the domain into regions where ff is continuous and integrate separately, matching boundary conditions. βœ…
D.Apply implicit Euler to handle the jump.
πŸ’‘ Difficulty: hard | βœ… Correct: C

πŸ“– Explanation: Numerical ODE theory assumes sufficient smoothness. At discontinuities, derivatives are undefined, and Taylor-based error estimates fail. The rigorous approach is event detection: locate the discontinuity exactly, stop integration, apply transition conditions, and restart. Smoothing introduces modeling error; tiny steps don't fix undefined derivatives; implicit methods still struggle with non-uniqueness. Domain splitting respects the mathematical structure. This highlights that numerical methods are tools for well-posed problems; preprocessing is often required for real-world nonsmooth models.

Q26. Consider the error expansion E(h)=C1h+C2h2+O(h3)E(h) = C_1 h + C_2 h^2 + O(h^3). If you compute solutions yhy_h and yh/2y_{h/2}, Richardson extrapolation estimates the exact solution as yext=2yh/2βˆ’yhy_{ext} = 2y_{h/2} - y_h. What assumption is critical for this to work?

A.C1C_1 is independent of hh. βœ…
B.C2=0C_2 = 0.
C.The method is second-order.
D.The solution is linear.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: Richardson extrapolation relies on the asymptotic error expansion where coefficients CkC_k depend on the solution and its derivatives but NOT on hh. If hh is too large, higher-order terms contaminate the estimate, or C1C_1 varies effectively with hh. The formula 2yh/2βˆ’yh2y_{h/2} - y_h cancels the O(h)O(h) term only if C1C_1 is constant between runs. This technique boosts Euler to second-order accuracy post-hoc but fails outside the asymptotic regime, requiring validation.

Q27. In a stochastic differential equation context, Euler-Maruyama is the analogue of Euler's method. Unlike deterministic Euler, its strong convergence order is 0.5, not 1. Why?

A.Brownian motion paths are nowhere differentiable, making Ξ”W∼h\Delta W \sim \sqrt{h}. βœ…
B.Noise dominates the drift term.
C.Numerical noise accumulates faster.
D.It uses a different Taylor expansion.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: Deterministic Euler assumes y(t+h) \approx y(t) + h y&#039;(t). In SDEs, the Wiener increment Ξ”W\Delta W scales as h\sqrt{h}, not hh. The Ito-Taylor expansion includes terms of order h\sqrt{h}. Standard Euler-Maruyama retains only drift hh and diffusion Ξ”W\Delta W, missing mixed terms. Since the leading neglected term involves Ξ”Wβ‹…h\Delta W \cdot h or similar, the strong error is dominated by the roughness of Brownian paths, limiting convergence to 0.5. This contrasts sharply with smooth ODE theory.

Q28. A student argues that since Euler's method is first-order, using double precision instead of single precision won't improve results for h=0.1h=0.1. Is this reasoning sound?

A.Yes, because truncation error O(h)β‰ˆ0.1O(h) \approx 0.1 dwarfs machine epsilon 10βˆ’1610^{-16}.
B.No, because condition numbers can amplify round-off.
C.Yes, provided the problem is well-conditioned.
D.Both A and C are correct. βœ…
πŸ’‘ Difficulty: hard | βœ… Correct: D

πŸ“– Explanation: Truncation error ∼0.1\sim 0.1 is indeed vastly larger than double precision ∼10βˆ’16\sim 10^{-16}. For well-conditioned problems, extra digits are wasted. However, if the problem is ill-conditioned (large Lipschitz constant or long integration interval), round-off can be amplified by eLTe^{LT}. If eLT>1015e^{LT} > 10^{15}, double precision matters even at coarse hh. Thus, the student is usually right but dangerously wrong for sensitive systems. Safe practice considers both truncation and conditioning.

Q29. For the equation y&#039; = y^{1/3}, y(0)=0, Euler's method yields yn=0y_n = 0. However, y=(2x/3)3/2y = (2x/3)^{3/2} is also a solution. If a tiny perturbation Ο΅\epsilon is added to y0y_0, the numerical solution tracks the non-zero branch. What does this sensitivity indicate?

A.The zero solution is unstable.
B.The problem lacks uniqueness, and numerical selection depends on perturbations. βœ…
C.Euler's method is inconsistent.
D.The non-zero solution is spurious.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: This is another non-Lipschitz example. The zero solution is technically stable but not isolated. Numerical round-off or intentional perturbation acts as a selector among the infinite family of solutions branching from the origin. Euler's method with exact zero arithmetic stays at zero, but real computers introduce noise, pushing the state onto the non-zero manifold. This demonstrates that numerical solutions to non-unique problems are artifacts of implementation details, not unique mathematical truths.

Q30. When applying Euler's method to y&#039; = \lambda y with Ξ»>0\lambda > 0, the relative error grows as ∣(1+hΞ»)nβˆ’eΞ»nh∣/eΞ»nh|(1+h\lambda)^n - e^{\lambda nh}| / e^{\lambda nh}. As nβ†’βˆžn \to \infty with fixed hh, what happens to this relative error?

A.It approaches zero.
B.It approaches a constant. βœ…
C.It grows exponentially.
D.It oscillates.
πŸ’‘ Difficulty: medium | βœ… Correct: B

Q31. In parallel computing, Euler's method is inherently sequential. Which strategy allows parallelization while retaining Euler-like simplicity?

A.Domain decomposition in space for PDEs.
B.Using multiple shooting to break the time interval into independent segments solved in parallel. βœ…
C.Pipelining the function evaluations.
D.Euler's method cannot be parallelized.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: Time-stepping is serial. Multiple shooting divides [0,T][0,T] into subintervals, guesses initial values at interfaces, and integrates each segment in parallel using Euler. A Newton iteration updates interface values to enforce continuity. This breaks the temporal dependency. Spatial decomposition applies to PDEs, not ODEs. Pipelining doesn't help since step n+1n+1 needs result of nn. Multiple shooting is the standard way to parallelize IVPs, trading communication for concurrency.

Q32. A student notices that for y&#039; = -y^3, Euler's method remains stable for much larger hh than predicted by linear stability analysis h<2h < 2. Why?

A.Nonlinear damping increases with amplitude, providing self-stabilization. βœ…
B.Linear analysis is always wrong for nonlinear systems.
C.The student made a calculation error.
D.Cubic terms are always stable.
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: Linear stability analyzes behavior near equilibrium y=0y=0. For y&#039;=-y^3, linearization gives y&#039;=0 (marginally stable). But nonlinear term provides strong damping for large yy. If Euler overshoots, y3y^3 becomes huge, pulling it back violently. This nonlinear restoring force extends the effective stability region beyond linear predictions. Conversely, some nonlinearities shrink stability regions. Linear analysis is necessary but not sufficient for nonlinear stability; energy methods or Lyapunov functions give better bounds.

Q33. When solving y&#039; = f(x,y) where ff is expensive to evaluate, and Euler's method requires many steps for accuracy, which consideration favors switching to a higher-order method over simply reducing hh in Euler?

A.Higher-order methods reduce function evaluations for same accuracy. βœ…
B.Higher-order methods have larger stability regions.
C.Higher-order methods avoid round-off.
D.Euler's method is never preferable.
πŸ’‘ Difficulty: easy | βœ… Correct: A

πŸ“– Explanation: To reduce error by factor KK with Euler, steps increase by KK, costing KK evaluations. With RK4 (order 4), steps increase by K1/4K^{1/4}, costing 4K1/44K^{1/4} evaluations. For K=1000K=1000, Euler costs 1000x, RK4 costs ~22x. Despite higher cost per step, higher-order methods are vastly more efficient for smooth problems. Only when ff is trivial or discontinuous might Euler compete. Efficiency = Accuracy/Cost, favoring higher order for expensive ff.

Q34. In the numerical solution of y&#039; = Ay where AA is defective (non-diagonalizable), the solution contains terms like teΞ»tt e^{\lambda t}. How does this affect Euler's error compared to the diagonalizable case?

A.Error is unaffected.
B.Error grows polynomially faster due to resonance with the nilpotent part. βœ…
C.Euler's method becomes exact.
D.Stability region expands.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: Defective matrices have Jordan blocks. Exact solution involves polynomials times exponentials. Numerical methods approximate eAhe^{Ah}. For Jordan blocks, the numerical approximation of the nilpotent part introduces additional errors that couple with the exponential. The error expansion includes terms arising from the non-commutativity or defectiveness, often leading to worse constants or transient growth even if eigenvalues suggest stability. This subtle linear algebra issue impacts numerical performance, showing that spectral analysis alone is insufficient for error prediction.

Q35. A climate model uses Euler's method for fast processes and implicit methods for slow ones (IMEX). If the coupling is treated explicitly, what restricts the time step?

A.The slow process timescale.
B.The fast process timescale. βœ…
C.The geometric mean of timescales.
D.Only accuracy, not stability.
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: IMEX splits f=ffast+fslowf = f_{fast} + f_{slow}. Treating ffastf_{fast} implicitly removes its stability constraint. But if coupling terms are explicit, they inherit the stiffness of the fastest scale they interact with. If coupling transfers energy from fast to slow modes explicitly, the step size is limited by the fast frequency to maintain stability. Proper IMEX requires implicit treatment of all stiff components including coupling. Partial explicit treatment defeats the purpose, illustrating the complexity of multi-scale integration.

Q36. For the test equation y&#039; = i\omega y, Euler's amplification factor is ∣1+ihΟ‰βˆ£=1+(hΟ‰)2>1|1 + ih\omega| = \sqrt{1 + (h\omega)^2} > 1. What does this imply for simulating waves?

A.Amplitude grows unboundedly regardless of hh. βœ…
B.Phase error dominates.
C.Method is stable for small hh.
D.Waves travel faster than light.
πŸ’‘ Difficulty: easy | βœ… Correct: A

πŸ“– Explanation: Since ∣R∣>1|R| > 1 for all h>0h > 0, Euler unconditionally amplifies oscillatory modes. Energy increases every step. This makes explicit Euler fundamentally unsuitable for wave propagation, acoustics, or quantum mechanics. Even infinitesimal hh causes eventual blow-up. This contrasts with dissipative systems where small hh ensures stability. Recognizing this unconditional instability for imaginary eigenvalues is a critical screening test for solver selection in hyperbolic problems.

Q37. In backward Euler yn+1=yn+hf(xn+1,yn+1)y_{n+1} = y_n + h f(x_{n+1}, y_{n+1}), solving for yn+1y_{n+1} typically requires Newton's method. If the Jacobian J=βˆ‚f/βˆ‚yJ = \partial f/\partial y is approximated poorly, what is the impact?

A.The method loses A-stability.
B.Convergence of Newton's method slows or fails, but if converged, the solution is still valid backward Euler. βœ…
C.The order of accuracy drops to first-order.
D.The solution becomes explicit.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Backward Euler defines a specific implicit relation. Solving it inexactly introduces an additional error. If Newton converges to a tolerance Ο„\tau, the overall error is sum of truncation + algebraic error. Poor Jacobian affects solver efficiency/robustness, not the definition of the scheme. However, if iterations stop early, the effective method is neither backward Euler nor anything well-defined. Crucially, A-stability is a property of the exact implicit map; approximate solution doesn't change the theoretical stability region, but practical instability can arise from solver divergence.

Q38. Consider y&#039; = -1000(y - \sin(x)). The solution quickly locks onto yβ‰ˆsin⁑(x)y \approx \sin(x). Using Euler with h=0.01h=0.01 (stable but inaccurate for transient), why might the steady-state tracking still be poor?

A.Stability doesn't imply accuracy; phase lag and amplitude error persist even when transients are damped. βœ…
B.The method is unstable.
C.Sinusoidal forcing resonates with Euler.
D.Round-off destroys the signal.
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: Stability ensures boundedness, not fidelity. For h=0.01,Ξ»=βˆ’1000h=0.01, \lambda=-1000, hΞ»=βˆ’10h\lambda = -10. Amplification ∣1βˆ’10∣=9>1|1-10|=9 > 1. Wait, h=0.01h=0.01 is UNSTABLE for Ξ»=βˆ’1000\lambda=-1000. Need h<0.002h < 0.002. Assume question implies hh is within stability limit, say h=0.001h=0.001. Then hΞ»=βˆ’1h\lambda = -1. Stable. But tracking sin⁑(x)\sin(x) requires resolving frequency Ο‰=1\omega=1. h=0.001h=0.001 resolves it well. Perhaps the point is: even if stable, Euler has O(h)O(h) error. For stiff problems, accuracy requires hh small enough for the FAST scale during transient, but once on slow manifold, larger hh could suffice. Fixed hh chosen for stability is wasteful but accurate. If hh is chosen ONLY for stability (e.g., h=0.0019h=0.0019), error on slow manifold might still be acceptable. The key concept: Stability \neq Accuracy. One can be stable but inaccurate if hh is near stability boundary but too large for desired precision on the slow dynamics.

πŸ”— Related Topics (MCQs)