Explanation :
![p_f=-p_i](https://img.qammunity.org/2020/formulas/physics/middle-school/mw19xe7u7zdcukxz4htlklk57y5uaud6f2.png)
Momentum of a body is defined as the product of its mass and velocity.
i.e.
![p=m* v](https://img.qammunity.org/2020/formulas/physics/middle-school/e704ebtcb8im9d912b0de7c6hhvnahm3e6.png)
So, when an object is moving, it has momentum.
If
and
are the masses of objects A and B and
are their initial velocities. so, their initial momentum will be:
![p_i=m_1u_1+m_2u_2](https://img.qammunity.org/2020/formulas/physics/middle-school/kc0nbj1phqudmn5itbipwla4ysnaqpzk9b.png)
If after collision it bounces back with same velocities, then final momentum becomes:
![p_f=-m_1u_1+(-m_2u_2)](https://img.qammunity.org/2020/formulas/physics/middle-school/b3au5g444qze7jpe4kjan37qwpud7f8gud.png)
-ve sign shows that the motion is in opposite direction.
so,
![p_f=-(m_1u_1+m_2u_2)](https://img.qammunity.org/2020/formulas/physics/middle-school/65wwklxu1w5yy88ikwjkcm16o0x94kbrfn.png)
or
![p_f=-p_i](https://img.qammunity.org/2020/formulas/physics/middle-school/mw19xe7u7zdcukxz4htlklk57y5uaud6f2.png)
Hence, its final momentum is in opposite direction of initial momentum.