Post

Created by @nathanedwards
 at October 31st 2023, 7:22:15 pm.

Question:

A radioactive substance starts with an initial mass of 100 grams and decays according to the differential equation:

dmdt=km\frac{dm}{dt} = -k \cdot m

where mm is the mass of the substance at time tt (in years), and kk is the decay constant. Separate the variables and solve the differential equation to find the equation for the mass of the substance as a function of time. Given that the decay constant is k=0.02k = 0.02 per year, find the mass of the substance after 5 years.

Answer:

To solve the given differential equation dmdt=km\frac{dm}{dt} = -k \cdot m, we can separate the variables and integrate.

Separating the variables:

dmm=kdt\frac{dm}{m} = -k \cdot dt

Integrating both sides:

1mdm=kdt\int\frac{1}{m}\,dm = \int-k\,dt

Using the fact that 1xdx=lnx+C1\int\frac{1}{x}\,dx = \ln|x| + C_1 and kdx=kx+C2\int -k\,dx = -kx + C_2, the equation becomes:

lnm+C1=kt+C2\ln|m| + C_1 = -kt + C_2

Combining the constants of integration:

lnm+C=kt\ln|m| + C = -kt

Exponentiating both sides:

elnm+C=ekte^{\ln|m| + C} = e^{-kt}

Using the properties of logarithms, elnm+C=elnmeC=meCe^{\ln|m| + C} = e^{\ln|m|} \cdot e^C = |m| \cdot e^C, and ekt=1ekte^{-kt} = \frac{1}{e^{kt}}, we get:

meC=1ekt|m| \cdot e^C = \frac{1}{e^{kt}}

Since eCe^C is a positive constant, we can replace it with C3C_3, another positive constant. Now, the equation becomes:

mC3=1ekt|m| \cdot C_3 = \frac{1}{e^{kt}}

We can rewrite this equation as:

m=C4ektm = \frac{C_4}{e^{kt}}

where C4=±C3C_4 = \pm C_3.

Given that the decay constant is k=0.02k = 0.02 per year, and the initial mass of the substance is 100 grams, we can substitute these values into our equation to find the mass after 5 years:

m=C4e0.025m = \frac{C_4}{e^{0.02 \cdot 5}}

Simplifying:

m=C4e0.1m = \frac{C_4}{e^{0.1}}

Since we know the initial mass is 100 grams, we can set C4=100C_4 = 100. Therefore:

m=100e0.1m = \frac{100}{e^{0.1}}

Calculating this value:

m90.483 gramsm \approx 90.483 \text{ grams}

So, the mass of the substance after 5 years is approximately 90.483 grams.

Therefore, the mass of the substance as a function of time is given by the equation m=100e0.02tm = \frac{100}{e^{0.02t}}, and after 5 years, the mass is approximately 90.483 grams.