Repository navigation
A function of a quotient of two linears is integrated over the quotient's denominator - #1771
Merged
Rafael-SOWNet merged 3 commits intoOct 5, 2026
Conversation
…nt's denominator `sin((a + b x)/(c + d x))` and its powers, the cosine's, the hyperbolic sine's and cosine's and the exponential of the same quotient were declined, where `sin(p + k/(c + d x))` is answered in the sine and cosine integrals and `e^(p + k/(c + d x))` in the exponential integral. The quotient is `b/d + (a d - b c)/(d (c + d x))`; each such argument is written so, with the constant and the multiple named while the question is asked again. Rubi's 4.7.7, 6.1.5 and 6.2.5. Part of #718 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…tient-of-linears-is-written-over-the-denominator # Conflicts: # Sources/AngouriMath/Functions/Continuous/Integration/Integration.Definition.cs
…tient-of-linears-is-written-over-the-denominator
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)/(c + d x))was declined, with the rest of Rubi's 4.7.7, 6.1.5 and 6.2.5 sines, cosines, hyperbolic sines and cosines and their powers of a quotient of two linears. 2.5.0 declined them too:85d6601csin((a + b x)/(c + d x))(c + d x) sin((a + b x)/(c + d x))/d, written apart, and the sine and cosine integrals of(a d - b c)/(d (c + d x)), in 0.5 scos((a + b x)/(c + d x))^2sinh((a + b x)/(c + d x))e^((a + b x)/(c + d x))Each answer is differentiated back and compared with the integrand at six points; the times include that. The answers run from 321 to 880 characters.
What changes. A quotient of two linears is a constant plus a multiple of the reciprocal of one:
(a + b x)/(c + d x)isb/d + (a d - b c)/(d (c + d x)), by polynomial division, fordanda d - b cnot zero, the generic case as everywhere in the integrator. Written so,sin(p + k/(c + d x))is answered in the sine and cosine integrals ande^(p + k/(c + d x))in the exponential integral, by the rules that read a reciprocal of a linear. A new rule writes every such argument of the sine, cosine, tangent, cotangent, secant and cosecant, and every such exponent of the exponential, that way and asks the same question. The constant and the multiple are named while the question is asked, since the rules read a symbol where they would meet a quotient of symbols, and substituted back; and a constant in front of the quotient stays in front, so thate^Qande^(-Q), which is how the hyperbolic functions arrive, keep one argument between them and their product is1.Tests:
QuotientOfLinearsAsAnArgumentIntegralTest, ten rows differentiated back witha = 0.3,b = 0.9,c = 1.1,d = 0.7, on both sides of the pole atc + d x = 0; master declines all ten.Measured first on all of Rubi's 4.7.7, 6.1.5 and 6.2.5, 1,406 problems, at the corpus's 5-second budget, against master
287c69a7, the branch's base:Measured then on the Rubi corpus against master
287c69a7:The harness counts no answer wrong in the pocket or the sample on either build. The family figures were measured with three other corpus runs on the machine. Of the 21 problems the two builds disagreed on, pocket and sample together, run again one build at a time, master answers 7 and this 21: thirteen are 4.7.7's, 6.1.5's and 6.2.5's sines, cosines and hyperbolic sines and cosines of a quotient of linears, each in an eighth of a second or less, where master declines them, and eight are rows at the edge of the harness's patience, answered at 13 to 25 seconds by one build or the other in every run. Run twice more on each build, at a load average above twenty, those eight ran past the budget on both, but for one that master answered once, at 21 seconds.
The suite on the commit measured,
6cd75238, passed, 14,832 tests, and the allocation gate passed. The head here,4f5c0ce2, merges master85d6601c, and gives every row of the first table the answer it says.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura