The Leibniz integral rule combines contributions from both moving endpoints with differentiation under the integral sign:
The partial derivative in the last integral holds fixed. Suitable regularity and convergence are assumed as stipulated.
Apply the Leibniz rule for the th derivative of a product. Only the first three terms survive, because all derivatives of of order greater than two vanish and every derivative of is :
At this gives
On an interval where is defined, use the substitution rule . Then and , giving
The inverse tangent expression is valid on each interval separately. The original integrand is continuous for all real , since its denominator is at least . To obtain one continuous antiderivative on the whole real axis, add on the th such interval and use the continuous limits at their endpoints.
Take in the substitution rule, so . The transformed integral is
The two terms follow from the derivatives of the natural logarithm and the inverse tangent. Returning to gives the antiderivative
Use the substitution rule , with . The endpoints become and , so
The original PDF places the outside the square root. Use the substitution rule with , so and the endpoints become and . Polynomial division gives
Hence the definite integral is

There are unlisted articles, also show them or only show them.