The above equations can be difficult to solve in closed form unless several simplifying assumptions are made. However, the equations are readily solved using numerical approaches, and there are many device simulators that perform this task. In addition to the assumption of a one-dimensional device, the most central simplifying assumption in determining a closed form solution to the above equations is the depletion approximation. The depletion approximation assumes that the electric field in the device is confined to some region of the device. According to this assumption, the device can then be broken up into regions that have an electric field and those that do not. This is shown below for a pn junction, where Regions I and III do not have an electric field (called quasi-neutral regions or QNR) and Region II has an electric field (which is called space-charge or depletion region).
In other words it can be written as the system of equations:
where xp and xn are the borders of the depletion region.

Figure 1: Schematic showing the regions with and without the electric field according to the depletion approximation.
Divide the device into regions with an electric field and without an electric field.