Skip to content

Integrate a power of x beside powers of a quotient of linears and of their product as one term, and 1/(a + b asinh(±i + d x^2))^n - #2032

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
integrate-a-power-of-x-beside-a-quotient-of-linears-and-their-product-ab
Oct 21, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
integrate-a-power-of-x-beside-a-quotient-of-linears-and-their-product-ab

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #233.

  • A power of x beside a quotient of linears and their product. For T = (1 + a x)/(1 - a x) and Q = c - a^2 c x^2, x^j T^alpha Q^beta is integrated as T^alpha Q^(beta + 1) times a polynomial of degree j - 1. The polynomial is found by one linear solve whose last equation is checked; where that equation fails, the rule declines. These are Rubi's 7.3.6, e^(n artanh(a x)) x^2 (c - a^2 c x^2)^p, which the parser folds into T^(n/2).
  • 1/(a + b asinh(+-i + d x^2))^n. Rubi's six 7.1.5 rows, by the rule for the inverse hyperbolic sine of a quadratic, with g = cosh(u/2 + c pi/4): cosh(u/2) + c sinh(u/2) is sqrt(2) times it, and its square is 1 + c sinh(u) = c d x^2. They are complex at every x and are checked there.

Chain against master f7f2a7a:

  • The pocket of 2,374 rows went from 2,362 to 2,372 solved, with 0 wrong.
  • Family 7's sample went from 269 to 270; the others are unchanged.
  • The 10 rows that moved, run alone, went from 0 to 10 solved.
  • 7,894 rows were compared for allocation, and none grew by more than 109 MB.

The ten still answer after the rebase onto 47ab958. The full unit suite passes locally: 16292 passed, 0 failed. The BREAKING-CHANGES lengths were re-measured on the branch, and two had moved.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

…their product as one term, and 1/(a + b asinh(+-i + d x^2))^n

- x^j T^alpha Q^beta, for T = (1 + a x)/(1 - a x) and Q = c - a^2 c x^2, as
  T^alpha Q^(beta + 1) times a polynomial of degree j - 1, found by one
  linear solve whose last equation is checked; where it fails the rule
  declines. Rubi's 7.3.6, e^(n artanh(a x)) x^2 (c - a^2 c x^2)^p, the
  parser having folded the exponential into T^(n/2).
- The six of Rubi's 7.1.5 1/(a + b asinh(+-i + d x^2))^n by the rule for
  the inverse hyperbolic sine of a quadratic, with g = cosh(u/2 + c pi/4):
  cosh(u/2) + c sinh(u/2) is sqrt(2) times it, and its square is
  1 + c sinh(u) = c d x^2. They are complex at every x, and checked there.

Chain against master f7f2a7a: pocket of 2,374 rows, 2,362 -> 2,372 solved,
0 wrong; family 7's sample 269 -> 270, the others unchanged; the 10 rows that
moved, alone, 0 -> 10 solved; 7,894 rows compared for allocation, none grew
past 109 MB.

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