Key Idea: Required momentum is the difference of final and initial momentum. The situation is shown in figure.
Change in momentum, Δp∴=pf−pi=m(vf−vi)=m[(vcos45∘i^−vsin45∘j^)−(vcos45∘i^+vsin45∘j^)]=m[(2vi^−2vj^)−(2vi^+2vj^)]=−2mvj^[Δp]=2mv Alternative :
The horizontal momentum does not change. The change in vertical momentum is mvsinθ−(−mvsinθ)=2mv21=2mv