The integral has an integrand that grows without bound at

PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Computational Physics · Scientific programming for physicists

Computational Physics, Ch Differentiating and integrating numbers

Problem

The integral I=∫01x−1/2e−x dxI=\int_0^1 x^{-1/2}e^{-x}\,\mathrm{d}x has an integrand that grows without bound at x=0x=0, yet the area under it is finite. Its exact value is I=π erf(1)=1.4936483I=\sqrt{\pi}\,\mathrm{erf}(1)=1.4936483. ((a)) Say why the trapezium rule and Simpson's rule cannot be run on II as it stands, and why the composite midpoint rule can be. State the order a halving table for the composite midpoint rule would show on this integrand, and why it is not 22. ((b)) Find the substitution that removes the singularity, and show that it turns II into 2∫01e−u2 du2\int_0^1 e^{-u^2}\,\mathrm{d}u, whose integrand is bounded and smooth on the whole interval. ((c)) Apply Simpson's rule to the transformed integral at N=4N=4, 88 and 1616, quote each estimate to seven figures, and form the ratios of consecutive errors against II. State whether the order is the one Simpson's derivation promises.

Browse the problem library