A trigonometric function of the reciprocal of a linear beside a power of it is integrated under the reciprocal - #1737
Merged
Conversation
…s integrated under u = 1/L sin(a + b/x)/x^3 is -u sin(a + b u) under u = 1/x, one step by parts, and was declined. A trigonometric function of a + b/L^k beside L^m with m <= -3 is a polynomial in u = 1/L times the function; it is integrated so and written back. Rubi's 4.1.12 and 4.2.12. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
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.
sin(a + b/x)/x^3was declined, while underu = 1/xit is-u sin(a + b u), one step by parts;sin(a + b/x)/x^2, the derivative of its argument beside it, was answered. 2.5.0 declined them too:0a13a636sin(a + b/x)/x^3cosandsinofa + b/xbeside powers of1/x, in 0.4 ssin(a + b/x)^2/x^3cos(a + b/x)^3/x^4sin(a + b/(c + d x))/(c + d x)^31/(c + d x), in 1.8 sWhat changes. A trigonometric function of something of
Lwith1/L^kin it,La linear, besideL^mwithm <= -3, is integrated underu = 1/L:dx = -du/(d u^2), so it is-(1/d) u^(-m - 2)times the function ofa + b u^k, a polynomial times the function, and it is written back withu = 1/L. Every factor with the variable in it has to be read so, or the rule declines. The other powers ofLwere answered as written -- the derivative of the argument atm = -2, the sine and cosine integrals above it -- and are left to the rules that answer them.Tests:
FunctionOfTheReciprocalIntegralTest.UnderTheReciprocal, six rows, each differentiated back with the symbols pinned, on both sides of zero; all six are declined on master.Measured first on the 293 problems with a function of the reciprocal of
xor of a linear in them, 191 run, at the corpus's 5-second budget, against master8f3757cd, the branch's base:Measured then on the Rubi corpus against master
8f3757cd:No answer is wrong in the pocket or the sample on either build. Of the 18 problems the two builds disagreed on, run again one build at a time, master answers none and this 16: thirteen declined on master in a second and answered here in a fifth of one --
sin(a + b/x)/x^3tox^5and their squares,cos(a + b/x)/x^3andx^4,cos(1/x)/x^5, and four ofsin(a + b/(c + d x)^(1/3))/(c e + d e x)^(5/3)and its kind -- and three at about twenty seconds, past the budget on master and inside the patience here. The two left take longer than that on either build.The suite passes on the commit measured,
3d5bf6ee, 14,597 tests with 13 skipped, and the allocation gate with it. On the merge with master0a13a636,f93622d5, 4,066 of the 4,068 calculus and corpus tests pass; the other two time themselves, ran past their bound on a loaded machine, and pass run again. Every row of the first table is as it says on the merge.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura