Accuracy of Integration Rules: Error Ratios and Extrapolation | Edexcel A Level Further Maths notes

Free preview: Accuracy of Integration Rules: Error Ratios and Extrapolation

How Fast Do the Errors Shrink?

Year 1 or Year 2: check your own specification for when your board teaches this. It is in AQA's compulsory core (section J), Edexcel's Further Pure 1 option and OCR B (MEI)'s Numerical Methods option.

Let's start with a question every real calculation faces: you have an estimate, but how good is it, when you don't know the exact answer? If you knew the exact answer you wouldn't need the estimate!

  • The trick: compute the estimate with n strips, then 2n, then 4n, and watch how the answers change.
  • Each rule's error behaves like a constant times a power of the strip width h. That power is the order of the rule.

error≈khp:Mn,Tn:p=2Sn:p=4

๐Ÿ’ก In plain words

  • Halve h and the M or T error divides by 22=4; the Simpson error divides by 24=16.
  • Why 2 for M and T? Both replace the curve by a straight line on each strip, so their error comes from the f″ (curvature) term. Simpson's cancels that and the next term, leaving f'''' and h4.

Seeing it in a table: โˆซ from 0 to 1 of e^(xยฒ) dx

stripsTndifferenceratioS2ndifferenceratio
11.8591411.475731
21.571583โˆ’0.2875581.463711โˆ’0.012020
41.490679โˆ’0.0809040.2811.462723โˆ’0.0009870.082
81.469712โˆ’0.0209670.2591.462656โˆ’0.0000670.068
161.464420โˆ’0.0052920.252
  • The difference is each estimate minus the one before. The ratio is each difference divided by the one before.
  • T's ratios head towards 0.25 = 14. Simpson's head towards 0.0625 = 116. The theory checks out.
  • Why do differences work? If In≈I+khp, then successive differences are khp(2−p−1), khp2−p(2−p−1)... each 2−p times the last. The unknown I cancels!

The recipe

  1. Compute the estimate with n, 2n, 4n, 8n strips. Why: you need at least three to get two differences.
  2. Work out the differences. Why: they don't need the exact value.
  3. Work out the ratios of differences. Why: they reveal the order.
  4. Compare with 14 or 116.

๐Ÿ‘€ Watch me do it: find the ratio for the trapezium column

What I writeWhy I do it
1.490679−1.571583=−0.080904Difference T4−T2.
1.469712−1.490679=−0.020967Difference T8−T4.
−0.020967−0.080904=0.259Ratio of differences.
Close to 0.25, and getting closer.So the trapezium rule is behaving as second order.

โœ๏ธ YOUR TURN 1

Try this first:

The errors of a rule are 0.032, 0.008, 0.002 as the number of strips doubles each time. (a) What is the order p? (b) Which rule could it be? (c) Predict the next error.

Answer:

  • (a) Each error is a quarter of the last, and 14=2−2, so p = 2.
  • (b) The mid-ordinate or the trapezium rule (Simpson's would give a sixteenth).
  • (c) 0.0024=0.0005.

โœ๏ธ YOUR TURN 2

Try this first:

For ∫011+xdx, the trapezium rule gives T1=1.207107, T2=1.215926, T4=1.218190, T8=1.218761. Find the differences and their ratios, and comment.

Answer:

  • Differences: 0.008819, 0.002264, 0.000571.
  • Ratios: 0.0022640.008819=0.257 and 0.0005710.002264=0.252.
  • Close to 14: the errors are behaving like h2, as expected for the trapezium rule.

โœ๏ธ YOUR TURN 3

Try this first:

Simpson's rule for the same integral gives S2=1.2188655, S4=1.2189452, S8=1.2189510. Find the ratio of differences and say whether it fits Simpson's rule.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Numerical Integration

  1. The Mid-Ordinate and Trapezium Rules, and Which Way They Err
  2. Simpson's Rule: Fitting Parabolas to Estimate an Integral
  3. Accuracy of Integration Rules: Error Ratios and Extrapolation

What's inside for this topic

3 teacher notes, 57 practice questions, 33 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Simpson's Rule: Fitting Parabolas to Estimate an Integral

All Edexcel A Level Further Maths topics ยท A Level Further Maths