You have correctly identified that m-nitrophenol should be the weakest acid among the isomers as the resulting anion cannot be stabilised by the $\text{-M}$ effect of nitro group owing to its meta location.
The acidity order of the remaining two nitrophenols can be explained in this way:
Hydrogen bonding is possible in both of them. But note that:
$$\text{H-bonding} \propto \delta^+ \text{charge on $\ce{H}$ atom}$$
Inductive effect (here, $\text{-I}$) is distance dependent. So $\delta^+$ charge on the $\ce{H}$ of ortho-nitrophenol's -$\ce{OH}$ is going to be more than the $\delta^+$ charge the $\ce{H}$ atom of para-nitrophenol's -$\ce{OH}$.
Usually the $\mathrm{p}K_\mathrm{a}$ of a substance is determined in dilute solution. So just due to dilution, there won't be many/any inter-molecular H bonds, but there can still be plenty of intra-molecular ones.
The answer above the comment relates the strength of these two types of hydrogen bonds to kinetic motion of molecules:
Inter-molecular interaction, such as inter-molecular hydrogen bonding only take place for a short time when two molecules are in each other's vicinity. Shortly after, the molecules separate and the interaction does no longer exist.
Intra-molecular interactions on the other hand are much stronger since the two atoms forming the hydrogen bond remain in each others proximity due to structure of the molecule. In other words, they exhibit strain.
These three factors help us conclude that:
Strength of intra-molecular hydrogen bonding in o-nitrophenol $\gt$ Strength of intermolecular hydrogen bonding in p-nitrophenol
Thus, p-nitrobenzoic acid is more acidic than the o-isomer.
...and since phenol has no ring activating group, it comes out to be least acidic in the given compounds.
This reasoning is incorrect. Phenol has no group that stabilises the negative charge on the resulting phenoxide ion through $\text{-M}$ or $\text{-I}$ effect (a deactivating group). Therefore, it's the weakest acid of all under investigation.
You have correctly identified that m-nitrophenol should be the weakest acid among the isomers as the resulting anion cannot be stabilised by the $\text{-M}$ effect of nitro group owing to its meta location.
The acidity order of the remaining two nitrophenols can be explained in this way:
Hydrogen bonding is possible in both of them. But note that:
$$\text{H-bonding} \propto \delta^+ \text{charge on $\ce{H}$ atom}$$Inductive effect (here, $\text{-I}$) is distance dependent. So $\delta^+$ charge on the $\ce{H}$ of ortho-nitrophenol's -$\ce{OH}$ is going to be more than the $\delta^+$ charge the $\ce{H}$ atom of para-nitrophenol's -$\ce{OH}$.
Usually the $\mathrm{p}K_\mathrm{a}$ of a substance is determined in dilute solution. So just due to dilution, there won't be many/any inter-molecular H bonds, but there can still be plenty of intra-molecular ones.
The answer above the comment relates the strength of these two types of hydrogen bonds to kinetic motion of molecules:
Inter-molecular interaction, such as inter-molecular hydrogen bonding only take place for a short time when two molecules are in each other's vicinity. Shortly after, the molecules separate and the interaction does no longer exist.
Intra-molecular interactions on the other hand are much stronger since the two atoms forming the hydrogen bond remain in each others proximity due to structure of the molecule. In other words, they exhibit strain.
These three factors help us conclude that:
Strength of intra-molecular hydrogen bonding in o-nitrophenol $\gt$ Strength of intermolecular hydrogen bonding in p-nitrophenol
Thus, p-nitrobenzoic acid is more acidic than the o-isomer.
...and since phenol has no ring activating group, it comes out to be least acidic in the given compounds.
This reasoning is incorrect. Phenol has no group that stabilises the negative charge on the resulting phenoxide ion through $\text{-M}$ or $\text{-I}$ effect (a deactivating group). Therefore, it's the weakest acid of all under investigation.
Due to $\text{-R}$ effect of nitro group at ortho- and para-positions, the conjugate base gets stabilised more than that at meta-position. Now at the ortho-position, H-bonding is present, which makes removal of $\ce{H+}$ ion difficult. Therefore correct acidic order of nitrophenols are para- $\gt$ortho- $\gt$meta-.
Due to $\text{-R}$ effect of nitro group at ortho- and para-positions, the conjugate base gets stabilised more than that at meta-position. Now at the ortho-position, H-bonding is present, which makes removal of $\ce{H+}$ ion difficult. Therefore correct acidic order of nitrophenols are para- $\gt$ortho- $\gt$meta-.
In both ortho- and para-nitrophenol, there is one more resonance structure. So due to resonance effects both ortho- and para-nitrophenol are more acidic than the meta-nitrophenol.
Now we compare the acidity of ortho- and para-nitrophenol. In ortho-nitrophenol, interamolecular H-bonding takes place because of attachment with adjacent carbon atom. But in para-nitrophenol, there is no interamolecular H-bonding taking place. So that's why para-nitrophenol is more acidic than ortho-nitrophenol. So, by increasing order of acidity,
In both ortho- and para-nitrophenol, there is one more resonance structure. So due to resonance effects both ortho- and para-nitrophenol are more acidic than the meta-nitrophenol.
Now we compare the acidity of ortho- and para-nitrophenol. In ortho-nitrophenol, interamolecular H-bonding takes place because of attachment with adjacent carbon atom. But in para-nitrophenol, there is no interamolecular H-bonding taking place. So that's why para-nitrophenol is more acidic than ortho-nitrophenol. So, by increasing order of acidity,
You have correctly identified that m-nitrophenol should be the weakest acid among the isomers as the resulting anion cannot be stabilised by the $\text{-M}$ effect of nitro group owing to its meta location.
The acidity order of the remaining two nitrophenols can be explained in this way:
$$\text{H-bonding} \propto \delta^+ \text{charge on $\ce{H}$ atom}$$ Inductive effect (here, $\text{-I}$) is distance dependent. So $\delta^+$ charge on the $\ce{H}$ of ortho-nitrophenol's -$\ce{OH}$ is going to be more than the $\delta^+$ charge the $\ce{H}$ atom of para-nitrophenol's -$\ce{OH}$.
These three factors help us conclude that:
Thus, p-nitrobenzoic acid is more acidic than the o-isomer.
This reasoning is incorrect. Phenol has no group that stabilises the negative charge on the resulting phenoxide ion through $\text{-M}$ or $\text{-I}$ effect (a deactivating group). Therefore, it's the weakest acid of all under investigation.
You have correctly identified that m-nitrophenol should be the weakest acid among the isomers as the resulting anion cannot be stabilised by the $\text{-M}$ effect of nitro group owing to its meta location.
The acidity order of the remaining two nitrophenols can be explained in this way:
$$\text{H-bonding} \propto \delta^+ \text{charge on $\ce{H}$ atom}$$Inductive effect (here, $\text{-I}$) is distance dependent. So $\delta^+$ charge on the $\ce{H}$ of ortho-nitrophenol's -$\ce{OH}$ is going to be more than the $\delta^+$ charge the $\ce{H}$ atom of para-nitrophenol's -$\ce{OH}$.
These three factors help us conclude that:
Thus, p-nitrobenzoic acid is more acidic than the o-isomer.
This reasoning is incorrect. Phenol has no group that stabilises the negative charge on the resulting phenoxide ion through $\text{-M}$ or $\text{-I}$ effect (a deactivating group). Therefore, it's the weakest acid of all under investigation.
More
VOTE
Due to $\text{-R}$ effect of nitro group at ortho- and para-positions, the conjugate base gets stabilised more than that at meta-position. Now at the ortho-position, H-bonding is present, which makes removal of $\ce{H+}$ ion difficult. Therefore correct acidic order of nitrophenols are para- $\gt$ ortho- $\gt$ meta-.
Due to $\text{-R}$ effect of nitro group at ortho- and para-positions, the conjugate base gets stabilised more than that at meta-position. Now at the ortho-position, H-bonding is present, which makes removal of $\ce{H+}$ ion difficult. Therefore correct acidic order of nitrophenols are para- $\gt$ ortho- $\gt$ meta-.
More
VOTE
In both ortho- and para-nitrophenol, there is one more resonance structure. So due to resonance effects both ortho- and para-nitrophenol are more acidic than the meta-nitrophenol.
Now we compare the acidity of ortho- and para-nitrophenol. In ortho-nitrophenol, interamolecular H-bonding takes place because of attachment with adjacent carbon atom. But in para-nitrophenol, there is no interamolecular H-bonding taking place. So that's why para-nitrophenol is more acidic than ortho-nitrophenol. So, by increasing order of acidity,
para-nitrophenol $\gt$ ortho-nitrophenol $\gt$ meta-nitrophenol.
In both ortho- and para-nitrophenol, there is one more resonance structure. So due to resonance effects both ortho- and para-nitrophenol are more acidic than the meta-nitrophenol.
Now we compare the acidity of ortho- and para-nitrophenol. In ortho-nitrophenol, interamolecular H-bonding takes place because of attachment with adjacent carbon atom. But in para-nitrophenol, there is no interamolecular H-bonding taking place. So that's why para-nitrophenol is more acidic than ortho-nitrophenol. So, by increasing order of acidity,
para-nitrophenol $\gt$ ortho-nitrophenol $\gt$ meta-nitrophenol.
More
VOTE
VOTE
VOTE
More the stability of phenoxide after removal of $\ce{H}$ more will be acidity.
Thus according to stability of anions o-derivative will be more acidic than p-derivative which will be more acidic than m-derivative.
But due to H-bonding in ortho-nitrophenol it is reluctant to remove hydrogen due to which it's acidity decreases and order becomes:
p-derivative $\gt$ o-derivative $\gt$ m-derivative $\gt$ phenol (acidity in decreasing order)
Source- Jagdamba Singh: A logical approach to Modern Organic Chemistry. Revised edition 2009. Pg 151
More the stability of phenoxide after removal of $\ce{H}$ more will be acidity.
Thus according to stability of anions o-derivative will be more acidic than p-derivative which will be more acidic than m-derivative.
But due to H-bonding in ortho-nitrophenol it is reluctant to remove hydrogen due to which it's acidity decreases and order becomes:
p-derivative $\gt$ o-derivative $\gt$ m-derivative $\gt$ phenol(acidity in decreasing order)
Source- Jagdamba Singh: A logical approach to Modern Organic Chemistry. Revised edition 2009. Pg 151
More
VOTE