Evaluating a definite integral via rectangle and semicircle areas
Consider the piecewise function
The graph of on consists of a horizontal segment followed by the top half of a circle shifted upward. Use the picture below to help identify the two regions.
Evaluate by recognizing each piece as a standard geometric shape and using area formulas (no antiderivatives).
Hint
Split the integral at using additivity. The first piece is a rectangle of height 2 over . The second piece is a semicircle of radius 2 (centered at ) sitting on top of a rectangle of height 2 over .
Step-by-step solution
By additivity, . The first integral is the area of a rectangle with width and height , giving .
For the second integral, split it into . The first part is the area of the upper half of a circle of radius (since traces a semicircle centered at from to ), which equals . The second part is a rectangle of width and height , giving .
Adding all the pieces: . So .
Related problems
Practice similar Calculus problems interactively.
Start Closing the Gap