Under the hypotheses of Taylor's theorem with Lagrange remainder, for example on an interval containing and , there is a point between them such that
The Lagrange remainder makes this an exact equality, rather than just a truncated Taylor polynomial. For the equality is immediate.
Set and . Summing the areas of the endpoint trapezia gives the composite trapezoidal rule
Every interior value is shared by two adjacent strips; the two endpoint values occur only once with half weight. Evenness of is not needed for this rule.
For the same uniform grid and even , the composite Simpson's rule integrates a quadratic interpolant over each successive pair of strips:
The weights are , which explains the even number of strips.
Two strips give , with cosine values . The trapezoidal rule therefore gives
The exact integral is , so the estimate is low, consistent with the concavity of cosine on this interval. The table can be used as before rounding.
With the same three cosine values, Simpson's rule gives
Using the table's row gives , with the same final rounding. That table row refers to the prefactor ; it does not change the specified number of strips.
Write the derivative equation as with initial approximation . The forward Euler method uses the slope at the start of the step:
If the derivative is a known function of alone, this is .
For , the Backward Euler method uses the slope at the end of the step:
This generally requires solving an implicit equation for . For a derivative depending only on , it reduces to .
For , the standard explicit midpoint method is
The implicit midpoint rule instead uses . When the derivative depends only on , both give .
The endpoint-only request in (e) suggests another possible convention: averaging the endpoint slopes, . This is the trapezoidal rule, and generally differs from the implicit midpoint rule. A further use of “midpoint” is the two-step explicit midpoint linear multistep method, , which needs a second starting value. The printed question supplies no convention to distinguish these meanings; (e) spells out the resulting alternatives.
Put , , and . Under the endpoint-slope convention suggested by the requested connection, the recurrence is . Summing telescopes, so
Since by the fundamental theorem of calculus, this recurrence gives exactly the composite trapezoidal rule. It replaces the average derivative over each strip by the arithmetic mean of its endpoint derivatives.
For the standard midpoint method, the literal endpoint-only request is not valid for general . Both the explicit and implicit one-step midpoint formulas here give instead
the composite midpoint quadrature rule. It requires half-grid samples. These samples cannot be recovered exactly from for arbitrary smooth : the zero function and have identical grid values but different midpoint sums. For a smooth , replacing each half-grid sample by is an additional approximation, giving with an total difference, rather than an identity. A precise useful relation, obtained by splitting the finer trapezoidal sum into old nodes and midpoints, is
Here uses the finer half-grid, so it does not eliminate the missing data.
If “Mid-Point Method” means the two-step explicit midpoint linear multistep method, the recurrence is . It gives and , so an odd final index additionally needs a starting value . For even , the result is the midpoint quadrature on double-width strips; equivalently . The question specifies neither even nor a starter. Thus the trapezoidal expression above is the natural endpoint-average interpretation, while the other common midpoint meanings require the qualifications just given. The ambiguity is present in the original PDF.

Articles by others on the same topic (0)

There are currently no matching articles.