Concept:
- An electron-withdrawing group (\(-I\), \(-M\)) stabilises the carboxylate anion and increases acidity; the effect weakens with distance.
- Ortho effect: an ortho substituent twists the \({\mathrm{COOH}}\) out of the plane of the ring, which removes its conjugation with the ring and makes ortho-substituted benzoic acids stronger than their meta and para isomers.
Step 1: Compare benzoic acid with the nitro acids
\({\mathrm{PhCOOH}}\) (a) has no nitro group, so its carboxylate has no extra stabilisation. Each nitrobenzoic acid has the strongly electron-withdrawing \({{-}\mathrm{NO}_{2}}\) group, which disperses the negative charge of the anion. All three nitro acids are therefore stronger than (a): (a) is the weakest (\(pK_a \approx 4.2\)).
Step 2: Order the three nitrobenzoic acids
The ortho isomer (b) is the strongest because of the \(-I\) effect at the closest position together with the ortho effect (\(pK_a\approx 2.2\)). Between meta and para, the para isomer (c) can withdraw electrons by both \(-I\) and \(-M\), whereas the meta isomer (d) has only the \(-I\) effect (the \(-M\) effect does not operate from the meta position). Thus (c) is slightly stronger than (d) (\(pK_a\) values \(\approx 3.4\) to \(3.5\)).
Step 3: Write the final order
\[ \text{(b)} \gt \text{(c)} \gt \text{(d)} \gt \text{(a)}. \] Option (A) places (c) below the unsubstituted acid (a), which is impossible because a nitro group always raises acidity. Option (B) keeps (a) last but swaps (c) and (d), putting the meta isomer above the para isomer. Option (C) puts the unsubstituted acid first, which contradicts the electron-withdrawing effect of \({\mathrm{NO}_{2}}\).
Step 4: Conclusion
The acidity order is o-nitro \(\gt \) p-nitro \(\gt \) m-nitro \(\gt \) benzoic acid, which is the order printed in the last option. Hence, the correct option is (D).