So we know at this point that the total pressure felt within a container is the result of adding up all the partial pressures of the gases present. Now if we can focus on one of these gases and we know it's moles, its temperature and its volume, we could also find its partial pressure.
Now we're going to say here, if you assume that the gases behave ideally, then there are partial pressures can be calculated from the ideal gas law. We're going to say here that the pressure of that gas that I'm focusing on, so let's call it gas one, we can find its partial pressure if we know its moles.
So moles n1 is our gas constant times the temperature of the container divided by the volume of the container. So here we're using the ideal gas law to just focus in on one gas and from it determine its partial pressure.