When the N-type semiconductor and P-type semiconductor materials are first joined together a very large density gradient exists between both sides of the PN junction. The result is that some of the free electrons from the donor impurity atoms begin to migrate across this newly formed junction to fill up the holes in the P-type material producing negative ions.
However, because the electrons have moved across the PN junction from the N-type silicon to the P-type silicon, they leave behind positively charged donor ions (ND) on the negative side and







