Numerical Integration using the Trapezoidal Rule (DP IB Applications & Interpretation (AI)): Revision Note

Did this video help you?

Trapezoid Rule: Numerical Integration

What is the trapezoid rule?

  • The trapezoidal rule is a numerical method used to find the approximate area enclosed by a curve, thespace x-axis and two vertical lines

    • it is also known as ‘trapezoid rule’ and ‘trapezium rule

  • The trapezoidal rule finds an approximation of the area by summing up the areas of trapezoids that lie (mostly) beneath the curve

    • For space y equals f open parentheses x close parentheses, with space y subscript 0 equals f left parenthesis a right parenthesis comma space space y subscript 1 equals f left parenthesis a plus h right parenthesis comma space space y subscript 2 equals f left parenthesis a plus 2 h right parenthesis, etc., the approximation is given by

integral subscript a superscript b y space d x almost equal to 1 half h open parentheses open parentheses y subscript 0 plus y subscript n close parentheses plus 2 open parentheses y subscript 1 plus y subscript 2 plus... plus y subscript n minus 1 end subscript close parentheses close parentheses

where h equals fraction numerator b minus a over denominator n end fraction

  • Note that there are n trapezoids (also called strips), but left parenthesis n plus 1 right parenthesis function values open parentheses y subscript i close parentheses

Examiner Tips and Tricks

The trapezoidal rule formula is given in the exam formula booklet.

Illustration of the trapezoidal rule in calculus, showing a graph with a trapezoidal approximation, and explaining steps for using the formula to approximate an area.

What else can I be asked to do with the trapezoid rule?

  • Comparing the true answer with the answer from the trapezoid rule

    • This may involve finding the percentage error in the approximation

    • The true answer may be given in the question, found from a GDC or from work on integration

Examiner Tips and Tricks

Make sure you are clear about the difference between

  • the number of data points (y values)

  • and the number of strips (number of trapezoids)

used in a trapezoid rule question

Examiner Tips and Tricks

Although you can type the trapezoid rule into your GDC in one go, it may be wise to work out parts of it separately and write these down as part of your working out.

Worked Example

a) Using the trapezoidal rule, find an approximate value for

integral subscript 0 superscript 4 fraction numerator 6 x squared over denominator x cubed plus 2 end fraction d x

to 3 decimal places, using n equals 4.

5-2-1-ib-si-ai-only-trap-rule-we-old-crop-a

b) Given that the area bounded by the curve , the x-axis and the lines x equals 0 and x equals 4 is 6.993 to three decimal places, calculate the percentage error in the trapezoidal rule approximation.

5-2-1-ib-si-ai-only-trap-rule-we-old-crop-b

You've read 0 of your 5 free revision notes this week

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Paul

Author: Paul

Expertise: Maths Content Creator

Paul has taught mathematics for 20 years and has been an examiner for Edexcel for over a decade. GCSE, A level, pure, mechanics, statistics, discrete – if it’s in a Maths exam, Paul will know about it. Paul is a passionate fan of clear and colourful notes with fascinating diagrams.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Maths Subject Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.