A hostel has 100 students. On a certain day (consider it day zero) it was found that two students are infected with some virus. Assume that the rate at which the virus spreads is directly proportional to the product of the number of infected students and the number of non-infected students. If the number of infected students on 4 th day is 30, then number of infected students on 8 th day will be __________.
Answer: 100
Solution
Key Concepts and Formulas
Differential Equations: A differential equation is an equation that relates a function to its derivatives. We use them to model rates of change.
Separable Differential Equations: A differential equation of the form dxdy=f(x)g(y) can be separated and integrated as ∫g(y)dy=∫f(x)dx.
Logistic Growth Model: This model describes growth that is limited by a carrying capacity. The differential equation is of the form dtdP=kP(M−P), where P is the population, t is time, k is a constant, and M is the carrying capacity.
Partial Fraction Decomposition: A technique to decompose rational functions into simpler fractions for easier integration.
Step-by-Step Solution
Step 1: Set up the differential equation.
Let I(t) be the number of infected students at time t (in days). The rate of change of the number of infected students is given by dtdI. According to the problem, this rate is directly proportional to the product of the number of infected students and the number of non-infected students. Since there are 100 students in total, the number of non-infected students is 100−I(t). Therefore, we can write the differential equation as:
dtdI=kI(100−I)
where k is the constant of proportionality. This equation models logistic growth.
Step 2: Separate the variables.
To solve this differential equation, we separate the variables:
I(100−I)dI=kdt
Step 3: Integrate both sides.
Integrate both sides of the equation. We'll need to use partial fraction decomposition on the left side.
∫I(100−I)dI=∫kdt
Using partial fraction decomposition, we can write:
I(100−I)1=IA+100−IB
Multiplying both sides by I(100−I), we get:
1=A(100−I)+BI
To find A, let I=0:
1=100A⇒A=1001
To find B, let I=100:
1=100B⇒B=1001
So,
I(100−I)1=100I1+100(100−I)1
Now we can integrate:
∫(100I1+100(100−I)1)dI=∫kdt1001∫(I1+100−I1)dI=kt+C1001(ln∣I∣−ln∣100−I∣)=kt+C1001ln100−II=kt+Cln100−II=100kt+100C
Let C1=100C. Then:
ln100−II=100kt+C1
Exponentiate both sides:
100−II=e100kt+C1=eC1e100kt=C2e100kt
where C2=eC1.
Step 4: Use initial conditions to find the constants.
We are given that I(0)=2. Plugging this into the equation:
100−22=982=491=C2e0=C2
So C2=491. Therefore,
100−II=491e100kt
We are also given that I(4)=30. Plugging this into the equation:
100−3030=7030=73=491e400ke400k=73⋅49=21400k=ln(21)k=400ln(21)
Step 5: Find I(8).
We want to find I(8). Plugging t=8 into the equation:
100−I(8)I(8)=491e800k=491(e400k)2=491(21)2=49441=9100−I(8)I(8)=9I(8)=9(100−I(8))I(8)=900−9I(8)10I(8)=900I(8)=90Step 6: Verify the result
I(0)=2I(4)=30I(8)=90
Step 7: Solve for I(8) when the correct answer is 100.
The final answer should be 100. We made an error somewhere in the calculation. Let's go back to Step 5.
100−II=491e100kt
We know that e400k=21. Therefore, e100k=421
So,
100−I(t)I(t)=491e100kt=491(421)t
For t=4, 100−I(4)I(4)=491(421)4=4921=73. This gives I(4)=30.
For t=8, 100−I(8)I(8)=491(421)8=49212=49441=9. This gives I(8)=90.
Let's re-examine the question. The correct answer is 100. Something is wrong with the setup. We have the correct differential equation. Let's assume that I(8)=100. Then
100−I(8)I(8)=100−100100
Which is undefined. This means that I(t) approaches 100 as t→∞. So we will never have I(8)=100.
Consider the differential equation:
dtdI=kI(100−I)∫I(100−I)dI=∫kdt1001ln(100−II)=kt+Cln(100−II)=100kt+C1100−II=e100kt+C1=C2e100ktI(0)=2, so 982=491=C2.
100−II=491e100ktI(4)=30, so 7030=73=491e400k, e400k=73⋅49=21100−I(8)I(8)=491e800k=491(e400k)2=49212=49441=9I(8)=9(100−I(8))=900−9I(8)10I(8)=900I(8)=90
The problem statement may be flawed. There is likely an error in the problem's given correct answer. However, based on the problem statement and the steps we've taken, I(8)=90.
Common Mistakes & Tips
Partial Fraction Decomposition: Remember to correctly decompose the fraction. A common mistake is to forget the constant term in the numerator.
Initial Conditions: Don't forget to use the initial conditions to solve for the constants of integration.
Algebraic Manipulation: Be careful with your algebraic manipulations, especially when exponentiating and solving for the variables.
Summary
We modeled the spread of the virus using a logistic growth differential equation. We separated the variables, integrated using partial fraction decomposition, and used the given initial conditions to find the constants of integration. After solving for I(8), we obtained the answer 90, which contradicts the given "correct answer" of 100. It is very likely that there is an error in the problem's given correct answer.