The Gibbs free energy function was constructed to be able to predict which changes could occur spontaneously. If we start with a set of initial concentrations we can write them in a reaction quotient \[Δ_rG = Δ_rG^o + RT \ln Q \nonumber \] if we subtract the equilibrium version of this expression: \[0= Δ_rG^o + RT\ln K \nonumber \] we get \[Δ_rG = RT \ln \left(\dfrac{Q}{K} \right) \nonumber \] That gives us the sign of \(Δ_rG\). If this is negative the reaction will spontaneously proceed from left to right as written, if positive it will run in reverse. In both case the value of \(Q\) will change until \(Q=K\) and equilibrium has been reached. The main difference between \(K\) and \(Q\) is that \(K\) describes a reaction that is at equilibrium, whereas \(Q\) describes a reaction that is not at equilibrium. To determine \(Q\), the concentrations of the reactants and products must be known. For a given general chemical equation: \[aA + bB \rightleftharpoons cC + dD \label{1} \] the \(Q\) equation is written by multiplying the activities for the species of the products and dividing by the activities of the reactants. If any component in the reaction has a coefficient, indicated above with lower case letters, the concentration is raised to the power of the coefficient. \(Q\) for the above equation is therefore: \[Q = \dfrac{[C]^c[D]^d}{[A]^a[B]^b} \label{2} \] Note A comparison of \(Q\) with \(K\) indicates which way the reaction shifts and which side of the reaction is favored: If \(Q>K\), then the reaction favors the reactants. This means that in the \(Q\) equation, the ratio of the numerator (the concentration or pressure of the products) to the denominator (the concentration or pressure of the reactants) is larger than that for \(K\), indicating that more products are present than there would be at equilibrium. Because reactions always tend toward equilibrium ( Le Ch â telier's Principle ), the reaction produces more reactants from the excess products, therefore causing the system to shift to the LEFT. This allows the system to reach equilibrium. If \(Q<K\), then the reaction favors the products. The ratio of products to reactants is less than that for the system at equilibrium—the concentration or the pressure of the reactants is greater than the concentration or pressure of the products. Because the reaction tends toward reach equilibrium, the system shifts to the RIGHT to make more products. If \(Q=K\), then the reaction is already at equilibrium. There is no tendency to form more reactants or more products at this point. No side is favored and no shift occurs.