Multivariable calculus
Double Integral of x Under y = sin x from 0 to 1
The double integral of x over the region under y = sin x with 0 <= x <= 1, in radians, equals sin 1 - cos 1, about 0.301169. The inner integral in y gives x sin x, and integration by parts turns that into sin x - x cos x, evaluated from 0 to 1.
Numerically 0.301169, confirmed by quadrature on every build.
An integrand with no y makes the inner step trivial
Because is constant with respect to , the inner integral is just the integrand times the height of the slice.
On in radians is positive, so the slice height is genuine and the whole region sits above the axis. What remains is a one-variable integral that needs parts, with and .
Differentiate the antiderivative to confirm it: .
The mistake: the sign buried in integration by parts
With the antiderivative is , and that minus sign has to survive two more steps.
Writing is the standard wrong answer. It evaluates to , and a negative number cannot be right for a positive integrand over a region of positive area.
- Radians, not degrees. In radians ; a calculator left in degrees returns and the answer collapses.
- The region is not a full arch. Stopping at , short of the peak at , is deliberate.
- Bound the answer: on this region , so the integral cannot exceed the area, .
That last bound is worth writing down on any problem of this shape. Here , so the answer clears the test.
The area and the average
The region's area is the ordinary single integral of the boundary curve.
So the average value of over the region is , which is the -coordinate of the centroid. It sits to the right of the midpoint because the region is much taller near than near , so more of its area carries a large .
Frequently asked questions
Why is there no antiderivative work in the inner step?
Because the integrand contains no . Integrating a constant with respect to gives that constant times the length of the slice, so the entire first step reduces to multiplied by .
Is sin 1 - cos 1 the exact answer?
Yes. The decimal is only an approximation of it, with measured in radians. There is no simpler closed form, and leaving the answer as is what a grader expects.