I am trying to work out the length contraction using the Lorentz transformations. Here is how I stated the problem:
Suppose a bar (whose proper length is $L$) is moving at speed $u$ (to the right) with respect to a reference frame $R$. Let $x_2$ and $x_1$ be the two coordinates of the rightmost and the leftmost points of the bar respectively. Measured in the moving frame $R'$, their difference is: $$ x_2'-x_1'= \gamma(x_2-ut_2)-\gamma(x_1-ut_1) = \gamma(x_2-x_1)-\gamma u(t_1-t_2) $$ But measuring a length means knowing both $x_1$ and $x_2$ at simultaneity in a frame. Therefore, $t_2=t_1$. It follows that: $$ \Delta x'=\gamma \Delta x $$ or $$ L'=\gamma L $$ Then $$ \gamma = \frac{L'}{L}>1 \Rightarrow L'>L $$ Which implies that length have dilated not contracted, as I was trying to solve. What is the problem with this reasoning?