How is the PN junction formed

diodespn-junctionsemiconductorstransistors

I am confused about a couple of points:

When the electrons diffuse from N side to P side, and holes diffuse from P side to N side, negative charged region is formed at the junction in P type and positive charged region is formed near the junction in the N type.

The question is:

  1. Why is the positive charge not distributed in the entire N type region (as there are free electrons for conduction in the N type region)?
  2. Why are the charges fixed at junction despite the presence of holes and free electrons?

Best Answer

Why is the positive charge not distributed in the entire N type region (as there are free electrons for conduction in the N type region)?

It actually is. The diagrams are shown that way because we're primarily interested in the electric field produced by that charge, which is strongest near the junction, since that's where it's nearest the corresponding negative charge.

Why are the charges fixed at junction despite the presence of holes and free electrons?

Once the diffusion has stabilized, there are no free carriers in the central region, which becomes insulating. This insulating barrier becomes the dielectric between the two conductive regions, effectively forming a capacitor.