Definite Integral & Riemann Sums
Definite Integral & Riemann Sums
Definite Integral & Riemann Sums
1
Area under a curve
2
Area As An Integral
f(x)
• The area under
the curve on the A
interval [a,b] a c
b
A f ( x)dx
a
Distance As An Integral
n
A lim
n
f ( xi )x
i 1
where x
ba
n
5
Notice that through the use of rectangles
of equal width, we were able to estimate
the area under a curve.
6
The graph of a typical continuous function y = ƒ(x) over [a, b]:
Partition [a, b] into n subintervals a < x1 < x2 <…xn < b. Select any
number in each subinterval ck. Form the product f(ck)xk.
Then take the sum of these products.
n
f (ck )xk
k 1 7
The sum of these rectangular areas is called the
Riemann Sum of the partition of x.
LRAM, MRAM, and RRAM are all examples of
Riemann Sums.
As n, ||x|| 0
8
Formal Definition from p. 266 of your textbook
9
Finer partitions of [a, b] create more rectangles with shorter bases.
n
f (ci )xi
i 1
n
lim f ( ci )xi L
0 i 1
10
Why?
a x b
Review
f(x)
a b
Integration b
Symbol
(integral) f x dx
a
integrand
variable of integration
lower limit of integration (differential)
14
Definite Integrals vs. Indefinite Integrals
A definite integral is number.
An indefinite integral is a family of functions.
16
NOW …
Before we go any further,
let’s make one quick – yet important –
clarification regarding INDEFINITE
INTEGRALS (with which we have worked
before in finding antiderivatives) and
DEFINITE INTEGRALS (which we are about
to study now):
17
f ( x)dx An indefinite integral
is a family of functions
f ( x)dx F x C
b
f ( x)dx
a
A definite integral
is a number b
f ( x)dx 7.6
a
18
Today we will focus solely on the
DEFINITE integral.
1
4 dx
y4
20
2
2
4 x dx
-2 2 2 2
y 4 x x y 4
21
3
y x2
0
( x 2) dx
22
THEOREM:
If f(x) is continuous and non-negative on [a, b],
then the definite integral represents the area of
the region under the curve and above the x-axis
between the vertical lines x = a and x = b.
a b
23
The Integral of a Constant
24
When functions are non-negative, the
Riemann sums represent the areas under
the curves, above the x-axis, over some
interval [a, b].
• I used 20 sub-intervals
x = 0.1
Ex: Find the enclosed area with the x-axis and
the function f(x) = x2 – 5x + 6 between the
function’s roots, using 4 subintervals.
Roots: x = 2, 3
Ex: First find the exact area enclosed by above the x-
axis and the function. Then use Riemann sums with 4
and then 8 sub-intervals and left endpoints.
To summarize that thought …
f
b
a
f ( x)dx A
A
a b
b
A1
f
A3
a
f ( x)dx A1 A3 A2
= area above – area below
a b
A2
29