Skip to content

Cancel a sum over roots with a logarithm beside it at +oo (#2636) - #2641

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
rootsum-growth-2636
Nov 29, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
rootsum-growth-2636

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Closes #2636

A sum over roots sum(c(r) ln(x - r)) is (sum c(r)) ln(x) plus terms that tend to 0 at +oo. #2630 took it at +oo only where sum c(r) is 0 on its own, so where the sum cancels only together with a logarithm beside it, as in the antiderivative of (x + 2)/(x^4 - 2x^3 - 2x + 3) (-3/4 ln(x - 1) beside a sum with sum c(r) = 3/4), the integral over [3, +oo) was left unevaluated.

By the Euler-Jacobi identity, sum c(r) is exactly the coefficient of r^(n - 1) in c(r) p'(r) over p's leading coefficient. Each sum now stands at the bound as that multiple of ln(x), so the gathering of logarithms cancels it with the others. Where nothing cancels the integral diverges, and it is now +oo. Entry in BREAKING-CHANGES.md.

Full UnitTests suite (net10.0, on a1b69bf + this): 21811 passed, 0 failed, 13 skipped.

🤖 Generated with Claude Code

A sum over roots sum(c(r) ln(x - r)) is (sum c(r)) ln(x) plus terms that
tend to 0 at +oo. #2630 took it at +oo only where sum c(r) is 0 on its
own. The antiderivative of (x + 2)/(x^4 - 2x^3 - 2x + 3) is
-3/4 ln(x - 1) beside a sum with sum c(r) = 3/4. The two cancel only
together, and the integral over [3, +oo) was left unevaluated.

By the Euler-Jacobi identity, sum c(r) is exactly the coefficient of
r^(n - 1) in c(r) p'(r) over p's leading coefficient. Each sum now
stands at the bound as that multiple of ln(x), which differs from it by
terms that tend to 0, so the gathering of logarithms cancels it with the
others. Where nothing cancels the integral diverges, and it is now +oo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 46.66667% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.70%. Comparing base (a1b69bf) to head (22ed11a).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...s/Continuous/Integration/Integration.Definition.cs 46.66% 6 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2641      +/-   ##
==========================================
- Coverage   86.70%   86.70%   -0.01%     
==========================================
  Files         345      345              
  Lines       75541    75577      +36     
  Branches    22075    22088      +13     
==========================================
+ Hits        65501    65527      +26     
- Misses       5416     5427      +11     
+ Partials     4624     4623       -1     
Flag Coverage Δ
cpp 37.77% <ø> (ø)
csharp 87.20% <46.66%> (-0.01%) ⬇️
fsharp 32.79% <ø> (ø)
interactive 40.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...s/Continuous/Integration/Integration.Definition.cs 86.29% <46.66%> (-0.36%) ⬇️

... and 12 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rafael-SOWNet
Rafael-SOWNet merged commit d4dc7ba into master Nov 29, 2026
35 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Nov 29, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the rootsum-growth-2636 branch November 29, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

A root sum beside a separate logarithm is left unevaluated at +oo: integral((x+2)/(x^4-2x^3-2x+3), x, 3, +oo)

1 participant