If earth were to shrink suddenly, its radius `R` would decrease. The moment of inertia of earth
`I = (2)/(5)MR^(2)` would decrease. As no external torque is acting on earth, its angular momentum
`L = I omega = I(2pi)/(T)` remains constant. As I decreases, T must decrease. Hence the length of the day will decrease.