p-n junction. Diffusion and electrical drift. Dynamical equillibrium. Problems with the sign of current. Current flows against the flow of electrons. Mobility. Fick Law of diffusion similar to Fourier heat conduction. Diffusion driven by density gradient. All inhomogeneity only in x-direction!

Click on picture for original, larger version.