Skip to content

Integrate an exponential of the reciprocal of a linear beside another linear - #1950

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
exponential-of-a-reciprocal-linear
Oct 19, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
exponential-of-a-reciprocal-linear

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #233.

f^(c/(a + b x)) x^2, F^(a + b/(c + d x))/(e + f x)^m, e^(e/(c + d x)^2) (a + b x)^m and F^(e + f (a + b x)/(c + d x))/(g + h x)^m were declined. Under u = 1/(c + d x), a whole power of another linear p + q x is ((d p - q c) u + q)/d times c + d x, so the question in u is an exponential beside a rational function. The exponential integral and the moments answer that. ReadAnExponentialInTheReciprocalOfALinear took only powers of c + d x itself. It now also reads a quotient N/L in the exponent with N linear.

Measured against master 8a1ef454:

master this branch
Rubi family 2, all 650 rows 604 629
moves, each re-run alone 25 unevaluated → solved, 0 wrong
families 0 (whole) and 1 (40 a file), samples of 2–8 identical
performance gate passed
suite 15,606 passed, 0 failed

The new answers are 0.5–1.8 thousand characters. All 25 rows were also declined by 2.5.0, and BREAKING-CHANGES.md has the entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

… linear

Under u = 1/(c + d x), a whole power of another linear p + q x is
((d p - q c) u + q)/d times c + d x, so the question in u is an exponential
beside a rational function, which the exponential integral and the moments
answer. The reader took only powers of c + d x itself, and a quotient N/L in
the exponent with N linear is now read the same way.

Rubi's 2.3: 25 rows go from unevaluated to solved (604 -> 629 of 650 in
family 2), 0 wrong. Families 0 and 1 and samples of 2-8 otherwise identical;
gate and suite pass.

Part of #233.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet added this to the 2.6.0 milestone Oct 19, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 016d6d8 into master Oct 19, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 19, 2026
Rafael-SOWNet added a commit that referenced this pull request Oct 21, 2026
…in u = 1/(c + d x) first (#2010)

#1950's SolveAnExponentialInTheReciprocalOfALinear answers these in a few
megabytes, but sits near the end of the dispatcher, and the routes ahead of
it spent seconds and gigabytes declining. Two early rules:

SolveAnExponentialInTheReciprocalOfALinearOverAnotherLinear calls it right
after SolveAGaussianInAReciprocal when the exponent is linear in u and a
linear below the bar has a slope in u, d g - c h, that is not zero by value.

SolveAnElementaryMomentOfAnExponentialInAPowerOfTheReciprocal answers
F^(A + B/L^k)/L^n for k from 2 to 8 and n - 1 a positive multiple of k, the
elementary cases, which w = u^k makes a polynomial times an exponential. The
power below the bar reaches the dispatcher written monic, (c/d + x)^n, and
the shared reader took c/d + x for another linear with a slope in u that is
zero only by value; the rule decides that by value and asks the clean
question itself. Neither rule's question can be its own integrand again.

Probe, all 650 rows of family 2: 623 -> 627 answered (2.3:393, 394, 395,
478), none lost, no new wrong, total 188 s / 104 GB -> 89 s / 60 GB; two
answers respelled (2.3:364 166 -> 74, 2.3:390 70 -> 74 characters). Chain
pocket of 1,938 rows: 1,922 -> 1,925 solved, allocation over those solved on
both 286.5 -> 219.9 GB; samples unchanged; 2.3:394 22.8 s / 22.4 GB -> 0.5 s,
2.3:395 timeout -> 60 ms alone. No row's allocation grew past 1.3x.

Part of #233.


Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

1 participant