- #1
etotheipi
I was trying to put together a basic mathematical model for the Coronavirus and happened to stumble across the predator prey model; if ##x## is the number of humans and ##y## is the number of Covid-19 viruses, then
$$\frac{dx}{dt} = ax-bxy$$ and $$\frac{dy}{dt} = cxy - dy$$ I took the reciprocal of equation (1) and multiplied this with equation (2), which ultimately lead to the differential equation $$\int (\frac{a}{y} - b) dy = \int (c - \frac{d}{x}) dx$$which gives $$a\ln{y} - by = cx - d\ln{x} + C$$ I now want to try and find ##x## in terms of ##t##; my instinct was to try and eliminate ##y## and substitute this into equation (1), however evidently ##y## exists in the ##\ln## and as a linear term so I can't isolate it. I was wondering if anyone could give me a hint of how to find ##x(t)##? Or is this perhaps one I need to do numerically?
$$\frac{dx}{dt} = ax-bxy$$ and $$\frac{dy}{dt} = cxy - dy$$ I took the reciprocal of equation (1) and multiplied this with equation (2), which ultimately lead to the differential equation $$\int (\frac{a}{y} - b) dy = \int (c - \frac{d}{x}) dx$$which gives $$a\ln{y} - by = cx - d\ln{x} + C$$ I now want to try and find ##x## in terms of ##t##; my instinct was to try and eliminate ##y## and substitute this into equation (1), however evidently ##y## exists in the ##\ln## and as a linear term so I can't isolate it. I was wondering if anyone could give me a hint of how to find ##x(t)##? Or is this perhaps one I need to do numerically?