Mudjacking involves pumping a cement mixture beneath the sunken slab, while polyurethane injection uses a foam material. Polyurethane is lighter than cement, reducing the risk of further settling, and it cures faster, allowing for quicker use of the treated area.