Linearizing an explicit differentiation scheme

In summary, the solution to the implicit scheme is to take the Taylor expansion of f(y_{n+1}), which results in:y'(x)=f(x,y(x))+\frac{\delta t}{2}f'(y_{n}).
  • #1
Pietair
59
0

Homework Statement


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

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

Homework Equations


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

And the notation: [tex]y'(x)=f(x,y(x))[/tex]

The Attempt at a Solution


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

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

Substituting in the main scheme:

[tex]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})[/tex]

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
  • #2
Pietair said:

Homework Statement


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

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

Homework Equations


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

And the notation: [tex]y'(x)=f(x,y(x))[/tex]

The Attempt at a Solution


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

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

Substituting in the main scheme:

[tex]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})[/tex]

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.)
 
  • #3
This is what I did, it may help you it may not.
[tex]
\begin{array}{rcl}
f(y_{n+1}) & = & f\left( y_{n}+\frac{\delta t}{2}X\right) \\
& = & f(y_{n}+\frac{X\delta t}{2}f'(y_{n}) \\
& = & f(y_{n})+ \frac{\delta t}{2}(f(y_{n+1})+f(y_{n}))f'(y_{n})
\end{array}
[/tex]
where [itex]X=f(y_{n+1})+f(y_{n})[/itex] and we can solve for [itex]f(y_{n+1})[/itex], to obtain:
[tex]
f(y_{n+1})=\left( 1-\frac{\delta t}{2}f'(y_{n})\right)^{-1}\left( 2f(y_{n})+\frac{\delta t}{2}f'(y_{n})\right)
[/tex]
Substitute this into your equation.
 
Last edited:

1. What is linearization in the context of explicit differentiation schemes?

Linearization is a technique used in numerical analysis to approximate a nonlinear function with a linear one. In the context of explicit differentiation schemes, linearization is used to simplify the computation of derivatives by approximating the derivative of a function at a particular point with the slope of a tangent line.

2. Why is linearization important in explicit differentiation schemes?

Linearization allows for the use of simpler and more efficient algorithms for computing derivatives. This is especially useful in numerical methods such as finite difference methods, where the computation of derivatives is a crucial step.

3. How is linearization achieved in explicit differentiation schemes?

Linearization is achieved by using the first-order Taylor series approximation of a function. This involves finding the tangent line to the function at a particular point and using its slope to approximate the derivative at that point.

4. What are the limitations of linearization in explicit differentiation schemes?

Linearization can only approximate the derivative at a particular point and may not accurately represent the behavior of the function in the rest of the domain. This can lead to errors in the overall solution, especially for highly nonlinear functions.

5. Are there any alternative methods to linearization in explicit differentiation schemes?

Yes, there are other methods such as automatic differentiation and symbolic differentiation that can be used to compute derivatives without the need for linearization. However, these methods may be more computationally expensive and may not be suitable for all types of functions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
180
  • Calculus and Beyond Homework Help
Replies
3
Views
980
  • Calculus and Beyond Homework Help
Replies
2
Views
709
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
267
  • Introductory Physics Homework Help
Replies
1
Views
190
  • Calculus and Beyond Homework Help
Replies
3
Views
566
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
Back
Top