Poisson-Boltzmann Equation

  • Thread starter nassboy
  • Start date
In summary, nassboy has been working on finding a closed form solution or an approximate solution for a variant of the Poisson-Boltzmann equation. Despite being unable to solve it using methods such as separation of variables, they have been able to generate a power series using recursive derivatives. However, they have been unable to find a pattern to generate the series and are seeking help. Another user, coomast, has suggested a different approach involving substitutions and integrals, but nassboy is more interested in a closed form approximate solution. coomast has promised to have a look at it and has provided a potential solution using various mathematical relations. However, the convergence checks needed for switching between sums and integrals have not been done
  • #1
nassboy
39
0
I've been working on finding a closed form solution or an approximate solution for a variant of the Poisson-Boltzmann equation.

y''[x]=A*(1-e^(-y[x])

I'm unable to solve it using methods such as separation of variables, but I have been able to generate a power series using recursive derivatives. I've pasted the mathematica code below...I've been unable to find the pattern to generate the series...can anybody help?

In[2]:= (*Define Recursive Derivative Function *)

In[3]:= Derivative[N_][Y][0]:=D[Y''[x],{x,N-2}] /. x->0

In[4]:= (*Define the Problem*)

In[5]:= Y''[x]=A*(1-E^(-Y[x]))

Out[5]= A (1-E^-Y[x])

In[6]:= Y''[0]=Y''[x] /. x->0

Out[6]= A (1-E^-Y[0])

In[7]:= Y'[0]=0

Out[7]= 0

In[8]:= (*Check the Series*)

In[9]:= Y[0]+Integrate[Integrate[Series[Y''[x],{x,0,10}],x],x]

Out[9]= Y[0]+1/2 (A-A E^-Y[0]) x^2+1/24 A^2 E^(-2 Y[0]) (-1+E^Y[0]) x^4-1/720 (A^3 E^(-3 Y[0]) (4-7 E^Y[0]+3 E^(2 Y[0]))) x^6+(A^4 E^(-4 Y[0]) (-34+82 E^Y[0]-63 E^(2 Y[0])+15 E^(3 Y[0])) x^8)/40320-((A^5 E^(-5 Y[0]) (496-1510 E^Y[0]+1638 E^(2 Y[0])-729 E^(3 Y[0])+105 E^(4 Y[0]))) x^10)/3628800+(A^6 E^(-6 Y[0]) (-11056+40540 E^Y[0]-56568 E^(2 Y[0])+36684 E^(3 Y[0])-10545 E^(4 Y[0])+945 E^(5 Y[0])) x^12)/479001600+O[x]^13
 
Physics news on Phys.org
  • #2
nassboy said:
I've been working on finding a closed form solution or an approximate solution for a variant of the Poisson-Boltzmann equation.

y''[x]=A*(1-e^(-y[x])

...

Hello nassboy,

I am not able to help you in finding a solution using mathematica but I can help you in finding a solution analytically. That is to say, the final integral you need to solve numerically or by another method. OK, so first substitute the following variables:
[tex]u=y \qquad v=y' \qquad w=\frac{dv}{du}=\frac{y''}{y'}[/tex]
or:
[tex]y=u \qquad y'=v \qquad y''=v\frac{dv}{du}[/tex]

This comes from the fact that the original equation does not have x explicitely used. This gives now:

[tex]v\frac{dv}{du}=A*\left(1-e^{-u}\right)[/tex]

And solved for v:

[tex]v=\sqrt{K_1+2A*\left(u+e^{-u}\right)}[/tex]

Or using the opposite of the substitution:

[tex]\frac{dy}{dx}=\sqrt{K_1+2A*\left(y+e^{-y}\right)}[/tex]

From which:

[tex]x+K_2=\int \frac{dy}{\sqrt{K_1+2A*\left(y+e^{-y}\right)}}[/tex]

In which [itex]K_1[/itex] and [itex]K_2[/itex] are the integration constants. This final integral is probably not solvable in an ordinary way, so other methods are necessary, perhaps it is the starting point for the series you are looking for.

Hope this helps,

coomast
 
  • #3
Thanks for looking at my problem...

The reason I went to a series approach in the first place was that I didn't know how to tackle that ugly integral. It has very steep curvature so quadrature methods don't work well...
 
  • #4
nassboy said:
Thanks for looking at my problem...

The reason I went to a series approach in the first place was that I didn't know how to tackle that ugly integral. It has very steep curvature so quadrature methods don't work well...

Mmm, if really necessary I can look up the quadrature methods for finding integrals in order to come up with a formula for finding it numerically with the greatest degree of algebraic accuracy -if I recall well- it was called. This can take a day or two because this has been some time. Maybe I can find a different -and for this case- a better way of solving it. Do you want me to look for something?

coomast
 
  • #5
Nah,

I'm more interested in a closed form approximate solution...

some function Y[x]=, that is close to the real solution
 
  • #6
nassboy said:
Nah,

I'm more interested in a closed form approximate solution...

some function Y[x]=, that is close to the real solution

I will have a look at it tomorrow. I'm not promising anything but I will give it a try.

coomast
 
  • #7
thanks!
 
  • #8
hello nassboy,

I had a look at the integral again and came up with a closed form solution. However this is not an easy solution and difficult to work with, although, if you are going to use it in a program it might be the solution you are looking for. But first some relations I used in deriving this solution.
[tex]
\frac{1}{\sqrt{1+x}}=1-\frac{1}{2}x+\frac{1 \cdot 3}{2 \cdot 4}x^2-
\frac{1 \cdot 3 \cdot 5}{2 \cdot 4 \cdot 6}x^3+...=
\sum_{i=0}^{\infty}\frac{(2i)!\cdot (-1)^i}{\left(2^i\cdot i!\right)^2}x^i
[/tex]

[tex]
(A+B)^i=\sum_{k=0}^{i}\frac{i!}{k!\cdot (i-k)!}A^k\cdot B^{i-k}
[/tex]

[tex]
e^{-by}=\sum_{p=0}^{\infty}\frac{(-by)^p}{p!}
[/tex]

So the first step is to rewrite the integral as:

[tex]
x+K_2=\frac{1}{\sqrt{K_1}}\int
\frac{dy}
{\sqrt{1+\frac{2A}{K_1}(y+e^{-y})}
}
[/tex]

Expanding the denominator using the first relation gives:

[tex]
x+K_2=\frac{1}{\sqrt{K_1}} \sum_{i=0}^{\infty} \frac{(2i)!\cdot (-1)^i}{\left(2^i\cdot i!\right)^2}
\cdot \left(\frac{2A}{K_1}\right)^i \cdot
\int (y+e^{-y})^i dy
[/tex]

This under the assumption that the switching of the summation and the integral is allowed, meaning that it must converge. I didn't check this. Using the second relation we can rewrite this new integral as:

[tex]
\int (y+e^{-y})^i dy=\sum_{k=0}^{i} \frac{i!}{k!\cdot (i-k)!}
\int {y^ke^{-(i-k)y}}dy
[/tex]

The final integral now can be found by the third relation:

[tex]
\int {y^ke^{-(i-k)y}}dy=\sum_{p=0}^{\infty}
\frac{(-1)^p (i-k)^p}{p!} \int y^{k+p}dy=
\sum_{p=0}^{\infty} \frac{(-1)^p (i-k)^p}{p!}\cdot \frac{y^{k+p+1}}{k+p+1}
[/tex]

The complete solution now becomes:

[tex]
x+K_2=\frac{1}{\sqrt{K_1}}
\sum_{i=0}^{\infty} \left[
\frac{(2i)!\cdot (-1)^i}{\left(2^i\cdot i!\right)^2}
\cdot \left(\frac{2A}{K_1}\right)^i \cdot \right. \\
\left.
\left(\sum_{k=0}^{i}
\left[\frac{i!}{k!\cdot (i-k)!} \cdot \left(
\sum_{p=0}^{\infty} \frac{(-1)^p (i-k)^p}{p!}\cdot \frac{y^{k+p+1}}{k+p+1}
\right)\right]\right)\right]
[/tex]

I can't garantee that this is without error. As stated before the convergence checks needed for getting approval for the switching between the integral and the sums are not done.

Hope this helps a bit,

coomast
 
  • #9
Wow I'm impressed! I wouldn't have come up with that in ages! I'll try to verify it tomorrow or Monday!

I have one more, perhaps, naive question. Is one able to invert a series like that to get a function for y, for example y(x)=Series?
 
  • #10
I tried to implement the series solution in Mathematica and did not get the results that I expected. Perhaps the series does not converge...perhaps I made a mistake.
 
  • #11
Maybe you can use the http://en.wikipedia.org/wiki/Lagrange_inversion_theorem" to get a series expansion?

If you set your initial conditions to be [itex]y(x_0) = y_0[/itex] and [itex]y'(x_0) = y'_0 \neq 0[/itex], then you can solve for x in terms of the integral over y as coomast did (I kept the plus/minus sign from taking the square root):

[tex]x = x_0 \pm \int_{y_0}^{y}\frac{du}{\sqrt{2A(u + e^{-u}) + C_0}} \equiv f(y)[/tex]

where [itex]C_0 = -2A(y_0 + e^{-y_0}) + (1/2)(y'_0)^2[/itex]. Then we want y = g(x), which we can find with the inversion theorem. Now, hopefully the solution is analytic at the initial value (or anywhere - if it's not then the whole thing breaks down), so referring to the wikipedia article, let's choose [itex]a = y(x_0) = y_0[/itex] and [itex]b = x_0[/itex]. So, then by the theorem,

[tex]g(x) = y_0 + \sum_{n=1}^{\infty}\frac{d^{n-1}}{dy^{n-1}}\left.\left(\frac{y-y_o}{f(y)-x_0}\right)^n\right|_{y=y_0}\frac{(x-x_0)^n}{n!}[/tex].

In the first order (n=1) term in the sum we have to use L'Hopital's rule as y -> y_0. Doing so, I get,

[tex]y = g(x) = y_0 \pm\sqrt{2A(y_0+e^{-y_0})+C_0}(x-x_0) + \sum_{n=2}^{\infty}\frac{d^{n-1}}{dy^{n-1}}\left.\left(\frac{y-y_o}{f(y)-x_0}\right)^n\right|_{y=y_0}\frac{(x-x_0)^n}{n!}[/tex].

The higher order terms look like they'll be ugly to evaluate, but in principle you can churn out each term in the expansion to get your series expansion. You would likely want to check your result against numerical solutions to the equation to make sure it's capturing the correct behaviour at small values of y, as using the theorem does assume that f(y) is analytic when I haven't actually checked that.
 
Last edited by a moderator:

What is the Poisson-Boltzmann Equation?

The Poisson-Boltzmann Equation is a mathematical equation used to describe the electrostatic potential of a system of charged particles in a solvent.

What is the significance of the Poisson-Boltzmann Equation in scientific research?

The Poisson-Boltzmann Equation is used in various fields such as biophysics, chemistry, and materials science to understand the behavior of charged particles in solution. It is also used to calculate the electrostatic interactions between biomolecules, such as proteins and nucleic acids, which are essential for understanding their structure and function.

How is the Poisson-Boltzmann Equation derived?

The Poisson-Boltzmann Equation is derived from two fundamental equations: the Poisson Equation, which describes the electrostatic potential of a system of charges, and the Boltzmann Distribution, which describes the distribution of ions in solution based on their charge and concentration. These two equations are combined to describe the electrostatic potential in a system of charged particles in a solvent.

What are the limitations of the Poisson-Boltzmann Equation?

The Poisson-Boltzmann Equation assumes that the solvent is a continuum and that the ions are point charges. This may not accurately reflect the complexity of real systems, which can include non-point-like ions and solvent molecules with specific interactions. Additionally, the Poisson-Boltzmann Equation is not valid for systems with high ionic strengths or high surface charge densities.

How is the Poisson-Boltzmann Equation solved?

The Poisson-Boltzmann Equation is a nonlinear partial differential equation and can be solved using numerical methods, such as finite element or finite difference methods. These methods involve discretizing the equation and solving it iteratively to obtain a numerical solution. Analytical solutions are only possible for simplified systems with specific boundary conditions.

Similar threads

  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
10
Views
1K
  • Differential Equations
Replies
16
Views
901
  • Differential Equations
Replies
2
Views
996
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
1
Views
757
  • Differential Equations
Replies
3
Views
859
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
1
Views
671
  • Differential Equations
Replies
2
Views
932
Back
Top