In this paper,the total probability formula is extended,so that its"taking conditions"can not only be random events represented by symbols,but also random events represented by random variables,conditional distributions,or conditional densities.Applications are illustrated,aiming to help students learn and apply.