Scale-invariance of Simpson's rule approximations to log If I was trapped on a desert island and ne

aligass2004yi

aligass2004yi

Answered question

2022-06-20

Scale-invariance of Simpson's rule approximations to log
If I was trapped on a desert island and needed to compute log ( 2 ), the natural logaritm of 2, one thing I could do is use the equality
log ( 2 ) = 1 2 1 x   d x
and approximate the definite integral with Simpson's rule. Say I want to partition [ 1 , 2 ] into 10 subintervals to do this. But, maybe I don't like working with fracftions very much. Well, then I could use instead
log ( 2 ) = 10 20 1 x   d x
since it is easier to divide [ 10 , 20 ] into 10 subintervals.
Now, it happens that using Simpon's rule approximation with n = 10 gives the same approximation to both of these definite integrals.

Answer & Explanation

Xzavier Shelton

Xzavier Shelton

Beginner2022-06-21Added 26 answers

This happens because x is linear in x. An approximation of the first integral could be ( 1 / 1 + 1 / 1.1 + + 1 / 2 ) × 1 / 11 where the corresponding approximation of the second integral would be ( 1 / 10 + 1 / 11 + + 1 / 20 ) × 10 / 11

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?