Coupled differential equation with boundary conditions

Click For Summary

Discussion Overview

The discussion revolves around solving a pair of coupled differential equations with specified boundary conditions. Participants explore numerical methods for finding solutions, particularly in the context of a domain wall solution related to field theory. The conversation includes aspects of analytical approximations and the challenges of meeting boundary conditions.

Discussion Character

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

Main Points Raised

  • One participant presents two coupled differential equations and expresses difficulty in finding a numerical solution that satisfies all boundary conditions.
  • Another participant questions the initial conditions and suggests that a small value for the derivative at the boundary might be necessary to prevent divergence.
  • A suggestion is made to expand the functions for large values of z to derive a functional form for phi and psi, potentially using a shooting method to meet boundary conditions.
  • One participant mentions having an analytical solution based on energy minimization and discusses the expected behavior of the fields at infinity.
  • A change of variables is proposed to simplify the equations, which could eliminate constants and potentially clarify the problem.
  • Another participant elaborates on the implications of the variable change and suggests a method for integrating backwards from a large z value to find solutions that meet boundary conditions.
  • A numerical solution is plotted, showing good agreement with the analytical solutions, although the amplitude varies based on parameter choices.

Areas of Agreement / Disagreement

Participants express various viewpoints on the initial conditions and the necessity of additional boundary conditions. There is no consensus on a definitive approach to solving the equations, and multiple methods and perspectives are presented.

Contextual Notes

Participants note the complexity of the problem, including the need for additional boundary conditions and the potential for multiple solutions depending on parameter choices. The discussion highlights the challenges of numerical methods in the context of coupled differential equations.

Who May Find This Useful

This discussion may be useful for researchers and students working on coupled differential equations, numerical methods in physics, or those interested in field theory and domain wall solutions.

Shahrokh
Messages
4
Reaction score
1
Hi,
I have two coupled differential equations
d^2 phi(z)/dz^2=lambda*phi(z)*(phi(z)^2+psi(z)^2-sigma^2)
d^2 psi(z)/dz^2=lambda*psi(z)*(phi(z)^2+psi(z)^2-sigma^2+epsilon/lambda)
where lambda, epsilon and sigma are arbitrary constants. The equation subject to the bellow boundary conditions
phi(0)=0, phi(infinity)=sigma, psi(infinity)=0,
I couldn't find any analytical solution but how can I solve them numerically, if I use infinity as the initial point then the answer is the trivial phi(z)=sigma and psi(z)=0 which doesn't satisfy the third boundary condition but I know that this equation must has a solution since a non differential solution is already at my disposal . Thanks.
 
Physics news on Phys.org
Hello Shahrokh, welcome to PF :smile: !

Let me rephrase:$$ {\partial^2 \phi \over \partial z^2} = \lambda \phi \left ( \phi^2 + \psi^2 - \sigma^2 \right ) \\ \mathstrut\\
{\partial^2 \psi \over \partial z^2} = \lambda \psi \left ( \phi^2 + \psi^2 - \sigma^2+ {\epsilon\over \lambda} \right ) \\ \mathstrut\\
\quad \quad \phi(0) = 0, \quad \phi(\infty)=\sigma, \quad \psi(\infty)=0
$$
and then I miss a fourth (initial) condition, but in the text you mention using ##\infty## as initial point (how do you do that ?) that would lead to ##\phi = \sigma## and ##\psi = 0## . I take it you set ##\psi(0)## to a large number ?

I suppose ##\epsilon## is a small number ? And ##\lambda, \ \sigma## can be set to 1 for a demo ? Or do you have values ?

Just for clarity: with ##\phi(0) = 0##, ##{d\phi\over dz}(0) \ne 0## you really need a very small value for this derivative to keep it from running away ?

--

If I just let my integration tool run with invented values

Code:
eps  as realparameter (0.1)  ;
lambda  as realparameter (1)  ;
s_sigma  as realparameter (1)  ;

phi  as realvariable (initial, 0)  ;
psi  as realvariable (initial, 0)  ;
dphi_dz  as realvariable (initial, eps)  ;
dpsi_dz  as realvariable (initial, eps)  ;

$phi = dphi_dz  ;
$psi = dpsi_dz  ;

$dphi_dz = lambda * phi * (phi^2 + psi^2 - s_sigma^2)  ;
$dpsi_dz = lambda * psi * (phi^2 + psi^2 - s_sigma^2 + eps/lambda)  ;

I get
Shahrokh2.jpg
for eps = 0.1 and
Shahrokh.jpg
for eps = 1e-5

It will be quite a job to use a shooting method (*) and get the boundary condition fulfilled...

(*) Only method I have in my tool :rolleyes:
 
Last edited:
You need to expand phi and psi for large values of z, to get a functional form for how phi and psi deviate from their values at infinity as z gets smaller. Then you can use the shooting method. Write:
\varphi \approx \sigma - \alpha f_1(z)
\psi \approx \alpha f_2(z)
If you then plug these into the differential equations and keep terms to first order in alpha, you will find that both f1 and f2 have the form K exp(- beta z) for some value of beta and some content K. You can then use numerical methods, starting at large values of z and integrating back toward zero, varying the constants K until you meet the boundary conditions at zero. As BvU said, it seems you are mission one more boundary condition. With what you have given, I think you will get a whole family of solutions.
 
Thank you for your respond.
To be more specific this is a domain wall solution and I have already had the answer using minimum total energy. I have also solved it analytically invoking some approximations. If the wall location be at z=0 the above equations are the minkowskian static Klien-Gordon equations. and probably now you get from where the boundary conditions appear: After the fields settle down in one of two discrete vacua we will encounter a static solution, what I am trying to find. Far from the wall the fields behavior is known phi(+infty)=sigma, phi(-infty)=-sigma so \phi(z=0)=0, \psi(\pm infty)=0, but behavior of transition between vacua is the matter of interest. My approximated solution predicts tanh for phi and sech for psi which are somehow convincing but to approve needs a numerical confirmation. There is no reason for epsilon to be small at all and phi and psi are mostly more than one but less than \sigma if one consider the inflation paradigm to be compatible with the proposal. As much as I know one can map infinity into some attainable range for numerical solutions. If one reduce the above equations to their first integrals then only two initial condition suffice to run a numerical procedure which I choose the initial point to be my virtual infinity say z=100. then the solutions are psi=0, phi=sigma which don't satisfy the remain boundary condition at the z=0.
Thanks again.
 
If I were working on this problem, I would make a change in variables as follows:

##φ=Pσ##

##ψ=Sσ##

##z=\frac{Z}{σ\sqrt{λ}}##

What do you get when you make these substitutions into the equations?

Chet
 
If you do what ChesterMiller suggested, you will eliminate all of the constants except one, giving:
P'' = P(P^2 + S^2 -1); S'' = S(P^2 + S^2 - 1 +\alpha); \alpha = \frac{\epsilon}{\sigma^2 \lambda}

Then if you do what I suggested and find solutions for P and S at large z, you will find:
P \approx 1 - A e^{-\sqrt{2} z} ; S \approx B e^{-\sqrt{\alpha} z}

Now you can start at some large value of z (I used z = 10.0) and integrate backwards toward zero. You then search for values of A and B that meet your boundary condition P(0) = 0. This is called "shooting". Of course, these depend on the value of alpha - I took alpha = 0.5 just to start somewhere. But the problem is still undetermined - there are many values of A and B that will meet your third boundary condition. You need one more boundary condition - either S(0), S'(0), or P'(0).

I uploaded a plot of a numerical solution. This is for alpha = 0.5, A = 2.0, B = 0.1 and it is very close to giving P(0) = 0. It gives S(0) = 0.05.
 

Attachments

  • Shooting_DiffEQ.png
    Shooting_DiffEQ.png
    5 KB · Views: 575
Last edited:
Well, thank you your graph shows very good similarity to tanh and sech which are my analytical solutions, except for their amplitude which has to be the matter of choosing the parameters and the missing boundary value, anyway at this stage it was a great help. I will pursue your comments. Thank you a lot.
 
Last edited:
Shahrokh said:
Well, thank you your graph shows very good similarity to tanh and sech which are my analytical solutions, except for their amplitude which has to be the matter of choosing the parameters and the missing boundary value, anyway at this stage it was a great help. I will pursue your comments. Thank you a lot.
You're welcome. Good luck on your research.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 0 ·
Replies
0
Views
295
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K