Consider a decaying exponential function of time.
y ( t ) = e − t
Suppose we use the Trapezoidal integration method to discretely model this function.
y k = y k − 1 + 2 1 y ˙ k − 1 Δ t + 2 1 y ˙ k Δ t y ˙ k = − y k
In the above equation, y k is the present value of the function and y k − 1 is the previous value of the function. The simulated function is "monotonic" if y k − 1 y k > 0 , and "oscillatory" if y k − 1 y k < 0 . The function "converges" if ∣ ∣ ∣ y k − 1 y k ∣ ∣ ∣ < 1 , and "diverges" if ∣ ∣ ∣ y k − 1 y k ∣ ∣ ∣ > 1 . Different behaviors are exhibited for different values of the time step Δ t .
Subject to the constraints y k − 1 y k = 0 and Δ t > 0 , which types of behavior are possible?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Problem Loading...
Note Loading...
Set Loading...
y = e − t ⟹ y ˙ = − y y k = y k − 1 + 2 y ˙ k − 1 Δ t + 2 y ˙ k Δ t y k = y k − 1 − 2 y k − 1 Δ t − 2 y k Δ t y k ( 1 + 0 . 5 Δ t ) = y k − 1 ( 1 − 0 . 5 Δ t ) R = y k − 1 y k = 1 + 0 . 5 Δ t 1 − 0 . 5 Δ t
R becomes negative when Δ t > 2 . So when Δ t < 2 the behaviour is monotonic and it is oscillatory otherwise. By inspection, it can also be seen that the absolute value of R always remains below 1, which indicates convergence.
Therefore, the types of possible behaviour are 'monotonic convergence and oscillatory convergence'.