I have the following situation where I am interested in the function $m(t)$

$$ \frac{dm}{dt}=4T(t)^{3}+T(t)^{2} $$
$$ T(\tau)=T_{0}-\int_{0}^{\tau}(\frac{dm}{dt})dt*Q_{S} $$

Is there a way to solve it analytically using Mathematica?
Thanks for your help in advance

ps.: I guess I just don't know what to look for

  • $\begingroup$ Take a look a DSolve - and maybe get familiar with Mathematica a bit. $\endgroup$
    – gwr
    May 10, 2016 at 9:46
  • $\begingroup$ The notation is certainly confusing me. If I interpret $\frac{dm}{dt}(T)$ as the derivative of $m(T)$ with respect to $t$, then that's $0$; if that's the product of $\frac{dm}{dt}$ and $T$, then the right hand side is effectively a constant. So, what then? $\endgroup$ May 10, 2016 at 9:53
  • $\begingroup$ I hope it is more clear after that edit ... - m is the mass, T the temperature - mass changes depending on the Temperature. The temperature drops by losing mass (Sublimation) $\endgroup$
    – G.Andi
    May 10, 2016 at 9:58
  • 2
    $\begingroup$ What do you get if you differentiate your second equation with respect to $t$? $\endgroup$ May 10, 2016 at 10:02
  • $\begingroup$ something arbitrary- but I just realized, that the Integral is written wrong - next edit ... $\endgroup$
    – G.Andi
    May 10, 2016 at 10:06

1 Answer 1


Following up on @J.M.'s observations in the comments, differentiate


to get $$\frac{dm}{dt}=-\frac{T'(t)}{Q_S}$$

Combine with

$$\frac{dm}{dt}=4 \, T(t)^{3}+T(t)^{2}$$

to get a differential equation in T[t]:

$$ T'(t)=-\text{Qs} \left(4 \, T(t)^3+T(t)^2\right)$$

Use DSolve with initial value T[0] == t0:

DSolve[{T'[t] == -Qs ( 4 T[t]^3 + T[t]^2), T[0] == t0}, T, t]

Mathematica graphics

  • $\begingroup$ Thank you very much @kglr, obviously it was a mathematics/approach problem :-) - and my bachelor studies were too long ago, ... maybe then I could have handled it better $\endgroup$
    – G.Andi
    May 10, 2016 at 11:32
  • $\begingroup$ @G.Andi, my pleasure. You were almost there:) Thank you for the accept. $\endgroup$
    – kglr
    May 10, 2016 at 11:35
  • $\begingroup$ now i will do this approach with my real dm/dt function which is a hell compared to $\frac{dm}{dt}=4 \, T(t)^{3}+T(t)^{2}$ :-) $\endgroup$
    – G.Andi
    May 10, 2016 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.