The Area of a Region under a Curve and Riemann Sum The Area of a Region under a Curve The Area of a Region Definition of the Area of a Region • Let f be continuous and nonnegative on the interval π, π . The area of the region bounded by the graph of f, the x-axis, and the vertical lines x=a and x=b is π π΄πππ = lim π→∞ π π1 βπ₯, π₯π−1 ≤ ππ ≤ π₯π π=1 π€βπππβπ₯ = (π − π)/π The graph above shows the area under the curve of the continuous function, f(x) . The interval, π, π , represents the vertical bounds of the function. The region has to be bounded by the x-axis all the time. Now, what happens if the curve is found below the x-axis or passes through above and below the x-axis? These two graphs are examples of functions’ curves that are not completely lying above the horizontal axis, so when this happens, focus on finding the region that is bounded by the horizontal axis. We can find the actual value of the area found under the curve by evaluating the integral of the function at the bounds of its interval. The Area of a Region π π΄πππ = π π₯ ππ₯ π π΄πππ = πΉ π − πΉ(π) Keep in mind that πΉ π₯ represents the antiderivative of π π₯ . This means that when we want to find the area below π π₯ ′ π curve and bounded by π₯ = π and π₯ = π as well as the π₯ − ππ₯ππ , simply evaluate the π π₯ ′ π definite integral for the interval π, π How to find the area of a region under a curve? Step 1: Graph f(x)’s curve and sketch the bounded region. This step can be skipped when you’re confident with your skills already Step 2: Set the boundaries for the region at x=a and x=b. Step 3: Set up the definite integral. Separate the definite integrals found above and below the x-axis. Step 4: Evaluate the definite integral. Take the absolute value if the region is found below the x-axis. Case 1: When the area below the function’s curve is located entirely above the horizontal axis • Set up the definite integral expression. • Apply essential properties and antiderivative formula to find the function’s antiderivative. • Evaluate the antiderivative at x = a and x = b then subtract the results. Case 2: When the area below the function’s curve is located entirely below the horizontal axis. • Set up the definite integral expression. • Apply essential properties and antiderivative formula to find the function’s antiderivative. • Evaluate the antiderivative at x = a and x = b then subtract the results. • Take the absolute value of the resulting expression. Case 3: When the area below the function’s curve is located entirely below the horizontal axis. • . • • Identify the intervals where the area is found below and above the x-axis For the definite integrals representing the area below the xaxis, enclose them with an absolute value. Apply the same steps as with Case 1 then add the resulting values to find the total area. Example 1: Find the area bounded by the curve of π π₯ = 4 − π₯ 2 from π₯ = −2 to π₯ = 2 Solution: Since the graph confirms that the entire region we need to account for is located above the x-axis, we simply evaluate the definite integral of f(x) from π₯ = − 2 to π₯ = 2. Example 1 Solution cont. Apply the integral properties we’ve learned in the past to evaluate this expression. Once we have the antiderivative of f(x), evaluate it from π₯ = −2 to π₯ = 2. (4 − π₯ 2 ) ππ₯ = π΄πππ = 4π₯ − 4 ππ₯ − 2 3 π₯ 3 −2 2+1 π₯ π₯ 2 ππ₯ = 4π₯ − +πΆ 2+1 π₯3 = 4π₯ − +πΆ 3 23 −2 = 4(2) − − 4 −2 − 3 3 3 ππ = π Example 2: A great example for the second case is by finding the area bounded by the curve of π π₯ = π₯ 2 − 9 from π₯ = −3 to π₯ = 3 Solution: From this, we can see that the entire region bounded by the curve, π₯ = −3, π₯ = 3, and the horizontal axis is found below the x-axis. This means that after evaluating the definite integral, we take the absolute value of the result to find the area under the curve Example 2 Solution cont. π΄πππ = 3 −3 π₯ 2 − 9 ππ₯ Find the antiderivative of g(x) then evaluate the resulting expression at the bounds: π₯ = −3 πππ π₯ = 3 (π₯ 2 − 9) ππ₯ = π₯ 2 ππ₯ − 9 ππ₯ π₯ 2+1 = − 9π₯ + πΆ 2+1 π₯3 = − 9π₯ + πΆ 3 Example 2 Solution cont. π΄πππ = = π₯3 3 3 − 9π₯ −3 (3)3 − 9(3) − 3 = −36 = 36 −3 3 3 − 9 −3 Example 3: Find the area under the curve of β π₯ = π₯ 3 from π₯ = −2 to π₯ = 2 Solution: From the graph, we can see that the area is below the x-axis from π₯ = −2 to π₯ = 2 and above the -axis from and . Enclose the definite integral from π₯ = −2 to π₯ = 0 with an absolute value. Example 3 Solution cont. π΄πππ = 0 −2 3 π₯ ππ₯ + 2 0 π₯ 3 ππ₯ Using the power rule for integrals, we have π₯ 3 ππ₯ = π΄πππ = = 0 4 π₯ 4 + 2 4 π₯ −2 04 (−2)4 − 4 4 = −4 + 4 = 8 4 0 04 (−2)4 + − 4 4 π₯4 4 +πΆ Practice Questions: 1. What is the area under the curve of π π₯ = 64 − π₯ 2 over the interval 4 ≤ π₯ ≤ 8? 2. Find the area under the curve of π π₯ = π₯ 2 − 16 from π₯ = −3 to π₯ = 3. Answers: 1. (64 − π₯ 2 ) ππ₯ = 3 8 π₯ π΄πππ = 64π₯ − 3 4 64 ππ₯ − 2+1 π₯ π₯ 2 ππ₯ = 64π₯ − +πΆ 2+1 π₯3 = 64π₯ − +πΆ 3 (8)3 4 3 = 64(8) − − 64 4 − 3 3 1024 704 πππ = − = 3 3 π Answers: 2. (π₯ 2 − 16) ππ₯ = π₯ 2 ππ₯ − 16 ππ₯ π₯ 2+1 π₯3 = − 16π₯ + πΆ = − 16π₯ + πΆ 2+1 3 π΄πππ = π₯3 3 3 − 16π₯ = −78 = ππ = −3 (3)3 − 16(3) − 3 −3 3 3 − 16 −3 Riemann Sum What is a Riemann Sum? • The Riemann sum utilizes a finite number of rectangles to approximate the value of a given definite integral. We can define the Riemann sum as the sum of these rectangles’ areas. • Let’s take a look at non-negative function, π(π₯) , that is continuous within the closed interval, π, π . Through the Riemann sum, it’s now possible for us to approximate the area of the region found right below the curve. This area is bounded by the π₯ − ππ₯ππ as well as the vertical lines: π₯ = π and π₯ = π. • π Here’s an example of how a definite integral, π π π₯ ππ₯ , can be approximated by breaking down the area under the curve of as a sum of the rectangles’ areas. Riemann Sum Definition • We can divide the region under the curve and bounded by the interval, π, π . When we use n rectangles to divide the region, each subinterval is expected to have a width of βπ₯ . The areas of the n rectangles can then be added to estimate the area of the entire region. π−1 π΄πππ ππ ππππ‘πππππ = π π₯π βπ₯ π=0 The definition of Riemann Sum is… • an approximation of the definite integral, π π π π₯ ππ₯, by adding the rectangles that divide the region into n subintervals. π−1 π π π₯ ππ₯ ≈ lim π π→∞ π π₯π βπ₯ π=0 ≈ π π₯1 βπ₯ + π π₯2 βπ₯+ π π₯3 βπ₯+. . . +π π₯π βπ₯ How to do Riemann Sum? ο± The right-hand rule and the left-hand rule for the Riemann Sum • In the right Riemann sum, we construct the rectangles so that the curve passes through the top-right right corners. • For the left Riemann sum, we construct the rectangles so that the curve passes through the top-left corners. These two graphs highlight this difference between the right and left Riemann sums. The curve passes through each of the topright corners for the right Riemann sum while it passes through the top-left corners for the left-hand Riemann sum. Right and left Riemann sum’s summation notation: Right Riemann Sum π Left Riemann Sum π−1 βπ₯ β π π₯π π=1 βπ₯ π π₯1 + π π₯2 + π π₯3 +. . . +π π₯π βπ₯ β π π₯π π=0 βπ₯ π π₯0 + π π₯1 + π π₯2 +. . . +π π₯π−1 Example of writing a Riemann sum formula 2 0 ο± Fππ ππ₯πππππ, 4 − π₯ 2 ππ₯ , πππ ππ π€πππ‘π‘ππ ππ ππππ‘ πππ πππβπ‘ π πemann sum notations with four rectangles • We first determine the value of βπ₯ by dividing 2 − 0 by 4 2−0 1 βπ₯ = = 4 2 2 0 ο± 4 − π₯ 2 ππ₯ Right Riemann Sum 4 βπ₯ β π π₯π π=1 1 1 3 = π +π 1 +π + π(2) 2 2 2 Left Riemann Sum 3 βπ₯ β π π₯π π=1 1 1 3 = π 0 +π +π 1 +π 2 2 2 1 15 7 = +3+ +0 2 4 4 1 15 7 = 4+ +3+ 2 4 4 17 = = 4.25 4 25 = = 6.25 4 Example of sketching a Riemann Sum Graph ο± We can use the values of βπ₯ and π π₯π to represent the Riemann sum. • Divide the interval, π, π , into n rectangles with a width of βπ₯ • Determine the height of each of the rectangle by evaluating π π₯π • Double-check if the curve of π(π₯) passes through the right corners of the rectangles. Example of sketching a Riemann Sum Graph ο± Let’s use 2 0 4 − π₯ 2 ππ₯. We want 4 rectangles with a width of ½ unit. Example : Approximate the Riemann sum shown below. Keep in mind that the graph shows a left-hand approximation of the area under the function π π₯ = 9 − π₯ 2 ππ₯, 0 ≤ π₯ ≤ 3 .Solution: The graph above shows us that the area under the region will be divided into four subintervals. This means that each rectangle will have a width shown below. 3−0 3 βπ₯ = = 4 4 Since we’re performing a left Riemann sum approximation, we’re going to evaluate f(x) at the following values: π₯0 = 0 3 π₯1 = 4 3 π₯2 = 2 9 π₯3 = 4 Approximate the function’s π−1 π=0 π π₯π βπ₯ . π€βπππ π = 4. π(0) = 9− 0 2 3 3 π = 9− 4 4 ≈ 2.9047 =3 left Riemann 3 π = 2 sum using 3 9− 2 the formula, 2 ≈ 2.5981 2 9 π = 4 9 9− 4 2 ≈ 1.9843 Approximate the left Riemann sum by adding these values and multiplying the 3 sum by βπ₯ = 4 3 9 − π₯ 2 ππ₯ ≈ βπ₯ π π₯1 + π π₯2 + π π₯3 0 3 3 3 9 = π 0 +π +π +π 4 4 2 4 3 = 3 + 2.9047 + 2.5981 + 1.9843 4 ≈ 7.8653 Using the graph and the left-hand rule for the Riemann sum, we have 3 approximated 0 9 − π₯ 2 ππ₯ as 7.8653 .