Substitution changes coordinates while accounting for the differential scale.
Let u=x². On the displayed nonnegative interval, u runs from 0 to b² and du=2x dx. Replacing both the integrand and the bounds gives the u-space integral. Its height need not match the original height: the horizontal differential changes too.
Changing variables also requires changing the integration bounds or returning to the original variable.