Repository navigation
Powers of a + a sec and c - c sec that add to a negative whole number are integrated in the first sum - #1861
Merged
Rafael-SOWNet merged 3 commits intoOct 12, 2026
Conversation
… integrated sec(y) (a + a sec(y))^m (c - c sec(y))^n with m + n = -k: the integrand over u' times a polynomial in u = a + a sec(y) and its conjugate, for any m. Rubi's 4.5.2.3 #189-#191. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…ms-whose-powers-add-to-a-negative-whole
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
deleted the
conjugate-secant-sums-whose-powers-add-to-a-negative-whole
branch
October 12, 2026 19:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #718.
sec(e + f x) (a + a sec(e + f x))^m (c - c sec(e + f x))^(-1 - m)and two more of Rubi's 4.5.2.3 (#189–#191) were declined. Here the two powers add to a negative whole number-k, not to a half-odd number, which is what #1829 handles. Inu = a + a sec, the conjugatea - a secis2a - u, and the integral isexpr / u' · (2a)^(-k) · Σ_{j<k} C(k-1, j) u^(j+1) (a - a sec)^(k-j) / (m + j + 1/2)where
expris the integrand andmis the first power. Fork = 1that is-tan(y) (a + a sec)^m (c - c sec)^(-1-m) / (2m + 1). The cosecant's integral is the same.Limits:
kgoes up to 12.Simplify, becauseInnerSimplifiedleavesm + -1 - mas it is.Measured on 99fbaa7 (master) and on 2.5.0:
sec(e+f*x)*(a+a*sec(e+f*x))^m*(c-c*sec(e+f*x))^(-1-m)sec(e+f*x)*(a+a*sec(e+f*x))^m*(c-c*sec(e+f*x))^(-2-m)sec(e+f*x)*(a+a*sec(e+f*x))^m*(c-c*sec(e+f*x))^(-3-m)sec(x)*(1+sec(x))^m*(1-sec(x))^(-1-m)sec(x)*(2+2*sec(x))^(5/3)*(3-3*sec(x))^(-8/3)sec(x)*(1-sec(x))^m*(1+sec(x))^(-1-m)csc(x)*(2+2*csc(x))^m*(3-3*csc(x))^(-2-m)ConjugateSecantSumsWhosePowersAddToANegativeWholeTestdifferentiates each answer back at three points after substitutingm,a,c,eandf. The corpus marks #189–#191 Unverified, not Solved, because the integrand is complex at its real sample points, as it was for #1829.Corpus chain against master a4993e6:
Before merging 99fbaa7, the suite run inside the chain was killed by the memory guard at 8 GB after 9,117 tests, none failing. After the merge, the whole suite run on its own passed 15,277. The every-target build succeeds with 0 warnings.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura