Text of the exercise:
Event B is a consequence of event A. Using Lorentz transformations, prove that there is no inertial frame for which Event B happens before event A.
I wanted for someone to say how much the approach I use is correct and if there is any simpler one.
Let A have coordinates $(x_1,y_1,z_1,t_1)$ and B is $(x_2,y_2,z_2,t_2)$, where $t_1<t_2$ in some inertial reference frame S.
Then there is another (moving with constant speed $v$ in x-direction of motion) inertial reference frame, where event A is $(x_1',y_1',z_1',t_1')$ and B $(x_2',y_2',z_2',t_2')$
We have to prove that $t_1'<t_2'$. Using LT:
$$ t_1' = \gamma(t_1-vx_1/c^2) $$ $$ t_2' = \gamma(t_2-vx_2/c^2) $$
Now: $x_2 = x_1 + v_{propagation}(t_2-t_1)$ (so $x_2$ will happen certain distance from $x_1$, which is speed of propagation of the "effect" (hereafter $v_p$) * time interval in $S$ frame).
Then we have: $t_1' = \gamma(t_1-vx_1/c^2)$
$t_2'=\gamma(t_2-\frac{v*x_1}{c^2}-\frac{v*v_p*(t_2 - t_1)}{c^2})$
If we now subtract $t_1'$ from $t_2'$ we have (after factoring): $t_2' - t_1' = \gamma(t_2-t_1)(1-\frac{v*v_p}{c^2})$
Since $t_2>t_1$ and $\frac{v*v_p}{c^2}\leq1$, then $t_1'\leq t_2'$