(a) ND≫ni, so
ne≈ND=5×1020 m−3,nh=neni2=5×10202.25×1032=4.5×1011 m−3
(b) The 5×1020 donor electrons fill the vacant bonds of 5×1020 of the acceptors. The remaining acceptors each create a hole:
nh≈NA−ND=2×1021−0.5×1021=1.5×1021 m−3
Acceptors outnumber donors, so the region is p-type.
(c)
ne=nhni2=1.5×10212.25×1032=1.5×1011 m−3
(d) Positive charges: holes and ionised donors. Negative charges: free electrons and ionised acceptors.
nh+ND=1.5×1021+0.5×1021=2.0×1021 m−3
ne+NA=1.5×1011+2.0×1021≈2.0×1021 m−3
The two are equal, so the region is neutral.

(e) With boron alone, nh≈NA=2.0×1021 m⁻³ (and ne=2×10212.25×1032=1.1×1011 m⁻³). This is one-third more holes than the 1.5×1021 m⁻³ of the doubly doped region. In the doubly doped region the arsenic electrons have already filled the vacancies of 5×1020 boron atoms, so those acceptors produce no holes. Only the excess NA−ND decides the hole concentration.