Intuition The one-line picture
Chemical potential is the energy cost (or payoff) of adding one more particle to a system while keeping temperature and pressure fixed. If you slip an extra molecule into a glass of water, the Gibbs free energy changes by exactly μ \mu μ . Nature pushes particles from high μ \mu μ to low μ \mu μ , just as heat flows from high T T T to low T T T .
The first law gives d U = T d S − P d V dU = T\,dS - P\,dV d U = T d S − P d V — but this assumes the number of particles is fixed . The moment particles can move (diffusion, evaporation, chemical reaction, phase change), we need a new "knob" that tells us how the energy of the system responds to changing N N N .
T T T is the variable conjugate to entropy S S S (drives heat flow).
P P P is conjugate to volume V V V (drives mechanical motion).
= = μ = = ==\mu== == μ == is conjugate to particle number N N N (drives particle flow ).
Definition Chemical potential
The chemical potential is the rate of change of a thermodynamic potential with particle number, holding the natural variables of that potential fixed :
μ ≡ ( ∂ G ∂ N ) T , P = ( ∂ U ∂ N ) S , V = ( ∂ F ∂ N ) T , V = − T ( ∂ S ∂ N ) U , V \mu \equiv \left(\frac{\partial G}{\partial N}\right)_{T,P} = \left(\frac{\partial U}{\partial N}\right)_{S,V} = \left(\frac{\partial F}{\partial N}\right)_{T,V} = -T\left(\frac{\partial S}{\partial N}\right)_{U,V} μ ≡ ( ∂ N ∂ G ) T , P = ( ∂ N ∂ U ) S , V = ( ∂ N ∂ F ) T , V = − T ( ∂ N ∂ S ) U , V
All four are the same number μ \mu μ . We usually use the Gibbs form because T T T and P P P are what we control in the lab.
Formula Derivation from the first law
Step 1 — Generalize the first law. Allow N N N to vary. The internal energy now depends on S , V , N S,V,N S , V , N :
d U = T d S − P d V + μ d N dU = T\,dS - P\,dV + \mu\,dN d U = T d S − P d V + μ d N
Why this step? We define μ \mu μ as the coefficient of d N dN d N — it is whatever energy comes with one extra particle at fixed S , V S,V S , V . This is the cleanest first-principles definition.
Step 2 — Build Gibbs free energy. By definition
G ≡ U − T S + P V . G \equiv U - TS + PV. G ≡ U − T S + P V .
Why this step? G G G is the potential whose natural variables are T , P , N T,P,N T , P , N — exactly the lab variables. We want μ \mu μ expressed through G G G .
Step 3 — Differentiate G G G .
d G = d U − T d S − S d T + P d V + V d P . dG = dU - T\,dS - S\,dT + P\,dV + V\,dP. d G = d U − T d S − S d T + P d V + V d P .
Why this step? Just the product rule on − T S -TS − T S and + P V +PV + P V .
Step 4 — Substitute the first law for d U dU d U .
d G = ( T d S − P d V + μ d N ) − T d S − S d T + P d V + V d P . dG = (T\,dS - P\,dV + \mu\,dN) - T\,dS - S\,dT + P\,dV + V\,dP. d G = ( T d S − P d V + μ d N ) − T d S − S d T + P d V + V d P .
The T d S T\,dS T d S and P d V P\,dV P d V terms cancel :
d G = − S d T + V d P + μ d N \boxed{dG = -S\,dT + V\,dP + \mu\,dN} d G = − S d T + V d P + μ d N
Why this step? This is the master differential of G G G . The whole reason G G G is convenient: its differential is written in d T , d P , d N dT,dP,dN d T , d P , d N .
Step 5 — Read off the partial derivative. Holding T T T and P P P fixed kills the first two terms:
μ = ( ∂ G ∂ N ) T , P . ■ \mu = \left(\frac{\partial G}{\partial N}\right)_{T,P}. \qquad \blacksquare μ = ( ∂ N ∂ G ) T , P . ■
Intuition Why μ is just Gibbs energy per particle
G G G is extensive : double the system at fixed T , P T,P T , P and G G G doubles. Mathematically G G G is a homogeneous function of degree 1 in N N N :
G ( T , P , λ N ) = λ G ( T , P , N ) . G(T,P,\lambda N) = \lambda\,G(T,P,N). G ( T , P , λ N ) = λ G ( T , P , N ) .
Euler's theorem on homogeneous functions then gives
G = N ( ∂ G ∂ N ) T , P = N μ ⇒ μ = G N . G = N\left(\frac{\partial G}{\partial N}\right)_{T,P} = N\mu \quad\Rightarrow\quad \mu = \frac{G}{N}. G = N ( ∂ N ∂ G ) T , P = N μ ⇒ μ = N G .
So for a single pure substance , μ \mu μ is literally the Gibbs free energy per particle (or per mole if N N N is moles). For mixtures we instead use partial molar Gibbs energies μ i = ( ∂ G / ∂ N i ) T , P , N j ≠ i \mu_i = (\partial G/\partial N_i)_{T,P,N_{j\ne i}} μ i = ( ∂ G / ∂ N i ) T , P , N j = i .
Worked example Example 1 — Diffusive equilibrium between two boxes
Two gas chambers A and B share a wall that lets particles through, at common T , P T,P T , P . Total N = N A + N B N = N_A + N_B N = N A + N B is fixed, so d N A = − d N B dN_A = -dN_B d N A = − d N B . At equilibrium G G G is minimized: d G = 0 dG=0 d G = 0 .
d G = μ A d N A + μ B d N B = ( μ A − μ B ) d N A = 0. dG = \mu_A\,dN_A + \mu_B\,dN_B = (\mu_A - \mu_B)\,dN_A = 0. d G = μ A d N A + μ B d N B = ( μ A − μ B ) d N A = 0.
Since d N A dN_A d N A is free, we need μ A = μ B \mu_A = \mu_B μ A = μ B .
Why this step? Equilibrium = no net drive to move particles, which means equal chemical potentials. Particles flow until μ levels out.
Worked example Example 2 — Ideal gas chemical potential
For an ideal gas one can show (from μ = G / N \mu = G/N μ = G / N and G G G of an ideal gas):
μ ( T , P ) = μ ∘ ( T ) + k B T ln P P ∘ . \mu(T,P) = \mu^\circ(T) + k_BT\ln\!\frac{P}{P^\circ}. μ ( T , P ) = μ ∘ ( T ) + k B T ln P ∘ P .
Why this step? At fixed T T T , d G = V d P dG = V\,dP d G = V d P and V = N k B T / P V=Nk_BT/P V = N k B T / P , so d μ = ( k B T / P ) d P d\mu = (k_BT/P)\,dP d μ = ( k B T / P ) d P ; integrate from reference P ∘ P^\circ P ∘ to P P P . This ln P \ln P ln P dependence explains why compressing a gas (raising P P P ) raises its chemical potential — it gets "more eager" to escape to lower-pressure regions.
Worked example Example 3 — Which way does matter flow?
Box A has μ A = − 0.30 \mu_A = -0.30 μ A = − 0.30 eV, box B has μ B = − 0.50 \mu_B = -0.50 μ B = − 0.50 eV, both at the same T , P T,P T , P , connected by a porous membrane.
Moving d N dN d N particles A→B changes G G G by d G = ( μ B − μ A ) d N = ( − 0.50 − ( − 0.30 ) ) d N = − 0.20 d N dG = (\mu_B - \mu_A)\,dN = (-0.50-(-0.30))\,dN = -0.20\,dN d G = ( μ B − μ A ) d N = ( − 0.50 − ( − 0.30 )) d N = − 0.20 d N .
d G < 0 dG<0 d G < 0 for d N > 0 dN>0 d N > 0 , so the process is spontaneous: particles flow A→B (high μ → low μ) until μ A = μ B \mu_A=\mu_B μ A = μ B .
Why this step? Spontaneous = lowers G G G . The sign of μ B − μ A \mu_B-\mu_A μ B − μ A tells the direction directly.
Common mistake "μ is the same as potential energy of a particle."
Why it feels right: it's called a potential and has energy units. The fix: μ \mu μ is a free energy per particle — it bundles in entropy (μ = ( ∂ U / ∂ N ) − T ( ∂ S / ∂ N ) … \mu = (\partial U/\partial N) - T(\partial S/\partial N)\dots μ = ( ∂ U / ∂ N ) − T ( ∂ S / ∂ N ) … ). Two ideal gases at the same energy but different concentrations have different μ \mu μ purely from the k B T ln ( P ) k_BT\ln(P) k B T ln ( P ) entropic term. Particles can flow "uphill" in pure energy if entropy gain dominates.
Common mistake "μ = (∂G/∂N) means just take any derivative of G."
Why it feels right: G G G depends on many things. The fix: the subscript T , P T,P T , P is essential . ( ∂ G / ∂ N ) T , P = μ (\partial G/\partial N)_{T,P}=\mu ( ∂ G / ∂ N ) T , P = μ but ( ∂ G / ∂ N ) S , V (\partial G/\partial N)_{S,V} ( ∂ G / ∂ N ) S , V is something else. Always check which variables are held fixed — that's what selects the right physical meaning.
Common mistake "More particles always means higher μ."
Why it feels right: adding stuff costs energy. The fix: μ \mu μ depends on concentration/pressure and T T T , not raw count. Diluting (lower P P P ) lowers μ \mu μ . A dense system can have lower μ \mu μ than a sparse one if attractive interactions dominate (e.g., a liquid vs. its vapor at coexistence — where they're equal ).
Recall Feynman: explain it to a 12-year-old
Imagine each room in a house can hold kids, and every kid has a "comfort score." A crowded room has a low comfort score, so kids wander toward emptier rooms. Chemical potential is that comfort score for tiny particles — but for the whole crowd, not one kid. Particles always shuffle from rooms where it's "expensive" to be (high μ \mu μ ) to rooms where it's "cheap" (low μ \mu μ ), until every connected room feels equally comfy. When all the comfort scores match, nobody moves anymore — that's equilibrium!
"μ is the Membership fee to join the club G, paid per new member, with the Thermostat (T) and Pressure (P) held."
And the flow rule: "μ flows like a river — Mountains (high μ) to mUd (low μ)."
Recall Test yourself before looking
State the master differential of G G G .
Why does μ = G / N \mu = G/N μ = G / N only for pure substances?
In which direction do particles flow between two reservoirs?
What is the definition of chemical potential μ in terms of G? μ = ( ∂ G ∂ N ) T , P \mu = \left(\frac{\partial G}{\partial N}\right)_{T,P} μ = ( ∂ N ∂ G ) T , P — the change in Gibbs free energy per added particle at fixed T and P.
What is the master differential of Gibbs free energy with variable N? d G = − S d T + V d P + μ d N dG = -S\,dT + V\,dP + \mu\,dN d G = − S d T + V d P + μ d N .
Which thermodynamic variable is μ conjugate to? Particle number
N N N (just as
T T T ↔
S S S and
P P P ↔
V V V ).
Give all four equivalent definitions of μ. ( ∂ U / ∂ N ) S , V = ( ∂ F / ∂ N ) T , V = ( ∂ G / ∂ N ) T , P = − T ( ∂ S / ∂ N ) U , V (\partial U/\partial N)_{S,V} = (\partial F/\partial N)_{T,V} = (\partial G/\partial N)_{T,P} = -T(\partial S/\partial N)_{U,V} ( ∂ U / ∂ N ) S , V = ( ∂ F / ∂ N ) T , V = ( ∂ G / ∂ N ) T , P = − T ( ∂ S / ∂ N ) U , V .
Why does μ = G/N for a pure substance? Because
G G G is extensive (homogeneous degree 1 in N); Euler's theorem gives
G = N μ G = N\mu G = N μ .
Condition for diffusive equilibrium between connected systems? Equal chemical potentials:
μ A = μ B \mu_A = \mu_B μ A = μ B (at common T, P).
Which way do particles spontaneously flow? From high μ to low μ (lowering total G).
Chemical potential of an ideal gas? μ ( T , P ) = μ ∘ ( T ) + k B T ln ( P / P ∘ ) \mu(T,P) = \mu^\circ(T) + k_BT\ln(P/P^\circ) μ ( T , P ) = μ ∘ ( T ) + k B T ln ( P / P ∘ ) .
Steel-man: is μ the same as a particle's potential energy? No — μ is a free energy per particle including entropy (
− T ∂ S / ∂ N -T\,\partial S/\partial N − T ∂ S / ∂ N ), so flow can be entropy-driven.
Why is the subscript T,P essential in (∂G/∂N)_{T,P}? Different held variables give different physical quantities; only fixing T,P yields μ from G.
defines coefficient of dN
combined via G eq U minus TS plus PV
differentiate and substitute dU
First law dU eq TdS minus PdV
Particle number N can vary
Generalized first law adds mu dN
mu eq partial G over partial N at T,P
G is extensive degree 1 in N
mu eq G over N pure substance
Particles flow high mu to low mu
Intuition Hinglish mein samjho
Dekho, chemical potential μ \mu μ ka simple matlab hai: ek aur particle add karne ka "kharcha" jab temperature (T T T ) aur pressure (P P P ) constant rakhe jaaye. Formula hai μ = ( ∂ G / ∂ N ) T , P \mu = (\partial G/\partial N)_{T,P} μ = ( ∂ G / ∂ N ) T , P , yaani Gibbs free energy G G G ka particle number N N N ke saath rate of change. Jaise heat hamesha high temperature se low temperature jaata hai, waise hi particles hamesha high μ \mu μ se low μ \mu μ ki taraf bhaagte hain. Jab dono jagah μ \mu μ barabar ho jaata hai, tab flow ruk jaata hai — usko equilibrium kehte hain.
Derivation yaad rakhna easy hai. Pehle first law ko generalize karo: d U = T d S − P d V + μ d N dU = TdS - PdV + \mu\,dN d U = T d S − P d V + μ d N — yahan μ \mu μ ko humne define kiya hai d N dN d N ke coefficient ke roop mein. Phir G = U − T S + P V G = U - TS + PV G = U − T S + P V likho, differentiate karo, aur d U dU d U substitute karo. T d S TdS T d S aur P d V PdV P d V terms cancel ho jaate hain, aur bachta hai sundar formula: d G = − S d T + V d P + μ d N dG = -S\,dT + V\,dP + \mu\,dN d G = − S d T + V d P + μ d N . Ab T T T aur P P P fixed karo to seedha μ = ( ∂ G / ∂ N ) T , P \mu = (\partial G/\partial N)_{T,P} μ = ( ∂ G / ∂ N ) T , P mil jaata hai. Pure substance ke liye ek aur shortcut: μ = G / N \mu = G/N μ = G / N , kyunki G G G extensive hota hai (Euler theorem se).
Ek important galti se bachna: μ \mu μ ko sirf "particle ki potential energy" mat samajhna. Ismein entropy ka term (− T ∂ S / ∂ N -T\,\partial S/\partial N − T ∂ S / ∂ N ) bhi chhupa hota hai. Isliye kabhi-kabhi particles energy ki taraf "uphill" bhi flow kar sakte hain, agar entropy ka fayda zyada ho — jaise gas spread hone mein. Ideal gas ke liye μ = μ ∘ + k B T ln ( P / P ∘ ) \mu = \mu^\circ + k_BT\ln(P/P^\circ) μ = μ ∘ + k B T ln ( P / P ∘ ) , isliye pressure badhane se μ \mu μ badhta hai aur gas escape karna chahti hai.
Yeh concept kyun important hai? Kyunki phase change (paani se bhaap), chemical reactions, diffusion, aur quantum statistics (Fermi level toh μ \mu μ hi hai!) — sab mein μ \mu μ central role play karta hai. Exam mein "equal chemical potential = equilibrium condition" wala point bahut kaam aata hai. Bas yaad rakho: μ \mu μ ek comfort-score hai particles ke liye, aur nature usko har jagah barabar karna chahti hai.