(a) Valence electrons = 3 × 5 + 1 = 16, i.e. 8 pairs. With the central N forming four bonds, three canonical forms satisfy the octet on every atom:

Formal charge = (valence electrons) − (non-bonding electrons) − ½(bonding electrons):
| Form | Left N | Central N | Right N | Sum |
|---|
| I: N=N=N | 5 − 4 − 2 = −1 | 5 − 0 − 4 = +1 | 5 − 4 − 2 = −1 | −1 |
| II: N≡N–N | 5 − 2 − 3 = 0 | 5 − 0 − 4 = +1 | 5 − 6 − 1 = −2 | −1 |
| III: N–N≡N | 5 − 6 − 1 = −2 | 5 − 0 − 4 = +1 | 5 − 2 − 3 = 0 | −1 |
(b) Form I contributes most. Its formal charges are the smallest (no atom carries −2), and the charge is spread evenly over the two end atoms instead of being concentrated as −2 on one atom. Forms II and III each place a −2 charge on one terminal nitrogen, so they are higher in energy and contribute less.
(c) In the resonance hybrid, form I has two identical N=N bonds, and forms II and III are mirror images of each other with the same energy, so they contribute equally. Whatever extra triple-bond character one bond gains from form II, it gains the same single-bond character from form III, and vice versa. The two bonds therefore end up with the same bond order and the same length (117 pm), and the two terminal nitrogen atoms carry the same charge.
(d) In HN₃ the hydrogen atom fixes a lone pair on its nitrogen as a bond pair, so the two ends are no longer equivalent. The two reasonable canonical forms are:
- H–N=N⁺=N⁻: N(H) 0, central N +1, terminal N −1; both N–N bonds have order 2.
- H–N⁻–N⁺≡N: N(H) −1, central N +1, terminal N 0; inner bond order 1, terminal bond order 3.
The third form, with a triple bond next to the N–H group, would need four bonds on the N(H) atom and a −2 charge on the terminal N, with like charges on neighbouring atoms, so it contributes almost nothing. Averaging the two important forms, the terminal N–N bond has bond order between 2 and 3, and the inner N–N bond has bond order between 1 and 2. Higher bond order means a shorter bond, so the terminal bond is shorter (113 pm) and the bond next to N–H is longer (124 pm). In N₃⁻ forms II and III balance each other, so the two bonds become equal at 117 pm, between these two values.