MHB How do we get the approximation?

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Approximation
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

Approximating $y'(t^n)$ at the relation $y'(t^n)=f(t^n,y(t^n))$ with the difference quotient $\left[\frac{y(t^{n+1})-y(t^n)}{h} \right]$ we get to the Euler method.

Approximating the same derivative with the quotient $\left[\frac{y(t^{n})-y(t^{n-1})}{h} \right]$ we get to the backward Euler method

$$y^{n+1}=y^n+hf(t^{n+1},y^{n+1}), n=0, \dots, N-1$$

where $y^0:=y_0$.
In order to find the formula for the forward Euler method, we use the limit $\lim_{h \to 0} \frac{y(x_0+h)-y(x_0)}{h}$ for $x_0=t^n, h=t^{n+1}-t^n$.
In order to find the formula for the backward Euler method, could we pick $h=t^{n-1}-t^n$ although it is negative?Or how do we get otherwise to the approximation:$$y'(t^n) \approx \frac{y(t^n)-y(t^{n-1})}{h}$$

?
 
Mathematics news on Phys.org
evinda said:
In order to find the formula for the backward Euler method, could we pick $h=t^{n-1}-t^n$ although it is negative?

Or how do we get otherwise to the approximation:

$$y'(t^n) \approx \frac{y(t^n)-y(t^{n-1})}{h}$$

?

Hi! (Wave)

We should still pick $h$ positive.
I previously explained to http://mathhelpboards.com/members/mathmari/ how to find that derivative in this thread. (Thinking)
 
I like Serena said:
Hi! (Wave)

We should still pick $h$ positive.
I previously explained to http://mathhelpboards.com/members/mathmari/ how to find that derivative in this thread. (Thinking)

Could you explain it further to me? (Thinking)
 
evinda said:
Or how do we get otherwise to the approximation:

$$y'(t^n) \approx \frac{y(t^n)-y(t^{n-1})}{h}$$

?

evinda said:
Could you explain it further to me? (Thinking)

Since we don't know $y(t^n)$ yet, we need to iterate to find it. (Thinking)

We start with an initial estimate:
$$y_n^{[0]} = y(t^{n-1})$$
And then we can iterate with:
$$y_{n}^{[i+1]} = y(t^{n-1}) + h f(t_{n}, y_{n}^{})$$
(Wasntme)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Back
Top