Write the balanced molecular equation for the reaction: \(\mathrm{HNO_3 (aq) + K_2S (aq) \rightarrow H_2S (g) + 2 KNO_3 (aq)}\).
Dissociate all strong electrolytes (soluble ionic compounds and strong acids) into their ions: \(\mathrm{HNO_3 \rightarrow H^+ + NO_3^-}\) and \(\mathrm{K_2S \rightarrow 2 K^+ + S^{2-}}\). Note that \(\mathrm{H_2S}\) is a gas and does not dissociate.
Write the full ionic equation by substituting the dissociated ions: \(\mathrm{H^+ (aq) + NO_3^- (aq) + 2 K^+ (aq) + S^{2-} (aq) \rightarrow H_2S (g) + 2 K^+ (aq) + 2 NO_3^- (aq)}\).
Identify the spectator ions, which are ions that appear unchanged on both sides of the equation. Here, \(\mathrm{K^+}\) and \(\mathrm{NO_3^-}\) are spectator ions.
Remove the spectator ions to write the net ionic equation: \(\mathrm{2 H^+ (aq) + S^{2-} (aq) \rightarrow H_2S (g)}\).