Decay Constant (λ):
Initial Number of Nuclei of X (N0):
Number of Samples for Average Plot:
Goodness of Fit (Χ2):
Goodness of Fit - Average (Χ2):
Imagine you have a bunch (an N0-numbered bunch) of radioactive nuclei of an element X. These nuclei, sadly, will start to decay and other, more stable nuclei will be formed, along with some ionising radiation. Our aim of the game is to work out how many X nuclei remain after a certain time period. Radioactive decay is a random process, but the probability of decay (P) per unit time of a specific nuclei decaying is fixed (as all nuclei are of the same element X) - this is λ, the decay constant.
We can use this to derive our model for decay of this bunch over time. Let's start with a differential equation. The rate of change of undecayed nuclei (N) is proportional to N (as N increases, the number of decays per period will increase, leading to a greater negative change in N). We also require a constant of proportionality, which we'll call k. This gives equation B. Manipulating this to get the fractional change of N () in an instant (a period of duration dt) yields equation C. Probability of decay is, on average, equal to the (number of decays)/(total number of nuclei) over each dt period, which is -. As N approaches infinity, - will approach P. So, we can approximate, and say that - = P, and so we can equate A and C to yield D. D shows that our coefficient k is equal to our decay constant λ.
Now let's solve D to get a function for N in terms of t. From this, we will be able to model how many nuclei still remain after a certain time period. There's a delta term on both sides, and so we can integrate on both sides to remove them. Using E, and plugging in N = N0 at t = 0, yields that N0 = ec. We can now reach our final form for our model in F. F is the green plot on the graph, and you can play with the sliders to see how the theoretical plot changes when N0 and λ change.
Let's move onto the main event: the radioactivity simulation. I've simulated the random nature of the decay of radioactive nuclei by this algorithm:
Seeing the initial differential equation from which the exponential model was derived, you might've asked why is proportional to N, and not, for example, N2. The way the exponential model was initially derived (Rutherford & Soddy, 1902)
In this sim, I have used a random number generator to mimic the random process of radioactivity.
-