When the B-E junction is forward biased, carriers are injected from the emitter into the edge of the base near emitter. These are electrons (e-) in the case of an NPN transistor. Carriers (holes) are also injected from the base into the emitter, but we can ignore that for now.
If the B-C junction is reverse biased, then the minority carrier (e- for NPNs) concentration at that junction edge is 0.
Now we have a situation with a high density of carriers at the B-E edge, and a 0 density at the B-C edge. Ignoring all other effects and non-idealities, the carriers will diffuse from the high concentration to the low concentration. If none get 'lost' along the way, then the concentration gradient must be constant (because the diffusion flow depends only on the concentration gradient). This will give a linear charge profile.
However there can be some significant non-idealities. These carriers are minority carriers in the region of interest (e- in a p-type region). Thus they are subject to recombination -- some fraction of the carriers will recombine. The rate of recombination depends on the local minority concentration (ignoring many non-idealities and other effects).
Because the rate of recombination depends on the concentration, this leads to an exponential decay in the concentration with distance.
In a useful BJT, the base is lightly doped and so the recombination rate is relatively slow. Most carriers 'make it through'.
The original (linear) slope and the additional exponential decay combine to add some curvature to the carrier concentration.
Other things that affect this are:
- Non-uniform base doping. This means that recombination rates change along the base.
- The base recombination (and also the injected carriers from the base to the emitter) creates a base current. The I*R drop from this creates additional fields in the base which affects the carrier distribution.
In useful BJTs - at low frequencies - these other effects are negligible, and recombination and injection efficiency become the dominant non-idealities, leading to hFE parameter beta being in the range of 100 instead of infinite if everything was ideal.