Evaluate for .
Factor the expression inside the absolute value. Factoring first is what lets the sign be settled without case analysis on .
Determine the sign on the domain. always. For we have and , so . Every factor is nonnegative, so the absolute value can be dropped. (For the bracket can go negative once , and the problem would split into cases.)
Integrate in r, treating theta as a constant. so the inner integral is using .
Integrate the first piece in theta. With , so this piece contributes .
Integrate the second piece. contributing .
Combine and check. At the closed form gives , and nested numerical quadrature of the original absolute-value integrand returns - a match to ten decimals. At both sides are , as they must be.
Need to solve a different problem like this? Open the solver →