This is the incorrect part. They would both go to zero velocity/momentum.
Momentum is a vector quantity, so has a direction and magnitude. Two identical cars with the same speed going opposite directions would have the same magnitude of momentum, but opposite sign. After colliding, their sum would be zero.
If you watch billiards you would see kinda the same thing going on.
Edit: completely messed this up. Other comments are more correct
In a perfectly elastic collision, both kinetic energy and momentum are conserved. In a perfectly inelastic collision, kinetic energy is not conserved (because it is converted to heat), but momentum is always conserved.
So lets say you have 2 objects of the same mass traveling toward each other at the same speed. In a perfectly elastic collision, the balls objects will "bounce" off each other, going back in the opposite directions. In that case momentum is conserved (as you note, it's a vectored metric, so before and after the the total momentum of the system is 0), but so is kinetic energy, because you still have 2 masses traveling at the same speeds (think about if you have a Newton's cradle and pull both end balls up and drop them at the same time - they'll both bounce back).
In a perfectly inelastic collision, both masses will essentially crush and come to a complete stop where they collide. Again, momentum is conserved (it's still 0 before and after the collision) but kinetic energy is not conserved because it's all converted to heat of the 2 objects.
Thanks for the correction.
(Also, how does a “throwaway” account get that much karma??)
I don't think so. In my high school physics class I learned about both fully elastic and fully inelastic collisions. The math basically works out the same in the fully inelastic collision case, which I did here, https://news.ycombinator.com/item?id=40628932
Perfectly elastic objects bounce apart with mirrored velocities. No energy is lost.
Perfectly inelastic objects just stop. All of the energy is dissipated through noise, heat, and deformation.
Momentum is conserved in both.
For drivers ed, cars are almost perfectly inelastic.
Assume two perfectly elastic cars. When they collide at 50mph, each car will bounce backwards at 50mph (due to conservation of momentum), representing a change in velocity of 100mph — identical to the brick wall case.
I feel that introducing deformation or other energy dissipation to the equation kind of takes it out of the “high school physics” realm, right? What else am I missing?
Edit: ah I see, the car will bounce off the brick wall at 100mph as well, resulting in a 200mph change in velocity. I guess you could explain it then that the effect of the impact is felt entirely in one car in the brick wall case, and it’s spread out over two cars in the head-on case?