associated with the depletion layer is an effect known as band bending. this effect occurs because the electric field in the depletion layer varies linearly in space from its (maximum) value formula_43 at the gate to zero at the edge of the depletion width: