Skip to content

Commit 2343040

Browse files
Integrate four algebraic shapes of Rubi's family 1 left by the earlier passes (#1997)
- A linear beside a power of a block P^q, q >= 2: the root -d/e named while the series and the rest are computed, the rest summed over one denominator in powers of the block's base and split into Q_q/P^q + ... + Q_1/P, each integrated with named coefficients. Carried as -d/e, the coefficients reached 14,000 characters and the answer 203,000. - A sum of powers of x times a symbolic power of a linear in a root of x: the answer G L T(u) with u = x^(1/k), T's coefficients solved from the highest power down, the equation left over deciding elementarity. - Under t = sqrt(L1)/sqrt(L2), powers of a - c t^q and of t stripped and the compound coefficients named, where the denominator has a complete quadratic factor with a symbol in it. - A polynomial over the cube root of a quadratic beside another with the same axis, shifted to y = x + b/(2c) and written in depressed form. Rubi's 1.3.1:568 and 569, 1.2.3.2:621, 1.2.1.4:1097 and 1.2.1.6:232 are answered and checked by quadrature; 1.3.1:562 and 567 and the two-radical rows 1098-1100 get shorter and faster; 125 neighbours keep their verdicts and every unchanged answer is identical. Part of #233. Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 8c47ef1 commit 2343040

7 files changed

Lines changed: 873 additions & 25 deletions

‎BREAKING-CHANGES.md‎

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,21 @@ whole power of a quotient under a root of a quotient is distributed over its two
910910
| `"e^(2*i*p*atan(a*x))*(c+a^2*c*x^2)^p".ToEntity().Integrate("x")` | `integral(...)` | 86 characters |
911911
| `"e^(i*n*atan(a*x))/(c+a^2*c*x^2)".ToEntity().Integrate("x")` | `integral(...)` | 123 characters |
912912

913+
### A sum of powers of x times a power of a linear in a root of x is integrated where the remainders cancel
914+
915+
**Answers where there were none.** `Q^p/x^2 - 2/3 b^3 (1 - 2p)(1 - p) p Q^p/(a^3 x)` with
916+
`Q = a^2 + 2 a b x^(1/3) + b^2 x^(2/3)` was declined, Rubi's 1.2.3.2:621: each term on its own is a hypergeometric
917+
function, and the sum was split. A sum `c_1 x^(m_1) G + ... + c_n x^(m_n) G`, with `G` a symbolic power of a linear
918+
`L` in `u = x^(1/k)` or of its square written out, is read as the derivative of `G L T` for a sum `T` of powers of
919+
`u`, whose coefficients are solved from the highest power down; it is answered where the one equation left over
920+
holds, and declined where it does not. Where `T` would be one power the answer is a product of powers, which the
921+
rule for those gives as before ([#233](https://github.com/asc-community/AngouriMath/issues/233)).
922+
923+
| Input | Was (2.5.0) | Now |
924+
|---|---|---|
925+
| `"(a^2+2*a*b*x^(1/3)+b^2*x^(2/3))^p/x^2-2/3*b^3*(1-2*p)*(1-p)*p*(a^2+2*a*b*x^(1/3)+b^2*x^(2/3))^p/(a^3*x)".ToEntity().Integrate("x")` | `integral(...)` | 212 characters |
926+
| `"(a+b*x)^p/x^4-b^3*p*(p-1)*(p-2)/(6*a^3)*(a+b*x)^p/x".ToEntity().Integrate("x")` | `integral(...)` | 176 characters |
927+
913928
### A whole power is taken out of a power of a product, in front of a constant
914929

915930
**Answers where there were none.** `(c sin(a + b x)^3)^(1/3)/x` was declined: nothing read a function under a root of
@@ -977,6 +992,25 @@ then cancels before the division of the improper fraction
977992
| `"(a + b*x)^6/(a*c + (b*c + a*d)*x + b*d*x^2)^2".ToEntity().Integrate("x")` | past a minute | 3,592 characters |
978993
| `"csc(e + f*x)^3/(a + b*tan(e + f*x)^2)^2".ToEntity().Integrate("x")` | `integral(...)` | 7,992 characters |
979994

995+
### A linear beside a power of a block with symbols in it is split at its root named
996+
997+
**Answers where there were none, and shorter ones.** `1/((d + e x)^2 (a + c x^4)^3)` came to 203,730 characters
998+
after 27 seconds on the unreleased master, and `1/((d + e x)^3 (a + c x^4)^3)` ran past a minute, Rubi's 1.3.1:568
999+
and 569. The split at the linear's root carried the root as `-d/e` through the series and the division, the lowest
1000+
terms gave up on coefficients of thousands of nodes, and what was left over the block was integrated with them in
1001+
it. Over a power of a block the root is a fresh symbol while the series and the rest are computed now, every
1002+
denominator is a written power of the block's base at it, and the rest is written over the powers of the base and
1003+
integrated in named coefficients. Over the block itself the split is as it was. `1/((d + e x) (a + c x^4)^3)` was
1004+
111,691 characters on the unreleased master and `1/((d + e x)^3 (a + c x^4)^2)` 56,015 ([#233](https://github.com/asc-community/AngouriMath/issues/233)).
1005+
1006+
| Input | Was (2.5.0) | Now |
1007+
|---|---|---|
1008+
| `"1/((d+k*x)^2*(a+c*x^4)^3)".ToEntity().Integrate("x")` | `integral(...)` | 11,108 characters |
1009+
| `"1/((d+k*x)^3*(a+c*x^4)^3)".ToEntity().Integrate("x")` | `integral(...)` | 12,663 characters |
1010+
| `"1/((d+k*x)*(a+c*x^4)^3)".ToEntity().Integrate("x")` | `integral(...)` | 9,467 characters |
1011+
| `"1/((d+k*x)^3*(a+c*x^4)^2)".ToEntity().Integrate("x")` | `integral(...)` | 7,647 characters |
1012+
| `"1/((d+k*x)^2*(a+b*x^3)^3)".ToEntity().Integrate("x")` | `integral(...)` | 6,310 characters |
1013+
9801014
### What a reduction leaves over its block is integrated in named coefficients
9811015

9821016
**Answers where there were none, and sooner.** `(c + d x^3 + g x^6 + f x^9)/(x^4 (a + b x^3)^3)` took 42 s on the
@@ -1220,6 +1254,18 @@ multiplied out are now written as that number before the integral is asked: `2 +
12201254
|---|---|---|
12211255
| `"(2+2*c-2*(1+c))*x^4".ToEntity().Integrate("x")` | `(2 + 2 * c - 2 * (1 + c)) * x ^ 5 / 5 + C` | `0 + C` |
12221256

1257+
### A linear over the cube root of a quadratic beside another about the same axis is integrated in the shifted variable
1258+
1259+
**Answers where there were none.** Rubi's pseudo-elliptic 1.2.1.6:232,
1260+
`(g + h x)/((a + b x + c x^2)^(1/3) (d + b f x/c + f x^2))` with the compound `a` and `d` that make it elementary,
1261+
was declined, where its `b = 0` case, 231, is answered. Both quadratics have the axis `x = -b/(2c)`; in
1262+
`y = x + b/(2c)` both are even, each coefficient in lowest terms, and 232 is 231 with compound coefficients. Only
1263+
where the quadratic under the root has a linear term to take away ([#233](https://github.com/asc-community/AngouriMath/issues/233)).
1264+
1265+
| Input | Was (2.5.0) | Now |
1266+
|---|---|---|
1267+
| `"(g+h*x)/((1/9*(-c^2*g^2+b*c*g*h+2*b^2*h^2)/(c*h^2)+b*x+c*x^2)^(1/3)*(f*(b^2+1/3*(c^2*g^2-b*c*g*h-2*b^2*h^2)/h^2)/c^2+b*f*x/c+f*x^2))".ToEntity().Integrate("x")` | `integral(...)` | 7,948 characters |
1268+
12231269
### Powers of multiples of powers of one linear are gathered into one power of it
12241270

12251271
**Answers where there were none.** `1/(sqrt(-2 - b x) sqrt(2 + b x))` was declined, and so were four more of Rubi's
@@ -1299,6 +1345,22 @@ root of a linear, the linear radical substitution gets there first
12991345
| `"sin(a + b/sqrt(c + d*x))/(e + f*x)".ToEntity().Integrate("x")` | `integral(...)` | 1,114 characters |
13001346
| `"sin(a + b/sqrt(c + d*x))/(e + f*x)^2".ToEntity().Integrate("x")` | `integral(...)` | 2,288 characters |
13011347

1348+
### Roots of two linears over a quadratic with all its terms are integrated in named coefficients
1349+
1350+
**Answers where there were none, and sooner.** `(d + e x)^(3/2)/((a + b x + c x^2) sqrt(f + g x))` ran past a minute,
1351+
Rubi's 1.2.1.4:1097, and its three neighbours 1098 to 1100 took 16 to 60 seconds on the unreleased master. Under
1352+
`t = sqrt(d + e x)/sqrt(f + g x)` the quadratic is a quartic in `t` whose coefficients carry seven symbols, and the
1353+
rational rules spent the time on them. Those coefficients are fresh symbols while the question in `t` is asked now,
1354+
and are put back after: a quarter of a second each, and the three neighbours a third shorter. Without the middle
1355+
term, `a + c x^2`, the question is answered as it comes, as before ([#233](https://github.com/asc-community/AngouriMath/issues/233)).
1356+
1357+
| Input | Was (2.5.0) | Now |
1358+
|---|---|---|
1359+
| `"(d+k*x)^(3/2)/((a+b*x+c*x^2)*sqrt(f+g*x))".ToEntity().Integrate("x")` | `integral(...)` | 3,357 characters |
1360+
| `"(d+k*x)^(1/2)/((a+b*x+c*x^2)*sqrt(f+g*x))".ToEntity().Integrate("x")` | `integral(...)` | 2,075 characters |
1361+
| `"1/((d+k*x)^(1/2)*(a+b*x+c*x^2)*sqrt(f+g*x))".ToEntity().Integrate("x")` | `integral(...)` | 2,119 characters |
1362+
| `"1/((d+k*x)^(3/2)*(a+b*x+c*x^2)*sqrt(f+g*x))".ToEntity().Integrate("x")` | `integral(...)` | 2,822 characters |
1363+
13021364
### A symbolic trinomial in x^2 beside a root of a quadratic is split over its factors
13031365

13041366
**Answers where there were none.** `sqrt(d + k x^2)/(a + b x^2 + c x^4)` and its kin were declined, most of them

0 commit comments

Comments
 (0)