Statement of a problem
Body of mass $M=m+m_0$ is moved out of balance ($x(0)=A$, $\dot{x}(0)=0$) and is subject to restoration force of magnitude $F = -kx$, where $x(t)$ describes position of body in time. As time passes, body loses mass with rate of $v$ $\frac{kg}{s}$, until its mass is equal to $m_0$.
Find $x(t)$.
Attempted solution
Let:
$ω_0^2 = \frac{k}{M}$
$ω = \frac{v}{M}$
Until $t=t_0=\frac{m}{v}$ position of the body is described by differential equation:
$(1-ft)\ddot{x}=ω^2x$ (1)
for $t>t_0$ body becomes harmonic oscillator with mass $m_0$, therefore solution for $t>t_0$ is given by:
$x_{t>t_{0}}(t)=Acos(\sqrt{\frac{k}{m_0}}t)$
(1) should be solved and $x(t)$ should be continuous at $t=t_0$
After applying Laplace transform and some additional steps I found that $X(s)=\mathcal{L}\{x(t)\}=\frac{A(s-ω)}{(s-ω)^2+ω_{0}^2-ω^2}$
According to this table (points 20. and 22.) it is true that:
$\mathcal{L}\{e^{at}cos(bt)\}=\frac{s-a}{(s-a)^2+b^2}$
and
$\mathcal{L}\{e^{at}cosh(bt)\}=\frac{s-a}{(s-a)^2-b^2}$
I quess that solution involving $cos$ is true when $b^2>0$ and $cosh$ when $b^2<0$. Under such assuption solution for $t>t_0$ is given by:
$x(t)=Ae^{ωt}cos(\sqrt{ω_0^2-ω^2}t)$ when $ω_0^2>ω^2$ (loss of mass is slow)
$x(t)=Ae^{ωt}cosh(\sqrt{ω^2-ω_0^2}t)$ when $ω_0^2\le ω^2$ (loss of mass is fast)
- Is this even correct approach?
- If so, how should I proceed?
- If not, how can this problem be solved?
- Correction of other errors would be appreciated.