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 6a7b656
Browse filesBrowse the repository at this point in the historyBrowse files
Integrate a power beside a sine or a cosine as incomplete gamma functions (#2085)
A power of x or of a linear that is not a polynomial, beside sin(u)^k cos(u)^j,
is integrated through Euler's formula: sin(u)^k cos(u)^j is
(2 i)^(-k) 2^(-j) sum C(k, r) (-1)^(k - r) C(j, t) e^(i (2 r - k + 2 t - j) u),
each e^(i q u) beside the power is a gamma function of the gamma rule for a power
beside an exponential, and the term with q = 0 is the power's own integral. Where
any term is declined -- a whole power, whose integral is elementary and answered
by parts, or a half-whole order, which is Fresnel's -- so is the integrand. The
gamma functions' arguments are imaginary on the real line, off the cut.
Rubi's suite on the harness that reads GAMMA, against master 23c8eca:
48,700 -> 48,850 of 49,052, 0 wrong, no solved row lost, no row to a timeout, no
answer's allocation grown. The gains are 57 in 4.1.12, 26 in 4.1.10, 25 in
4.2.10, 18 in 4.2.12, 12 in 5.1.4, 9 in 4.7.3, 2 in 8.4 and one Moses problem.
Four definite integrals agree with quadrature to 25 digits, real.
Part of #2075.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@@ -164,6 +165,8 @@ as `a - b = 0`, as a statement's own solve reads it: `"x + 1 = 3".Solve("x")` wa
164
165
| `"x^(1/3)*gamma(2, a + b*x)".ToEntity().Integrate("x")` | a `FunctionArgumentCountException` | `-b * e ^ (-a) * x ^ (7/3) * (b * x) ^ (-7/3) * gamma(7/3, b * x) + -(1 + a) * e ^ (-a) * x ^ (4/3) * (b * x) ^ (-4/3) * gamma(4/3, b * x) + C` |
165
166
| `"(c + d*x)^m*e^(a + b*x)".ToEntity().Integrate("x")` | `integral((c + d * x) ^ m * e ^ (a + b * x), x)` | `e ^ (a - b * c / d) * (c + d * x) ^ m * (-b * (c + d * x) / d) ^ (-m) * gamma(m + 1, -b * (c + d * x) / d) / b + C` |
166
167
| `"x^31*e^(-x)".ToEntity().Integrate("x")` | a sum of 32 terms, 6,172 characters | `-gamma(32, x) + C` |
168
+
| `"x^m*sin(b*x)".ToEntity().Integrate("x")` | `integral(x ^ m * sin(b * x), x)` | `gamma(m + 1, -i b x)` and `gamma(m + 1, i b x)`, each beside `x ^ (m + 1) (∓i b x) ^ (-(m + 1))` |
169
+
| `"sin(c + d*x^3)".ToEntity().Integrate("x")` | `integral(sin(c + d * x ^ 3), x)` | `gamma(1/3, -i d x ^ 3)` and `gamma(1/3, i d x ^ 3)`, beside `e ^ (±i c)` |
167
170
| `"integral(e^(x^3), x, 0, 1)".ToEntity().Simplify()` | `integral(e ^ x ^ 3, x, 0, 1)` | `(gamma(1/3, -1) - (-2/3)!) / 3`, which is `1.3419044179774…` |
168
171
169
172
### Numerical equality is to half the evaluation's digits
0 commit comments