System of piecewise differential equations - Where to start?

urbanist
Messages
9
Reaction score
0
Hello all,

I am dealing with a rather complicated problem (as we all do), without much knowledge in differential equations.
I have coded a numerical solution, taking a straightforward approach: constructing the functions step by step, but I would like to try to achieve better precision.

Any hint about the type of problem I am facing, about relevant solution methods, etc., so that I can start exploring the literature, will be greatly appreciated!

https://dl.dropbox.com/u/17308924/problem.GIF

Thank you!

Urbanist.
 
Last edited by a moderator:
Physics news on Phys.org
Welcome to PF;
I'd normally treat piecewise defined DEs as two coupled DEs, with extra boundary conditions at the place where the defined regeons join.

Looks like you have dw/dr = f(H,w) and dH/dr = g(H,w,z) too ... fun fun fun.
 
Thank you so much for your help!

I can treat them as coupled. The problem is knowing when to switch from one set of coupled DEs to the other.

If I start with w<wm, I'm in the w<wm and H>0 region. This region ends when w>=wm (because H continues to rise). How do I know when this condition is fulfilled in order to switch to the other set of DEs, which holds when w>wm and H>0? Looking at boundary value problems I see only cases when the boundary condition on y(x)=0 is on a given x, which in my case is unkown.
 
You'd have to solve each of the DEs uncoupled and then apply the boundary conditions. This will give you a lot of candidates - at a glance: you'll have 4 cases in which to solve simultanious DEs - hopefully the boundaries will appear once you've done the spadework ... bear in mind I'm not going to actually do the problem just to help you. Looks too much like hard work. Instead I will point in likely looking directions.

The big advantage here is that you know the problem is set for you as an example so you know it can be solved. I know we all want some sort of shortcut but none occur to me just looking at it. Sometimes (often IRL) the shortcut does not exist and you just have to push through.
 
Some simplifications are available. Write w(r) = exp(v(r)), H(r) = G(r)/t. Or maybe w(r) = exp(κv(r)), H(r) = κG(r)/t.
 
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...
Back
Top