๐Ÿงฎ Brain Teaser

Integral of a Max with a Circle


Problem

Evaluate:

โˆซโˆ’11maxโกโ€‰โฃ(0,โ€…โ€Š1โˆ’x2โˆ’12)dx\int_{-1}^{1} \max\!\left(0,\; \sqrt{1 - x^2} - \frac{1}{2}\right) dx


Answer: view

Integration beeGeometric interpretationCircular segmentArea

Answer: Integral of a Max with a Circle

ฯ€3โˆ’34\boxed{\dfrac{\pi}{3} - \dfrac{\sqrt{3}}{4}}


Intuition First

The function y=1โˆ’x2y = \sqrt{1-x^2} is the upper unit semicircle. The integrand maxโก(0,โ€‰1โˆ’x2โˆ’12)\max(0,\, \sqrt{1-x^2} - \tfrac{1}{2}) is zero wherever the circle dips below the horizontal line y=12y = \tfrac{1}{2}, and equals the height above that line wherever the circle is above it.

So the integral is simply the area of the circular segment of the unit disk that lies above the line y=12y = \tfrac{1}{2}.

(integral)=(sectorย area)โˆ’(triangleย area)\text{(integral)} = \text{(sector area)} - \text{(triangle area)}


Geometric Solution

Step 1 โ€” Find where the circle crosses y=12y = \tfrac{1}{2}.

1โˆ’x2=12โ€…โ€ŠโŸนโ€…โ€Šx=ยฑ32\sqrt{1-x^2} = \frac{1}{2} \implies x = \pm\frac{\sqrt{3}}{2}

In polar terms, these are the points at angles ฮธ=ฯ€6\theta = \tfrac{\pi}{6} and ฮธ=5ฯ€6\theta = \tfrac{5\pi}{6}. The arc above y=12y = \tfrac{1}{2} subtends an angle of 5ฯ€6โˆ’ฯ€6=2ฯ€3\tfrac{5\pi}{6} - \tfrac{\pi}{6} = \tfrac{2\pi}{3}.

Step 2 โ€” Sector area.

Asector=12r2โ‹…ฮธ=12(1)2โ‹…2ฯ€3=ฯ€3A_{\text{sector}} = \frac{1}{2} r^2 \cdot \theta = \frac{1}{2}(1)^2 \cdot \frac{2\pi}{3} = \frac{\pi}{3}

Step 3 โ€” Triangle area.

The sector contains a triangle with vertices at the origin and the two intersection points (ยฑ32,โ€‰12)\bigl(\pm\tfrac{\sqrt{3}}{2},\, \tfrac{1}{2}\bigr).

  • Base: distance between the two points =3= \sqrt{3}
  • Height: distance from origin to the chord y=12y = \tfrac{1}{2} is 12\tfrac{1}{2}

Atriangle=12โ‹…3โ‹…12=34A_{\text{triangle}} = \frac{1}{2} \cdot \sqrt{3} \cdot \frac{1}{2} = \frac{\sqrt{3}}{4}

Step 4 โ€” Circular segment area.

โˆซโˆ’11maxโกโ€‰โฃ(0,1โˆ’x2โˆ’12)dx=Asectorโˆ’Atriangle=ฯ€3โˆ’34\int_{-1}^{1} \max\!\left(0, \sqrt{1-x^2} - \frac{1}{2}\right)dx = A_{\text{sector}} - A_{\text{triangle}} = \frac{\pi}{3} - \frac{\sqrt{3}}{4}


Verification via Calculus

The integrand is nonzero only where 1โˆ’x2โ‰ฅ12\sqrt{1-x^2} \geq \tfrac{1}{2}, i.e. โˆฃxโˆฃโ‰ค32|x| \leq \tfrac{\sqrt{3}}{2}.

โˆซโˆ’3/23/2โ€‰โฃ(1โˆ’x2โˆ’12)dx\int_{-\sqrt{3}/2}^{\sqrt{3}/2} \!\left(\sqrt{1-x^2} - \frac{1}{2}\right)dx

Using โˆซ1โˆ’x2โ€‰dx=x1โˆ’x22+arcsinโกx2+C\displaystyle\int \sqrt{1-x^2}\,dx = \frac{x\sqrt{1-x^2}}{2} + \frac{\arcsin x}{2} + C:

[x1โˆ’x22+arcsinโกx2]โˆ’3/23/2โˆ’12โ‹…3\left[\frac{x\sqrt{1-x^2}}{2} + \frac{\arcsin x}{2}\right]_{-\sqrt{3}/2}^{\sqrt{3}/2} - \frac{1}{2}\cdot\sqrt{3}

=2โ€‰โฃ(32โ‹…122+12โ‹…ฯ€3)โˆ’32=34+ฯ€3โˆ’32=ฯ€3โˆ’34โœ“= 2\!\left(\frac{\frac{\sqrt{3}}{2}\cdot\frac{1}{2}}{2} + \frac{1}{2}\cdot\frac{\pi}{3}\right) - \frac{\sqrt{3}}{2} = \frac{\sqrt{3}}{4} + \frac{\pi}{3} - \frac{\sqrt{3}}{2} = \frac{\pi}{3} - \frac{\sqrt{3}}{4} \checkmark

Type: IntegrationEdit on GitHub โ†—