I am currently studying Atkins' Physical Chemistry, 11th edition, by Peter Atkins, Julio de Paula, and James Keeler. Chapter 1A.2 Equations of state says the following:
When dealing with gaseous mixtures, it is often necessary to know the contribution that each component makes to the total pressure of the sample. The partial pressure, $p_J$, of a gas $J$ in a mixture (any gas, not just a perfect gas), is defined $$p_J = x_J p \tag{1A.6}$$ where $x_J$ is the mole fraction of the component $J$, the amount of $J$ expressed as a fraction of the total amount of molecules, $n$, in the sample: $$x_J = \dfrac{n_J}{n} \ \ \ n = n_A + n_B + \dots \tag{1A.7}$$ When no $J$ molecules are present, $x_J = 0$; when only $J$ molecules are present, $x_J = 1$. It follows from the definition of $x_J$ that, whatever the composition of the mixture, $x_A + x_B + \dots = 1$ and therefore that the sum of the partial pressures is equal to the total pressure: $$p_A + p_B + \dots = (x_A + x_B + \dots)p = p \tag{1A.8}$$ This relation is true for both real and perfect gases.
When all the gases are perfect, the partial pressure as defined in eqn 1A.6 is also the pressure that each gas would exert if it occupied the same container alone at the same temperature.
It is this last part that I am unsure about:
When all the gases are perfect, the partial pressure as defined in eqn 1A.6 is also the pressure that each gas would exert if it occupied the same container alone at the same temperature.
I don't understand why this is true. Furthermore, is this not in reference to the perfect gas law, $pV = nRT$? Then how does this relate to $pV = nRT$?
I would greatly appreciate it if people would please take the time to clarify this.