@zuoxingdong I recommend you read the paper linked at the top of the file you linked. It goes through all the derivations. The case of the normal distribution is derived in section 6, the formula you are asking about specifically is (13).