Lesson 6: Simpson's rule

Simpson's rule for ∫131x dx\int_1^3 \frac{1}{x}\,dx

SkillSimpson's rule

Worked example

  • Simple familiar
  • Technology free

Use Simpson's rule with n=4n = 4 to estimate ∫131x dx\int_1^3 \frac{1}{x}\,dx. Compare your estimate with the exact value, ln⁡(3)≈1.0986\ln(3) \approx 1.0986.

1 of 5 steps
  1. Step 1: Find the strip width

    w=3−14=0.5w = \frac{3 - 1}{4} = 0.5, so the ordinates are x=1,1.5,2,2.5,3x = 1, 1.5, 2, 2.5, 3.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. w=b−anw = \frac{b - a}{n} with nn even.

  2. Tabulate xix_i, f(xi)f(x_i) and the multipliers 1,4,2,…,4,11, 4, 2, \ldots, 4, 1.

  3. Multiply the weighted sum by w3\frac{w}{3}.

Watch out for

  • Using w2\frac{w}{2} from the trapezoidal rule.

  • Putting the 4s on x2x_2 instead of x1x_1 and x3x_3.

Save your progress with a free account