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 879fb2d
Browse filesBrowse the repository at this point in the historyBrowse files
A polynomial over a power of a trinomial past the square is taken down a power at a time (#1703)
x^4/(a + b x^2 + c x^4)^3 was declined: the Hermite reduction answers
the square of a trinomial with symbols in it in one linear solve, and
its system grows past what it takes at the cube. With w = x^n,
T = a + b w + c w^2 and D = 4 a c - b^2, the derivative of
x^(m+1) (beta0 + beta1 w) T^(p+1) is x^m T^p plus multiples of x^m and
x^(m+n) over T^-(p+1), with
beta0 = (b^2 - 2 a c)/(a n (p + 1) D), beta1 = b c/(a n (p + 1) D),
delta0 = -((2 a c - b^2)(m + 1) + n (p + 1) D)/(a n (p + 1) D) and
delta1 = b c (m + 2 n p + 3 n + 1)/(a n (p + 1) D). So each monomial goes
down a power at a time as two monomials a power up, and what reaches the
first power is gathered into one polynomial over T and integrated once.
After the binomial's recurrence (#1699), for n >= 2.
Part of #718.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
| `"x^4/(a + b*x^2 + c*x^4)^3".ToEntity().Integrate("x")` | `integral(...)` | odd polynomials over `(a + b x^2 + c x^4)^2` and over it, and arctangents at its roots |
291
+
| `"1/(a + b*x^2 + c*x^4)^3".ToEntity().Integrate("x")` | `integral(...)` | the same |
292
+
| `"x/(a + b*x^3 + c*x^6)^2".ToEntity().Integrate("x")` | `integral(...)` | a polynomial over `a + b x^3 + c x^6`, and the integral of a polynomial over it |
293
+
279
294
### A symbolic parameter no longer stops a rational integrand being integrated
280
295
281
296
`1/(8 + x^3)` and `1/(16 - x^4)` are answered at once. `1/(a^3 + x^3)` and `1/(a^4 - x^4)` were not,
else if (trinomial is null && factor is Powf(var @base, Number.Integer { EInteger: var e }) && e.CompareTo(EInteger.FromInt32(2)) >= 0 && e.CanFitInInt32())
1268
+
{
1269
+
trinomial = @base;
1270
+
power = e.ToInt32Unchecked();
1271
+
}
1272
+
else
1273
+
return null;
1274
+
}
1275
+
if (trinomial is null || power > MaximumPowerOfABinomial
1276
+
|| !TreeAnalyzer.TryGetPolynomial(trinomial, x, out var below) || below.Count != 3
0 commit comments