Skip to content

The radicand an inverse sine or cosine holds is read as one - #1489

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
inverse-trig-radicand
Sep 24, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
inverse-trig-radicand

Conversation

@Rafael-SOWNet

@Rafael-SOWNet Rafael-SOWNet commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

(d + c d x)^(1/2) (f - c f x)^(3/2) (a + b arcsin(c x)) ran out of time. arcsin(u) holds the radicand 1 - u^2 without writing it, since its derivative is u'/sqrt(1 - u^2). The two factors beside arcsin(c x) multiply to d f (1 - c^2 x^2), which is the case #1487 and #1488 answer. Those rules took their radicands only from logarithms.

The radicand of an inverse sine or cosine of a linear is now one of the radicands the rule reads. Two factors whose product is the radicand itself, sqrt(1 + c x) sqrt(1 - c x) beside arccos(c x), are written as its one root too.

One answer changes form on master. (d - c^2 d x^2)^(3/2) (a + b arcsin(c x)) was answered with d^(3/2) in front, from #1481's constant pull. It now gets K = sqrt(d - c^2 d x^2)/sqrt(1 - c^2 x^2), which is Rubi's form and equals d^(1/2) wherever arcsin(c x) is real. Both were unevaluated in 2.5.0, which is what the changelog entry compares with.

Measured

before after
(d + c d x)^(1/2) (f - c f x)^(3/2) (a + b arcsin(c x)) past the 5 s budget 0.58 s
Rubi 5.1.4, 5.1.5, 5.2.4 and 5.2.5, all 504 problems that count 405 463, no row lost, 77 timeouts → 19
Rubi family 5 223/257 227/257, four 5.1.4 rows
Rubi 7.1 and 7.2 files, families 1, 4, 6 and 7, and the 1774-problem suite — unchanged, row for row
unit suite 12,704 12,709 (five cases added), 0 failed, run to completion
allocation gate — PASSED on all 19 gated benchmarks

The new theory checks five shapes by differentiating back at five points inside |2x| < 1, with numeric coefficients.

Found on the way, and not changed here: with MathS.Settings.DowncastingEnabled off, (a + b arcsin(c x))/sqrt(d - c^2 d x^2) integrates to NaN on master and on this branch. With the default setting it is answered correctly. Filed as #1490.

Part of #718.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

arcsin(u) holds the radicand 1 - u^2 without writing it: its derivative
is u'/sqrt(1 - u^2). Beside arcsin(c x), the factors d + c d x and
f - c f x multiply to d f (1 - c^2 x^2), a multiple of that radicand.
The rule that writes such a multiple over the radicand (#1487, #1488)
took its radicands only from logarithms, so the pair ran out of time.

The radicand of an inverse sine or cosine of a linear is now one of the
radicands it reads. Two factors whose product is the radicand itself,
sqrt(1 + c x) sqrt(1 - c x), are written as its one root too.

Rubi's 5.1.4, 5.1.5, 5.2.4 and 5.2.5, all 504 problems that count:
405 to 463, no row lost, 77 timeouts to 19.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet
Rafael-SOWNet merged commit f25f632 into master Sep 24, 2026
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant