You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a3bc645
Browse filesBrowse the repository at this point in the historyBrowse files
Integrate a symbolic secant power, a half-odd power of a ± a sin, and an even cosine power (#1975)
Three seams of Rubi's family 4:
- (b sec(y))^m tan(y)^3 was declined only because m was not a number; in
u = sec(y) it is (b u)^m (u^2 - 1)/u, and the rule for an odd power of the
tangent beside a function of the secant reads a power free of x whatever its
exponent now. A negative power of the tangent beside it is hypergeometric and
still declined.
- 1/(sqrt(a + a sin(y)) (c + d sin(y))^2) and its kin are answered by the half
angle at which a + a sin(y) is a square. They never reached it: the polynomial
term asked the substitution search first, which spent the budget.
- cos(y)^4 sin(y)^3/(a + b sin(y))^2: an even whole power of the cosine is a
power of 1 - sin(y)^2, so beside a power of the sine above the bar the
integrand is a polynomial in the sine over the power. Without a sine above
the bar the rules after it answer as before: cos(y)^4/(a + b sin(y))^8 is 40K
characters there and was 106K here.
Rubi pocket (2,061 rows of family 4): 1967 -> 1994 solved; the moves re-run
alone gain 28 rows (4.1.2.1 x16, 4.1.2.2 x7, 4.1.3.1:364, 4.3.0 x4), none lost.
Part of #233.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: BREAKING-CHANGES.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -350,6 +350,30 @@ cache is now keyed on the downcasting setting too
350
350
|---|---|---|
351
351
| `MathS.FromString("1/3").Evaled` under downcasting off, after the same parse with it on | `1/3` | `0.3333…` (one hundred digits) |
352
352
353
+
### A symbolic power of the secant, a half-odd power of `a ± a sin` beside other linears, and an even power of the cosine over a sine's binomial are integrated
354
+
355
+
**Answers where there were none.** `(b sec(g + f x))^m tan(g + f x)^3` and three more of Rubi's 4.3.0 were declined only
356
+
because `m` was not a number: in `u = sec(y)` it is `(b u)^m (u^2 - 1)/u`, and the rule for an odd power of the tangent
357
+
beside a function of the secant now reads a power free of x whatever its exponent.
358
+
`1/(sqrt(a + a sin(y)) (c + d sin(y))^2)`, `1/((a + a sin(y))^2 sqrt(c - c sin(y)))` and fourteen more of 4.1.2.1 and
359
+
4.1.3.1 are answered by the half angle at which `a + a sin(y)` is a square, which they never reached: the polynomial
360
+
term wrote the reciprocal as a power and asked the substitution search, which spent the budget. A half-odd power of
361
+
`a ± a sin(y)` beside at least one other linear in the same sine or cosine is asked it first now. And
362
+
`cos(y)^4 sin(y)^3/(a + b sin(y))^2` and six more of 4.1.2.2 are read by the rule below, an even whole power of the
363
+
cosine being a power of `1 - sin(y)^2` exactly, where a power of the sine stands above the bar beside it. That file's
364
+
neighbours the unreleased master answered are respelled, some shorter and some longer ([#233](https://github.com/asc-community/AngouriMath/issues/233)).
| `"cos(c+d*x)^4*sin(c+d*x)^2/(a+b*sin(c+d*x))^2".ToEntity().Integrate("x")` | `integral(...)`; 7,068 characters, in 1.3 s, on the unreleased master | 3,677 characters, in 154 ms |
375
+
| `"cos(c+d*x)^2*sin(c+d*x)^2/(a+b*sin(c+d*x))^3".ToEntity().Integrate("x")` | `integral(...)`; 4,621 characters, in 431 ms, on the unreleased master | 6,584 characters, in 570 ms |
376
+
353
377
### A polynomial in a sine over a power of a binomial in it is written in powers of the binomial
354
378
355
379
**Answers where there were none.** `(A + B cos(c + d x) + C cos(c + d x)^2)/(a + b cos(c + d x))^4` ran out of time, and
0 commit comments