The decomposition of silver nitrate AgNO3 occurs when it is heated. The chemical equation for this decomposition is:2 AgNO3 s 2 Ag s + O2 g + 2 NO2 g Upon heating, silver nitrate decomposes into silver Ag , oxygen gas O2 , and nitrogen dioxide gas NO2 .