{
  "id": "improper-integral",
  "title": "Improper Integral",
  "lang": "en",
  "source_lang": "en",
  "summary": "An improper integral extends definite integration to unbounded intervals or singular integrands by taking limits of ordinary integrals.",
  "category": "mathematics",
  "subcategory": "analysis",
  "type": "concept",
  "aliases": [
    "Generalized definite integral"
  ],
  "generated_at": "2026-11-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/improper-integral/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/improper-integral/",
      "json": "https://aiwiki.page/zh/improper-integral.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An improper integral is an integral defined through a limit because its interval of integration is unbounded, its integrand becomes unbounded near a point, or both. Examples include \\(\\int_1^\\infty x^{-2}\\,dx\\) and \\(\\int_0^1 x^{-1/2}\\,dx\\). Neither is an ordinary Riemann integral on a closed, bounded interval, yet both have finite values when interpreted by appropriate limiting procedures.\n\nImproper integrals are fundamental in calculus and mathematical analysis. They describe accumulated quantities extending over infinite time or space, normalize probability distributions, define special functions, and express integral transforms. Their central difficulty is not merely evaluating an antiderivative: it is establishing whether the limiting value exists and whether algebraic operations preserve it. The distinctions between convergence and divergence, absolute and conditional convergence, and ordinary convergence and principal-value prescriptions determine which calculations are valid."
    },
    {
      "heading": "Definition and the treatment of singular endpoints",
      "text": "For a function \\(f\\) that is Riemann integrable on every finite interval \\([a,R]\\), the improper integral over a half-line is defined by\n\n\\[\\int_a^\\infty f(x)\\,dx = \\lim_{R\\to\\infty}\\int_a^R f(x)\\,dx,\\]\n\nprovided the limit exists as a finite real or complex number. Integration toward negative infinity is defined analogously. If the truncated integrals tend to \\(+\\infty\\) or \\(-\\infty\\), the integral is divergent, although an extended value may be recorded when useful.\n\nA singularity at a finite endpoint is treated by approaching it from within the interval. If \\(f\\) is integrable on every \\([a+\\varepsilon,b]\\), then\n\n\\[\\int_a^b f(x)\\,dx = \\lim_{\\varepsilon\\downarrow0} \\int_{a+\\varepsilon}^b f(x)\\,dx.\\]\n\nFor example,\n\n\\[\\int_0^1\\frac{dx}{\\sqrt{x}} = \\lim_{\\varepsilon\\downarrow0}2(1-\\sqrt{\\varepsilon}) =2.\\]\n\nThe function is unbounded near zero, but the area accumulated there remains finite. In contrast, \\(\\int_0^1 dx/x\\) diverges because its truncated value is \\(-\\log\\varepsilon\\).\n\nEach problematic endpoint or interior singularity must be handled independently. If \\(c\\in(a,b)\\) is singular, the standard definition is\n\n\\[\\int_a^b f(x)\\,dx = \\int_a^c f(x)\\,dx+\\int_c^b f(x)\\,dx,\\]\n\nand both terms must converge separately. Similarly, for any finite \\(c\\),\n\n\\[\\int_{-\\infty}^{\\infty}f(x)\\,dx = \\int_{-\\infty}^c f(x)\\,dx+ \\int_c^\\infty f(x)\\,dx.\\]\n\nWhen both terms exist, their sum does not depend on \\(c\\). A cancellation obtained by coordinating two divergent limits does not establish convergence under this definition.\n\nThe underlying finite integrals are usually understood as Riemann integrals, although analogous limiting constructions can begin with other integration theories. A function with a removable defect at one point does not necessarily require improper integration: a bounded function that differs from a continuous function at only finitely many points remains Riemann integrable. Unboundedness near a point, rather than merely an undefined point value, is the typical finite-endpoint obstruction.\n\nThe fundamental theorem of calculus applies first on truncated intervals. If \\(F'=f\\) on \\((a,b]\\), then\n\n\\[\\int_a^b f(x)\\,dx = F(b)-\\lim_{x\\downarrow a}F(x),\\]\n\nprovided the endpoint limit is finite. Writing \\(F(a)\\) without checking this limit can conceal divergence."
    },
    {
      "heading": "Convergence criteria and comparison tests",
      "text": "The basic convergence criterion follows from the completeness of the real numbers or complex numbers. An improper integral \\(\\int_a^\\infty f(x)\\,dx\\) converges if and only if, for every \\(\\varepsilon>0\\), some \\(A\\) satisfies\n\n\\[\\left|\\int_u^v f(x)\\,dx\\right|<\\varepsilon \\qquad\\text{whenever }v>u>A.\\]\n\nThis is the Cauchy criterion: sufficiently distant tails must contribute arbitrarily little, uniformly in both endpoints. It is the integral counterpart of the convergence criterion for an infinite series.\n\nFor nonnegative integrands, convergence is especially transparent. The truncated integral is a monotone function of its upper endpoint, so it has a finite limit exactly when it is bounded above. Consequently, if \\(0\\leq f(x)\\leq g(x)\\) eventually and \\(\\int_a^\\infty g(x)\\,dx\\) converges, then the integral of \\(f\\) converges. If \\(0\\leq g\\leq f\\) and the integral of \\(g\\) diverges, the integral of \\(f\\) diverges. Corresponding statements hold near a singular finite endpoint.\n\nThe standard comparison functions are powers:\n\n\\[\\int_1^\\infty x^{-p}\\,dx \\quad\\text{converges exactly when }p>1,\\]\n\nwhereas\n\n\\[\\int_0^1 x^{-p}\\,dx \\quad\\text{converges exactly when }p<1.\\]\n\nThese opposite inequalities reflect different limiting geometries: decay is required at infinity, while sufficiently mild growth is allowed near a finite endpoint. At the boundary \\(p=1\\), logarithmic factors decide convergence. Substitution \\(u=\\log x\\) gives\n\n\\[\\int_e^\\infty\\frac{dx}{x(\\log x)^q} = \\int_1^\\infty u^{-q}\\,du,\\]\n\nwhich converges exactly when \\(q>1\\).\n\nLimit comparison turns local asymptotics into a convergence test. If \\(f,g\\geq0\\) near the problematic endpoint and\n\n\\[\\frac{f(x)}{g(x)}\\longrightarrow L, \\qquad 0<L<\\infty,\\]\n\nthen their integrals either both converge or both diverge there. For example, because \\(\\sin x/x\\to1\\) as \\(x\\to0\\),\n\n\\[\\frac{1}{\\sqrt{\\sin x}} \\sim\\frac{1}{\\sqrt{x}},\\]\n\nso its integral converges near zero. An asymptotic expansion often identifies the first nonzero term needed for such a comparison.\n\nBounds must be chosen in the correct direction. An upper bound by a divergent function proves nothing about convergence, and a lower bound by a convergent function proves nothing about divergence. Moreover, comparisons based only on \\(|f|\\) can establish absolute convergence but may miss convergence caused by cancellation."
    },
    {
      "heading": "Absolute convergence and oscillatory cancellation",
      "text": "An improper integral is absolutely convergent when\n\n\\[\\int_a^\\infty |f(x)|\\,dx<\\infty.\\]\n\nAbsolute convergence implies convergence, since the triangle inequality bounds every tail of the original integral by the corresponding absolute tail. If the integral of \\(f\\) converges but the integral of \\(|f|\\) diverges, the original integral is conditionally convergent. Its finite value depends on cancellation between positive and negative contributions.\n\nThe central example is\n\n\\[\\int_0^\\infty\\frac{\\sin x}{x}\\,dx=\\frac{\\pi}{2}.\\]\n\nThe apparent singularity at zero is removable because \\(\\sin x/x\\to1\\). At infinity, however, the positive and negative oscillations are essential. The absolute integral diverges: on each interval \\([k\\pi,(k+1)\\pi]\\), the integral of \\(|\\sin x|\\) equals \\(2\\), and \\(1/x\\) is bounded below by \\(1/((k+1)\\pi)\\). Summing these lower bounds produces a divergent harmonic series.\n\nA standard explanation of oscillatory convergence is Dirichlet’s test. Suppose \\(f\\) is locally integrable, its primitive\n\n\\[F(x)=\\int_a^x f(t)\\,dt\\]\n\nis bounded, and \\(g\\) is monotone with \\(g(x)\\to0\\). Then \\(\\int_a^\\infty f(x)g(x)\\,dx\\) converges. When \\(g\\) is continuously differentiable, integration by parts gives\n\n\\[\\int_u^v f(x)g(x)\\,dx = F(v)g(v)-F(u)g(u)-\\int_u^v F(x)g'(x)\\,dx.\\]\n\nBoundedness of \\(F\\), together with the smallness and monotonicity of \\(g\\), makes the right-hand side uniformly small for large \\(u\\). Taking \\(f(x)=\\sin x\\) and \\(g(x)=1/x\\) proves the convergence of the sine integral.\n\nIncreasing oscillation can also produce convergence without pointwise decay. The Fresnel integral\n\n\\[\\int_0^\\infty\\sin(x^2)\\,dx\\]\n\nconverges even though its integrand does not tend to zero. Substitution \\(t=x^2\\) yields\n\n\\[\\frac12\\int_0^\\infty t^{-1/2}\\sin t\\,dt,\\]\n\nwhose tail satisfies Dirichlet’s test. Thus the condition \\(f(x)\\to0\\), necessary for convergence of a series of terms in its corresponding discrete form, is not necessary for convergence of an improper integral.\n\nConditional convergence requires greater care with rearrangements and decompositions. An oscillatory integral may exist while its positive and negative parts each have infinite integral. Separating those parts and subtracting their totals would create the undefined expression \\(+\\infty-\\infty\\). Valid calculations preserve the original limiting structure or supply a separate theorem justifying a change."
    },
    {
      "heading": "Substitution, integration by parts, and endpoint terms",
      "text": "The familiar rules of elementary integration remain available, but they must first be applied on finite intervals where their hypotheses hold. The resulting expressions are then passed to the required endpoint limits. This procedure distinguishes legitimate transformations from formal manipulations that silently discard divergent terms.\n\nFor an increasing, continuously differentiable change of variable \\(x=\\phi(t)\\) mapping \\([\\alpha,\\beta)\\) onto \\([a,\\infty)\\), finite-interval substitution gives\n\n\\[\\int_a^{\\phi(T)}f(x)\\,dx = \\int_\\alpha^T f(\\phi(t))\\phi'(t)\\,dt.\\]\n\nLetting \\(T\\uparrow\\beta\\) proves that the two improper integrals converge together and have the same value. A particularly useful transformation is \\(x=1/t\\):\n\n\\[\\int_1^\\infty f(x)\\,dx = \\int_0^1\\frac{f(1/t)}{t^2}\\,dt.\\]\n\nIt converts a problem at infinity into a finite-endpoint singularity. Applied to \\(f(x)=x^{-p}\\), it produces \\(t^{p-2}\\), recovering the threshold \\(p>1\\).\n\nIntegration by parts requires control of both the boundary term and the transformed integral:\n\n\\[\\int_a^R u(x)v'(x)\\,dx = u(R)v(R)-u(a)v(a)-\\int_a^R u'(x)v(x)\\,dx.\\]\n\nIf the boundary term has a finite limit and one of the integrals converges, the identity establishes convergence of the other. Without those conditions, subtracting two separately divergent quantities is not meaningful. For example, a calculation involving \\(xe^{-x}\\) is justified by the independently established limit \\(xe^{-x}\\to0\\).\n\nA useful application is a quantitative tail estimate. For \\(R>0\\), integration by parts gives\n\n\\[\\int_R^\\infty\\frac{\\sin x}{x}\\,dx = \\frac{\\cos R}{R} - \\int_R^\\infty\\frac{\\cos x}{x^2}\\,dx.\\]\n\nConsequently,\n\n\\[\\left|\\int_R^\\infty\\frac{\\sin x}{x}\\,dx\\right| \\leq\\frac{2}{R}.\\]\n\nThis bound both proves convergence and controls the error from truncating the integration interval.\n\nLinearity also has a convergence qualification. If two improper integrals converge under the same endpoint conventions, their finite linear combinations converge and satisfy the expected algebraic identity. The reverse inference is invalid: convergence of \\(\\int(f+g)\\) does not imply convergence of the two separate integrals. For instance, \\(f(x)=1\\) and \\(g(x)=-1\\) on a half-line have a zero sum but individually divergent integrals. Likewise, identities involving several singular endpoints must preserve the independent treatment of each endpoint rather than combine them into a single coordinated limit."
    },
    {
      "heading": "Parameter-dependent integrals and exchanges of limits",
      "text": "Many important functions are defined by integrals containing a parameter:\n\n\\[F(t)=\\int_a^\\infty f(x,t)\\,dx.\\]\n\nContinuity or differentiability of the integrand in \\(t\\) does not by itself justify moving a limit or derivative through the integral sign. The behavior of the infinite tail must also be controlled. A family can converge well on every finite interval while mass escapes toward infinity as the parameter changes.\n\nA standard sufficient condition comes from the dominated convergence theorem. If \\(f(x,t)\\to f(x,t_0)\\) for almost every \\(x\\), and\n\n\\[|f(x,t)|\\leq g(x)\\]\n\nnear \\(t_0\\), where \\(g\\) is integrable independently of \\(t\\), then the limit may be passed through the integral. For differentiation, a corresponding sufficient condition bounds \\(|\\partial f/\\partial t|\\) by an integrable function locally uniformly in the parameter, together with appropriate differentiability and integrability assumptions. In classical improper-integration language, uniform convergence of the tails often provides the necessary control.\n\nThe failure of unrestricted interchange is illustrated by\n\n\\[f_n(x)=\\frac1n e^{-x/n}, \\qquad x\\geq0.\\]\n\nFor every fixed \\(x\\), \\(f_n(x)\\to0\\), but\n\n\\[\\int_0^\\infty f_n(x)\\,dx=1\\]\n\nfor every \\(n\\). Thus the integral of the pointwise limit is zero while the limit of the integrals is one. The family spreads over an increasingly long interval, and no single integrable function dominates all its members.\n\nDamping parameters provide powerful evaluation techniques when their removal is justified. For \\(a>0\\), define\n\n\\[F(a)=\\int_0^\\infty e^{-ax}\\frac{\\sin x}{x}\\,dx.\\]\n\nDifferentiation under the integral sign is valid locally for positive \\(a\\), yielding\n\n\\[F'(a)=-\\int_0^\\infty e^{-ax}\\sin x\\,dx =-\\frac{1}{1+a^2}.\\]\n\nSince \\(F(a)\\to0\\) as \\(a\\to\\infty\\),\n\n\\[F(a)=\\arctan(1/a).\\]\n\nAn integration-by-parts tail bound, uniform for \\(a\\geq0\\), permits the limit \\(a\\downarrow0\\) to recover the ordinary improper integral \\(\\pi/2\\).\n\nThe final justification matters: a damped limit can exist even when the undamped improper integral does not. Exponential damping belongs to the broader subject of regularization, but agreement with ordinary integration requires additional hypotheses. The existence of a convenient formula for positive damping does not establish convergence at zero damping."
    },
    {
      "heading": "Lebesgue integration and higher-dimensional domains",
      "text": "The Lebesgue integral clarifies both the scope and the limitations of improper integration. Suppose \\(f\\) is locally Riemann integrable on \\([a,\\infty)\\). If \\(f\\geq0\\), its improper integral agrees with its Lebesgue integral, allowing \\(+\\infty\\). If\n\n\\[\\int_a^\\infty |f(x)|\\,dx<\\infty,\\]\n\nthen \\(f\\) is Lebesgue integrable, and the two finite integrals again agree.\n\nConditional convergence marks an important distinction. For a real-valued measurable function, write\n\n\\[f^+(x)=\\max(f(x),0), \\qquad f^-(x)=\\max(-f(x),0).\\]\n\nA finite Lebesgue integral requires both \\(\\int f^+\\) and \\(\\int f^-\\) to be finite, equivalently \\(\\int|f|<\\infty\\). A conditionally convergent improper integral does not meet this requirement. Its value records cancellation in a prescribed limiting order rather than a finite difference of independently integrable positive and negative parts.\n\nIn several dimensions, the choice of expanding domains creates additional issues. An integral over all of Euclidean space may be approached through balls, cubes, rectangles, or other bounded regions. Absolute integrability ensures that suitable increasing exhaustions give the same value. Without absolute integrability, different choices can produce different answers or different convergence behavior.\n\nThe Fubini–Tonelli theorems state precise conditions for exchanging integration order. Tonelli’s theorem applies to nonnegative measurable functions, allowing an infinite result. Fubini’s theorem gives equality of iterated integrals for absolutely integrable functions. The mere existence of two iterated integrals is insufficient.\n\nFor a concrete example, consider\n\n\\[f(x,y)=\\frac{x^2-y^2}{(x^2+y^2)^2}, \\qquad 0<x,y<1.\\]\n\nFor each fixed \\(x>0\\),\n\n\\[\\int_0^1 f(x,y)\\,dy = \\left[\\frac{y}{x^2+y^2}\\right]_0^1 = \\frac{1}{1+x^2},\\]\n\nso integrating next with respect to \\(x\\) gives \\(\\pi/4\\). Reversing the order yields \\(-1/(1+y^2)\\) after the first integration and hence \\(-\\pi/4\\). There is no contradiction: the absolute integral diverges near the origin. In polar coordinates, the integrand is \\(\\cos(2\\theta)/r^2\\), while the area element contributes \\(r\\,dr\\,d\\theta\\); the absolute radial factor is therefore \\(dr/r\\). This example shows why local singularities and order of integration must be checked before iterated calculations are identified with a single multiple integral."
    },
    {
      "heading": "Cauchy principal values and other regularized values",
      "text": "The Cauchy principal value is a different limiting prescription that permits certain linked cancellations. For an interior singularity \\(c\\), its standard symmetric form is\n\n\\[\\operatorname{PV}\\int_a^b f(x)\\,dx = \\lim_{\\varepsilon\\downarrow0} \\left( \\int_a^{c-\\varepsilon}f(x)\\,dx+ \\int_{c+\\varepsilon}^b f(x)\\,dx \\right).\\]\n\nAt infinity, a common definition is\n\n\\[\\operatorname{PV}\\int_{-\\infty}^{\\infty}f(x)\\,dx = \\lim_{R\\to\\infty}\\int_{-R}^R f(x)\\,dx.\\]\n\nUnlike ordinary improper integration, these definitions tie together the cutoff parameters.\n\nThe simplest example is\n\n\\[\\operatorname{PV}\\int_{-1}^1\\frac{dx}{x}=0.\\]\n\nThe ordinary improper integral does not exist: its negative and positive portions diverge separately. Symmetric exclusion cancels the logarithmic divergences exactly. The resulting zero is therefore a principal value, not the value of a convergent improper integral.\n\nThe cutoff convention is mathematically significant. If the left exclusion has width \\(\\varepsilon\\) and the right exclusion has width \\(k\\varepsilon\\), where \\(k>0\\), then\n\n\\[\\int_{-1}^{-\\varepsilon}\\frac{dx}{x} + \\int_{k\\varepsilon}^1\\frac{dx}{x} =-\\log k.\\]\n\nDifferent linked approaches yield different finite values. This dependence explains why symmetry must be stated explicitly rather than treated as an automatic consequence of notation.\n\nPrincipal values have systematic uses in distribution theory and harmonic analysis. For a smooth compactly supported test function \\(\\varphi\\), the distribution \\(\\operatorname{PV}(1/x)\\) acts through\n\n\\[\\lim_{\\varepsilon\\downarrow0} \\int_{|x|>\\varepsilon}\\frac{\\varphi(x)}{x}\\,dx.\\]\n\nNear zero, subtracting \\(\\varphi(0)\\) exposes the bounded quotient\n\n\\[\\frac{\\varphi(x)-\\varphi(0)}{x},\\]\n\nwhile the constant contribution cancels symmetrically. The singular kernel thus acquires a precise meaning despite not being locally absolutely integrable.\n\nOther extensions remove divergent terms rather than merely arrange symmetric cancellation. Hadamard finite-part integration, for example, extracts a finite remainder after explicitly subtracting specified singular contributions. Analytic continuation can also extend functions originally represented by convergent integrals beyond their initial domain. Such extensions are valuable but distinct: an analytically continued formula, a finite part, a damped value, and an ordinary improper integral are not interchangeable interpretations."
    },
    {
      "heading": "Special functions, transforms, and probability",
      "text": "Improper integrals define many central special functions. The gamma function is given, for complex \\(z\\) with \\(\\operatorname{Re}z>0\\), by\n\n\\[\\Gamma(z)=\\int_0^\\infty t^{z-1}e^{-t}\\,dt, \\qquad t^{z-1}=\\exp((z-1)\\log t).\\]\n\nNear zero, the absolute integrand behaves like \\(t^{\\operatorname{Re}z-1}\\), which is integrable exactly under the stated condition. At infinity, exponential decay dominates every fixed power. Integration by parts gives\n\n\\[\\Gamma(z+1)=z\\Gamma(z),\\]\n\nand \\(\\Gamma(1)=1\\), so \\(\\Gamma(n+1)=n!\\) for nonnegative integers \\(n\\). The recurrence later supports extension beyond the domain of the original integral.\n\nThe Gaussian integral supplies another fundamental evaluation:\n\n\\[\\int_{-\\infty}^{\\infty}e^{-x^2}\\,dx=\\sqrt{\\pi}.\\]\n\nSquaring the integral and using nonnegative double integration gives\n\n\\[\\int_{\\mathbb R^2}e^{-(x^2+y^2)}\\,dx\\,dy = \\int_0^{2\\pi}\\int_0^\\infty e^{-r^2}r\\,dr\\,d\\theta =\\pi.\\]\n\nNonnegativity justifies the integration steps. This identity determines the normalization constant of the normal distribution and appears in solutions of the heat equation.\n\nIntegral transforms encode functions through parameterized improper integrals. The Laplace transform\n\n\\[\\mathcal Lf(s)=\\int_0^\\infty e^{-st}f(t)\\,dt\\]\n\nconverges absolutely, for example, when \\(f\\) is locally integrable and \\(|f(t)|\\leq Me^{\\alpha t}\\) eventually, with \\(\\operatorname{Re}s>\\alpha\\). The Fourier transform\n\n\\[\\widehat f(\\xi)=\\int_{-\\infty}^{\\infty}f(x)e^{-i\\xi x}\\,dx\\]\n\nis absolutely defined when \\(f\\in L^1(\\mathbb R)\\). Extensions to other function spaces may instead use norm limits or distributions, rather than pointwise improper integration.\n\nIn probability, a probability density function satisfies \\(p\\geq0\\) and \\(\\int_{\\mathbb R}p(x)\\,dx=1\\). Expectations and moments require additional integrability. For the standard Cauchy distribution,\n\n\\[p(x)=\\frac{1}{\\pi(1+x^2)},\\]\n\nnormalization is valid, but\n\n\\[\\int_{\\mathbb R}|x|p(x)\\,dx=\\infty.\\]\n\nThe expected value is therefore undefined, even though symmetry gives\n\n\\[\\operatorname{PV}\\int_{\\mathbb R}x p(x)\\,dx=0.\\]\n\nThis distinction has direct probabilistic meaning: a symmetric principal value is not a finite expectation.\n\nTail comparisons also identify moment thresholds. If a nonnegative random variable has density asymptotic to \\(Cx^{-\\alpha-1}\\) for some \\(\\alpha>0\\), its positive-order \\(r\\)th moment converges at infinity exactly when \\(r<\\alpha\\). A distribution can consequently have a finite mean but infinite variance, or be normalized while having neither."
    },
    {
      "heading": "Numerical evaluation and error control",
      "text": "Numerical evaluation separates an improper integral into a computable finite portion and a tail:\n\n\\[I=\\int_a^R f(x)\\,dx+\\int_R^\\infty f(x)\\,dx.\\]\n\nA reliable computation controls both the finite-interval quadrature error and the omitted tail. Small differences between successive numerical outputs do not establish convergence: oscillations, narrow peaks, or slowly decaying tails can make successive approximations misleadingly similar.\n\nFor nonnegative or absolutely integrable tails, explicit inequalities often provide rigorous error bounds. If\n\n\\[|f(x)|\\leq Cx^{-p}, \\qquad p>1,\\quad x\\geq R,\\]\n\nthen\n\n\\[\\left|\\int_R^\\infty f(x)\\,dx\\right| \\leq\\frac{C}{p-1}R^{1-p}.\\]\n\nWhen \\(p\\) is close to one, convergence is extremely slow. For \\(f(x)=x^{-1.01}\\), the exact tail equals \\(100R^{-0.01}\\); doubling the cutoff reduces it by only the factor \\(2^{-0.01}\\), approximately \\(0.9931\\). A huge integration interval may therefore give little additional accuracy.\n\nChanges of variable can make singular endpoints more accessible to numerical analysis. For an integrand behaving like \\(x^{-\\alpha}\\) near zero, with \\(0<\\alpha<1\\), setting \\(x=t^q\\) transforms the leading factor:\n\n\\[x^{-\\alpha}\\,dx = q\\,t^{q(1-\\alpha)-1}\\,dt.\\]\n\nChoosing \\(q\\) sufficiently large removes unboundedness, though the smoothness of the full transformed integrand still matters. A semi-infinite interval can be mapped to a finite one by \\(x=t/(1-t)\\), but the resulting factor \\((1-t)^{-2}\\) can introduce a difficult endpoint. A finite interval is not automatically an easier numerical problem.\n\nOscillatory integrals require methods that exploit cancellation rather than sample it accidentally. Splitting at successive zeros of \\(\\sin x\\) turns the tail of \\(\\int\\sin x/x\\,dx\\) into an alternating sum of interval contributions with decreasing magnitudes. Integration-by-parts expansions provide alternative tail corrections. Specialized oscillatory quadrature methods approximate the slowly varying amplitude while treating the oscillatory factor analytically.\n\nFinally, floating-point arithmetic introduces errors distinct from mathematical truncation. Large positive and negative intermediate contributions may nearly cancel, making the final result sensitive to rounding. Numerical stability improves when cancellation is incorporated analytically, singular terms are subtracted explicitly, and convergence estimates are used to choose cutoffs. A numerical routine must also distinguish an ordinary improper integral from a principal-value request: symmetric sampling around a pole can return a stable finite number for an integral that diverges under the ordinary definition."
    }
  ],
  "links": [
    "integral",
    "limit",
    "calculus",
    "mathematical-analysis",
    "riemann-integral",
    "fundamental-theorem-of-calculus",
    "real-number",
    "complex-number",
    "infinite-series",
    "monotonic-function",
    "asymptotic-expansion",
    "triangle-inequality",
    "integration-by-parts",
    "derivative",
    "dominated-convergence-theorem",
    "uniform-convergence",
    "regularization",
    "lebesgue-integral",
    "euclidean-space",
    "polar-coordinates",
    "harmonic-analysis",
    "analytic-continuation",
    "gamma-function",
    "normal-distribution",
    "heat-equation",
    "laplace-transform",
    "fourier-transform",
    "lp-space",
    "probability",
    "probability-density-function",
    "cauchy-distribution",
    "expected-value",
    "variance",
    "numerical-analysis",
    "floating-point-arithmetic",
    "numerical-stability"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}