Consider the recursive equation , with initial condition and being a very small valued scalar. This recursion numerically solves the ordinary differential equation ____
- (A)
- (B)
- (C)
- (D)
Consider the recursive equation , with initial condition and being a very small valued scalar. This recursion numerically solves the ordinary differential equation ____
ANSWER
(B)
Official answer: BSource: Official answer key, GATE 2020 IN (IIT Delhi)
Forward (explicit) Euler method: for with step size , the update rule is
Put the given recursion in that form by taking the minus sign inside the bracket:
Matching the two forms term by term gives .
Check by taking the limit: . As the left side tends to , so .
The recursion starts from , so the initial condition is .
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