Differential Equations and growth constant

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
jofree87
Messages
37
Reaction score
0
dS/dt = kS - W

How do I solve this problem if k is the growth constant and W is also constant?

Here is what I have so far, but I don't think its quite right:

dS/dt = kS - W

(kS - W)-1dS = 1dt

1/k*ln(kS - W) = t + C

ln(kS - W) = kt + C1

kS - W = C2ekt

S = (C2ekt + W) / k

S = C3ekt + W/k

I think I did the math right but when I try plugging a few numbers in for the constant, the derivative doesn't match the function. Am I suppose to use the integrating factor for this problem?
 
Physics news on Phys.org
I think I did the math right but when I try plugging a few numbers in for the constant, the derivative doesn't match the function

But it does! Your solution satisfies the equation dS/dt = kS - W. Try plugging S into that equation; you'll see that both sides are equal.
 
ideasrule said:
But it does! Your solution satisfies the equation dS/dt = kS - W. Try plugging S into that equation; you'll see that both sides are equal.

Plug S into what equation?

I just think its wrong because if I take the derivative of S = C3ekt + W/k, then I would get S' = kekt, which isn't S' = kS - W. The W isn't suppose to disappear.