For a p–n junction, letting formula_2 and formula_3 be the concentrations of acceptor and donor atoms respectively, and letting formula_4 and formula_5 be the equilibrium concentrations of electrons and holes respectively, yields, by Poisson's equation: