Skip to content

Integrate a rational function of the tangent beside roots of linears in it - #1970

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
a-rational-function-of-the-tangent-beside-roots-of-linears-in-it
Oct 20, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
a-rational-function-of-the-tangent-beside-roots-of-linears-in-it

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Under t = tan(z), dz = dt/(f (1 + t^2)). A rational function of the tangent beside roots of linears in it is therefore a rational function of t beside roots of linears in t.

It is now integrated term by term over the partial fractions of its rational part. The 1 + t^2 below the bar is written as the linears of its roots, (1 + i t)(1 - i t), so each term is the roots over one power of a linear, which the rules for a root of a linear over a linear answer.

Measured on 8a1ef454, branch against master:

Run Problems Master Branch
Pocket: Rubi's 4.3, every third solved problem 1,170 1,049 solved 1,058 solved
Family 1, 40 a file 1,381 1,362 1,362
Family 0, whole 1,814 1,789 1,789
Families 2 to 8, sampled 2,410 2,362 2,364

Re-run alone on both builds, 10 problems go from timed out to answered, in 0.2–3 s: Rubi's 4.3.2.1:1329/1334/1335 and 4.3.4.2:181/182/188/194/198/199/204. None goes the other way. No run had a wrong answer.

ARationalFunctionOfTheTangentBesideRootsOfLinearsInItIntegralTest differentiates the answers back. BREAKING-CHANGES.md has the entry, with the 2.5.0 column measured on v2.5.0.

Part of #233.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

…in it

Under t = tan(z), dz = dt/(f (1 + t^2)), and a rational function of the tangent
beside roots of linears in it is a rational function of t beside roots of
linears in t. It is now integrated term by term over the partial fractions of
its rational part, with the 1 + t^2 below the bar written as the linears of its
roots, (1 + i t)(1 - i t). Each term is the roots over one power of a linear,
which the rules for a root of a linear over a linear answer. Rubi's 4.3.4.2
(c + d tan(z))^(5/2) (A + B tan(z) + C tan(z)^2)/sqrt(a + b tan(z)) and six
more of its rows, and three of 4.3.2.1, were past the budget.

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