Linearizing an explicit differentiation scheme

Click For Summary
SUMMARY

The discussion centers on linearizing an implicit differentiation scheme to derive an explicit scheme with an approximation error of O(Δt³). The key equation derived is y_{n+1}=y_{n}+\Delta t[1-\frac{1}{2}Δt f'(y_{n})]^{-1}f(y_{n}). The participants emphasize the importance of correctly applying Taylor expansion to f(y_{n+1}) and substituting it back into the implicit scheme. A corrected expression for f(y_{n+1}) is provided, which aids in achieving the desired explicit scheme.

PREREQUISITES
  • Understanding of implicit differentiation schemes
  • Familiarity with Taylor series expansion
  • Knowledge of numerical methods for solving differential equations
  • Proficiency in handling approximation errors in numerical analysis
NEXT STEPS
  • Study the derivation of explicit schemes from implicit schemes in numerical analysis
  • Learn about Taylor series and its applications in numerical methods
  • Explore error analysis techniques for numerical approximations
  • Investigate the implications of O(Δt³) errors in practical applications
USEFUL FOR

Mathematicians, numerical analysts, and students studying differential equations who are interested in improving their understanding of linearization techniques in numerical methods.

Pietair
Messages
57
Reaction score
0

Homework Statement


Consider the following implicit scheme:
y_{n+1}=y_{n}+\frac{\Delta t}{2}\left [f(y_{n+1})+f(y_{n})]

By linearization one can obtain an explicit scheme which is an approximation to this - with approximation error O(\Delta t^{3})

Homework Equations


The solution is:
y_{n+1}=y_{n}+\Delta t\left [1-\frac{1}{2}\Delta t f'(y_{n}) \right ]^{-1}f(y_{n})

And the notation: y'(x)=f(x,y(x))

The Attempt at a Solution


I think I have to take the Taylor expansion of f(y_{n+1})

I get:
f(y_{n+1})=f(y_{n})+\Delta tf'(y_{n})+O(\Delta t^{2})

Substituting in the main scheme:

y_{n+1}=y_{n}+\frac{\Delta t}{2}\left [f(y_{n})+\Delta tf'(y_{n})+O(\Delta t^{2})+f(y_{n})]f(y_{n+1})=y_{n}+\frac{\Delta t}{2}\left [f(y_{n})+\Delta ty'(y_{n})+O(\Delta t^{2})+f(y_{n})]f(y_{n+1})

This expression is, as far as I can see, not equal to the expression of the solution.

Any help would be appreciated!
 
Physics news on Phys.org
Pietair said:

Homework Statement


Consider the following implicit scheme:
y_{n+1}=y_{n}+\frac{\Delta t}{2}\left [f(y_{n+1})+f(y_{n})\right]

By linearization one can obtain an explicit scheme which is an approximation to this - with approximation error O(\Delta t^{3})

Homework Equations


The solution is:
y_{n+1}=y_{n}+\Delta t\left [1-\frac{1}{2}\Delta t f'(y_{n}) \right ]^{-1}f(y_{n})

And the notation: y'(x)=f(x,y(x))

The Attempt at a Solution


I think I have to take the Taylor expansion of f(y_{n+1})

I get:
f(y_{n+1})=f(y_{n})+\Delta tf'(y_{n})+O(\Delta t^{2})

Substituting in the main scheme:

y_{n+1}=y_{n}+\frac{\Delta t}{2}\left [f(y_{n})+\Delta tf'(y_{n})+O(\Delta t^{2})+f(y_{n})\right]f(y_{n+1})=y_{n}+\frac{\Delta t}{2}\left [f(y_{n})+\Delta ty'(y_{n})+O(\Delta t^{2})+f(y_{n})\right]f(y_{n+1})

This expression is, as far as I can see, not equal to the expression of the solution.

Any help would be appreciated!

You are missing the "\right" code with several of your "]" symbols. (Corrected in Quote.)
 
This is what I did, it may help you it may not.
<br /> \begin{array}{rcl}<br /> f(y_{n+1}) &amp; = &amp; f\left( y_{n}+\frac{\delta t}{2}X\right) \\<br /> &amp; = &amp; f(y_{n}+\frac{X\delta t}{2}f&#039;(y_{n}) \\<br /> &amp; = &amp; f(y_{n})+ \frac{\delta t}{2}(f(y_{n+1})+f(y_{n}))f&#039;(y_{n})<br /> \end{array}<br />
where X=f(y_{n+1})+f(y_{n}) and we can solve for f(y_{n+1}), to obtain:
<br /> f(y_{n+1})=\left( 1-\frac{\delta t}{2}f&#039;(y_{n})\right)^{-1}\left( 2f(y_{n})+\frac{\delta t}{2}f&#039;(y_{n})\right)<br />
Substitute this into your equation.
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K