There are a number of factors that I can think of:
- The larger mass of the hammer would cause more force to be applied due to F=MA.
- The larger surface area of the pillow would spread out the force of the impact, applying less pressure at any given point.
- Air resistance due to the pillow's larger surface area seems like it would also reduce the acceleration of the pillow, which would affect the force due to F=MA. Or perhaps it would just reduce the speed the pillow could be swung at, which would lower the pillow's momentum (does that matter?)
- The pillow is more compressible, which I believe should absorb some of the energy of the impact.
So the question is two-fold:
- Are there other factors which I've missed?
- What is the relative importance of the factors in determining the overall harm that a pillow versus a hammer would cause?
Note: Don't hit people with hammers. Question for fun only ;)