We have the linear first order ODE y′(t)=m(t)y(t)+n(t) where m(t),n(t) are given functions. We need to show that after applying the implicit Euler method we receive a linear system of equations for the variable y_(k+1). How does this make a linear system of equations or what do we mean with that? Here we have only one equation and in what sense is this equation linear? Usually I would associate a system of linear equations with something like Ax=b. We use the implicit Euler method. But is it correct if the result is an explicit equation? That confuses me a bit.

Finley Mcintosh

Finley Mcintosh

Open question

2022-08-21

We have the linear first order ODE y ( t ) = m ( t ) y ( t ) + n ( t ) where m ( t ) , n ( t ) are given functions. We need to show that after applying the implicit Euler method we receive a linear system of equations for the variable y k + 1 .

Let h > 0 be the step size, t 0 R such that the ODE suffices the initial value condition y ( t 0 ) = y 0 . The implicit Euler method in our case is given by y 0 = y 0 and y k + 1 = y k + h ( a ( t k + 1 ) y k + 1 + b ( t k + 1 ) ).

This leads to y k + 1 = y k + h n ( t k + 1 ) 1 h m ( t k + 1 ) .

My questions:
1. How does this make a linear system of equations or what do we mean with that? Here we have only one equation and in what sense is this equation linear? Usually I would associate a system of linear equations with something like A x = b.
2. We use the implicit Euler method. But is it correct if the result is an explicit equation? That confuses me a bit.
Any help is very appreciated.

Answer & Explanation

Jovany Mathews

Jovany Mathews

Beginner2022-08-22Added 8 answers

The equation you get from the implicit method (whose solution you correctly give in the question) is:
y k + 1 y k h = m ( t k + 1 ) y k + 1 + n ( t k + 1 ) .
This expression is linear in y k + 1 and y k . Since the ODE is linear, the equation coming from the implicit Euler method turns out to be linear. And since this equation is linear, it is possible to solve explicitly for y k + 1 in terms of y k , even if the method is implicit. There is no contradiction here.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?