Evaluate
where is the triangle with vertices , and .
Turn the three vertices into boundary equations. The side from to lies on ; the side from to is the vertical line ; the side from to is the line . So the triangle is the set of points with and .
Choose the order . Integrating in first keeps the limits constant ( to ) and makes the limits the two simple functions and . It also helps that is a constant during the inner integration, so the factor slides outside:
Do the inner integral. With fixed, :
Handle by parts. Take , , so and :
Handle the same way. With , :
Combine the two pieces. The outer integral is the difference of the results:
The answer is negative, which is expected: on most of this triangle lies between and , where is negative, and the weight is largest exactly there. Numerical integration returns , matching .
Need to solve a different problem like this? Open the solver →