Finding an Expression for Y in a Linear Multistep Method

In summary, the conversation discusses a linear multistep method (LMM) applied to an initial value problem with the form $\frac{dy}{dt}=f(t,y)$ and an initial condition $y(0)=y_0$. The LMM involves finding an expression for $y_n$ using the starting values of $y_0$ and $y_1$. The method can be rearranged to give $y_n$ in terms of $y_{n-1}$ and $y_{n-2}$, and it provides a reasonable approximation to the analytic solution after adjusting for the initial value of $y_1$. It is suggested to use a better choice for $y_1$ to improve the accuracy of the
  • #1
shen07
54
0
consider the following LMM

$$y_n-\frac{3}{2}y_{n-1}+\frac{1}{2}y_{n-2}=h(\frac{1}{2}f_n+\frac{1}{4}f_{n-1}-\frac{1}{4}f_{n-2})$$

which is applied to the initial value problem $$y'(t)=y(t),0\leq{t}\leq{1}\\ and\\ y(0)=1$$

How do i find an expression for $$y_n$$, if the starting values are $$y_0=1\\ and\\ y_1=1$$
 
Physics news on Phys.org
  • #2
shen07 said:
consider the following LMM

$$y_n-\frac{3}{2}y_{n-1}+\frac{1}{2}y_{n-2}=h(\frac{1}{2}f_n+\frac{1}{4}f_{n-1}-\frac{1}{4}f_{n-2})$$

which is applied to the initial value problem $$y'(t)=y(t),0\leq{t}\leq{1}\\ and\\ y(0)=1$$

How do i find an expression for $$y_n$$, if the starting values are $$y_0=1\\ and\\ y_1=1$$

Usually you have a problem in the form:

$$\frac{dy}{dt}=f(t,y)$$

with an initial condition $y(0)=y_0$. So here $f_n=f(t_n,y_n)=y_n$ and your method reduces to:

$$y_n-\frac{3}{2}y_{n-1}+\frac{1}{2}y_{n-2}=h\left(\frac{1}{2}y_n+\frac{1}{4}y_{n-1}-\frac{1}{4}y_{n-2}\right)$$

which can be rearranged to give $y_n$ in terms of $y_{n-1}$ and $y_{n-2}$

Reassuringly this integrates up nicely to give a reasonable approximation to the analytic solution after allowance is made for the poor choice of $y_1$. A much better choice for $y_1$ would be $y_0+h\times f(t_0,y_0)=y_0\times (1+h)$, effectively taking an Euler step to get your multi-step method started.

.
 
Last edited:

1. What is a linear multistep method?

A linear multistep method is a numerical method used to approximate the solution of a differential equation. It involves using a combination of previous and current values of the solution to predict the next value. This method is commonly used in scientific computing.

2. Why is it important to find an expression for Y in a linear multistep method?

Finding an expression for Y in a linear multistep method allows us to compute the approximate solution of a differential equation at any given time step. This is essential for accurately simulating and analyzing real-world systems that can be described by differential equations.

3. How is an expression for Y determined in a linear multistep method?

The expression for Y is determined by using a combination of previous and current values of the solution, as well as the derivative of the solution at each time step. This can be done using various formulas such as the Adams-Bashforth or Adams-Moulton methods.

4. What is the order of a linear multistep method?

The order of a linear multistep method refers to the accuracy of the method in approximating the solution of a differential equation. It is determined by the number of previous values used in the method, with higher order methods using more previous values and therefore being more accurate.

5. Are there any limitations to using linear multistep methods?

Linear multistep methods are generally only applicable to solving initial value problems, where the solution at a single point is known. They can also be unstable for certain types of differential equations, such as those with rapidly changing solutions. Therefore, it is important to carefully consider the problem and choose an appropriate method for solving it.

Similar threads

Replies
7
Views
2K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
1
Views
775
  • Differential Equations
Replies
1
Views
671
  • Differential Equations
Replies
1
Views
757
  • Differential Equations
Replies
5
Views
2K
Replies
1
Views
1K
Replies
2
Views
2K
Back
Top