IAE Academy

GATE 2024 IN Q.34: solution and answer

GATE 2024 · INQ.34 · 1 mark · NAT

Consider a system given by the following first order differential equation:

where, and . Using a step size for the improved Euler method, the value of at is ________ (rounded off to two decimal places).

See the question in the paper

Answer and solution

ANSWER

Using improved Euler (Heun's method) with , .

Official answer: 1.10 to 1.12Source: Official answer key, GATE 2024 IN (IISc Bengaluru)

  1. Write the right-hand side as , with , , , so .

  2. Improved Euler (Heun's method) is a predictor-corrector: predict , then correct with .

  3. Slope at the start: .

  4. Predictor (a plain Euler step): .

  5. Slope at the predicted end point: .

  6. Corrector (average of the two slopes):

  7. Rounded to two decimal places, (the third decimal is 4, so the value rounds down).

  8. Check: the exact solution is . It satisfies , and . So . The improved Euler value is close to this, as expected from a second-order method with .

KEY IDEA

Improved Euler predicts with a plain Euler step, then corrects by averaging the slope at the start, , with the slope at the predicted end point, : . The predicted must go into the second slope evaluation, not .

WATCH OUT FOR

Stopping at the plain Euler step gives , which only just touches the edge of the key range and is the wrong method. Another slip is to evaluate the second slope at instead of , which gives and : the right number by luck, from the wrong working. Also, some textbooks use 'modified Euler' for the midpoint rule. Here that also gives , but Heun's form is the standard reading of 'improved Euler'.

From the GATE 2024 IN paper. Every question of this paper · Download the full paper · All 6 Numerical methods (IN) questions, with notes

More Numerical methods (IN) questions