System of piecewise differential equations - Where to start?

Click For Summary

Discussion Overview

The discussion revolves around a complex problem involving piecewise differential equations. Participants explore methods for solving these equations numerically and analytically, focusing on the challenges of switching between different sets of equations based on variable conditions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests treating piecewise defined differential equations as coupled equations with boundary conditions at the joining regions.
  • Another participant expresses uncertainty about when to switch between sets of coupled differential equations based on the variable conditions of w and H.
  • A different viewpoint proposes solving each differential equation uncoupled first, then applying boundary conditions to identify potential solutions.
  • Some participants mention the possibility of simplifications in the equations, such as expressing w and H in terms of exponential functions and other variables.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to solve the piecewise differential equations, and multiple competing views on methods and strategies remain present throughout the discussion.

Contextual Notes

There are limitations regarding the knowledge of boundary conditions and the unknowns in the problem, which affect the ability to switch between different sets of equations.

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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
0
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
9K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K