Mathwords logoMathwords

Midpoint Rule — Definition, Formula & Example

The Midpoint Rule is a way to estimate a definite integral by splitting the interval into equal pieces and building a rectangle on each piece whose height is the function's value at the center of that piece. You then add up the rectangle areas.

For a function ff on [a,b][a, b] and a positive integer nn, let Δx=b−an\Delta x = \frac{b-a}{n} and xi=a+i Δxx_i = a + i\,\Delta x. The midpoint approximation MnM_n is the Riemann sum whose sample point in each subinterval [xi−1,xi][x_{i-1}, x_i] is its midpoint mi=xi−1+xi2m_i = \frac{x_{i-1}+x_i}{2}. If ff is integrable on [a,b][a, b], then Mn→∫abf(x) dxM_n \to \int_a^b f(x)\,dx as n→∞n \to \infty.

Key Formula

∫abf(x) dx≈Mn=Δx [f(m1)+f(m2)+⋯+f(mn)],mi=xi−1+xi2\int_a^b f(x)\,dx \approx M_n = \Delta x\,\big[f(m_1) + f(m_2) + \cdots + f(m_n)\big], \quad m_i = \frac{x_{i-1}+x_i}{2}
Where:
  • MnM_n = The midpoint approximation using n subintervals
  • Δx\Delta x = Width of each subinterval, equal to (b − a)/n
  • mim_i = Midpoint of the i-th subinterval
  • nn = Number of equal-width subintervals
  • a,ba, b = Lower and upper bounds of integration

Worked Example

Problem: A car's velocity v(t)v(t), in feet per second, is recorded every 10 seconds: at t=0,10,20,30,40,50,60t = 0, 10, 20, 30, 40, 50, 60 the readings are 0,12,20,26,30,32,330, 12, 20, 26, 30, 32, 33. Use a midpoint sum with 3 subintervals of equal width to estimate ∫060v(t) dt\int_0^{60} v(t)\,dt, the distance the car travels in the first minute (it moves forward the whole time).
Step 1: Find the width of each subinterval. Three equal pieces of [0, 60] give [0, 20], [20, 40], and [40, 60].
Δt=60−03=20 seconds\Delta t = \frac{60 - 0}{3} = 20 \text{ seconds}
Step 2: Locate each midpoint and read the velocity from the table. The table has data at exactly these midpoints, which is why 3 subintervals is the right choice here.
m1=10,  m2=30,  m3=50⇒v(10)=12,  v(30)=26,  v(50)=32m_1 = 10,\; m_2 = 30,\; m_3 = 50 \quad\Rightarrow\quad v(10) = 12,\; v(30) = 26,\; v(50) = 32
Step 3: Multiply the sum of the midpoint velocities by the width.
M3=20 (12+26+32)=20(70)=1400M_3 = 20\,(12 + 26 + 32) = 20(70) = 1400
Answer: The car travels approximately 1,400 feet in the first 60 seconds.

Why It Matters

AP Calculus AB and BC free-response questions often give a table of rates, such as velocity, water flow, or temperature change, and ask for a midpoint sum. You must pick subintervals whose midpoints appear in the table. In numerical analysis, the Midpoint Rule is valued because its error bound, ∣EM∣≤K(b−a)324n2|E_M| \le \frac{K(b-a)^3}{24n^2} where ∣f′′(x)∣≤K|f''(x)| \le K on [a,b][a, b], is half the trapezoidal rule's bound.

Common Mistakes

Mistake: Averaging the endpoint values, such as using (v(0) + v(20))/2 = 10 for the first subinterval instead of the table value v(10) = 12.
Correction: The Midpoint Rule evaluates the function at the midpoint of the subinterval. Averaging the endpoint values gives the trapezoidal rule, which is a different method and usually gives a different estimate.

Related Terms