e^(n i arctan(a x)) to a power that is not whole is one power of a quotient of linears - #1719
Merged
Rafael-SOWNet merged 3 commits intoOct 3, 2026
Conversation
…otient of linears e^(n i arctan(L)) is written algebraically as (1 + i L)^n (1 + L^2)^(-n/2), and for an n that is not whole those are two radicals of different orders that nothing reads: x^2 e^(3/2 i arctan(a x)) was declined. For such an n it is written ((1 + i L)/(1 - i L))^(n/2), the same on the principal branch for a real L -- the quotient is e^(2 i arctan(L)) and 2 arctan(L) its principal argument -- and one power of a quotient of linears, which the substitution for that reads. Rubi's 5.3.6. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…ntial-of-an-imaginary-arctangent
…ntial-of-an-imaginary-arctangent
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.
e^(n i arctan(L))is written algebraically, as(1 + i L)^n (1 + L^2)^(-n/2), before it is integrated, and for annthat is not whole those are two radicals of different orders that nothing reads: every power ofe^(i arctan(a x))that is not whole was declined, which is most of Rubi's 5.3.6.3a3d0163x^2 e^(3/2 i arctan(a x))e^(3/2 i arctan(a x))/x^4x^3 e^(-3/2 i arctan(a x))x e^(1/3 i arctan(x))What changes. For an
nthat is not whole,e^(n i arctan(L))is written((1 + i L)/(1 - i L))^(n/2). For a realLthat is the same on the principal branch: the quotient ise^(2 i arctan(L)), and2 arctan(L)is its principal argument. It is one power of a quotient of linears, which the substitution for such a power reads. A wholenkeeps the form it had.Tests:
InverseTrigonometricSubstitutionTest.ToAPowerThatIsNotWhole, five rows, each differentiated back.Measured first on the 257 problems of 5.3.6 with an exponential of
itimes an arctangent in them, at the corpus's 5-second budget, against master9c2509d8, the branch's base:85 more are answered. One master answers,
x^3/e^(3 i arctan(a + b x)), timed out here; itsnis whole and its path unchanged, and unbudgeted both builds answer it in 12 s.Measured then on the Rubi corpus against master
9c2509d8:No answer is wrong on either build. The 92 problems the two builds disagreed on, run again one build at a time, are 88 answered here and 2 on master, those two answered here too. Of the other four,
x^3 e^(-3/2 i arctan(a x))is answered in 43 s unbudgeted. The other three,1/(e^(5/2 i arctan(a x)) x^k)forkfrom 2 to 4, master declines in 2 s, and here they ran past two minutes -- not in this rule but in the scaling of the variable, which simplified the integrand the radical's substitution leaves withaandiin it. With #1718, which is in master now, they are declined in 4 to 5 s on the merge below, where master7a7eed7cdeclines them in about 1.The suite passes on the commit measured,
0e882559, 14,564 tests, and so does the allocation gate. Master7a7eed7cis merged in since, without conflicts, and the calculus tests pass on that merge, 3,966 of them.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura