How this calculation works
Compute finite-part regularization of p(x)/(x-c)^m for m>=2 by explicitly subtracting divergent terms. Existing simple-pole PV page explicitly excludes higher-order finite parts.
Fp integral_a^b p(x)/(x-c)^m dx is the constant term after symmetric cutoff expansion around c; 2<=m<=6.A worked example
For p(x)=1, c=0, m=2 and bounds [-1,1], the truncated integral is 2/epsilon-2. Subtracting its divergent term 2/epsilon leaves the finite part -2.
Good to know
Degree≤16 polynomial; rational a<c<b; pole order2–6. Exact bounded rational shift and finite-part coefficients, numerical logarithm; no arbitrary integrand or pole discovery.
Reference: Monegato, Definitions, properties and applications of finite-part integrals (opens in a new tab) ↗
Declare the singularity rather than discover it
Enter the polynomial numerator, finite interval, interior pole location and pole order explicitly. This identifies the singular model that the regularization acts on. The tool does not scan an arbitrary expression to infer poles or their orders.
The position must lie strictly between the bounds. Endpoint singularities use different cutoff conventions. Multiple poles also need additional declarations, so neither case should be inferred from an input intended to describe one interior higher-order pole.
Compare this with the Cauchy principal value integral calculator for a simple pole. Compute finite-part regularization of p(x)/(x-c)^m for m>=2 by explicitly subtracting divergent terms. Existing simple-pole PV page explicitly excludes higher-order finite parts.
Distinguish three meanings of an integral
An ordinary improper integral requires its one-sided limits to converge. A Cauchy principal value links equal cutoffs on the two sides and can cancel some divergences. A Hadamard finite part additionally removes explicit divergent cutoff terms before taking the limit.
For 1/x² on [-1,1], the ordinary integral and its symmetric principal value diverge. The finite part nevertheless exists under the stated subtraction convention. Reporting that finite part does not claim the original positive integral has become an ordinary convergent integral.
Expand the numerator exactly about the pole
Write u=x-c and expand the polynomial as powers of u. Dividing by u^m produces a finite Laurent sum. Each monomial is integrated directly, so exact rational input can remain exact through the algebraic portion of the calculation.
The u^-1 term contributes a logarithm of the ratio of endpoint distances. Other integer powers contribute rational endpoint expressions. This finite decomposition avoids applying an ordinary quadrature rule across a singularity where its assumptions would fail.
Track each removed divergence
Delete the symmetric interval (c-epsilon,c+epsilon), integrate the remaining pieces and expand the answer as epsilon tends to zero. Identify the negative powers or logarithmic terms that diverge under this linked cutoff.
The finite part is the constant term left by that procedure. Listing the subtraction terms makes the convention visible and lets the visitor verify the cancellation. A raw cutoff value should not be presented as an approximation to the finite part without those corrections.
Check the inverse-square default by hand
The antiderivative of 1/x² is -1/x. Integrating over [-1,-epsilon] and [epsilon,1] gives 2/epsilon-2. The divergent term is exactly 2/epsilon, leaving the constant -2 after subtraction.
A negative result here is mathematically consistent even though the integrand is positive away from zero. A finite-part functional is a regularized quantity, so it does not inherit every positivity property of an ordinary convergent integral.
Reduce removable and lower-order singularities
If the numerator contains powers of x-c, some or all of the declared denominator can cancel. The effective singularity should be stated after this cancellation. A removable pole becomes an ordinary polynomial integral rather than a genuine singular case.
A higher declared order may also reduce to a simple-pole principal value. The finite-part expansion still has a consistent constant term, but its interpretation should reflect the remaining pole. Labels based only on the entered denominator order can misdescribe the actual integrand. Translate the polynomial about the interior pole before integrating each power of x−c. The exponent−1 term contributes a logarithm of the absolute endpoint-distance ratio; the other terms contribute rational endpoint powers after divergent excision terms are removed. The interface now retains exact rational coefficients, bounds and shifts, returning a rational part plus an exact logarithmic coefficient and argument. Only the final logarithm is numerical. This prevents a tiny floating residual from manufacturing a nonexistent pole after exact polynomial cancellation. The ordinary improper integral can still diverge even when its finite part is a small finite number.
Keep exact algebra separate from numerical display
Rational coefficients, endpoints and pole location support exact Laurent coefficients and rational antiderivative contributions. A logarithm usually requires a numerical display unless retained symbolically. State which part is exact and which decimal value is approximate.
Fraction growth can make a formally small polynomial expensive. The coefficient, degree and intermediate-size limits protect the calculation. No arbitrary-expression continuation, automatic singularity detection or physical meaning for every regularized value is implied by this bounded algebraic procedure.
A few questions, answered
Is a negative finite part possible for a positive integrand?
Yes. For example, the finite part of the positive function 1/x² on [-1,1] is -2 after its divergent cutoff term is removed.
How does this differ from Cauchy principal value?
A principal value only links the two cutoffs. A finite part also subtracts the explicitly identified divergences that remain, such as 2/epsilon for an inverse-square pole.
What happens if the numerator cancels the pole?
Cancel the common factor before describing the effective pole. The result may have a lower-order pole or may become an ordinary removable-singularity integral.
Does it make the original improper integral converge?
No. It defines a regularized quantity under a specified convention. The original one-sided improper integrals can still diverge.