Practice Eulers Method in Differential Equations with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
Question 1 / 18
0 of 18 answered
Euler's method is used to approximate y(2) for the initial value problem y′=y+1, y(0)=0. With a step size h, the global error in the approximation is E. If the step size is reduced to h/3, what will be the approximate new global error?
What this quiz covers
This quiz focuses on Eulers Method, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.
How to use this quiz
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
All questions
Question 1
Euler's method is used to approximate y(2) for the initial value problem y′=y+1, y(0)=0. With a step size h, the global error in the approximation is E. If the step size is reduced to h/3, what will be the approximate new global error?
E/9
E/3 (correct answer)
3E
E/3
Explanation: Euler's method is a first-order method, which means its global truncation error is approximately proportional to the step size h. We can write this relationship as E≈C⋅h for some constant C. Let the initial error be E1 with step size h1=h, so E1=E≈C⋅h. Let the new error be E2 with step size h2=h/3. Then E2≈C⋅h2=C⋅(h/3)=(C⋅h)/3≈E/3. Therefore, reducing the step size by a factor of 3 reduces the global error by approximately the same factor.
Question 2
When using Euler's method, the global error at step n is generally not equal to the sum of the local errors from steps 1 to n. Which of the following is the primary reason for this discrepancy?
The step size h must be variable for the errors to be additive, but it is typically kept constant.
Local error is of order O(h2) while global error is of order O(h), and these orders are mathematically incompatible.
Each step's calculation begins from a point that is already an approximation, not a point on the true solution curve. (correct answer)
Round-off errors from computer arithmetic accumulate and become larger than the local truncation errors.
Explanation: 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) that is already an approximation and is not on the true curve. The slope f(xn,yn) is calculated at this approximate point, not at the correct point (xn,y(xn)) 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.
Question 3
One step of Euler's method with a step size of h=0.2 is used to approximate y(1.2) for the initial value problem y′+2y=3x, starting from y(1)=y0. If the resulting approximation is y1=4, what is the value of the initial condition y0?
17/3 (correct answer)
17/7
10/3
5
Explanation: First, rewrite the differential equation in the form y′=f(x,y): y′=3x−2y. The initial point is (x0,y0)=(1,y0), the step size is h=0.2, and the result of the first step is y1=y(1.2)≈4. The formula for one step of Euler's method is y1=y0+h⋅f(x0,y0).
Substituting the known values: 4=y0+0.2⋅f(1,y0).
The function is f(1,y0)=3(1)−2y0=3−2y0.
So the equation becomes: 4=y0+0.2(3−2y0).
Now, we solve for y0:
4=y0+0.6−0.4y03.4=0.6y0y0=3.4/0.6=34/6=17/3.
Question 4
Consider the initial value problem y′=−2y, y(0)=1. The true solution, y(x)=e−2x, approaches 0 as x→∞. If Euler's method is applied with a step size h=1.2, what is the long-term behavior of the sequence of approximations yn?
yn approaches 0.
yn approaches a non-zero constant.
yn grows without bound.
yn oscillates with increasing amplitude. (correct answer)
Explanation: The recurrence relation for Euler's method applied to y′=−2y is yn+1=yn+h(−2yn)=yn(1−2h). This is a geometric sequence with ratio r=1−2h. The long-term behavior depends on the value of this ratio. With h=1.2, the ratio is r=1−2(1.2)=1−2.4=−1.4. The sequence of approximations is given by yn=y0(r)n=1(−1.4)n. Since the base of the exponentiation, -1.4, is negative, the sign of yn will alternate between positive and negative, meaning the sequence oscillates. Since the magnitude of the base, ∣−1.4∣=1.4>1, the amplitude of these oscillations will increase without bound. Therefore, yn oscillates with increasing amplitude.
Question 5
The approximation for y(1) is computed for the initial value problem y′=y2, y(0)=−1 using Euler's method with n steps. Let yn be the resulting approximation. What is the value of limn→∞yn?
−1/2 (correct answer)
0
−1
−∞
Explanation: The problem asks for the limit of the Euler's method approximation as the number of steps n goes to infinity. As n→∞, the step size h=(1−0)/n approaches 0. In the limit as h→0, the approximation from Euler's method converges to the true solution. Therefore, we need to find the true value of y(1).
The differential equation is separable: dy/dx=y2⟹y−2dy=dx. Integrating both sides gives −y−1=x+C, or y(x)=−x+C1.
We use the initial condition y(0)=−1 to find C: −1=−0+C1⟹C=1.
The true solution is y(x)=−x+11.
The value of the solution at x=1 is y(1)=−1+11=−21.
Since limn→∞yn=y(1), the limit is −1/2.
Question 6
Euler's method with step size h is applied to the IVP y′=2x, y(0)=0. The approximation for y(1) is found to be 0.9. What was the step size h used?
0.05
0.20
0.15
0.10 (correct answer)
Explanation: 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′=2x, y(0)=0, Euler's method uses the formula yn+1=yn+h⋅f(xn,yn), where f(x,y)=2x. Starting at (0,0), each step adds h⋅2xn to the current y-value.With n=h1 steps to reach x=1, the approximation becomes:
y1≈h[2(0)+2(h)+2(2h)+…+2((n−1)h)]=2h2[0+1+2+…+(n−1)]=2h2⋅2(n−1)n=h2n(n−1)Since n=h1, this becomes h2⋅h1⋅(h1−1)=h(h1−1)=1−h.Setting 1−h=0.9 gives us h=0.1, which is answer choice D.Choice A (h=0.05) would give y(1)≈0.95, choice B (h=0.20) would give y(1)≈0.8, and choice C (h=0.15) would give y(1)≈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.
Question 7
Using Euler's method with a step size of h=1, an approximation for the solution to the initial value problem y′=x−2y, y(0)=1 is calculated. What is the value of the second approximation, y2, which corresponds to an approximation of y(2)?
−1
−3
2 (correct answer)
3
Explanation: We are given (x0,y0)=(0,1), h=1, and f(x,y)=x−2y. The formula for Euler's method is yn+1=yn+h⋅f(xn,yn).Step 1: Find y1≈y(1).
x0=0,y0=1.
The slope at this point is f(0,1)=0−2(1)=−2.
y1=y0+h⋅f(x0,y0)=1+1⋅(−2)=−1.
So, the first approximation point is (x1,y1)=(1,−1).Step 2: Find y2≈y(2).
x1=1,y1=−1.
The slope at this new point is f(1,−1)=1−2(−1)=1+2=3.
y2=y1+h⋅f(x1,y1)=−1+1⋅(3)=2.
Thus, the second approximation is y2=2.
Question 8
Consider two initial value problems, both approximated using Euler's method with the same small step size h over the interval [0,1].
IVP 1: y′=y, y(0)=1
IVP 2: z′=2z, z(0)=1
Let Ey(1) and Ez(1) be the global errors for the respective approximations at x=1. How are the magnitudes of these errors, ∣Ey(1)∣ and ∣Ez(1)∣, most likely to compare?
∣Ey(1)∣>∣Ez(1)∣
∣Ey(1)∣<∣Ez(1)∣ (correct answer)
∣Ey(1)∣≈∣Ez(1)∣
The relationship cannot be determined without knowing the value of h.
Explanation: 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)=ex. The second derivative is y′′(x)=ex.
For IVP 2, the solution is z(x)=e2x. The second derivative is z′′(x)=4e2x.
Over the interval [0,1], the value of z′′(x)=4e2x is always significantly larger than y′′(x)=ex. 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)∣.
Question 9
The initial value problem y′=x−y2, y(0)=1 is approximated using Euler's method with a small positive step size h. Which of the following statements is true about the approximation yE(x) for x in a small interval just greater than 0?
yE(x) will be an underestimate of the true solution y(x). (correct answer)
yE(x) will be an overestimate of the true solution y(x).
yE(x) will be equal to the true solution y(x).
The relationship between yE(x) and y(x) cannot be determined without knowing the value of h.
Explanation: 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′′. Given y′=x−y2, we can find y′′ using implicit differentiation with respect to x: y′′=dxd(x−y2)=1−2y⋅y′. Substituting the expression for y′, we get y′′=1−2y(x−y2)=1−2xy+2y3. At the initial point (x0,y0)=(0,1), we have y′′(0)=1−2(0)(1)+2(1)3=3. Since y′′>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.
Question 10
Consider the initial value problem y′=cos(x)−y, with y(0)=0. Let yE(x) be the approximation of the true solution 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=0?
The method will initially produce an underestimate because y(0)=0.
The method will initially produce an overestimate because the solution is initially concave down. (correct answer)
The method will produce the exact solution because cos(x) is an even function.
The error will initially be zero and then become an underestimate for all x>0.
Explanation: 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′′. We have y′=cos(x)−y. Differentiating with respect to x gives y′′=−sin(x)−y′. Substituting y′ yields y′′=−sin(x)−(cos(x)−y)=y−sin(x)−cos(x). At the initial point (x0,y0)=(0,0), the second derivative is y′′(0)=0−sin(0)−cos(0)=0−0−1=−1. Since y′′<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 x slightly greater than 0, the approximation will be an overestimate.
Question 11
For a given initial value problem, Euler's method with a step size of h=0.2 is used to approximate y(T), and the resulting global error is found to be approximately 0.08. If the step size is changed to h=0.05, what is the expected global error for the new approximation of y(T)?
0.005
0.01
0.02 (correct answer)
0.04
Explanation: Euler's method is a first-order method, which means its global truncation error is approximately proportional to the step size h. Let the error be Eh≈C⋅h for some constant C. We are given that for h1=0.2, the error E0.2 is 0.08. We can estimate C as C≈E0.2/h1=0.08/0.2=0.4. Now, we can predict the error for the new step size h2=0.05: E0.05≈C⋅h2=0.4⋅0.05=0.02. Alternatively, since the error is proportional to h, 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/hold. So, Enew=Eold⋅(hnew/hold)=0.08⋅(0.05/0.2)=0.08⋅(1/4)=0.02.
Question 12
Euler's method with a step size of h=0.2 is used to approximate the solution to the initial value problem y′=x−y with y(0)=2. What is the resulting approximation for y(0.4)?
1.20
1.32 (correct answer)
1.60
1.28
Explanation: We need to perform two steps of Euler's method. Let (x0,y0)=(0,2) and h=0.2. The formula is yn+1=yn+h⋅f(xn,yn).Step 1: Find y1≈y(0.2).
x0=0, y0=2. The slope is f(x0,y0)=0−2=−2.
y1=y0+h⋅f(x0,y0)=2+0.2(−2)=2−0.4=1.6.
So, (x1,y1)=(0.2,1.6).Step 2: Find y2≈y(0.4).
x1=0.2, y1=1.6. The slope is f(x1,y1)=0.2−1.6=−1.4.
y2=y1+h⋅f(x1,y1)=1.6+0.2(−1.4)=1.6−0.28=1.32.
Thus, the approximation for y(0.4) is 1.32.
Question 13
For the initial value problem y′=2x+y with y(0)=1, a single step of Euler's method gives the approximation y(h)≈1.2. What was the step size h used?
0.10
0.15
0.17
0.20 (correct answer)
Explanation: Euler's method formula for one step is y1=y0+h⋅f(x0,y0).
We are given the initial condition (x0,y0)=(0,1) and the result y1=1.2. The function defining the slope is f(x,y)=2x+y.
First, we evaluate the slope at the initial point: f(x0,y0)=f(0,1)=2(0)+1=1.
Now, we plug the known values into the formula: 1.2=1+h⋅(1).
Solving for h, we get 1.2−1=h, which means h=0.2.
Question 14
Consider the initial value problem y′=2y, y(0)=1. Let A1 be the approximation of y(0.2) using Euler's method with one step (h=0.2), and let A2 be the approximation of y(0.2) using two steps (h=0.1). What is the value of A2−A1?
−0.04
0.00
0.04 (correct answer)
0.24
Explanation: First, we calculate A1 with h=0.2. The initial point is (x0,y0)=(0,1).
The slope is f(0,1)=2(1)=2.
A1=y1=y0+h⋅f(x0,y0)=1+0.2(2)=1.4.Next, we calculate A2 with h=0.1. This requires two steps.
Step 1: from x=0 to x=0.1.
(x0,y0)=(0,1). The slope is f(0,1)=2(1)=2.
y1=1+0.1(2)=1.2. The new point is (0.1,1.2).
Step 2: from x=0.1 to x=0.2.
(x1,y1)=(0.1,1.2). The slope is f(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.44.Finally, we find the difference: A2−A1=1.44−1.4=0.04.
Question 15
Let Euler's method be used to approximate the solution to the initial value problem y′=cos(x) with y(0)=0 on the interval [0,4]. Which statement best describes the error of the approximation for y(4)?
The approximation is a guaranteed overestimate.
The approximation is a guaranteed underestimate.
The approximation is exact because the derivative function is simple.
The approximation is neither a guaranteed overestimate nor a guaranteed underestimate. (correct answer)
Explanation: 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) with y(0)=0, the exact solution is y=sin(x).The key insight is examining y′′=−sin(x) over [0,4]. The second derivative changes sign multiple times: it's negative on (0,π), positive on (π,2π), negative on (2π,3π), and positive on (3π,4] since 4>3π. When the solution is concave down (y′′<0), Euler's method overestimates; when concave up (y′′>0), it underestimates.Answer A is wrong because the solution isn't always concave down over [0,4] - there are intervals where y′′>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) 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=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.
Question 16
To approximate y(0.1) for the initial value problem 2y′−y=4x, y(0)=3, one step of Euler's method is used with h=0.1. What is the resulting approximation?
3.15 (correct answer)
3.00
2.85
3.30
Explanation: 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). Starting with 2y′−y=4x, solve for y′: y′=2y+4x. This gives you the slope function.Euler's method uses the formula: yn+1=yn+h⋅f(xn,yn), where h is the step size. With your initial condition y(0)=3, you have x0=0, y0=3, and h=0.1.Calculate the slope at the initial point: f(0,3)=23+4(0)=23=1.5Apply Euler's formula: y1=y0+h⋅f(x0,y0)=3+0.1(1.5)=3+0.15=3.15This confirms answer A) 3.15 is correct.Answer B) 3.00 would result from forgetting to add the increment (h⋅f) to the initial value. Answer C) 2.85 likely comes from subtracting instead of adding the increment. Answer D) 3.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′, and verify you're adding (not subtracting) the increment h⋅f(x,y).
Question 17
Consider the initial value problem y′=3 with y(1)=5. If Euler's method is used to approximate y(4), what can be said about the error of the approximation?
The error is exactly zero for any step size h. (correct answer)
The error is non-zero and is proportional to the step size h.
The error is non-zero and is proportional to the square of the step size, h2.
The error is positive because the solution is an increasing function.
Explanation: The exact solution to the differential equation y′=3 with y(1)=5 can be found by direct integration: y(x)=3x+C. Using the initial condition, 5=3(1)+C, which gives C=2. The exact solution is the line y(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 h. As a result, the error will be exactly zero.
Question 18
Consider the initial value problem y′=y−x2 with y(0)=2. An approximation of the solution is computed using Euler's method with a small step size h>0. For x>0 near x=0, which of the following statements is true about the approximation?
The approximation will be an overestimate of the true solution.
The approximation will be an underestimate of the true solution. (correct answer)
The approximation will be exact because the differential equation is linear.
It is not possible to determine if the approximation is an overestimate or underestimate without knowing the step size h.
Explanation: To determine if Euler's method overestimates or underestimates, we examine the concavity of the solution curve by finding the second derivative, y′′. Given y′=y−x2, we differentiate with respect to x: y′′=dxd(y−x2)=y′−2x. Substituting the expression for y′, we get y′′=(y−x2)−2x=y−x2−2x. We evaluate the sign of y′′ at the initial point (0,2): y′′(0)=2−02−2(0)=2. Since y′′(0)>0, the solution curve is concave up near x=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.