For differentiable endpoints and a function with suitable continuous partial derivative in the parameter, the moving-endpoint rule isTo prove it locally, put for a fixed reference endpoint . The original integral is . Apply the chain rule, use the fundamental theorem of calculus for , and use differentiation under the integral sign for . The two boundary terms account for the moving endpoints, while the remaining integral accounts for variation of the integrand with the parameter. For improper integrals, convergence and a suitable domination condition must be verified before interchanging the derivative and integral.