<< 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

differentiate between demand and supply giving examples
Lambiv Reply
differentiated between demand and supply using examples
Lambiv
what is labour ?
Lambiv
how will I do?
Venny Reply
how is the graph works?I don't fully understand
Rezat Reply
information
Eliyee
devaluation
Eliyee
t
WARKISA
hi guys good evening to all
Lambiv
multiple choice question
Aster Reply
appreciation
Eliyee
explain perfect market
Lindiwe Reply
In economics, a perfect market refers to a theoretical construct where all participants have perfect information, goods are homogenous, there are no barriers to entry or exit, and prices are determined solely by supply and demand. It's an idealized model used for analysis,
Ezea
What is ceteris paribus?
Shukri Reply
other things being equal
AI-Robot
When MP₁ becomes negative, TP start to decline. Extuples Suppose that the short-run production function of certain cut-flower firm is given by: Q=4KL-0.6K2 - 0.112 • Where is quantity of cut flower produced, I is labour input and K is fixed capital input (K-5). Determine the average product of lab
Kelo
Extuples Suppose that the short-run production function of certain cut-flower firm is given by: Q=4KL-0.6K2 - 0.112 • Where is quantity of cut flower produced, I is labour input and K is fixed capital input (K-5). Determine the average product of labour (APL) and marginal product of labour (MPL)
Kelo
yes,thank you
Shukri
Can I ask you other question?
Shukri
what is monopoly mean?
Habtamu Reply
What is different between quantity demand and demand?
Shukri Reply
Quantity demanded refers to the specific amount of a good or service that consumers are willing and able to purchase at a give price and within a specific time period. Demand, on the other hand, is a broader concept that encompasses the entire relationship between price and quantity demanded
Ezea
ok
Shukri
how do you save a country economic situation when it's falling apart
Lilia Reply
what is the difference between economic growth and development
Fiker Reply
Economic growth as an increase in the production and consumption of goods and services within an economy.but Economic development as a broader concept that encompasses not only economic growth but also social & human well being.
Shukri
production function means
Jabir
What do you think is more important to focus on when considering inequality ?
Abdisa Reply
any question about economics?
Awais Reply
sir...I just want to ask one question... Define the term contract curve? if you are free please help me to find this answer 🙏
Asui
it is a curve that we get after connecting the pareto optimal combinations of two consumers after their mutually beneficial trade offs
Awais
thank you so much 👍 sir
Asui
In economics, the contract curve refers to the set of points in an Edgeworth box diagram where both parties involved in a trade cannot be made better off without making one of them worse off. It represents the Pareto efficient allocations of goods between two individuals or entities, where neither p
Cornelius
In economics, the contract curve refers to the set of points in an Edgeworth box diagram where both parties involved in a trade cannot be made better off without making one of them worse off. It represents the Pareto efficient allocations of goods between two individuals or entities,
Cornelius
Suppose a consumer consuming two commodities X and Y has The following utility function u=X0.4 Y0.6. If the price of the X and Y are 2 and 3 respectively and income Constraint is birr 50. A,Calculate quantities of x and y which maximize utility. B,Calculate value of Lagrange multiplier. C,Calculate quantities of X and Y consumed with a given price. D,alculate optimum level of output .
Feyisa Reply
Answer
Feyisa
c
Jabir
the market for lemon has 10 potential consumers, each having an individual demand curve p=101-10Qi, where p is price in dollar's per cup and Qi is the number of cups demanded per week by the i th consumer.Find the market demand curve using algebra. Draw an individual demand curve and the market dema
Gsbwnw Reply
suppose the production function is given by ( L, K)=L¼K¾.assuming capital is fixed find APL and MPL. consider the following short run production function:Q=6L²-0.4L³ a) find the value of L that maximizes output b)find the value of L that maximizes marginal product
Abdureman
types of unemployment
Yomi Reply
What is the difference between perfect competition and monopolistic competition?
Mohammed
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