Revision:OCR Core 2 - The trapezium rule - The Student Room
The Student Room

Revision:OCR Core 2 - The trapezium rule

TSR Wiki > Study Help > Subjects and Revision > Revision Notes > Mathematics > OCR Core 2 - The trapezium rule


Contents

10. The trapezium rule

The needs for approximation

There are some functions that cannot be integrated exactly (and some which one will not be able to integrate due to the level of knowledge that one has upon the topic of integration).

Therefore it is useful to be able to give an approximation, and say whether it is above or below what one might expect the real value to be. (In later study one might be able to predict the accuracy of these estimates).

The trapezium rule: simple form

Consider that there is a function of x:  f(x) .

If one was to plot the graph  y = f(x) , and then wanted to approximate the area under the curve between two bounds, one could use trapezia.

The idea of one trapezium is simple. Take the two bounds as the two vertical edges of the trapezium, and then take a line between them as the sloping line at the top. The x-axis is the width, and base line.

One can see that this is a rather crude approximation for larger areas, but consider the idea of multiple trapezia, this is much more accurate. The simple form of the trapezium rule refers to the single trapezium, and can be shown:

 \displaystyle \int _{a}^{b} f(x) \ dx \approx \frac{1}{2} (b - a) \left[ f(b) + f(a) \right]

(The area of a trapezium is the sum of the parallel sides multiplied by the width, multiplied by a half).

This gives the most basic approximation, and can be improved (in most cases).

The trapezium rule: general form

One can consider that as one allows the number of trapezia to increase, and therefore their widths to decrease, one will have a better approximation of the value of the integral. One thing that one should note is that good setting-out of work is crucial, as sometimes one might be expected to deal with 8 trapezia, and therefore the working can become incomprehensible if it is not properly organised.

Consider now that between the bounds, a, and b, one has an indefinite number of trapezia, denoted:

 x_{0}, \ x_{1}, \ x_{2}, \ ... \ , \ x_{n}

Where:

 x_{0} = a

 x_{n} = b

Now one can begin the formal representation:

The one trapezium example is:

  \frac{1}{2} (x_{1} - x_{0}) \left[ f(x_{1}) + f(x_{0}) \right]

Hence, one can use sigma notation to show the total area:

 \displaystyle \sum _{n = 1}^{n} \left{ \frac{1}{2} (x_{n} - x_{n - 1}) \left[ f(x_{n}) + f(x_{n - 1}) \right] \right}

Hence:

 \displaystyle \int _{a}^{b} f(x) \ dx \approx \sum _{n = 1}^{n} \left{ \frac{1}{2} (x_{n} - x_{n - 1}) \left[ f(x_{n}) + f(x_{n - 1}) \right] \right}

Example

1. Use the trapezium rule with 4 intervals to calculate an estimate for the definite integral:

 \displaystyle \int _{0}^{4} \left( x^{2} \right) \ dx ,

and give the percentage accuracy.

This is a simple matter of careful calculation.

The coordinates on the x-axis will be:

(0, 0); (1, 0); (2, 0); (3, 0); (4, 0).

Now the coordinates on the curve are:

(0, 0); (1, 1); (2, 4); (3, 9); (4, 16).

Hence the areas:

 T_{1} = \frac{1}{2}(1 - 0)(0 + 1) = \frac{1}{2}

 T_{2} = \frac{1}{2}(2 - 1)(1 + 4) = \frac{5}{2}

 T_{3} = \frac{1}{2}(3 - 2)(4 + 9) = \frac{13}{2}

 T_{4} = \frac{1}{2}(4 - 3)(9 + 16) = \frac{25}{2}

Hence:

 \displaystyle \int _{0}^{4} \left( x^{2} \right) \ dx \approx \frac{1}{2} + \frac{5}{2} + \frac{13}{2} + \frac{25}{2} = 22

Now:

 \displaystyle \int _{0}^{4} \left( x^{2} \right) \ dx = \left[ \frac{1}{3} x^{3} \right] _{0}^{4} = 21 \frac{1}{3} - 0 = 21 \frac{1}{3}

Hence the accuracy is:

 \displaystyle \frac{22 - 21 \frac{1}{3}}{21 \frac{1}{3}} = \frac{ \frac{2}{3}}{21 \frac{1}{3}} = \frac{6}{192} = \frac{1}{32} = 3.125 \% .

Accuracy of the trapezium rule

One cannot (at this stage) give, in all cases, a good approximation of the accuracy, however, one will be expected to be able to tell whether the estimate is an overestimate, or an underestimate.

It is quite simple to detect these things. First one should draw a sketch graph, and then connect lines in the same manner as one would was one drawing out the trapezia. If the tops of the trapezia are above the curve, there is an overestimate, and if the trapezia are below the curve, it is an underestimate.

The determining factor is whether the curve is having a negative second derivative or not. Consider that a negative second derivative will mean that the curve will be having less gradient at any given interval in the positive x-direction, and therefore the trapezia will be underneath the curve. If the curve bends upwards, the trapezia will extrude, and thus give an overestimate.

The easiest way to predict these things is to draw an accurate sketch graph, or study that graph one is provided with.


Also See

Read these other OCR Core 2 notes:

  1. Trigonometry
  2. Sequences
  3. The binomial theorem
  4. The sine and cosine rules
  5. Integration
  6. Geometric sequences
  7. Exponentials and logarithms
  8. Factors and remainders
  9. Radians
  10. The trapezium rule
Discussions Toggle
What to wear? :)
started by: amy19
forum: Fashion and Beauty
replies: 7
last post: 1 Minute Ago
LOTR Middle Earth Society.
started by: SmuUsh
forum: Books, Literature & Poetry
replies: 850
last post: 1 Minute Ago
I have become nocturnal
started by: Jim_Reid
forum: Health
replies: 23
last post: 1 Minute Ago
Top 5 regrets of the dying
started by: Raving_Hippy
forum: Advice on Everyday Issues
replies: 3
last post: 4 Minutes Ago
Who are your idols from history?
started by: Gurmeet.Kapoor
forum: History
replies: 61
last post: 5 Minutes Ago
Are atheists good people?
started by: Lizzeraptor
forum: Religion
replies: 39
last post: 5 Minutes Ago
How to ask someone to live with you
started by: laparisienne
forum: Student Accommodation
replies: 14
last post: 7 Minutes Ago
What is your dream job?
started by: Roberto-MOr
forum: Careers sectors and Employment
replies: 100
last post: 9 Minutes Ago
pharmacy interview at keele
started by: ambrin ox
forum: Pharmacy
replies: 38
last post: 9 Minutes Ago
Squat problems.
started by: The99Call
forum: Fitness
replies: 0
last post: 9 Minutes Ago
Help new phone
started by: miss katie
forum: Mobile Phones
replies: 7
last post: 13 Minutes Ago
Truth or Feelings?
started by: ckingalt
forum: Society
replies: 0
last post: 15 Minutes Ago
Too nervous to try counselling again because I can't open up properly
started by: Anonymous
forum: Mental Health
replies: 9
last post: 15 Minutes Ago
The Arsenal Thread XI
started by: Colonel.
forum: Football
replies: 4185
last post: 16 Minutes Ago
London 2012 Retail Job Interview
started by: RYNLPZ
forum: Part-Time and Temporary Employment
replies: 31
last post: 18 Minutes Ago
Good experiences with Citalopram?
started by: AJ2890
forum: Mental Health
replies: 16
last post: 20 Minutes Ago
The Cricket Society II
started by: Deshi
forum: Sport
replies: 9905
last post: 22 Minutes Ago
The "I have an offer from Edinburgh" thread
started by: oxymoronic
forum: University of Edinburgh
replies: 84
last post: 22 Minutes Ago
TSR Economics society
started by: Nuheen
forum: Economics, Business and Management
replies: 962
last post: 22 Minutes Ago
Cambridge Postgraduate applicants 2012
started by: HippyVann
forum: Postgraduate
replies: 2030
last post: 22 Minutes Ago
Article Updates Toggle
Contact Us | Site Rules | Staying Safe on TSR | Advertising | Staff Blog | Essays & Coursework | Terms & Conditions | Top
Customise your TSR | Life Advice | Hobbies and Interests | Debate and Current Affairs | Study Help | University and University courses
Universities and HE Colleges | Careers, Employment and Gap Years | General Discussion

Customise your TSR