Consider a rocket being launched vertically.
Let $T(t)$ denote the thrust from the engine and $M(t)$ be the total mass of the rocket at time $t$.
At $t=0$, $T(0)=M(0)g$ (so that the normal force due to the launch pad needs not to be considered).
The acceleration $a(t)$ of the rocket at time $t$ can be obtained (along with other variables like the ejection speed of the fuel that are less important to my question) from Newton's second law of motion:
$$T(t)-M(t)g=\frac{dp}{dt}=\frac{d(M(t)v(t))}{dt}$$
$$=M(t)\frac{dv}{dt}+v(t)\frac{dM}{dt}=M(t)\frac{dv}{dt}=M(t)a(t)\tag{1}$$
So it seems to me that in general, we do not need to consider the $\frac{dM}{dt}$ term? But shouldn't $\frac{dM(t)}{dt}$ be non-zero if the total mass of the rocket is decreasing over time.
Or is it that the change in mass over time is accounted for by $M=M(t)$ alone already?
And when do we need we to consider the $\frac{dm}{dt}$ term in $N2$?