Now I can go to the next step. And instead of writing N total, I plug in all these three guides or the addition of these three guides and I get in parentheses n one plus n two plus n three times RT divided by V.
And now I need simple algebra to distribute to each guide. And I get n one R T over V plus n two r T over V plus n three r T over V. And we see using the ideal gas law that we get the same exact thing as up here. So P total is equal to partial pressure of gas one plus partial pressure of gas two and plus partial pressure of gas three. So once again, we found this formula first using the kinetic theory. And then we confirm that in fact, this works using the ideal gas law.