Finite difference scheme for u'=u^2, u0=1, 0<t<2

Click For Summary

Discussion Overview

The discussion revolves around the finite difference scheme for the differential equation u'(t) = u(t)^2 with the initial condition u(0) = 1, specifically addressing the behavior of the solution as t approaches 1 from the left and the implications for the solution's continuity and branching into negative values.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant asks what finite difference scheme can help the solution transition to the negative branch as t approaches 1.
  • Another participant presents a mathematical transformation of the equation, suggesting that when t > 1, u becomes negative.
  • There is a repeated assertion that starting from t = 0, finite differences fail as t approaches 1.
  • One participant proposes a solution u = 1/(1-t) and questions its validity.
  • Another participant challenges the estimation of failure in the finite difference method, suggesting that numerical experimentation would clarify the issue.
  • A participant mentions that the solution implies |u| > 1 or |1/u| < 1 to avoid divergence to ± infinity.
  • Discussion includes the observation that the domain of the initial value problem does not extend past t approaching 1 from the left, indicating a need for a different initial condition for t > 1.
  • There is a mention of an antiderivative that behaves differently for t < 1 and t > 1, highlighting the role of arbitrary constants in the solution.

Areas of Agreement / Disagreement

Participants express differing views on the behavior of the finite difference scheme as t approaches 1, with some asserting that it fails while others question this assertion. The discussion remains unresolved regarding the validity of the proposed solutions and the implications for the finite difference method.

Contextual Notes

Limitations include the dependence on the initial condition and the behavior of the solution near t = 1, which is not fully explored in the context of the finite difference scheme.

feynman1
Messages
435
Reaction score
29
u'(t)=u(t)^2, u(0)=1, 0<t<2
What finite difference scheme can overcome the difficulty when t->1+ and help the solution jump to the negative branch?
 
Last edited:
Physics news on Phys.org
\frac{du}{u^2}=dt
\frac{1}{u}+t=const.=1
Negative branch ?
 
anuttarasammyak said:
\frac{du}{u^2}=dt
\frac{1}{u}+t=const.=1
Negative branch ?
when t>1, u<0
 
Yes.
u=\frac{1}{1-t}
What's wrong with it ?
 
anuttarasammyak said:
u=\frac{1}{1-t}
What's wrong with it ?
Starting from t=0, when t->1+, finite differences fail.
 
Yes, but why do you estimate it fails ?
2021-09-14 13.49.46.jpg
 
Last edited:
just try numerics yourself and you'll see.
 
The solution says
|u|&gt;1
, or
|1/u|&lt;1
if you do not like divergence to ##\pm## infinity. {1/u} (0) = 0.
 
feynman1 said:
Starting from t=0, when t->1+, finite differences fail.

The domain of the initial value problem at t = 0 does not extend past t \to 1^{-}.

An antiderivative of 1/(t-1)^2 looks like <br /> f: t \mapsto \begin{cases} 1/(1- t) + c_1 &amp; t &lt; 1 \\<br /> 1/(1 - t) + c_2 &amp; t &gt; 1.\end{cases} The arbitrary constants c_1 and c_2 don't have to be equal, and the constraint that u(0) = 1 only fixes c_1 = 0.

If you want to look at t &gt; 1 then you must start from an initial t_0 &gt; 1 - for example u = -1 when t = 2.
 
  • Like
Likes   Reactions: feynman1

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K