IAE Academy

GATE 2020 IN Q.2: solution and answer

GATE 2020 · INQ.2 · 1 mark · MCQ

Consider the recursive equation , with initial condition and being a very small valued scalar. This recursion numerically solves the ordinary differential equation ____

  1. (A)

  2. (B)

  3. (C)

  4. (D)

See the question in the paper

Answer and solution

ANSWER

(B)

Official answer: BSource: Official answer key, GATE 2020 IN (IIT Delhi)

  1. Forward (explicit) Euler method: for with step size , the update rule is

  2. Put the given recursion in that form by taking the minus sign inside the bracket:

  3. Matching the two forms term by term gives .

  4. Check by taking the limit: . As the left side tends to , so .

  5. The recursion starts from , so the initial condition is .

  6. The ODE is therefore , which is option (B).

KEY IDEA

A recursion of the form is forward Euler for . Rearrange the given update until it has exactly that shape, then read off . The starting value gives the initial condition.

WATCH OUT FOR

Getting the sign wrong on the term inside the bracket. expands to , so , not . Students who read only the part pick (A); students who drop the minus sign in front of pick (C) or (D).

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

More Numerical methods (IN) questions