Simpson's 1/3 Rule Calculator

Compute numerical integration using quadratic parabolic curves with step-by-step evaluations.

Parameter Setup
Use standard operators (*, /, +, -, ^). Independent variable is $x$.
Note: Simpson's 1/3 Rule requires $n$ to be an EVEN number.
$i$ $x_i$ $y_i$
Ensure $x$ coordinates are equally spaced and sorted, and total rows is an odd number (intervals $n$ is even).

Calculate Step-by-Step

Enter a mathematical function (even subintervals) or coordinate table on the left, then click Calculate to view coordinates, quadratic graphs, and errors.

0.000000
Approximate Value
0.000000
True / Reference Value
0.000000
Absolute Error

Problem Statement

0.0 ms
Simpson's 1/3 Rule Formula

Definite integration is approximated by fitting quadratic parabolas through groups of three adjacent points:

$$I = \frac{h}{3} \left[ y_0 + y_n + 4\sum_{i \text{ odd}} y_i + 2\sum_{i \text{ even}} y_i \right]$$
Step-by-Step Derivation
1
Calculate Interval Step Size ($h$)

The width of each subinterval is determined by splitting the range $[a, b]$ into $n$ equal portions:

2
Partition Coordinates Table

Divide $[a, b]$ using step size $h$ and evaluate the function $y = f(x)$ at each boundary point. Note the weighting coefficients (1 for boundaries, 4 for odd indices, 2 for even indices):

$i$ $x_i = a + ih$ $y_i = f(x_i)$ Type
3
Substitute Into Formula

Group indices to find boundary, odd, and even coordinate sums:

4
Final Approximation

Evaluate the expression to find the final integral value:

Geometric Visualization

The shaded area represents the quadratic parabolic segments integrated under the curve. Move the cursor over points to check numerical coordinates.

Recent Calculations
Click any item to load parameters