We present an analytical model to investigate the dynamic features of the transient Kerr effect in a nonlinear photonic crystal microcavity, and the theoretical predictions agree perfectly with the proposed experimental results. Based on this analytical model, we further derive the critical pump-power condition for the control light in bistable switching based on a nonlinear SCWR system. These results are useful for actual design of optical switching.