【梯形法則(DSE M1):公式及高估或低估】The Trapezoidal Rule (DSE M1): Formula and Over- or Under-estimate
SketchMath 數學團隊 SketchMath Maths Team | 更新 Updated 2026-10-20
梯形法則把區間分成 n 個闊度為 h = (b − a)/n 的子區間,估算 ∫ab f(x) dx ≈ (h/2)[y₀ + 2(y₁ + … + yn−1) + yn]。若曲線向上凹(f″ > 0),估值偏高;若向下凹,則偏低。The trapezoidal rule with n strips of width h = (b − a)/n estimates ∫ab f(x) dx ≈ (h/2)[y₀ + 2(y₁ + … + yn−1) + yn]. If the curve is concave upwards (f″ > 0) it is an over-estimate; if concave downwards, an under-estimate.
y = e^(x²) 在 0 至 1 上的梯形法則,子區間數目由 1 增至 8。分 4 個子區間時估值為例題 1 的 1.4907。 The trapezoidal rule on y = e^(x²) from 0 to 1 as the number of strips rises from 1 to 8. With 4 strips the estimate is 1.4907, as in Example 1. 自己試試 → Try it yourself →
例題 1 Example 1:用 4 個子區間估算積分 Estimating an integral with 4 strips
用梯形法則把區間分成 4 個子區間,估算 ∫01 ex² dx,並判斷該估值是高估還是低估。Use the trapezoidal rule with 4 subintervals to estimate ∫01 ex² dx, and determine whether the estimate is an over-estimate or an under-estimate.
d²y/dx² = (2 + 4x²)ex² > 0,所以曲線向上凹d²y/dx² = (2 + 4x²)ex² > 0, so the curve is concave upwards
答案: Answer: ≈ 1.4907,屬高估≈ 1.4907, an over-estimate
例題 2 Example 2:為甚麼子區間愈多估值愈準 Why more strips give a better estimate
說明當子區間數目加倍時,∫01 ex² dx 的梯形法則估值有何變化。Explain what happens to the trapezoidal estimate of ∫01 ex² dx when the number of strips is doubled.
每個梯形的頂邊是連接曲線上兩點的直線。Each trapezium has a straight top joining two points on the curve.
子區間愈窄,這些直線愈貼近曲線。With narrower strips the straight tops lie closer to the curve.
估值由 1.4907(4 個子區間)降至約 1.4697(8 個子區間),趨向約為 1.4627 的真實值。The estimate falls from 1.4907 (4 strips) to about 1.4697 (8 strips), towards the true value of about 1.4627.
答案: Answer: 估值愈接近真實值,但仍然偏高。The estimate gets closer to the true value, while remaining an over-estimate.
⚠️ n 個子區間需要 n + 1 個函數值 n strips need n + 1 values4 個子區間要用 5 個縱坐標,由 y₀ 至 y₄。只有首尾兩個計一次,其餘全部乘以 2。Four subintervals use five ordinates, y₀ to y₄. Only the first and last are counted once; all the others are doubled.
⚠️ 要用二階導數說明理由 Justify with the second derivative只說「看起來向上凹」並不足夠。須求出 d²y/dx²,寫明它在區間內的正負號,然後才下結論是高估還是低估。Saying "it looks concave upwards" is not enough. Find d²y/dx², state its sign on the interval, then conclude over- or under-estimate.
溫習方法:點擊以下任何題目,即時在坐標網格載入並核對計算步驟。How to study: click any question to load it on the coordinate grid and check your steps.
(梯形法則 Trapezoidal rule)用梯形法則分 5 個子區間,估算 ∫ 1/(1 + x²) dx(由 0 至 1)。Use the trapezoidal rule with 5 subintervals to estimate the integral of 1/(1 + x²) from 0 to 1.
(向下凹 Concave downwards)分 4 個子區間估算 ∫ ln x dx(由 1 至 3),並指出是高估還是低估。Estimate the integral of ln x from 1 to 3 with 4 strips and state whether it is an over- or under-estimate.
(n 的影響 Effect of n)顯示 y = e^(x²) 在 0 至 1 上分 2、4、8 個子區間的梯形法則。Show the trapezoidal rule for y = e^(x²) on 0 to 1 with 2, 4 and 8 strips.
把區間分成 n 個闊度為 h 的等闊子區間。估值等於 h/2 乘以(首縱坐標 + 尾縱坐標 + 其餘縱坐標之和的兩倍)。
Divide the interval into n equal strips of width h. The estimate is h/2 times (first ordinate + last ordinate + twice the sum of all the others).
檢查區間內二階導數的正負號。若為正,曲線向上凹,弦在曲線之上,法則高估;若為負,則低估。
Check the second derivative on the interval. If it is positive the curve is concave upwards, the chords lie above the curve, and the rule over-estimates. If negative, it under-estimates.
不需要。課程說明訂明毋須估計梯形法則的誤差,而且只會使用等闊的子區間。
No. The curriculum notes say error estimation for the trapezoidal rule is not required, and only equal-width subintervals are used.