Step 1: Impurity atoms (doping):
Doping means adding a very small amount of a different element to pure silicon or germanium. These host atoms have 4 valence electrons.
(a) For a p-type semiconductor, the dopant is a trivalent atom (3 valence electrons), such as boron (B), aluminium (Al), gallium (Ga) or indium (In).
(b) For an n-type semiconductor, the dopant is a pentavalent atom (5 valence electrons), such as phosphorus (P), arsenic (As) or antimony (Sb).
Step 2: Energy band diagram of the p-type semiconductor:
Diagram, described in words: draw two horizontal levels, the bottom of the conduction band \(E_c\) at the top and the top of the valence band \(E_v\) at the bottom, with the forbidden gap \(E_g\) between them. Draw a short dashed line, the acceptor level \(E_A\), a little ABOVE \(E_v\). Mark the small gap between \(E_A\) and \(E_v\) as \(\Delta E_A\), of the order of 0.05 eV (much smaller than \(E_g\)). Show some electrons moving up from the valence band to \(E_A\) (arrow), and the holes left behind in the valence band as open circles.
At \(T > 0\) K, electrons from the valence band get enough thermal energy to jump to the empty acceptor level. This leaves holes in the valence band, so holes are the majority carriers.
Step 3: Energy band diagram of the n-type semiconductor:
Diagram, described in words: draw the same two levels \(E_c\) and \(E_v\) with the gap \(E_g\) between them. Draw a short dashed line, the donor level \(E_D\), a little BELOW \(E_c\). Mark the small gap between \(E_c\) and \(E_D\) as \(\Delta E_D\), of the order of 0.01 to 0.05 eV. Show electrons moving up from \(E_D\) into the conduction band (arrow), shown as filled dots in the conduction band.
At \(T > 0\) K, the fifth electron of each donor atom is only loosely bound. It takes very little energy to move into the conduction band, so electrons are the majority carriers.
Step 4: Compare the two diagrams:
In both cases the impurity level lies very close to a band edge, within about 0.05 eV, which is far smaller than the gap \(E_g\) (about 1.1 eV for Si). That is why nearly all the impurity atoms are ionised even at room temperature.
Final Answer:
p-type: trivalent dopants (B, Al, Ga, In) with the acceptor level just above the valence band. n-type: pentavalent dopants (P, As, Sb) with the donor level just below the conduction band. Both gaps are of the order of 0.01-0.05 eV.