An irritating differential equation constant
\[m\frac{dv}{dt}=mg-kv\]
v is evidently\[v=e^{pt}+c\], but how do you prove what c is (even though it's evident that it's 0)?
why do you say it has to be zero? it depends on the initial velocity
Sorry, I meant to say that at t=0, v=0
I've got as far as \[p=g-\frac{k}{m}(1+c)\]
e^0 = 1 so c would need to be -1
if\[v(0)=0\]then just plug that in to your answer\[0=e^0+c\implies c=-1\]
so yeah, it ain't zero
I don't really get what p is
A constant dependent on the initial conditions
that constant is not dependent on anything other than m and k...
Yes and yes, you're right (earlier) in that c=-1, so p=g
\[v'(t)=g-\frac kmv(t)\]this is a linear DE with integrating factor\[\large\mu(t)=e^{\int-\frac kmdt}=e^{-\frac{kt}m}\]
Integrating factor? Is that the same thing as my 'p' in the example?
no, it's how you solve a linear DE like this one if you haven't heard of it you should read up on it http://tutorial.math.lamar.edu/Classes/DE/Linear.aspx
first rearrange this into a way such that the derivative has coefficient 1 and the constant g is on the other side\[v'+\frac kmv=g\]I messed up a bit, the integrating factor is\[\mu(t)=e^{\int\frac kmdt}=e^{\frac{kt}m}\]the trick is to multiply everything by the integrating factor and we get\[\large v'e^{\frac{kt}m}+\frac kmve^{\frac{kt}m}=ge^{\frac{kt}m}\]\[\large (ve^{\frac{kt}m})'=ge^{\frac{kt}m}\]now integrate both sides...
\[\large\int d(ve^{\frac kmt})=\int ge^{\frac kmt}dt\]\[\large ve^{\frac kmt}=\int ge^{\frac kmt}dt\]\[\large ve^{\frac kmt}=\frac{gm}ke^{\frac kmt}+c\]\[\large v=\frac{gm}k+ce^{-\frac kmt}\]
Excellent, thanks. Does the link explain why this works?
yeah it has a derivation of the integrating factor, but I can never get it into my mind to derive it very easily and usually just remember the formula blindly :p
It's always horrible to do that, but often unavoidable. Anyway- thanks a lot for that!
very welcome :)
Join our real-time social learning platform and learn together with your friends!