Determine the definite integral
as a function of a {\displaystyle {}a} and b {\displaystyle {}b} explicitly with lower and upper staircase functions.