The minus sign in vf1 indicates that the first ball reverses its direction as a result of the collision.