<< Chapter < Page Chapter >> Page >
  • Approximate the value of a definite integral by using the midpoint and trapezoidal rules.
  • Determine the absolute and relative error in using a numerical integration technique.
  • Estimate the absolute and relative error using an error-bound formula.
  • Recognize when the midpoint and trapezoidal rules over- or underestimate the true value of an integral.
  • Use Simpson’s rule to approximate the value of a definite integral to a given accuracy.

The antiderivatives of many functions either cannot be expressed or cannot be expressed easily in closed form (that is, in terms of known functions). Consequently, rather than evaluate definite integrals of these functions directly, we resort to various techniques of numerical integration    to approximate their values. In this section we explore several of these techniques. In addition, we examine the process of estimating the error in using these techniques.

The midpoint rule

Earlier in this text we defined the definite integral of a function over an interval as the limit of Riemann sums . In general, any Riemann sum of a function f ( x ) over an interval [ a , b ] may be viewed as an estimate of a b f ( x ) d x . Recall that a Riemann sum of a function f ( x ) over an interval [ a , b ] is obtained by selecting a partition

P = { x 0 , x 1 , x 2 ,… , x n } , where a = x 0 < x 1 < x 2 < < x n = b

and a set

S = { x 1 * , x 2 * ,… , x n * } , where x i 1 x i * x i for all i .

The Riemann sum corresponding to the partition P and the set S is given by i = 1 n f ( x i * ) Δ x i , where Δ x i = x i x i 1 , the length of the i th subinterval.

The midpoint rule    for estimating a definite integral uses a Riemann sum with subintervals of equal width and the midpoints, m i , of each subinterval in place of x i * . Formally, we state a theorem regarding the convergence of the midpoint rule as follows.

The midpoint rule

Assume that f ( x ) is continuous on [ a , b ] . Let n be a positive integer and Δ x = b a n . If [ a , b ] is divided into n subintervals, each of length Δ x , and m i is the midpoint of the i th subinterval, set

M n = i = 1 n f ( m i ) Δ x .

Then lim n M n = a b f ( x ) d x .

As we can see in [link] , if f ( x ) 0 over [ a , b ] , then i = 1 n f ( m i ) Δ x corresponds to the sum of the areas of rectangles approximating the area between the graph of f ( x ) and the x -axis over [ a , b ] . The graph shows the rectangles corresponding to M 4 for a nonnegative function over a closed interval [ a , b ] .

This figure is a graph of a non-negative function in the first quadrant. The function increases and decreases. The quadrant is divided into a grid. Beginning on the x-axis at the point labeled a = x sub 0, there are rectangles shaded whose heights are approximately the height of the curve. The x-axis is scaled by increments of msub1, x sub 1, m sub 2, x sub 2, m sub 3, x sub 3, m sub 4 and b = x sub 4.
The midpoint rule approximates the area between the graph of f ( x ) and the x -axis by summing the areas of rectangles with midpoints that are points on f ( x ) .

Using the midpoint rule with M 4

Use the midpoint rule to estimate 0 1 x 2 d x using four subintervals. Compare the result with the actual value of this integral.

Each subinterval has length Δ x = 1 0 4 = 1 4 . Therefore, the subintervals consist of

[ 0 , 1 4 ] , [ 1 4 , 1 2 ] , [ 1 2 , 3 4 ] , and [ 3 4 , 1 ] .

The midpoints of these subintervals are { 1 8 , 3 8 , 5 8 , 7 8 } . Thus,

M 4 = 1 4 f ( 1 8 ) + 1 4 f ( 3 8 ) + 1 4 f ( 5 8 ) + 1 4 f ( 7 8 ) = 1 4 · 1 64 + 1 4 · 9 64 + 1 4 · 25 64 + 1 4 · 21 64 = 21 64 .

Since

0 1 x 2 d x = 1 3 and | 1 3 21 64 | = 1 192 0.0052 ,

we see that the midpoint rule produces an estimate that is somewhat close to the actual value of the definite integral.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Using the midpoint rule with M 6

Use M 6 to estimate the length of the curve y = 1 2 x 2 on [ 1 , 4 ] .

The length of y = 1 2 x 2 on [ 1 , 4 ] is

1 4 1 + ( d y d x ) 2 d x .

Since d y d x = x , this integral becomes 1 4 1 + x 2 d x .

If [ 1 , 4 ] is divided into six subintervals, then each subinterval has length Δ x = 4 1 6 = 1 2 and the midpoints of the subintervals are { 5 4 , 7 4 , 9 4 , 11 4 , 13 4 , 15 4 } . If we set f ( x ) = 1 + x 2 ,

M 6 = 1 2 f ( 5 4 ) + 1 2 f ( 7 4 ) + 1 2 f ( 9 4 ) + 1 2 f ( 11 4 ) + 1 2 f ( 13 4 ) + 1 2 f ( 15 4 ) 1 2 ( 1.6008 + 2.0156 + 2.4622 + 2.9262 + 3.4004 + 3.8810 ) = 8.1431.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 5

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 2. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11965/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 2' conversation and receive update notifications?

Ask