Shyan said:
You mean it is not a proper way for gaining a formula in all cases?
Indeed, in general one cannot simply slip a gamma term in front of any mass terms than appear to obtain a relativistically correct equation. This can be done in some cases, but you need to know a little bit about the equation you are using. For example, the
classical Newton's Second law
assumes constant mass. That is, we start for the general form of Newton's Second Law
F = \frac{dp}{dt} = \frac{d}{dt}\left(mv\right)
and then assume that m is constant leaving
F = \frac{dp}{dt} = m\frac{dv}{dt} = ma
However, if we assume that the mass is not constant, then we cannot take it outside the derivative. However, we can place a gamma inside the derivative
F = \frac{d}{dt}\left(\gamma m\boldsymbol{u}\right)
If you then take the derivative and follow it through to the end, you will arrive at the correct formula the CompuChip posted.
The moral of the story is that you need to understand the formula you are dealing with, before trying to play with it.