Multivariable calculus
Double Integral of y sin x Under a Cosine Arch
The double integral of y times sin(x) over the region where x runs from 0 to pi/2 and y runs from 0 up to cos(x) equals 1/6, about 0.1667. The inner integral in y gives one half of sin(x) times cos(x) squared, and the substitution u = cos(x) finishes it.
Numerically 0.166667, confirmed by quadrature on every build.
A type 1 region: y between two functions of x
The region sits between the axis below and the curve above, for from to . On a type 1 region the inner variable is and its bounds are functions of .
Integrate in with held fixed. Only the matters inside; rides along as a constant.
Finish with the substitution u = cos x
The outer integral now has sitting next to a power of , which is the signature of the substitution , .
Notice the limits changed with the substitution: gives , and gives . Flipping them absorbs the minus sign from .
The mistake: using a constant ceiling instead of the curve
Since never exceeds on this interval, students sometimes replace the upper bound by the constant and integrate over the rectangle instead.
That is against the true , three times too large, because the rectangle includes everything above the cosine curve. The bound is not an estimate of the region, it is the region's boundary.
The tell that a bound must stay variable: the answer to the inner integral should still contain . If your inner integral comes out as a pure number on a type 1 region, you have flattened the boundary.
Frequently asked questions
Could this be set up as a type 2 region instead?
Yes, with from to and from to , since the curve inverts cleanly on this interval. The then disappears: the inner integral is , and . It is a clean independent check on the answer.
Why does the answer come out so tidy?
Because the outer integral reduces to after substitution. The trigonometric functions cancel out of the final expression entirely, leaving a rational number.