Monday, December 5, 2011

Find the area under this here curve..because we mathematicians can't do it ourselves...

We've been working on finding the area under a curve so far in Cowculus. There are three ways to approximate the area
  1. Left Hand (Upper)
  2. Right Hand (Lower)
  3. Midpoint
The best way to explain this is by an example, using a very basic formula
Let's say the curve is f(x)=x^2 and we need to find the area from a=0 to b=4 using 4 rectangles
First, we find deltax (a-b/number of rectangles) = 4/4= 1
Then, we find the points at which we draw the sides of our rectangles. These would be 0, 1, 2, 3, 4. Notice how a and b are on the ends, and there is one more number than we need. This is where upper and lower come into play. Make an x/y chart, plugging in x values into your original function

x         y   
0        0            The blue numbers are a part of the UPPER, or LEFT hand.
1        1            Italicized numbers are part of the LOWER, or RIGHT hand.
2        4
3        9
4        16

Then, we find the approximate area for each one using the formula
A= (SIGMA) [i=0, 4] deltax f(xi)

Left: 1(0+1+4+9) = 14
Right: 1(1+4+9+16)= 30

To find the midpoint, find the midpoint of each square, so these points would be .5, 1.5, 2.5, 3.5
Notice how there are 4 points, exactly the number of rectangles you need. Make another x/y chart
x           y
.5        .25
1.5      2.25            Use the same formula:
2.5      6.25               Midpoint: 1(.25+2.25+6.25+12.25)= 21
3.5      12.25

And that's all I've got for today! Adios!

No comments:

Post a Comment