Potatochip911 said:
I thought I couldn't use integrating factor here because the ##m## is actually ##m(t)## and it's in the denominator for the ##f(t)## function. I might be wrong I haven't done integrating factor in years.
Just thought I would respond to this part for now. I believe you can use an integrating factor here.
Background on integrating factor (might be useful if you haven't seen it for a while; feel free to skip this section):
Without just jumping to the formula, the integrating factor can be thought of as the answer to the following question: "what term do I need to multiply the equation by such that I can write it as a derivative of a product?" I.e. if we have:
[tex]\frac{dv}{dt} + f(t){v} = h(t)[/tex] it would be much more convenient to write the LHS in a form that is more easily integrated (wrt. [itex]t[/itex]). If we have integrating factor [itex]P(t)[/itex] and we multiply it through to get:
[tex]P(t) \frac{dv}{dt} + P(t)f(t){v} = h(t)P(t)[/tex]
we now want the LHS to be expressed as [itex]\frac{d}{dt}(P(t)v(t))[/itex]. By using the product rule and comparing coefficients, we can see that [itex]\frac{dP(t)}{dt} = P(t)f(t)[/itex]. This can be solved to give the form of the integrating factor [itex]P(t) = e^{ \int f(t) dt }[/itex]
Therefore, if we integrate the equation with respect to [itex]t[/itex]:
[tex]P(t)v(t) = \int P(t)h(t) dt[/tex]
Specific response to your question:
So we have [itex]f(t) = \frac{k}{m_0 + kt}[/itex]. Can that be integrated? (Hint: think about natural logarithms). Don't forget that the integrating factor is [itex]P(t) = e^{ \int f(t) dt }[/itex]
One final note:
I hasten to add this as you have already been helped, but I just thought to let you know of another way of getting to the differential equation (it is my preferred approach when doing these types of questions). It is very similar to what you have written, but you can perhaps use it to double-check whether your ODE is correct in future problems. The whole principle here (as you know) is that Impulse = change in momentum. So we can draw a diagram of the mass at time [itex]t[/itex]: it has mass [itex]m[/itex] and velocity [itex]v[/itex] (downwards). It has a weight [itex]mg[/itex] acting on it downwards. We can then draw an 'after' picture at time [itex]\delta t[/itex] later (so at time [itex]t + \delta t[/itex]). It now mass mass [itex]m + \delta m[/itex] (as it is accumulating mass) and has velocity [itex]v + \delta v[/itex] (downwards). During the time [itex]\delta t[/itex], an impulse equal to [itex]mg \delta t[/itex] acted on the raindrop. If we resolve vertically downwards and write out impulse = change in momentum:
[tex]mg \delta t = (m + \delta m)(v + \delta v) - mv[/tex]
We can then simplify, divide by [itex]\delta t[/itex] and let [itex]\delta t[/itex] tend to 0 to form the same ODE that you derived.
Please note that the 'before' and 'after' diagrams may look different for different types of problems (e.g. rocket burning fuel). While diagrams may differ, the underlying concepts are the same.
Hope that was useful. If not, let me know which parts could be more clear. Apologies if you already knew all of that, but perhaps it might be helpful to another reader.