This is the last lecture for MATH103 for Engineering. It concludes Chapter 4, focusing on applications of integration: calculating the area between curves.
This section is concerned with finding the area of a region bounded by two or more curves. The concept is a generalization of finding the area under a single curve.
If $f$ and $g$ are continuous functions on $[a, b]$ and $f(x) \ge g(x)$ for all $x$ in $[a, b]$, then the area $A$ of the region bounded by the curves $y=f(x)$, $y=g(x)$, and the vertical lines $x=a$ and $x=b$ is given by: $$A = \int_{a}^{b} [f(x)-g(x)] dx$$ Here, $f(x)$ is the "upper" curve and $g(x)$ is the "lower" curve.
Note: If the upper and lower functions change within the interval, you may need to split the integral into multiple parts.
Solution: 1. Sketch the curves: $y=x^{2}$ is a parabola opening upwards, and $y=x+2$ is a straight line. 2. Find the points of intersection: Set $x^{2}=x+2$ $x^{2}-x-2=0$ $(x-2)(x+1)=0$ So, $x=2$ or $x=-1$. These are our limits of integration. $a=-1$, $b=2$. 3. Determine which function is the upper curve and which is the lower curve in the interval $[-1, 2]$. Test a point, e.g., $x=0$: $y(0)=0^{2}=0$ for the parabola, and $y(0)=0+2=2$ for the line. Since $2 > 0$, the line $y=x+2$ is the upper curve and $y=x^{2}$ is the lower curve. 4. Set up and evaluate the integral: $$A = \int_{-1}^{2} [(x+2)-x^{2}] dx$$ $$A = \int_{-1}^{2} (-x^{2}+x+2) dx$$ $$A = \left[-\frac{x^{3}}{3}+\frac{x^{2}}{2}+2x\right]_{-1}^{2}$$ $$A = \left(-\frac{2^{3}}{3}+\frac{2^{2}}{2}+2(2)\right) - \left(-\frac{(-1)^{3}}{3}+\frac{(-1)^{2}}{2}+2(-1)\right)$$ $$A = \left(-\frac{8}{3}+2+4\right) - \left(\frac{1}{3}+\frac{1}{2}-2\right)$$ $$A = \left(-\frac{8}{3}+6\right) - \left(\frac{2+3-12}{6}\right)$$ $$A = \left(\frac{-8+18}{3}\right) - \left(\frac{-7}{6}\right)$$ $$A = \frac{10}{3} + \frac{7}{6} = \frac{20}{6} + \frac{7}{6} = \frac{27}{6} = \frac{9}{2}$$ The area is $4.5$ square units.
Sometimes, it is easier to calculate the area by integrating with respect to $y$ if the functions are expressed as $x=f(y)$ and $x=g(y)$. If $x=f(y)$ is the "right" curve and $x=g(y)$ is the "left" curve on the interval $[c, d]$ (in terms of $y$), then the area is: $$A = \int_{c}^{d} [f(y)-g(y)] dy$$
Solution: 1. Sketch the curves: $y=x+1$ is a line, $y^{2}=2x+6$ is a parabola opening to the right ($x=\frac{1}{2}y^{2}-3$). 2. Find the points of intersection: From $y=x+1$, we have $x=y-1$. Substitute $x$ into the parabola equation: $y^{2}=2(y-1)+6$ $y^{2}=2y-2+6$ $y^{2}-2y-4=0$ Use the quadratic formula for $y$: $y = \frac{-(-2)\pm\sqrt{(-2)^{2}-4(1)(-4)}}{2(1)} = \frac{2\pm\sqrt{4+16}}{2} = \frac{2\pm\sqrt{20}}{2} = \frac{2\pm 2\sqrt{5}}{2} = 1\pm\sqrt{5}$. So, $y_{1}=1-\sqrt{5}$ and $y_{2}=1+\sqrt{5}$. These are our limits of integration for $y$. 3. Determine the right and left curves. Right curve: $x=y-1$ (the line). Left curve: $x=\frac{1}{2}y^{2}-3$ (the parabola). 4. Set up and evaluate the integral: $$A = \int_{1-\sqrt{5}}^{1+\sqrt{5}} \left[(y-1)-\left(\frac{1}{2}y^{2}-3\right)\right] dy$$ $$A = \int_{1-\sqrt{5}}^{1+\sqrt{5}} \left(-\frac{1}{2}y^{2}+y+2\right) dy$$ $$A = \left[-\frac{y^{3}}{6}+\frac{y^{2}}{2}+2y\right]_{1-\sqrt{5}}^{1+\sqrt{5}}$$ This integral evaluation can be lengthy, but the setup is the key. The final numerical value would be $9\sqrt{5}$ (approximately 20.12).
Thank you for a great semester, I wish you all the best. RABENA MA3KOM.