SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
Contents
The Trapezoidal Rule
to estimate areas underneath a
curve
x
y
a b
Approximating the area under a
curveSometimes the area under a curve cannot be found by integration.
This may be because we cannot find the integral of the equation of the curve or
because we need to find the area under a curve produced from experimental data.
In these cases we can use a method to approximate the area under the curve.
One such method is called the Trapezoidal rule.
It works by dividing the area under a curve into trapeziums and calculating their
areas. Remember:
The area of a trapezium = 1
2 ( )a b h
a
b
h a
b
h
or
The Trapezoidal rule
To demonstrate the method consider the area under the curve y = x2 + 1.
x
y
a b
The Trapezoidal rule
The more trapeziums the area is divided into the more accurate the estimate.
Suppose we wish to find the area under a curve y = f(x) between x = a and x = b.
y0 y1 y2 y3 y4
We can divide the area into
four trapeziums of equal width
h.
The parallel sides of the four
trapeziums are given by the
five ordinates y0, y1, y2, y3 and
y4.hhhh
In general, if there are n trapeziums there will be n + 1 ordinates.
The Trapezoidal rule
The approximate area using the Trapezoidal rule is:
1 1 1 1
0 1 1 2 2 3 3 42 2 2 2( ) ( + )+ ( + )+ ( + )+ ( + )
b
a
f x dx h y y h y y h y y h y y
1
0 1 1 2 2 3 3 42= ( + + + + + + + )h y y y y y y y y
1
0 1 2 3 42= ( +2 +2 +2 + )h y y y y y
The ordinates have to be spaced out evenly so that the width of each trapezium is
the same.
 for n trapeziums of equal width h:
=
b a
h
n

In general, the trapezium rule with n trapeziums is:
1
0 1 2 12( ) ( + 2 + 2 +...+ 2 + )
b
n na
f x dx h y y y y y
The Trapezoidal rule
Use the trapezoidal rule with four trapeziums to estimate the value of
State whether this is an overestimate or an underestimate of the actual area.
2
1
1
dx
x
We can use a table to record the value of each ordinate.
The width h of each trapezium =
2 1
= 0.25
4

0.50.5710.6670.81
21.751.51.251x
1
=y
x
y4y3y2y1y0
The Trapezoidal rule
We can now work out the area using
1
0 1 2 12( ) ( + 2 + 2 +...+ 2 + )
b
n na
f x dx h y y y y y
with h = 0.25 and the ordinates given by the table, so:
2
1
1
dx
x
  
1
×0.25× 1+ 2(0.8)+ 2(0.667)+ 2(0.571)+0.5
2
= 0.70 (to 2 d.p.)
We can show whether this is an underestimate or an overestimate by sketching the
area given by the trapezium rule on the graph of
1
=y
x
The Trapezoidal rule
x
y
We can see from this sketch that the approximation given by the trapezium rule is
a slight overestimate of the actual area.
21
Overestimates and underestimates
In general, when the gradient of the graph is increasing over the given interval the
area given by the Trapezoidal rule will be an overestimate of the actual area.
When the gradient of the graph is decreasing over the given interval the area
given by the trapezium rule will be an underestimate of the actual area.
Examination-style question
a) Use the Trapezoidal rule with 4 ordinates to estimate to 2
decimal places the value of
b) State whether the estimate given in part a) is an
overestimate or underestimate of the area under the curve
y = tan x between x = 0 and x = .3

3
0
tan xdx


Using a table to record the value of each ordinate:
The width h of each trapezium = 3
=
3 9


1.7320.8390.3640y = tan x
0x
9
 2
9

3

Examination-style question
We can now work out the area using
1
0 1 2 12( ) ( + 2 + 2 +...+ 2 + )
b
n na
f x dx h y y y y y
 × 0 + 2(0.364)+ 2(0.839)+1.732
18

= 0.72 (to 2 d.p.)
b) Sketching the curve y = tan x
shows that the value given
in a) is a slight overestimate
of the actual area.
with h = and the ordinates given by the table, so:
9

3
0
tan xdx


0 x
y
3


More Related Content

PPTX
Presentation on Numerical Method (Trapezoidal Method)
PPTX
Trapezoidal rule
PPTX
trapezoidal and simpson's 1/3 and 3/8 rule
PPTX
Presentation on Numerical Integration
PPTX
NUMERICAL INTEGRATION AND ITS APPLICATIONS
PPT
21 simpson's rule
PPTX
Newton cotes integration method
PDF
Romberg's Integration
Presentation on Numerical Method (Trapezoidal Method)
Trapezoidal rule
trapezoidal and simpson's 1/3 and 3/8 rule
Presentation on Numerical Integration
NUMERICAL INTEGRATION AND ITS APPLICATIONS
21 simpson's rule
Newton cotes integration method
Romberg's Integration

What's hot (20)

PPTX
Divergence,curl,gradient
PPTX
Bisection method
PPT
Eigen values and eigen vectors engineering
PDF
Simpson's rule of integration
PPTX
Partial differentiation B tech
PPTX
Newton's forward & backward interpolation
PDF
Numerical Differentiation and Integration
PPTX
simpion's 3/8 rule
PPTX
Matrix transformation
PPTX
Gauss jordan and Guass elimination method
PPTX
Applications of Definite Intergral
PPT
Numerical integration
PPTX
Bisection method
PPTX
Maxima & Minima of Calculus
PPTX
PDF
Beta gamma functions
PDF
Practicle application of maxima and minima
PPTX
Newton Raphson Method
PDF
Numerical Methods - Oridnary Differential Equations - 1
PPTX
Newton's Backward Interpolation Formula with Example
Divergence,curl,gradient
Bisection method
Eigen values and eigen vectors engineering
Simpson's rule of integration
Partial differentiation B tech
Newton's forward & backward interpolation
Numerical Differentiation and Integration
simpion's 3/8 rule
Matrix transformation
Gauss jordan and Guass elimination method
Applications of Definite Intergral
Numerical integration
Bisection method
Maxima & Minima of Calculus
Beta gamma functions
Practicle application of maxima and minima
Newton Raphson Method
Numerical Methods - Oridnary Differential Equations - 1
Newton's Backward Interpolation Formula with Example
Ad

Similar to Trapezoidal rule (20)

PPTX
numerical method hgg hghg hg12500223125.pptx
PDF
11 x1 t16 07 approximations (2013)
DOCX
Trapezoidal Method IN Numerical Analysis
PPT
8.7 numerical integration
PPT
8.7 numerical integration
PPT
8.7 numerical integration
PPT
Chapter 3
PPTX
abdul jabbar LANMnnnnnn presentation.pptx
PPTX
Area & Volume
PDF
Lecture 17 M4.pdf
PDF
11 x1 t16 01 area under curve (2013)
PPTX
Mohammad shoaib babar
PDF
simpsons 1 diveded by 3 ruleaaaaaaaaa.pdf
PDF
surveying and levelling 2
PPTX
TRAPEZOIDAL RULE IN NUMERICAL ANYLISIS.pptx
PPT
Section 1-4 -- Trapezoid Rule
PPT
Area & volume 3
PDF
Visualizing the Area of a Trapezoid Formula - Deriving the Algebraic Formula
PDF
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
PPT
Area trapezia
numerical method hgg hghg hg12500223125.pptx
11 x1 t16 07 approximations (2013)
Trapezoidal Method IN Numerical Analysis
8.7 numerical integration
8.7 numerical integration
8.7 numerical integration
Chapter 3
abdul jabbar LANMnnnnnn presentation.pptx
Area & Volume
Lecture 17 M4.pdf
11 x1 t16 01 area under curve (2013)
Mohammad shoaib babar
simpsons 1 diveded by 3 ruleaaaaaaaaa.pdf
surveying and levelling 2
TRAPEZOIDAL RULE IN NUMERICAL ANYLISIS.pptx
Section 1-4 -- Trapezoid Rule
Area & volume 3
Visualizing the Area of a Trapezoid Formula - Deriving the Algebraic Formula
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
Area trapezia
Ad

More from Dr. Jennifer Chang Wathall (20)

PDF
Peer Feedback in an Online Environment
PDF
Critical Review of Research 1
PDF
Reflection module 5 jennifer chang wathall
PDF
Reflection module 4 jennifer chang wathall
PDF
Reflection module 3 jennifer chang wathall
PDF
Reflection module 2 jennifer chang wathall
PDF
Reflection module 1 jennifer chang wathall
PDF
Circle theorems and geogebra
PDF
Tilted squares student sheet
DOCX
The Derivative of e^x and lnx
DOCX
Implicit differentiation
DOCX
Differentiating tan x
DOCX
The Quotient Rule
DOCX
DOCX
Lesson 1 iIntroduction to gradient function
PPT
Lesson 1 integration as the inverse of differentiation
PPT
Riemann sumsdefiniteintegrals
DOCX
Simpson’s rule short answer question
PDF
Trapezoid rule 1 questions
PPTX
Lesson 3 simpsons rule
Peer Feedback in an Online Environment
Critical Review of Research 1
Reflection module 5 jennifer chang wathall
Reflection module 4 jennifer chang wathall
Reflection module 3 jennifer chang wathall
Reflection module 2 jennifer chang wathall
Reflection module 1 jennifer chang wathall
Circle theorems and geogebra
Tilted squares student sheet
The Derivative of e^x and lnx
Implicit differentiation
Differentiating tan x
The Quotient Rule
Lesson 1 iIntroduction to gradient function
Lesson 1 integration as the inverse of differentiation
Riemann sumsdefiniteintegrals
Simpson’s rule short answer question
Trapezoid rule 1 questions
Lesson 3 simpsons rule

Recently uploaded (20)

PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Complications of Minimal Access Surgery at WLH
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
RMMM.pdf make it easy to upload and study
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
master seminar digital applications in india
human mycosis Human fungal infections are called human mycosis..pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Insiders guide to clinical Medicine.pdf
Renaissance Architecture: A Journey from Faith to Humanism
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Anesthesia in Laparoscopic Surgery in India
Complications of Minimal Access Surgery at WLH
TR - Agricultural Crops Production NC III.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Microbial disease of the cardiovascular and lymphatic systems
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Basic Mud Logging Guide for educational purpose
FourierSeries-QuestionsWithAnswers(Part-A).pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
VCE English Exam - Section C Student Revision Booklet
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
RMMM.pdf make it easy to upload and study
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
2.FourierTransform-ShortQuestionswithAnswers.pdf
master seminar digital applications in india

Trapezoidal rule

  • 1. Contents The Trapezoidal Rule to estimate areas underneath a curve x y a b
  • 2. Approximating the area under a curveSometimes the area under a curve cannot be found by integration. This may be because we cannot find the integral of the equation of the curve or because we need to find the area under a curve produced from experimental data. In these cases we can use a method to approximate the area under the curve. One such method is called the Trapezoidal rule. It works by dividing the area under a curve into trapeziums and calculating their areas. Remember: The area of a trapezium = 1 2 ( )a b h a b h a b h or
  • 3. The Trapezoidal rule To demonstrate the method consider the area under the curve y = x2 + 1.
  • 4. x y a b The Trapezoidal rule The more trapeziums the area is divided into the more accurate the estimate. Suppose we wish to find the area under a curve y = f(x) between x = a and x = b. y0 y1 y2 y3 y4 We can divide the area into four trapeziums of equal width h. The parallel sides of the four trapeziums are given by the five ordinates y0, y1, y2, y3 and y4.hhhh In general, if there are n trapeziums there will be n + 1 ordinates.
  • 5. The Trapezoidal rule The approximate area using the Trapezoidal rule is: 1 1 1 1 0 1 1 2 2 3 3 42 2 2 2( ) ( + )+ ( + )+ ( + )+ ( + ) b a f x dx h y y h y y h y y h y y 1 0 1 1 2 2 3 3 42= ( + + + + + + + )h y y y y y y y y 1 0 1 2 3 42= ( +2 +2 +2 + )h y y y y y The ordinates have to be spaced out evenly so that the width of each trapezium is the same.  for n trapeziums of equal width h: = b a h n  In general, the trapezium rule with n trapeziums is: 1 0 1 2 12( ) ( + 2 + 2 +...+ 2 + ) b n na f x dx h y y y y y
  • 6. The Trapezoidal rule Use the trapezoidal rule with four trapeziums to estimate the value of State whether this is an overestimate or an underestimate of the actual area. 2 1 1 dx x We can use a table to record the value of each ordinate. The width h of each trapezium = 2 1 = 0.25 4  0.50.5710.6670.81 21.751.51.251x 1 =y x y4y3y2y1y0
  • 7. The Trapezoidal rule We can now work out the area using 1 0 1 2 12( ) ( + 2 + 2 +...+ 2 + ) b n na f x dx h y y y y y with h = 0.25 and the ordinates given by the table, so: 2 1 1 dx x    1 ×0.25× 1+ 2(0.8)+ 2(0.667)+ 2(0.571)+0.5 2 = 0.70 (to 2 d.p.) We can show whether this is an underestimate or an overestimate by sketching the area given by the trapezium rule on the graph of 1 =y x
  • 8. The Trapezoidal rule x y We can see from this sketch that the approximation given by the trapezium rule is a slight overestimate of the actual area. 21
  • 9. Overestimates and underestimates In general, when the gradient of the graph is increasing over the given interval the area given by the Trapezoidal rule will be an overestimate of the actual area. When the gradient of the graph is decreasing over the given interval the area given by the trapezium rule will be an underestimate of the actual area.
  • 10. Examination-style question a) Use the Trapezoidal rule with 4 ordinates to estimate to 2 decimal places the value of b) State whether the estimate given in part a) is an overestimate or underestimate of the area under the curve y = tan x between x = 0 and x = .3  3 0 tan xdx   Using a table to record the value of each ordinate: The width h of each trapezium = 3 = 3 9   1.7320.8390.3640y = tan x 0x 9  2 9  3 
  • 11. Examination-style question We can now work out the area using 1 0 1 2 12( ) ( + 2 + 2 +...+ 2 + ) b n na f x dx h y y y y y  × 0 + 2(0.364)+ 2(0.839)+1.732 18  = 0.72 (to 2 d.p.) b) Sketching the curve y = tan x shows that the value given in a) is a slight overestimate of the actual area. with h = and the ordinates given by the table, so: 9  3 0 tan xdx   0 x y 3 