Areas of Compound Regions

So far, we have required \(f \left(\right. x \left.\right) \geq g \left(\right. x \left.\right)\) over the entire interval of interest, but what if we want to look at regions bounded by the graphs of functions that cross one another? In that case, we modify the process we just developed by using the absolute value function.

Theorem 6.2

Finding the Area of a Region between Curves That Cross

Let \(f \left(\right. x \left.\right)\) and \(g \left(\right. x \left.\right)\) be continuous functions over an interval \(\left[\right. a , b \left]\right. .\) Let \(R\) denote the region between the graphs of \(f \left(\right. x \left.\right)\) and \(g \left(\right. x \left.\right) ,\) and be bounded on the left and right by the lines \(x = a\) and \(x = b ,\) respectively. Then, the area of \(R\) is given by

\[A = \int_{a}^{b} \left|\right. f \left(\right. x \left.\right) - g \left(\right. x \left.\right) \left|\right. d x .\]

In practice, applying this theorem requires us to break up the interval \(\left[\right. a , b \left]\right.\) and evaluate several integrals, depending on which of the function values is greater over a given part of the interval. We study this process in the following example.

Example 6.3

Finding the Area of a Region Bounded by Functions That Cross

If R is the region between the graphs of the functions \(f \left(\right. x \left.\right) = \text{sin} x\) and \(g \left(\right. x \left.\right) = \text{cos} x\) over the interval \(\left[\right. 0 , \pi \left]\right. ,\) find the area of region \(R .\)

Solution

The region is depicted in the following figure.

This figure is has two graphs. They are the functions f(x) = sinx and g(x)= cosx. They are both periodic functions that resemble waves. There are two shaded areas between the graphs. The first shaded area is labeled “R1” and has g(x) above f(x). This region begins at the y-axis and stops where the curves intersect. The second region is labeled “R2” and begins at the intersection with f(x) above g(x). The shaded region stops at x=pi.
Figure 6.6 The region between two curves can be broken into two sub-regions.

The graphs of the functions intersect at \(x = \pi / 4 .\) For \(x \in \left[\right. 0 , \pi / 4 \left]\right. ,\) \(\text{cos} x \geq \text{sin} x ,\) so

\[\left|\right. f \left(\right. x \left.\right) - g \left(\right. x \left.\right) \left|\right. = \left|\right. \text{sin} x - \text{cos} x \left|\right. = \text{cos} x - \text{sin} x .\]

On the other hand, for \(x \in \left[\right. \pi / 4 , \pi \left]\right. ,\) \(\text{sin} x \geq \text{cos} x ,\) so

\[\left|\right. f \left(\right. x \left.\right) - g \left(\right. x \left.\right) \left|\right. = \left|\right. \text{sin} x - \text{cos} x \left|\right. = \text{sin} x - \text{cos} x .\]

Then

\[\begin{aligned} A & = \int_{a}^{b} \left|\right. f \left(\right. x \left.\right) - g \left(\right. x \left.\right) \left|\right. d x \\ & = \int_{0}^{\pi} \left|\right. \text{sin} x - \text{cos} x \left|\right. d x = \int_{0}^{\pi / 4} \left(\right. \text{cos} x - \text{sin} x \left.\right) d x + \int_{\pi / 4}^{\pi} \left(\right. \text{sin} x - \text{cos} x \left.\right) d x \\ & = \left(\left[\right. \text{sin} x + \text{cos} x \left]\right. \left|\right.\right)_{0}^{\pi / 4} + \left(\left[\right. − \text{cos} x - \text{sin} x \left]\right. \left|\right.\right)_{\pi / 4}^{\pi} \\ & = \left(\right. \sqrt{2} - 1 \left.\right) + \left(\right. 1 + \sqrt{2} \left.\right) = 2 \sqrt{2} . \end{aligned}\]

The area of the region is \(2 \sqrt{2}\) units2.

Checkpoint 6.3

If R is the region between the graphs of the functions \(f \left(\right. x \left.\right) = \text{sin} x\) and \(g \left(\right. x \left.\right) = \text{cos} x\) over the interval \(\left[\right. \pi / 2 , 2 \pi \left]\right. ,\) find the area of region \(R .\)

Example 6.4

Finding the Area of a Complex Region

Consider the region depicted in Figure 6.7. Find the area of \(R .\)

This figure is has two graphs in the first quadrant. They are the functions f(x) = x^2 and g(x)= 2-x. In between these graphs is a shaded region, bounded to the left by f(x) and to the right by g(x). All of which is above the x-axis. The region is labeled R. The shaded area is between x=0 and x=2.
Figure 6.7 Two integrals are required to calculate the area of this region.

Solution

As with Example 6.3, we need to divide the interval into two pieces. The graphs of the functions intersect at \(x = 1\) (set \(f \left(\right. x \left.\right) = g \left(\right. x \left.\right)\) and solve for x), so we evaluate two separate integrals: one over the interval \(\left[\right. 0 , 1 \left]\right.\) and one over the interval \(\left[\right. 1 , 2 \left]\right. .\)

Over the interval \(\left[\right. 0 , 1 \left]\right. ,\) the region is bounded above by \(f \left(\right. x \left.\right) = x^{2}\) and below by the x-axis, so we have

\[A_{1} = \int_{0}^{1} x^{2} d x = \frac{x^{3}}{3} \left|\right._{0}^{1} = \frac{1}{3} .\]

Over the interval \(\left[\right. 1 , 2 \left]\right. ,\) the region is bounded above by \(g \left(\right. x \left.\right) = 2 - x\) and below by the \(x -\text{axis},\) so we have

\[A_{2} = \int_{1}^{2} \left(\right. 2 - x \left.\right) d x = \left[\right. 2 x - \frac{x^{2}}{2} \left]\right. \left|\right._{1}^{2} = \frac{1}{2} .\]

Adding these areas together, we obtain

\[A = A_{1} + A_{2} = \frac{1}{3} + \frac{1}{2} = \frac{5}{6} .\]

The area of the region is \(5 / 6\) units2.

Checkpoint 6.4

Consider the region depicted in the following figure. Find the area of \(R .\)

This figure is has two graphs in the first quadrant. They are the functions f(x) = squareroot of x and g(x)= 3/2 – x/2. In between these graphs is a shaded region, bounded to the left by f(x) and to the right by g(x). All of which is above the x-axis. The shaded area is between x=0 and x=3.

This lesson is part of:

Applications of Integration

View Full Tutorial

Track Your Learning Progress

Sign in to unlock unlimited practice exams, tutorial practice quizzes, personalized weak area practice, AI study assistance with Lexi, and detailed performance analytics.