PACS 66.70.+f, 72.20.Jv, 82.80.Kq The electron, hole, and phonon temperatures are calculated in semiconductors by taking into account the finite carrier diffusion and nonradiative recombination time in the sample. We assume that the energy of the modulated excitation radiation is greater than the energy gap and absorbed at the surface of the semiconductor, therefore, a source of heat and carrier generation at the surface of the sample are time dependent and must be considered in the photothermal theory. Under this situation, the coupled one-dimensional heat transport (for each quasiparticle system) and carrier diffusion equations in the strong hole-phonon energy interaction approximation and charge quasineutrality condition are solved. Since the nonequilibrium carrier concentration depends sensitively on the electron and phonon fluctuation temperature, the heat power density generated in the sample due to the recombination of the electron-hole pair will be greatly influenced by the inhomogeneous quasiparticle temperature distributions. This latter effect comes through the recombination rate of carriers and it will be considered in the photothermal signal.