4
Approximating the Area under a Curve Now that we have established the theoretical development for finding the area under a curve, let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area, we will need to find the width of each rectangle and the height of each rectangle. Then we will use the formula x x f A W H A = × = ) ( to find the area of each rectangle. Finally, we will add up the areas of all the rectangles. One final step will then be introduced and this is where calculus finally enters the picture. Finding the Width of Each Rectangle under a Curve When finding the area under the curve of a function we will first divide the interval into a number of rectangles. Each rectangle will have the same width and will be given by the formula: n a b x - = where the interval is [a, b] and n represents the number of rectangles. EXAMPLE 1: Find the width of 4 rectangles under a curve over the interval [1, 9]. SOLUTION: 2 4 8 4 1 9 = = - = - = n a b x The width of each rectangle is 2. Determining the Height of Each Rectangle The height of each rectangle is the function value where the rectangle intersects the curve. Although the rectangle may theoretically intersect the curve anywhere along its top edge, it is convenient to create the rectangles so that they intersect at the left endpoint (LEP), midpoint (MP), or right endpoint (REP) of each rectangle. These points have formulas that we can use to easily calculate the x-value at which each rectangle will intersect the curve. Once we have determined the x-value where each rectangle intersects the curve, we will use these points to determine the height of each rectangle. We do this by evaluating the function at each of these points. LEP ) 1 ( - = k x a x then the height is )) 1 ( ( ) ( - = = k x a f x f h REP xk a x = then the height is ) ( ) ( xk a f x f h = = MP 2 ) 1 ( - + = k k x a x then the height is ) 2 ) 1 ( ( ) ( - + = = k k x a f x f h

2. Approximating Area Under a Curve · 2/11/2014  · let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area,

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 2. Approximating Area Under a Curve · 2/11/2014  · let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area,

Approximating the Area under a Curve Now that we have established the theoretical development for finding the area under a curve, let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area, we will need to find the width of each rectangle and the height of each rectangle. Then we will use the formula

xxfA

WHA

∆=×=

)(

to find the area of each rectangle. Finally, we will add up the areas of all the rectangles. One final step will then be introduced and this is where calculus finally enters the picture. Finding the Width of Each Rectangle under a Curve When finding the area under the curve of a function we will first divide the interval into a number of rectangles. Each rectangle will have the same width and will be given by the formula:

n

abx

−=∆

where the interval is [a, b] and n represents the number of rectangles. EXAMPLE 1: Find the width of 4 rectangles under a curve over the interval [1, 9]. SOLUTION:

24

8

4

19 ==−=−=∆n

abx

The width of each rectangle is 2. Determining the Height of Each Rectangle The height of each rectangle is the function value where the rectangle intersects the curve. Although the rectangle may theoretically intersect the curve anywhere along its top edge, it is convenient to create the rectangles so that they intersect at the left endpoint (LEP), midpoint (MP), or right endpoint (REP) of each rectangle. These points have formulas that we can use to easily calculate the x-value at which each rectangle will intersect the curve. Once we have determined the x-value where each rectangle intersects the curve, we will use these points to determine the height of each rectangle. We do this by evaluating the function at each of these points. LEP )1( −∆+= kxax then the height is ))1(()( −∆+== kxafxfh REP xkax ∆+= then the height is )()( xkafxfh ∆+==

MP 2

)1( −+∆+= kkxax then the height is )

2

)1(()(

−+∆+== kkxafxfh

Page 2: 2. Approximating Area Under a Curve · 2/11/2014  · let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area,

EXAMPLE 2: Find the leftinterval [0, 1] for the function SOLUTION: First we need to determine the width of each rectangle.

Then, using the LEP, we have Rectangle 1, k=1, 0=x

then the height is 1)0( =fRectangle 2, k=2, 0=x

then the height is )25.0( =f

Rectangle 3, k=3, 0=x

then the height is 1)5.0( =f

Rectangle 4, k=4, 0=x

then the height is )75.0( =f

EXAMPLE 3: Find the right endinterval [0, 1] for the function SOLUTION: First we need to determine the width of each

Then, using the REP, we have Rectangle 1, k=1, 0=x

then the height is )25.0( =f

Rectangle 2, k=2, 0=x

then the height is )5.0( =f

Rectangle 3, k=3, 0=x

then the height is )75.0( =f

Rectangle 4, k=4, 0=x

then the height is 1)1( −=f

Find the left endpoint and height of each of 4 circumscribed for the function 21)( xxf −= .

First we need to determine the width of each rectangle.

25.04

1

4

01 ==−=−=∆n

abx

have (25.0)1(25.00)1( =−+=−∆+= kkkxax

0)11(25.0 =−

1)0( 2 =− 25.0)12(25.0 =−

1615)25.0(1 2 =−=

5.0)13(25.0 =−

43)5.0(1 2 =−

75.0)14(25.0 =−

167)75.0(1 2 =−=

right endpoint and height of each of 4 inscribed for the function 21)( xxf −= .

First we need to determine the width of each rectangle.

25.04

1

4

01 ==−=−=∆n

abx

EP, we have kkxkax 25.025.00 =+=∆+=

25.0)1(25.0 =

1615)25.0(1 2 =−=

5.0)2(25.0 =

43)5.0(1 2 =−

75.0)3(25.0 =

167)75.0(1 2 =−=

25.0)4(25.0 =

0)1( 2 =−

circumscribed rectangles over the

)1−k , which results in:

inscribed rectangles over the

Page 3: 2. Approximating Area Under a Curve · 2/11/2014  · let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area,

EXAMPLE 4: Find the midpoint[0, 1] for the function )(xf = SOLUTION: First we need to determine the width of each rectangle.

Then, using the MP, we have

Rectangle 1, k=1, 2=x

then the height is )125.0(f

Rectangle 2, k=2, 2=x

then the height is )375.0(f

Rectangle 3, k=3, 2=x

then the height is )625.0(f

Rectangle 4, k=4, 2=x

then the height is )875.0(f

Now that we have seen how to find the height of each rectangle using the left endpoint, right endpoint and midpoint, it should be obvious that the REP provides the easiest calculations because the formula ax +=right endpoint formula. EXAMPLE 5: Find the height of each of 4 rectangles under the curve of the function f(x) = 22 +x over the interval [ SOLUTION: Determine the width of each rectangle.

Using the REP formula, we have Rectangle 1, k=1, 1(32+=x

Rectangle 2, k=2, (32+=x

Rectangle 3, k=3, (32+=x

Rectangle 4, k=4, (32+=x The heights of each of the four

midpoint and height of each of 4 inscribed rectangles over the interval 21 x−= .

First we need to determine the width of each rectangle.

25.04

1

4

01 ==−=−=∆n

abx

P, we have 2

2

1225.00

2

)1( =

−+=−+∆+= kkkxax

125.081

8

1)1(2 ==−

6463)125.0(1) 2 =−=

375.083

8

1)2(2 ==−

6455)375.0(1) 2 =−=

625.085

8

1)3(2 ==−

6439)625.0(1) 2 =−=

875.087

8

1)4(2 ==−

6415)875.0(1) 2 =−=

Now that we have seen how to find the height of each rectangle using the left endpoint, right endpoint and midpoint, it should be obvious that the REP provides the easiest calculations

xk∆+ is simpler than the others. The following example uses the

Find the height of each of 4 rectangles under the curve of the function over the interval [2, 14] using the REP to determine the height of each rectangle

Determine the width of each rectangle.

34

12

4

214 ==−=−=∆n

abx

EP formula, we have kxka 32 +=∆+ , which results in:

5)1( = the height is 2)5()5( 2 =+== fh

8)2( = the height is 2)8()8( 2 =+== fh

11)3( = the height is 2)11()11( 2 +== fh

14)4( = the height is )14()14( 2 +== fh

heights of each of the four rectangles are 27, 66, 123, and 171.

rectangles over the interval

8

12 −k

Now that we have seen how to find the height of each rectangle using the left endpoint, right endpoint and midpoint, it should be obvious that the REP provides the easiest calculations

he following example uses the

Find the height of each of 4 rectangles under the curve of the function to determine the height of each rectangle.

27225 =+=

66264 =+=

12321212 =+=

17121692 =+=

Page 4: 2. Approximating Area Under a Curve · 2/11/2014  · let’s start developing a procedure to find an actual value for the area. Since we are using rectangles to approximate the area,

Total Area under the Curve:

Now that we know how to find the width and height of each rectangle we are ready to find the area of each rectangle and the total area of the rectangles under the curve. To do this we use the formula HWA = , where H is the height of each rectangle, and W is the width of each rectangle. This formula can be modified using function notation to xxfA ∆= *)( where x* represents the LEP, REP or MP of each rectangle. The basic procedure for finding the area under a curve is:

1. Calculate the width of each rectanglex∆ . 2. Find the height of each rectangle )(xf . 3. Multiply xxf ∆)( to find the area of each rectangle.

4. Add all the areas together to find the total areaTA . EXAMPLE 6: Find the area under the curve of the function 1)( 2 += xxf over the interval [1, 9] using the REP formula and four rectangles. SOLUTION: Step 1: Determine the width of each rectangle.

24

8

4

19 ==−=−=∆n

abx

Step 2: Using the REP formula, we have kxka 21+=∆+ , which results in: Rectangle 1, k=1, 3)1(21 =+=x the height is 101)3()3( 2 =+== fh

Rectangle 2, k=2, 5)2(21 =+=x the height is 261)5()5( 2 =+== fh

Rectangle 3, k=3, 7)3(21 =+=x the height is 512)7()7( 2 =+== fh

Rectangle 4, k=4, 9)4(21 =+=x the height is 832)9()9( 2 =+== fh Step 3: Multiply xxf ∆)( to find the area of each rectangle.

166)2)(83()2)(9()(

102)2)(51()2)(7()(

52)2)(26()2)(5()(

20)2)(10()2)(3()(

4

3

2

1

===∆====∆====∆====∆=

fxxfA

fxxfA

fxxfA

fxxfA

Step 4: Add all the areas together to find the total area.

34016610252204321 =+++=+++= AAAAAT In each of the above examples, we have used a small number of rectangles. As we increase the number of rectangles, the amount of excess area or shortage of area will decrease. By letting n be a very large number, we will obtain an approximate area that is closer to the actual area under the curve. Before working with large numbers of rectangles we need to acquaint ourselves with the concept of Sigma Notation.