stvoffutt
- 15
- 0
Homework Statement
By using Taylor expansion, derive the following two-step backward differentiation which has second
order accuracy:
\frac{3y_{j+1}-4y_j+y_{j-1}}{2h}=f(t_{j+1},y_{j+1})
Homework Equations
Taylor expansion
ODE
y^{\prime}=f(t,y) , y(0)=\alpha
The Attempt at a Solution
I find the expansion for y_{j+1}=y_j+hy^{\prime}_j+\frac{h^2}{2!}y^{\prime \prime}+\cdots
and
y_{j-1}=y_j-hy^{\prime}_j+\frac{h^2}{2!}y^{\prime \prime}+\cdots
This is where I get stuck. If I multiply y_{j+1} by 3 and add y_{j-1} I get the needed left hand side but the right hand side is f(t_{j},y_{j})=y^{\prime}_j. How can I have an expansion that includesf(t_{j+1},y_{j+1}) that will yield the LHS of the derivation? Am I going about this all wrong? This problem seems relatively simple yet I think I am missing an important step.