Repository navigation
Commit 098cb2b
A symbolic exponent that is -1 as a value is integrated to the logarithm (#1723)
x^(-1 - 3n) (a + b x^n)^3 expanded leaves x^(-1 - 3n + 3n) for its last term, which is x^(-1)
for every n, and InnerSimplified keeps -3n + 3n as two terms. The power rule read the exponent
as written and divided by its zero, so the whole answer had no value anywhere; x^(-n/n) came
back NaN. It asks whether the exponent plus one vanishes as a value now, and gives the logarithm
where it does.
Part of #718.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 4d1f3b7 commit 098cb2b
3 files changed
Lines changed: 46 additions & 1 deletion
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
586 | 604 | | |
587 | 605 | | |
588 | 606 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2486 | 2486 | | |
2487 | 2487 | | |
2488 | 2488 | | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
2489 | 2497 | | |
2490 | 2498 | | |
2491 | 2499 | | |
2492 | 2500 | | |
2493 | 2501 | | |
2494 | 2502 | | |
2495 | 2503 | | |
| 2504 | + | |
| 2505 | + | |
2496 | 2506 | | |
2497 | 2507 | | |
2498 | 2508 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
127 | 144 | | |
128 | 145 | | |
0 commit comments