Gas-Phase Chemical Equilibrium at Constant Pressure or Constant Volume

This Demonstration calculates the number of moles at equilibrium for a gas-phase reaction at constant temperature; the equilibrium constant for the reaction is . Components and are ideal gases, and you can set the value of (1/2, 1, 3/2, or 2) with buttons. Initially the container is filled with 5 mol of reactant , and equilibrium is obtained at either constant pressure (set pressure with a slider) or constant volume (set volume with a slider). The bar graph displays the number of moles at equilibrium, including the moles of inert gas (select the moles of inert with a slider). The height of the piston or container is proportional to the final volume.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The number of moles of each species in this reaction at equilibrium (values shown on the chart) determines the extent of reaction :
where and are the moles of reactant and product at equilibrium (mol), is the moles of reactant present initially, and is the ratio of moles of product to moles of reactant.
The equilibrium constant is:
where is the partial pressure of the reactant, is the partial pressure of the product, and is the total pressure (bar).
The mole fraction of each species at equilibrium is:
where the total number of moles is , with the number of moles of any inert component in the mixture.
The extent of reaction is found by setting and solving for .
The screencast video at [1] shows how to use this Demonstration.
[1] Gas-Phase Chemical Equilibrium at Constant Pressure or Constant Volume [Video]. (Sep 1, 2016) www.colorado.edu/learncheme/thermodynamics/Gas-PhaseChemicalEquilibriumatConstantPressureorConstantVolume.html.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+