Repository navigation
Commit 22ebb2a
asech(a + b x) and acsch(a + b x) beside a power of x are integrated (#1457)
By parts they leave 1/(x (a + b x)^2 sqrt(1/(a + b x)^2 - 1)), and five things
stood between that and an answer, each found by tracing and fixed in its place:
- ComputeAsTheSameQuestion: taking a constant factor off an integrand, and
cancelling its quotient, no longer consume a descent level -- b f(x) and f(x)
are one question -- so the rules scoped to the question asked or one below it
see the remainder by parts leaves. TakeConstantFactorOutOfNumerator no longer
hands on `1 * f`.
- Yun's square-free factorisation keeps an x-free content: a root beside the
polynomial stood in the last cofactor and threw the factorisation away, and
the remainder went on with `x (a + b x)^2` expanded.
- SolveByWritingAPowerOfAQuotientApart writes an even power of a polynomial
below the bar apart as sgn(P) P provided P^2 > 0, the sign in front of the
answer -- only where the root is a factor of the integrand, since inside a
logarithm the sign is no factor.
- TakeConstantFactorOutOfDenominator keeps (a + b x)^k as written where the
polynomial stands under a root elsewhere, and a radicand written in two
orders is one spelling where it stands to both signs; the cancellation runs
before the reduction over a linear factor and the sum split, which expanded
what it cancels whole.
- PartialFractions bounds the values a linear solve hands on: for the remainder
from acoth(c x) ln(1 - c^2 x^2) the nine values came out at ten million nodes
each, and pinning a symbol in them ran out of memory.
Rubi's family 7: 194 to 206 of 270, 0 wrong, timeouts 44 to 34, wall 1445 to
1185 s; the 1774-problem suite unchanged at 1706, 0 wrong, 0 timeout, wall
89 s. Suite 12531 passed; the kernel gate passed on all 19 gated benchmarks.
Part of #718.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent f62db4c commit 22ebb2a
6 files changed
Lines changed: 259 additions & 26 deletions
File tree
- Sources
- AngouriMath/Functions
- Algebra/Polynomials
- Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
905 | 923 | | |
906 | 924 | | |
907 | 925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
378 | 390 | | |
379 | 391 | | |
380 | 392 | | |
| |||
584 | 596 | | |
585 | 597 | | |
586 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
587 | 604 | | |
588 | 605 | | |
589 | 606 | | |
| |||
1214 | 1231 | | |
1215 | 1232 | | |
1216 | 1233 | | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1217 | 1242 | | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1218 | 1253 | | |
1219 | 1254 | | |
1220 | 1255 | | |
| |||
0 commit comments