# Solving Diff Eq Homework: Population Problem

• meggs521
In summary, the person is having difficulty remembering how to do diff eq homework and their book isn't the best. They are looking for help and are having trouble understanding the theory. They are trying to do the diff eq homework with the help of a book and their equations, but they are having trouble remembering how to do it.
meggs521
I'm attempting to help someone with their diff eq homework and I'm having trouble remembeing how to do things and their book isn't the best.

So here's the problem:

"Suppose the number x(t) (with t in months) of alligators in a swamp satisfies the differential equation

dp/dt = 0.0001x^2 - 0.01x

(a) If there are initially 25 alligators in the swamp, solve this differential equation to determine what happens to the alligator population in the long run.

(b) Repeat for an initial population of 150 alligators."

The main part that's throwing me is the dp/dt = stuff with x, but they say that x is the number of alligators, which basically means population, right? So should I be setting this up as dx/dt = 0.0001x^2 - 0.01x instead?

I did that and I kept getting the ln of a negative number when x(0) was 25 [My actual equation was: 100(ln(x-100)-ln(x)) = t+C]. And lns of negative numbers don't work, so I assumed it's not supposed to be dx/dt = 0.0001x^2 - 0.01x.

But when I use dp/dt = 0.0001x^2 - 0.01x and integrate I get:

P = (0.0001x^2 - 0.01x)t + C

If this is the right way to do it then I know that if t is zero then x doesn't matter and I can solve for C, which gives me C = 25, but this doesn't seem right. If this is right then how do I find the population in the long run? I need to find when the population dies out, so P would be 0 and I would solve for t to find the time. But with my second version I still have x that I have no values for.

I know I'm making some really obvious mistake and I just can't see it yet, but I'm completely lost and any help would be super! All of the examples I've found online or in the book are dp/dt= stuff with p. I remember doing problems like the one in the HW problem, but I can't remember how I did them.

Thanks!

dx/dt=(x^2-10x)/10000 solve this equation u ll get corrct solution

dx/x(x-10)=dt/10000 use partial fractions

Thanks! I'll give it a try.

Alrighty, so I got the equation to be:

ln(x) + ln(x-10) = -(1/1000)t +C

And then if x(0) = 25, I get C= 5.92... or... (x)(x-10) = 5.92e^[-(1/1000)t]

Which works because as t approaches infinity x equals 0.

But when I use x(0) = 150 I get pretty much the same thing but C is now 9.9, so (x)(x-10) = 9.9e^[-(1/1000)t]. Then when I see when the population dies out I get that it happens at t= infinity as well... but the answer is supposed to be 9 years 2 months.

Do I not find the initial equation the same way with x(0) = 25 and x(0)= 150?

I'm sorry for being so slow tonite.

ln(x-10)-lnx=ln(x-10/x);
at t=150
ln140/150=150/1000+c

Well, when you separate variables and solve the ODE, you get:

$$x(t)=\frac{b}{a-Ke^{bt}}$$

with a=0.0001
and b=0.01

Look at the ODE (use x, the p just makes it confussing):

$$\frac{dx}{dt}=ax^2-bx$$

The derivative *slope", is given as a quadratic equation in x. If you plot this equation, you'll note that the curve is below the x-axis between x=0 and 100 and above it after 100. The slope then is negative for all initial conditions below 100 and positive for those above 100. Thus, any initial population below 100 will decrease down to 0, any initial population above 100 will increase without bounds. One right at 100 is an "equilibrium" point. The population won't change.

Anyway to me, when the population gets below 2 it dies off. You know, sexual reproduction and all. Thus, we can only study a decrease in the population when the initial number is below 100. So, assuming you want to know when there are only 2 individuals left starting with 25, When I substitute 2 in the solutions above and calculate what time that happens, I get 23.3 years. However, alligators are good eating (oh yea, just like Chicken) so you know, trapper Bienville, being hungry and all, may make the population drop quicker then this value, thus the 9 year 2 month value you're looking for may be due to him.

i didn't understand what u said

dvs77 said:
i didn't understand what u said

Hello dvs. Well, I'm sorry and disappointed in myself. Though I was good at explaining things. Please tell me exactly what you didn't understand. Please, not from the get-go is it?

i understand the equations but the theory ...

dvs77 said:
i understand the equations but the theory ...

Oh you mean the theory . . . well, I live in the swamp and really have eaten alligators and you see, the tail is . . . wait a minute, I think you mean the other theory . . . That it all about a "qualitative" analysis of differential equations. Devaney's book on the subject does a nice job of presenting ODEs this way. In the case above, it's telling you that the slope is a quadratic function of the population number. Since this function is negative for all values between 0 and 100, that means the slope is negative for all initial conditions between these values. So, if start with say 75 and the slope is negative, then at time t+deltat will have a value still less than 100 so slope is negative, so t+2deltat will still have a value less than 100 and so on down to 0 eventually. Same dif for values above 100.

You know, I've been think about Bienville. He has buddies you know. What influence would he and his buddies have to be in order for the alligator population to drop to 2 at 9 years, and 2 months assuming it started at 25?

Thus, we seek a solution of the following:

$$\frac{dx}{dt}=ax^2-bx+(Bienvielle factor)$$

with a=0.0001
and b=0.01;

with:
y(0)=25
y(110) just becomes below 2.

Keep in mind Bienville is "removing" gators so his effect on the rate that the gator population is changing is a negative one. Thus we have:

$$\frac{dx}{dt}=ax^2-(b+Bfact)x$$

You see, we can work the problem correctly AND arrive at the answer Meggs was looking for! Meggs, just tell them: "if we consider Bienville, then . . .
Now, just fill in the blanks.

Last edited:

## 1. What is a differential equation?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It involves variables, constants, and derivatives of the function, and is commonly used to model change or growth in various fields such as physics, engineering, and biology.

## 2. How is a population problem typically represented as a differential equation?

A population problem can be represented as a differential equation by using the logistic growth model. This model takes into account a population's growth rate, carrying capacity, and initial population size, and describes how the population changes over time.

## 3. What are the steps for solving a differential equation for a population problem?

The steps for solving a differential equation for a population problem are as follows:

• 1. Write the differential equation using the logistic growth model.
• 2. Find the particular solution by using the initial conditions given in the problem.
• 3. Use the general solution to determine the value of the constant of integration.
• 4. Substitute the value of the constant into the particular solution to obtain the final solution.

## 4. How do we interpret the solution to a differential equation for a population problem?

The solution to a differential equation for a population problem represents the predicted population size at any given time. It can also be used to analyze the growth rate, carrying capacity, and stability of the population over time.

## 5. What are some real-life applications of solving differential equations for population problems?

Some real-life applications of solving differential equations for population problems include predicting population growth and decline in biological populations, analyzing population dynamics in ecology, and understanding population trends in human demographics. It can also be used in fields such as economics, epidemiology, and engineering to model and predict population changes.

• Differential Equations
Replies
4
Views
3K
• Differential Equations
Replies
7
Views
2K
• Differential Equations
Replies
3
Views
1K
• Differential Equations
Replies
16
Views
1K
• Differential Equations
Replies
9
Views
2K
• Differential Equations
Replies
18
Views
2K
• Differential Equations
Replies
2
Views
1K
• Calculus and Beyond Homework Help
Replies
3
Views
611
• Differential Equations
Replies
3
Views
2K
• Differential Equations
Replies
2
Views
1K