Finding area between a curve and a line using double integrals?

Solution 1:

You can start from $dA=dxdy$. To compute the area, you need to find $$A=\int_Ddx\,dy,$$ where $D$ is the region you are interested in. Now let's try to describe this region $D$. You can cut this region into vertical slices. When $x$ is fixed, $y$ will grow from $2-x$ to $\sqrt{4-x^2}$. So the "height" of the region at this point $x$ is $\int_{2-x}^{\sqrt{4-x^2}}\,dx$. Then you can integrate over $x$. So you will have \begin{align*} A&=\int_D\,dx\,dy\\ &=\int_0^2\left(\int_{2-x}^{\sqrt{4-x^2}}\,dy\right)\,dx\\ &=\int_0^2\left[\sqrt{4-x^2}-(2-x)\right]\,dx. \end{align*} This can be solved by 1d-calculus.