Here is the question:
A uniform rod of mass m and length $l$ is placed horizontally on a smooth horizontal surface. An impulse P is applied at one end perpendicular to the length of the rod. Find the velocity of centre of mass and angular velocity of the rod just after the impulse is applied.
I know that we will conserve angular and linear momentum because no external force is being applied.
According to the solutions I have read:
Linear momentum: The initial linear momentum is $0$ and an impulse of P is being applied. Therefore, the change in linear momentum = P. $$\therefore P = m\cdot v_{cm}\\v_{cm} = \frac{P}{m}$$
But my question is, will the whole P momentum considered for linear momentum. Shouldn't the total impulse given be divided into linear momentum and angular momentum? Also, I couldn't understand the way they calculated angular momentum so please explain that as well...