I'm confused over the Wiki equation for an elastic collision. Does anyone know how equations (1) and (2) are formed to result in (3)? I think I'm overlooking some simple algebra.
Consider particles 1 and 2 with masses $m_1$, $m_2$, and velocities $u_1$, $u_2$ before collision, $v_1$, $v_2$ after collision. The conservation of the total momentum before and after the collision is expressed by:
$$m_{1}u_{1}+m_{2}u_{2} \ =\ m_{1}v_{1} + m_{2}v_{2} \tag 1$$
Likewise, the conservation of the total kinetic energy is expressed by:
$$\tfrac12 m_1u_1^2+\tfrac12 m_2u_2^2 \ =\ \tfrac12 m_1v_1^2 +\tfrac12 m_2v_2^2 \tag 2$$
These equations may be solved directly to find $v_1,v_2$ when $u_1,u_2$ are known.
$$ \begin{array}{ccc} v_1 &=& \dfrac{m_1-m_2}{m_1+m_2} u_1 + \dfrac{2m_2}{m_1+m_2} u_2 \\[.5em] v_2 &=& \dfrac{2m_1}{m_1+m_2} u_1 + \dfrac{m_2-m_1}{m_1+m_2} u_2 \end{array} \tag 3 $$