1. The problem statement, all variables and given/known data See picture attached 2. Relevant equations Graph based question 3. The attempt at a solution So I was looking at an example and I wanted to know how this energy band diagram was drawn from the picture. As the x increased the doping level decreased, but how can I know if it will become closer to the valence band or the conduction band? You can dope semiconductors with both holes or electrons correct? So how am I suppose to know which way to draw my band diagram, should I assume it's the opposite of this if the doping is increased in the x direction?