Derivation of relativistic momentum

We know that the momentum at low speed $u_0\ll c$ should approach $mu_0$. We will use this fact and the assumption that conservation of relativistic momentum holds to derive the formula.

Consider two colliding particles $A,B$ with equal mass. The particles have collision along up-down direction non-relativistically. In frame $S$, $A$ travels upwards and downwards at a non-relativistic speed $u_0\ll c$. In frame $S'$ which is moving a relativistic speed $v$ relative to $S$, $B$ travels downwards then upwards at speed $u_0$.

In frame $S$, using the addition of velocities formulae, $$\begin{align*} u_{B,x}' = 0\implies u_{B,x} &= \frac{0 + v}{1 + 0} = v, \\ u_{B,y}' = -u_0\implies u_{B,y} &= \frac{-u_0}{\gamma(1 + 0)} = -\frac{u_0}{\gamma}. \end{align*}$$

We expect the relativistic momentum to be along the direction of velocity. So in frame $S$, if the velocity of $B$ is $w$ and the angle with left-right direction is $\theta$, the momentum in the $y$ component is $$ p_y = -p\sin\theta. $$

Assuming momentum is conserved, $$\begin{align*} mu_0 + p_y &= -mu_0 - p_y \\ p_y &= -mu_0. \end{align*}$$

Substituting the expression of $u_{B,y}$, $$\begin{align*} p_y &= \gamma mu_{B,y} \\ p \sin\theta &= \gamma mw\sin\theta \\ p &= \gamma mw. \end{align*}$$