The Student Room Group

Hard differential equation problem?

In a revised model, it is assumed also that fish are removed from the pond, by anglers and natural wastage, at the constant rate of p per unit time so that:

dn/dt= kn-p

Given that k=2 p =100

and that there were initially 500 fish in the pond, solve the differential equation, expressing n in terms of t. Give a reason why this revised model is not satisfactory for large values of t.

answer... n=450 e^(2t) + 50

So far I have...

(1/kn-p ) dn= 1 dt

Intergrate both sides...

ln (kn-p)= t+c

And now Im stuck lol.
Reply 1
That's nearly right - you need a constant outside of you natural log term.

You now need to turn the statement "there were initially 500 fish in the pond" into something in terms of n and t so that you can find c. After that, it should just be algebra all the way.
Original post by APersonYo
...


Firstly; dnknplnknp+A\displaystyle \int \frac{dn}{kn-p} \neq \ln\vert kn-p \lvert+A - you need to adjust the integral slightly.

Secondly, after you done that, you need to use the fact that there were 500 fish in the pond initially and solve for the constant of integration.
Reply 3
Original post by APersonYo
In a revised model, it is assumed also that fish are removed from the pond, by anglers and natural wastage, at the constant rate of p per unit time so that:

dn/dt= kn-p

Given that k=2 p =100

and that there were initially 500 fish in the pond, solve the differential equation, expressing n in terms of t. Give a reason why this revised model is not satisfactory for large values of t.

answer... n=450 e^(2t) + 50

So far I have...

(1/kn-p ) dn= 1 dt

Intergrate both sides...

ln (kn-p)= t+c

And now Im stuck lol.


It should be (1/k)* ln |kn-p| = t + ln c
which is kn - p = A*e^(kt)
or n = p/k + B*e^(kt)

then as n(t=0) = 500 it means that 500 = p/k + B so you can get B from that.

sorry if I'm wrong, I did it really quickly
Reply 4
Original post by RDKGames
Firstly; dnknplnknp+A\displaystyle \int \frac{dn}{kn-p} \neq \ln\vert kn-p \lvert+A - you need to adjust the integral slightly.

Secondly, after you done that, you need to use the fact that there were 500 fish in the pond initially and solve for the constant of integration.


1) Firstly, I didnt write that at all.

I wrote:

ln(kn-p) = t+ c

How am I going to use that with the information given?
Original post by APersonYo
1) Firstly, I didnt write that at all.

I wrote:

ln(kn-p) = t+ c

How am I going to use that with the information given?


That's what your working implied.

To use the information, what is the variable represented by the amount of fish? What is the numerical value of time referred to as "initially"?

Then you have your initial conditions which you use to find the particular solution.
Reply 6
Original post by RDKGames
That's what your working implied.

To use the information, what is the variable represented by the amount of fish? What is the numerical value of time referred to as "initially"?

Then you have your initial conditions which you use to find the particular solution.


This is what I've done afterwards...

ln(kn-p)= t+ lnA

as lnA is a constant

ln(kn-p)-ln A= t

ln (kn-p/A) = t

... Honestly. it just leads to a dead answer. Im totally lost
Reply 7
Original post by RDKGames
That's what your working implied.

To use the information, what is the variable represented by the amount of fish? What is the numerical value of time referred to as "initially"?

Then you have your initial conditions which you use to find the particular solution.


This is what I've done afterwards...

ln(kn-p)= t+ lnA

as lnA is a constant

ln(kn-p)-ln A= t

ln (kn-p/A) = t


... Honestly. it just leads to a dead answer. Im totally lost
Original post by APersonYo
This is what I've done afterwards...

ln(kn-p)= t+ lnA

as lnA is a constant

ln(kn-p)-ln A= t

ln (kn-p/A) = t

... Honestly. it just leads to a dead answer. Im totally lost


You should have 1klnknp=t+cknp=Aekt\frac{1}{k}\ln\vert kn-p \vert = t+c \Rightarrow kn-p=Ae^{kt}

You're given that k=2k=2 and p=100p=100

So you have 2n100=Ae2t2n-100=Ae^{2t}

Initially conditions give n(0)=500n(0)=500

Solve for A.

Write down the particular solution. Job done.
Reply 9
Original post by RDKGames
You should have 1klnknp=t+cknp=Aekt\frac{1}{k}\ln\vert kn-p \vert = t+c \Rightarrow kn-p=Ae^{kt}

You're given that k=2k=2 and p=100p=100

So you have 2n100=Ae2t2n-100=Ae^{2t}

Initially conditions give n(0)=500n(0)=500

Solve for A.

Write down the particular solution. Job done.


How do you get 1/k ln(kn-p)

because when I initially did it I divided both sides by kn-p

so I would get (1/kn-p) dn/dt = 1

(1/(kn-p) dn = t dt

And so if you were to i eventually integrate both sides I would get ln(kn-p) = t +c
Original post by APersonYo
How do you get 1/k ln(kn-p)

because when I initially did it I divided both sides by kn-p

so I would get (1/kn-p) dn/dt = 1

(1/(kn-p) dn = t dt

And so if you were to i eventually integrate both sides I would get ln(kn-p) = t +c


That is precisely why I said dnknplnknp+A\displaystyle \int \frac{dn}{kn-p} \neq \ln\vert kn-p \lvert+A

It doesn't integrate to that because the numerator is not the derivative of the denominator with respect to n, hence why I said you need to adjust the integral slightly.

dnknp=1kkknp.dn\displaystyle \int \frac{dn}{kn-p} = \frac{1}{k} \int \frac{k}{kn-p} .dn

Now you're allowed to deal with the integral in a way you know how.
Reply 11
Original post by APersonYo
How do you get 1/k ln(kn-p)

because when I initially did it I divided both sides by kn-p

so I would get (1/kn-p) dn/dt = 1

(1/(kn-p) dn = t dt

And so if you were to i eventually integrate both sides I would get ln(kn-p) = t +c


its okay I understand its because if you intergrate 1/(ax+b) you get 1/a ln(ax+b)
Reply 12
Original post by RDKGames
That is precisely why I said dnknplnknp+A\displaystyle \int \frac{dn}{kn-p} \neq \ln\vert kn-p \lvert+A

It doesn't integrate to that because the numerator is not the derivative of the denominator with respect to n, hence why I said you need to adjust the integral slightly.

dnknp=1kkknp.dn\displaystyle \int \frac{dn}{kn-p} = \frac{1}{k} \int \frac{k}{kn-p} .dn

Now you're allowed to deal with the integral in a way you know how.


Im sorry, Im finding this question severely complex.

So. I now understand why you would get:

1/k ln |kn-p|= t +c

If I plug in my values...

1/2 ln |100-100|= c

so ln 30 = c

Right so now if I do

ln|kn-p|= kt + kc

e^(kt+kc)= kn-p

therefore n= (e^(kt+kc) +p)/k

And if I plug in the values we are given... I still dont get the right answer
Original post by APersonYo
Im sorry, Im finding this question severely complex.

So. I now understand why you would get:

1/k ln |kn-p|= t +c

If I plug in my values...

1/2 ln |100-100|= c


Firstly, you should be aware than ln(0)\ln(0) is undefined so you shouldn't had been able to progress past this with any correct answer.

Secondly, pluggin the values in gives: 12ln2500100=c=12ln(900)\frac{1}{2}\ln \vert 2\cdot 500 - 100 \vert = c = \frac{1}{2}\ln(900)


Right so now if I do

ln|kn-p|= kt + kc

e^(kt+kc)= kn-p

therefore n= (e^(kt+kc) +p)/k

And if I plug in the values we are given... I still dont get the right answer


Yes that would be the expression for nn but of not much use if you bury the constant of integration - the thing you want to find - that deep into the expression.

Anyway, plugging in the values nevertheless would give you 500=e2c+1002=A+1002500=\frac{e^{2c}+100}{2} = \frac{A+100}{2}.


You can just skip this entirely if you just consider knp=Aektkn-p=Ae^{kt} in which case you only need to find A which is a whole lot quicker... I did this for you in the line above with A+100
(edited 7 years ago)

Quick Reply

Latest