Repository navigation
Commit 46a56fb
Read the symbolic trigonometric power as a factor of the integrand (#1958)
The rule for `f^m (alpha + beta f^2)` as the derivative of a product, for a
symbolic m and f a sine, cosine, secant or cosecant, wrote 1 for the first
such power anywhere in the tree. A power below the bar or inside one term of
a sum was taken for a factor of the integrand, and five such integrands came
back wrong on master; 2.5.0 declined them. The rule now reads its power among
the integrand's factors, so one under the bar is `f^(-m)`. It also takes a
number that is not whole, which the identities hold for on the principal
branch, as in Rubi's 4.5.4.1 `(3 + 3 sec(c + d x)^2)/sqrt(sec(c + d x))`.
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 27e6514 commit 46a56fb
3 files changed
Lines changed: 70 additions & 9 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
913 | 916 | | |
914 | 917 | | |
915 | 918 | | |
916 | 919 | | |
917 | 920 | | |
918 | 921 | | |
919 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
920 | 927 | | |
921 | 928 | | |
922 | 929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31310 | 31310 | | |
31311 | 31311 | | |
31312 | 31312 | | |
31313 | | - | |
31314 | | - | |
| 31313 | + | |
| 31314 | + | |
31315 | 31315 | | |
31316 | 31316 | | |
31317 | 31317 | | |
| |||
31321 | 31321 | | |
31322 | 31322 | | |
31323 | 31323 | | |
| 31324 | + | |
| 31325 | + | |
| 31326 | + | |
31324 | 31327 | | |
31325 | 31328 | | |
31326 | 31329 | | |
31327 | 31330 | | |
31328 | 31331 | | |
31329 | 31332 | | |
31330 | | - | |
31331 | | - | |
31332 | | - | |
31333 | | - | |
31334 | | - | |
| 31333 | + | |
| 31334 | + | |
| 31335 | + | |
| 31336 | + | |
| 31337 | + | |
| 31338 | + | |
| 31339 | + | |
| 31340 | + | |
| 31341 | + | |
| 31342 | + | |
| 31343 | + | |
31335 | 31344 | | |
31336 | 31345 | | |
31337 | 31346 | | |
31338 | 31347 | | |
31339 | | - | |
31340 | | - | |
| 31348 | + | |
| 31349 | + | |
| 31350 | + | |
| 31351 | + | |
| 31352 | + | |
| 31353 | + | |
| 31354 | + | |
| 31355 | + | |
| 31356 | + | |
31341 | 31357 | | |
31342 | 31358 | | |
31343 | 31359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
61 | 99 | | |
62 | 100 | | |
63 | 101 | | |
| |||
0 commit comments