I'm trying to understand the solution of Poisson-Boltzmann (PB) equation as I read it in a review. The surface is uniformly charged and flat. I am only considering the $x$ direction.
The PB equation under these conditions is $$\frac{\partial ^2 \psi}{\partial x^2} = -\frac{4 \pi}{\epsilon \epsilon_0} C_0 z q \, {\text e}^{-z q \psi/kT}$$ I set $$a = -\frac{4 \pi C_0 z q}{\epsilon \epsilon_0}; \qquad b = \frac{zq}{kT}.$$ Also, I have a boundary condition at $x=0$ $$ \left . \frac{\partial \psi}{\partial x} \right |_{x=0} = - \frac{4 \pi}{\epsilon \epsilon_0} \sigma$$ where $\sigma$ is the surface charge density.
Just to be clear, $\epsilon$ and $\epsilon_0$ are the solvent and vacuum dielectric constants, $kT$ is the thermal energy, $z$ is the ion valency and q is the proton charge. Finally, $C_0$ is a reference concentration at which $\psi = 0$.
The solution, as published in the review paper (for monovalent ions) is $$\psi(x) = \frac{2 T}{q} \log(x+l_{gc}) + \psi_0$$ here $l_{gc} = \frac{q}{2 \pi \left | \sigma \right | \ell}$ is the Gouy-Chapman length and $\ell= \frac{q^2}{\epsilon \epsilon_0 kT}$ is the Bjerrum length. I tried to derive this result myself: $$ \int d\psi \int {\text e}^{b \psi} d\psi = \int dx \int adx$$ $$ \int \frac{ {\text e}^{b \psi} d\psi}{b} = \int \left ( ax + c \right ) dx$$ $$ \frac { {\text e}^{b \psi} }{b^2} = \frac{ax^2}{2} + cx + d$$ I want to use my boundary condition: $$\psi = \log \left [ \left ( \frac{ax^2}{2} + cx + d \right )b^2\right ]/b $$ $$\left . \frac{\partial \psi}{\partial x} \right |_{x = 0} = \left . \frac{ax + c}{ax^2 + cx + d} \frac{1}{b} \right |_{x=0} = \frac{c}{db}$$ I can only find the ratio between $c$ and $d$ to be $\frac{16 \pi^2}{\epsilon^2 \epsilon_0^2 \sigma}$ and I can't really do anything else with this.
This is supposed to be a fundamental result for this system but I can't find any explanation to this result or derivation. I can find the solution for a system with excess salt thought.
So, how do I solve this system/where is the flow in my solution?
Edit:
The review I am referring to is David Andelman's chapter in the book structure and dynamics of membranes. The chapter title is: Electrostatic properties of membranes: The Poisson-Boltzmann equation
