How do I deal with huge exponents in the partition function?

Brainfarmer
Messages
2
Reaction score
0

Homework Statement



This is just a general question, not a "problem"

Homework Equations



Z = sum(e^Ej/kT)

The Attempt at a Solution




I'm working on a problem in which I'm asked to find the probabilities of an electron in a hydrogen atom being at one of three energies. The partition function produces something like Z= e^523 + 4e^125 + 9e^57. How do I deal with these huge exponents? My calculator just laughs at me. Is there an approximation I can use? (i'm sorry if this isn't very specific- I don't really have a problem with setting up and solving this, it's just the math that's an issue)

thanks
 
Physics news on Phys.org
The trick is that probabilities are always ratios, with a weighted sum in the numerator, and the partition function in the denominator. So you'll have something like

\frac{e^{527} + e^{344} + e^{217}}{e^{532} + e^{381} + e^{286}}

In this case, the first term in each sum is so unimaginably huge, compared to the rest of the sum, that everything else can be ignored. So you can approximate this as

\frac{e^{527}}{e^{532}} = e^{-5}

which is a perfectly reasonable number.

In general, you might have to do some algebra before you plug things into your calculator, because indeed, taking such sums numerically is complete nonsense.
 
Thank you!
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top