Skip to content

Read x times a rational function of an exponential of a logarithm off the integrand - #2047

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
read-x-times-a-rational-function-of-an-exponential-of-a-logarithm
Oct 22, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
read-x-times-a-rational-function-of-an-exponential-of-a-logarithm

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #233.

  • x times a rational function of an exponential of a logarithm, read off the integrand. Rubi's 6.5.3 (1 - b^2 n^2) sech(u) + 2 b^2 n^2 sech(u)^3, for u = a + b ln(c x^n), is (x (-sech(u) - b n tanh(u) sech(u)))'. It was declined, and so was its 6.6.3 twin in the cosecant.
  • The Euler derivative. With w = e^u, x w' = b n w, so (x G(w))' = G + b n w G'(w). Where x stands only in the exponentials, the integrand is P/Q in w. For G = N/Q, N Q + c w (N' Q - N Q') = P Q is linear in N's coefficients, and it is read at sampled values of w. A symbolic c makes the solution unique: the homogeneous one is w^(-1/c).
  • A symbolic power. K B^p of one function B of w goes through x K B^(p - 2) H(w): H + c w H' + (p - 2) c (w B'/B) H = B^2, as a square system with the rows scaled by the rate's denominator. That answers 6.5.3's sech(a - ln(c x^n)/(n (p - 2)))^p and 6.6.3's cosecant twin, where Rubi's closed form holds at b^2 n^2 (p - 2)^2 = 1.
  • Every answer is checked by its derivative.
Rubi row master ef4150e this branch
6.5.3:251 (1 - b^2 n^2) sech(u) + 2 b^2 n^2 sech(u)^3 declined, 6.2 s and 4.9 GB 235 characters, 0.4 s and 0.04 GB
6.6.3:213 its cosecant twin declined, 2.7 s and 4.3 GB 247 characters
6.5.3:255 sech(a - ln(c x^n)/(n (p - 2)))^p declined 311 characters, x times sech(u)^(p - 2)
6.6.3:217 csch(a - ln(c x^n)/(n (p - 2)))^p declined 354 characters

Chain against master 78cd31b:

Rebased onto ef4150e with one conflict, against #2040's rule at the same place in the dispatch. The resolution keeps both, #2040's first, and both rules' tests pass (9 of 9). The suite is left to CI. The BREAKING-CHANGES lengths were measured on the branch.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

… the integrand

Rubi's 6.5.3 (1 - b^2 n^2) sech(u) + 2 b^2 n^2 sech(u)^3 for u = a + b ln(c x^n)
is (x (-sech(u) - b n tanh(u) sech(u)))', and its 6.6.3 twin in the cosecant
the same way; both were declined. With w = e^u the Euler derivative x w' is
b n w, so (x G(w))' = G + b n w G'(w): the integrand P/Q in w is that for
G = N/Q exactly where N Q + c w (N' Q - N Q') = P Q, linear in N's
coefficients, read at sampled values of w and solved with the symbols in;
the homogeneous solution w^(-1/c) is no rational function for a symbolic c,
so the solution is unique. Only where x stands in the exponentials alone and
the exponent's Euler derivative is a constant, at the question asked; the
quotient is simplified in w to lowest terms and the answer checked.

A symbolic power K B^p of one function of w goes through x K B^(p - 2) H(w),
since (x B^(p - 2) H)' = B^(p - 2) (H + c w H' + (p - 2) c (w B'/B) H): Rubi's
6.5.3 sech(a - ln(c x^n)/(n (p - 2)))^p, whose c is -1/(p - 2), is
x (p - 2)/(p - 1) sech(u)^(p - 2) (1 - tanh(u)), and its cosecant twin in
6.6.3 the same way. There the system is square, (p - 2) c is simplified once,
every row is scaled by c's denominator and the entries taken bare: with
1/(p - 2) and a provided not p - 2 = 0 in them, the elimination over p did not
settle.

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 force-pushed the read-x-times-a-rational-function-of-an-exponential-of-a-logarithm branch from c57c9cd to a0fca42 Compare October 22, 2026 02:58
@Rafael-SOWNet
Rafael-SOWNet merged commit de11aaf into master Oct 22, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 22, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the read-x-times-a-rational-function-of-an-exponential-of-a-logarithm branch October 29, 2026 00:44
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