Skip to content

Integrate an arctangent over a power of d (1 ± i c x) under the tangent - #1918

Merged
Rafael-SOWNet merged 3 commits into
masterfrom
an-arctangent-over-a-power-of-one-plus-i-c-x-under-the-tangent
Oct 17, 2026
Merged

Rafael-SOWNet merged 3 commits into
masterfrom
an-arctangent-over-a-power-of-one-plus-i-c-x-under-the-tangent

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #718.

Under x = tan(u)/c, 1 + i tan(u) is e^(i u)/cos(u). So x^m (a + b atan(c x))^p/(d (1 ± i c x))^k becomes (a + b u)^p (tan(u)/c)^m d^(-k) e^(∓i k u) cos(u)^(k - 2)/c, a polynomial in u times exponentials and trigonometric functions. The new rule is asked early, ahead of the rules that spent the budget.

Rubi chain (master arm at 1e79b0e, 5 s budget):

  • Pocket of 1,774 rows: master solves 1,703, this branch 1,711.
  • Families 0–8 sampled: equal, apart from 5.1 (+1) and one 3.2.1 row. That 3.2.1 row is 1/((a g+b g x)^2 (A+B log(...))^2), which takes 23 s on both arms when run alone, so it is noise.
  • Moved rows run alone: master solves 1 of 9, the branch 9 of 9.
  • The gate and the suite (15,495 passed) both pass.

Gained on 2.5.0: eight rows of 5.3.4 that were all integral(...). The branch answers them in 267 to 1,202 characters, each in under half a second.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Rafael-SOWNet and others added 3 commits October 16, 2026 22:05
Under x = tan(u)/c, 1 + i tan(u) is e^(i u)/cos(u), so x^m (a + b atan(c x))^p/(d (1 +- i c x))^k
is (a + b u)^p (tan(u)/c)^m d^(-k) e^(-+i k u) cos(u)^(k - 2)/c, a polynomial in u times
exponentials and trigonometric functions. Rubi's 5.3.4 (a + b atan(c x))^2/(d + i c d x)^2 and seven
like it ran out of time.

Part of #718

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…a-power-of-one-plus-i-c-x-under-the-tangent

# Conflicts:
#	Sources/AngouriMath/Functions/Continuous/Integration/Integration.Definition.cs
…KING-CHANGES

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 17, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 91acb28 into master Oct 17, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 17, 2026
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