VKC ScienceChemistry for written exams Telegram

Indian Forest Service (Mains)

Chemistry optional

  • 2 papers
  • 200 marks each
  • 3 h per paper

Paper I covers physical and inorganic chemistry.

Indian Forest Service (Mains), Chemistry optional · 2018 · Paper I

Q3(c)(i). Error of Stirling's approximation

Question

(i) Using Stirling's approximation, we write ln(n!) n ln n - n.
Calculate the % of error when (A) n = 10 and (B) n = 69. Comment on your results.

Answer in brief

(A) n=10: ln 10!=15.104, approximation 13.026, error 13.8 %. (B) n=69: ln 69!=226.19, approximation 223.15, error 1.34 %. The relative error falls rapidly as n grows.

Key points

  • (A) n=10. 10!=3 628 800, ln 10!=15.104. Approximation: 10 ln 10-10=23.026-10=13.026.
  • (B) n=69. 69!=1.711×10⁹⁸, ln 69!=226.19. Approximation: 69 ln 69-69=292.15-69=223.15.
  • Comment. The approximation always underestimates; the main missing term is ½ ln(2π n) (2.07 for n=10, 3.04 for n=69), which grows only logarithmically while ln n! grows as n ln n, so the relative error vanishes for large n.

The full model answer

Written out in full, as it should go in the answer booklet.

Exact: ln⁡n!=∑ln⁡k\ln n!=\sum\ln k; n = 10: 13.8 % low; n = 69: 1.34 % low

Diagram for Q3(c)(i) from the model answer
  1. (A) n=10n=10. 10!=3 628 80010!=3\,628\,800, ln⁡10!=15.104\ln10!=15.104. Approximation: 10ln⁡10−10=23.026−10=13.02610\ln10-10=23.026-10=13.026. % error=15.104−13.02615.104×100=13.8 %\boxed{\displaystyle \%\ \text{error}=\dfrac{15.104-13.026}{15.104}\times100=13.8\ \%}

  2. (B) n=69n=69. 69!=1.711×109869!=1.711\times10^{98}, ln⁡69!=226.19\ln69!=226.19. Approximation: 69ln⁡69−69=292.15−69=223.1569\ln69-69=292.15-69=223.15. % error=226.19−223.15226.19×100=1.34 %\boxed{\displaystyle \%\ \text{error}=\dfrac{226.19-223.15}{226.19}\times100=1.34\ \%}

  3. Comment. The approximation always underestimates; the main missing term is 12ln⁡(2πn)\tfrac12\ln(2\pi n) (2.07 for n=10n=10, 3.04 for n=69n=69), which grows only logarithmically while ln⁡n!\ln n! grows as nln⁡nn\ln n, so the relative error vanishes for large nn.

Reading the answer: for N≈1023N\approx10^{23} molecules the error is about 10−2310^{-23} %, so the simple form is exact for all practical purposes in statistical thermodynamics (derivation of the Boltzmann distribution).

All eight questions of 2018 are answered free on this site, every part on its own page.

Practising this answer? Write it in a Mains test and get it checked by VKC.