इस पर अटक गए? इसे AI से हल करें
Calculus · real student question

Evaluate the definite integral from x = -2 to x = 2 of (x^3 cos(x/2) + 1/2) times the square root of (4 - x^2).

Question

Evaluate

∫−22(x3cos⁡x2+12)4−x2 dx.\int_{-2}^{2}\left(x^{3}\cos\frac{x}{2}+\frac{1}{2}\right)\sqrt{4-x^{2}}\,dx.

Step-by-step solution

  1. Split the integral before trying to antidifferentiate. The factor x3cos⁡x24−x2x^{3}\cos\frac{x}{2}\sqrt{4-x^{2}} has no elementary antiderivative, so any attempt at substitution or parts is doomed. Because the interval is symmetric about 00, split instead:

    ∫−22x3cos⁡x24−x2 dx+12∫−224−x2 dx.\int_{-2}^{2}x^{3}\cos\frac{x}{2}\sqrt{4-x^{2}}\,dx+\frac{1}{2}\int_{-2}^{2}\sqrt{4-x^{2}}\,dx.

  2. Classify the first piece by parity. x3x^{3} is odd; cos⁡x2\cos\frac{x}{2} is even; 4−x2\sqrt{4-x^{2}} is even. Odd ×\times even ×\times even is odd, so the whole integrand satisfies f(−x)=−f(x)f(-x)=-f(x). On a symmetric interval every odd function integrates to zero, because the signed area on [−2,0][-2,0] exactly cancels the signed area on [0,2][0,2]:

    ∫−22x3cos⁡x24−x2 dx=0.\int_{-2}^{2}x^{3}\cos\frac{x}{2}\sqrt{4-x^{2}}\,dx=0.

    This is the whole point of the problem — the hard-looking term is a decoy.

  3. Recognise the second piece as a semicircle. The curve y=4−x2y=\sqrt{4-x^{2}} is equivalent to x2+y2=4x^{2}+y^{2}=4 with y≥0y\ge 0: the upper half of a circle of radius 22. So the integral is a geometric area, not something to antidifferentiate:

    ∫−224−x2 dx=12πr2=12π(2)2=2π.\int_{-2}^{2}\sqrt{4-x^{2}}\,dx=\frac{1}{2}\pi r^{2}=\frac{1}{2}\pi(2)^{2}=2\pi.

  4. Reassemble. Multiply the semicircle by the constant 12\tfrac12 and add the vanished odd part:

    ∫−22(x3cos⁡x2+12)4−x2 dx=0+12(2π)=π.\int_{-2}^{2}\left(x^{3}\cos\frac{x}{2}+\frac{1}{2}\right)\sqrt{4-x^{2}}\,dx=0+\frac{1}{2}(2\pi)=\pi.

  5. Check numerically. Composite Simpson's rule on [−2,2][-2,2] gives 3.14159263.1415926 for the full integrand and 2×10−162\times10^{-16} for the odd part alone, confirming both the exact value π≈3.14159\pi\approx 3.14159 and the cancellation argument.

Answer

π≈3.14159\pi\approx 3.14159

Need to solve a different problem like this? Open the solver →