A whole power of a perfect square in a power of the variable is written as a power of its root - #1494
Merged
Merged
Conversation
…en as a power of its root 1/(a^2 + 2 a b x^2 + b^2 x^4)^2 was left unevaluated. The quartic is b^2 (x^2 + a/b)^2, so a whole power of it is (b^2)^n (x^2 + a/b)^(2n), exactly and with no sign, and the rational integrator reads a power of x^2 + a/b where it declined the quartic. At the question asked, for a square written out as a sum with a symbol in it and x below the bar: not in a polynomial, and not where the square is already written as a power, which the hyperbolic tangent's integrand for Rubi 6.5.7's coth(x)^2/(a + b sech(x)^2)^2 holds. Rubi's 1.2.2.x and 1.2.3.2 perfect squares: 388 to 409 of 574, no row lost. Co-Authored-By: Claude Opus 5.5 <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.
1/(a^2 + 2 a b x^2 + b^2 x^4)^2was left unevaluated. The quartic isb^2 (x^2 + a/b)^2, so a whole power of it is(b^2)^n (x^2 + a/b)^(2n), exactly and with no sign. The rational integrator reads a power ofx^2 + a/bwhere it declined the quartic. This extends #1491, which read half-odd powers of the same squares, to whole ones.It applies at the question asked, to a square with a symbol in it, where
xis below the bar. Two more restrictions each come from a measurement:x (a^2 + 2 a b x^2 + b^2 x^4)^2is answered as a polynomial already, and written as a power ofx^2 + a/bit only changed form.coth(c + d x)^2/(a + b sech(c + d x)^2)^2that integrand holds((a + b - b u^2)^2)^(-1), a square already written as one. Expanded and rewritten, it went from 842 ms to over 60 s.Two answers that came out in the expanded square before now come out in
x^2 + a/b; they're in the changelog with their 2.5.0 values.Measured
Part of #718.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura