In the compound NH4NO3, there are two parts: the ammonium ion NH4+ and the nitrate ion NO3- . We need to find the oxidation state of nitrogen in each ion separately.1. In the ammonium ion NH4+ :- Hydrogen has an oxidation state of +1.- There are 4 hydrogen atoms, so the total oxidation state for hydrogen is +4.- The overall charge of the ammonium ion is +1.- Let the oxidation state of nitrogen in NH4+ be x.- The sum of the oxidation states of all atoms in the ion should equal the overall charge of the ion: x + 4 +1 = +1- x + 4 = +1- x = -3So, the oxidation state of nitrogen in NH4+ is -3.2. In the nitrate ion NO3- :- Oxygen has an oxidation state of -2.- There are 3 oxygen atoms, so the total oxidation state for oxygen is 3 -2 = -6.- The overall charge of the nitrate ion is -1.- Let the oxidation state of nitrogen in NO3- be y.- The sum of the oxidation states of all atoms in the ion should equal the overall charge of the ion: y + 3 -2 = -1- y - 6 = -1- y = +5So, the oxidation state of nitrogen in NO3- is +5.In conclusion, the oxidation state of nitrogen in the compound NH4NO3 is -3 in the ammonium ion NH4+ and +5 in the nitrate ion NO3- .