EXAMPLE 5 Find the area of the largest rectangle that can be inscribed in a semicircle of radius r SOLUTION 1 Let's take the semicircle to be the upper half of the circle x2 + y2 = with center the origin. Then the word inscribed means that the rectangle has two vertices on the semicircle and two vertices on the x-axis as shown in the top figure. r,y) 2x Let (x, y) be the vertex that lies in the first quadrant. Then the rectangle has sides of lengths 2x and y, so its area is A = r a To eliminate y we use the fact that (x, y) lies on the circle x2 + y2 = r2 and so y = Thus A = The domain of this function is 0 sxs r. Its derivative is rsin θ rcos θ which is 0 when 2x2-, that is, x- (since x 0). This value of x gives a maximum value of A since A(0) = 0 and Video Example A(r) = o. Therefore the area of the largest inscribed rectangle is SOLUTION 2 A simpler solution is possible if we think of using an angle as a variable. Let θ be the angle shown in the bottom figure. Then the area of the rectangle is A(9)-(2r cos(8)(rsin(8))-r2(2 sin(8) cos(8)) = r2 sin(28) Ï/2. So A(8) has a maximum value of r2 and it occurs when we know that sin(26) has a maximum value of 1 and it occurs when 2θ θ = Ï/4. Notice that this trigonometric solution doesn't involve differentiation. In fact, we didnt need to use calculus at all