For the composite trapezoidal rule, the mesh width is and the nodes are . The endpoint weights are halves and the interior weights are ones, soThis formula is an approximation to the definite integral, not an exact equality with it for finite .
Let . The expression in part (ii) givesBecause is continuous on , the composite trapezoidal rule converges to its definite integral, which is by part (i). In fact its standard composite trapezoidal error bound is , since . Therefore
Taking the partial derivatives of the parabolic coordinates transformation, holding the other coordinate fixed each time, givesThus its Jacobian matrix is .
The determinant of the Jacobian matrix is . Wherever , the inverse function theorem permits a local inverse of the parabolic coordinates transformation, andReading off its entries givesThese are local formulas on a chosen branch: and have the same image, and at the origin the Jacobian matrix is singular, so this inverse-derivative formula does not apply there.
Apply the multivariable chain rule to a differentiable function on the chosen local branch of the parabolic coordinates:Substituting part (ii) gives
For , the derivatives are and . Its endpoint values are and , so it satisfies both the ordinary differential equation and the boundary conditions. Moreover any solution of has the form ; the boundary conditions force and . Thus the unique solution of the boundary value problem is
The endpoint boundary conditions areThe finite difference equation can be written . Set . Then , so . Summing from to givesUsing and yields , hence . ThereforeThis also covers , where there are no interior equations. Uniqueness follows because the difference of two solutions has zero second finite difference, hence is linear in , and vanishes at both endpoints. This is an exact finite difference solution for constant second derivative: the method is exact at the nodes here because the centered second finite difference differentiates this quadratic polynomial exactly.
Articles by others on the same topic
There are currently no matching articles.