Now seperating the equation we get (I will use )
by partial fractions we get...\
integrating
Finally we solve for N
so
Note that I replaced with another Constant
Give it a try with this one
Ok Iv been trying to plot this for a while now and im having some major problems.
Firstly I found the Verhulst logistic equation to be:
fromhttp://www.ugrad.math.ubc.ca/coursedoc/math100/notes/mordifeqs/logistic.html
Now if i let
Then we get
If i solve this i get:
so
Now if i use K=1000 Lambda = 2 and N(0)=100 i can solve to find A
so A=1/9
However if i try and plot x=(1000/9)/(e^−λt)+1/9 in my graph plotter
I get the graph
when i am expecting a S shaped curve from the logistic equation.
Could someone please tell me what i have done wrong.
Many Thanks
Tom
That still gives me a graph that looks like this though:
Why dont i get one that looks like:
Is it that the equation i am using is wrong, and it is not actually the logistic equation?
Basically i just want to make it plot the S shaped curve, then I can do ones like taken from
Interesting Facts about Population Growth Mathematical Models
but the equation as it stands at the moment doesn't look anything like this!
Thanks for any help guys
The equation given by TheEmptySet is a start. You need to apply the initial condition. This is thus:
This gives C2 and can be put into the equation obtained. After a few steps of algebra you get:
Using now your values K=1000, N0=100 and lambda=2, you have a nice S-shaped curve.
If I look at the equations you plot, there seems to be something wrong with it's definition, you use lambda,
put I don't see it defined anywhere, also the x seems to be used in an awkward way.
Maybe you've entered the equation wrong.
That's just the same solution wearing a coat instead of a cardigan:
is correct (I know because I pm'd the calculations leading to this answer myself).
.
where .
iknowone is correct in the first instance and has no doubt hit the nail on the head in the second.
That's the correct solution and can be simplified by multiplying top and bottom by 9 to get:
and this has exactly the shape expected, including N = 100 when t = 0 and a horizontal asymptote N = 1000.
The given graph:
is totally inconsistent with the equation . That should have immediately been a red flag for data input error (and you know what the old saying is: garbage in, garbage out). In fact, the clue to the whole trouble is given in the bottom box where the equation defining the graph is given. There is no way the software package will understand from that equation that t is in the exponent. iknowone is right on the money.
Ok Guys now im Having some more problems.
I have managed to make the sigmoid curve required, however, I want the curves to look like the ones on this website
Interesting Facts about Population Growth Mathematical Models
as you can see here even though they use the same values as me the curve is different.
This also allows them to look at multiple fixed point values (something i need to do)
simply by changing their value of r (my value of
He calls his equation the Verhulst equation, but its a difference equation and mine is a differential version of it, however essentially they look pretty much the same to me.
The sigmoid curves that I am achieving always plateau at the value of K i am using, where as the ones he draws pleateau below K, depending on the value of r he uses.
How can I change mine so that I can get these multiple fixed points/declining population to 0, simply by changing my value for
Thanks again guys.
Tom
The differential equation you're working is the continuous version of the logistic model.
Your reference is using a logistic map.
These two things are in fact very very different.
You will not be able to get what you're looking for by using the continuous version of the logistic model.
Another link: Logistic map - Wikipedia, the free encyclopedia
ah ok
is the solution to the difference equation, from looking at the one on the wiki page, but then there is no K in it? which on the website there is a K
?
Then I can plot this and ill get the multiple fixed values etc and chaos?
I guess in my report I can explain that there is a continous and a discrete model
ty!