Photochemical reactions and photochromic reactions are attractive tool as a key step of a variety of functional materials for microelectonics and photonics, and as a molecular probe investigating microstructure of various solid state polymers. Quantitative analysis of the dynamics of the photochemical and photochromic reactions in every stage of the reaction is very important because it involves valuable information on the temporal polymer matrix, while an estimation of the overall quantum yield only gives the average of the kinetics in time and space. This paper presents a basic theory on the kinetics of some photochemical and photochromic reactions. Based on the theory, quantum yield distribution of an azo compound is found to be much larger than that of a diazo compound.