Solving Unstable ODE: Theory, Stability & Continuity

  • Context: Graduate 
  • Thread starter Thread starter muzialis
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary
SUMMARY

The discussion focuses on solving the ordinary differential equation (ODE) $$ \dot{y} = min \, (y, A) + B\, sin(t)$$, where A and B are constants. The user expresses concern about the accuracy of their numerical solution, which exhibits significant oscillations. They seek guidance on theories related to ODE well-posedness, continuity with respect to initial data, and stability. A participant suggests that the ODE can be solved analytically for specific cases, providing a piece-wise solution approach to validate the numerical results.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with numerical solution techniques for ODEs
  • Knowledge of stability analysis in differential equations
  • Basic concepts of piece-wise functions and continuity
NEXT STEPS
  • Study the theory of well-posedness for ODEs
  • Learn about stability analysis techniques for differential equations
  • Explore analytical methods for solving ODEs, particularly piece-wise solutions
  • Investigate numerical methods for improving ODE solution accuracy, such as Runge-Kutta methods
USEFUL FOR

Mathematicians, engineers, and researchers involved in numerical analysis, particularly those working with ordinary differential equations and seeking to improve solution accuracy and stability.

muzialis
Messages
156
Reaction score
1
Hello there,

I am solving numerically the ODE

$$ \dot{y} = min \, (y, A) + B\, sin(t)$$ , A,B being constant.

I obtain a very "wiggled" solution which is very fine to me actually, as it echoes the problem I am studying.
However, as the numerical solution scheme is quite "rudimentary" I am wondering if I am getting an accurate answer.

In this respect I am wondering if somebody could point me towards a suitable theory for ODE to study their well-posedness, continuity with respect to inital data, stability.
I am no expert, but I understand the problems one would encounter if trying to solve the heat equation with negative conductvity!

The ODE, in the regime $$ y(t) < A$$ is of they type $$ \dot{y} = y + f(t)$$ which is prone to diverging exponentially.
I am trying to understand if the solution I find is meanigful or just "computer noise".

Thanks
 
Physics news on Phys.org
muzialis said:
Hello there,

I am solving numerically the ODE

$$ \dot{y} = min \, (y, A) + B\, sin(t)$$ , A,B being constant.

I obtain a very "wiggled" solution which is very fine to me actually, as it echoes the problem I am studying.
However, as the numerical solution scheme is quite "rudimentary" I am wondering if I am getting an accurate answer.

In this respect I am wondering if somebody could point me towards a suitable theory for ODE to study their well-posedness, continuity with respect to inital data, stability.
I am no expert, but I understand the problems one would encounter if trying to solve the heat equation with negative conductvity!

The ODE, in the regime $$ y(t) < A$$ is of they type $$ \dot{y} = y + f(t)$$ which is prone to diverging exponentially.
I am trying to understand if the solution I find is meanigful or just "computer noise".

Thanks

The ODE looks simple enough that you could solve it analytically for an example case or two. For example, suppose ##y(0) = y_0 < A##. Then initially your ODE is just ##\dot{y} = y(t) + B\sin(t)##, as you said, which has solution ##y(t) = (y_0+B/2)e^t - (B/2)(\sin t + \cos t)## (double-check that). This solution is valid until it grows to ##y(t_1) = A##. At this point it must satisfy the ODE ##\dot{y} = A + B\sin t##, which has solution ##y(t) = y(t_1) + A(t-t_1) - B(\cos t - \cos t_1)##. You can find ##t_1## by setting ##y(t_1) = A## in your first solution for ##t<t_1##, and ##y(t_1)## is just A. (You will probably have to solve numerically for ##t_1##). If your parameter values are such that y(t) dips below A again, you would need to find the time ##t_2## at which that happens and solve the ODE with ##\mbox{min}(y,A) = y## again, and so on.

In this way you can construct a piece-wise analytic solution for some simple parameter choices which you can test against your numerical solution.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 24 ·
Replies
24
Views
5K