My textbook says that the oxidation number of Oxygen in peroxides is -2, but when I searched up the internet, I found it to be -1. It could probably be a misprint in my book, but I am still not sure. Not only that, the oxidation number of Hydrogen in hydrides is said to be +1 in my book, when it's supposed to be, I believe, -1? Please help me out on this.
My book says: " The oxidation number of oxygen in most of its compounds (except peroxides, superoxides and suboxides) is -2. In peroxides (e.g., H2O2, BaO2, etc.), the oxidation number of oxygen is -2.
The oxidation number of oxygen in superoxides (e.g., KO2) and suboxides (e.g., C3O2 ) depends upon the nature of the compound. Exceptions also occur when oxygen is attatched to a more electronegative atom. For example, in the compounds like OF2 and O2F2, the oxidation numbers of oxygen are +2 and +1 respectively."