Connection between variation of a function and its weighted integral

24 Views Asked by At

The following is from "Multiplicative number theory I: Classical theory" by Hugh L. Montgomery, Robert C. Vaughan:

enter image description here

My question is that how Eq. D.10 is derived from the previous one? (The authors assume probably that $\text{var}$ is equal to or greater than the last two integrals but how that is derived?)