Skip to content

Commit f2f1ce1

Browse files
Beside the roots of two linears, a polynomial over a power of a third is integrated by undetermined coefficients (#1697)
* Beside the roots of two linears, a polynomial over a power of a third is integrated by undetermined coefficients Rubi's 1.1.1.6, a polynomial beside sqrt(c + d x) sqrt(e + f x) with symbols in the linears, went through the quotient of the two roots. Its rational function in t is over a power of d - f t^2 that grows with the degree of the polynomial, and (A + B x + C x^2) sqrt(c + d x) sqrt(e + f x) took more than 4 GB; with one more linear below the bar it ran past every budget. Now T/((g + h x)^k S), S the product of the two roots and T a polynomial, is U S plus multiples of two integrals. The polynomial part solves R = U' Q + U Q'/2 + lambda, which is triangular, and each power of the third linear below the bar comes down to the integral of 1/((g + h x) S) by the recurrence its derivative gives. The two integrals left are an artanh and an arctan of sqrt(c + d x)/sqrt(e + f x), each exact wherever sqrt(z)^2 = z, which is everywhere. Each of the nineteen 1.1.1.6 problems tried is answered, in under a second, and differentiates back. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura * The breaking-changes entry for a polynomial beside the roots of two linears Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura * The roots of two linears are taken by undetermined coefficients only with a symbol in them With numbers in both linears the combining of roots and the quotient substitution answer, in their own forms, and the rule is for the symbols that those declined or took gigabytes over: below the top, where the combining does not run, it would otherwise answer what they did, in another form. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura * Beside two linear roots, each closed form is given where it is real The integral of 1/S is a logarithm for one sign of d/b and an arctangent for the other, and the third kind's is the same in rho. Where the quantity has symbols in it, both are given, each provided where it holds, as 1/(a - x^2) is answered. One form alone is complex, by a constant, on the side where the other is real, and an answer that writes each linear once checks its arms there. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 5858166 commit f2f1ce1

4 files changed

Lines changed: 422 additions & 5 deletions

File tree

‎BREAKING-CHANGES.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,23 @@ in both quadratics, the cube's coefficients grow past what the reduction takes,
523523
| `"(7 + 13*x)/((5 + x + 2*x^2)^3*sqrt(2 + x + 3*x^2))".ToEntity().Integrate("x")` | `integral(...)` | an antiderivative |
524524
| `"sqrt(a + a*sec(x))/(c + d*sec(x))^2".ToEntity().Integrate("x")` | `integral(...)` | an antiderivative in `tan(x/2)` |
525525

526+
### A polynomial beside the square roots of two linears with symbols in them is integrated
527+
528+
`P(x) sqrt(c + d x) sqrt(e + f x)`, a polynomial beside the roots of two linears with symbols in
529+
them or over their product, was left unevaluated, and so was the same over a power of a third
530+
linear. These are Rubi's 1.1.1.6, `P(x) (a + b x)^m (c + d x)^n (e + f x)^p`. They are now
531+
integrated by undetermined coefficients. The answer is a rational function times the two roots,
532+
a logarithm of their quotient, and an arctangent of the quotient where a third linear is below
533+
the bar. Where the slopes are numbers of opposite signs, the logarithm is written as the
534+
arctangent it is ([#718](https://github.com/asc-community/AngouriMath/issues/718)).
535+
536+
| Input | Was (2.5.0) | Now |
537+
|---|---|---|
538+
| `"sqrt(c + d*x)*sqrt(e + f*x)".ToEntity().Integrate("x")` | `integral(...)` | `(x/2 + (d e + c f)/(4 d f)) sqrt(c + d x) sqrt(e + f x)`, and a logarithm in `sqrt(f/d) sqrt(c + d x)/sqrt(e + f x)` |
539+
| `"(A + B*x + C*x^2)*sqrt(c + d*x)*sqrt(e + f*x)".ToEntity().Integrate("x")` | `integral(...)` | a cubic times the two roots, and the same logarithm |
540+
| `"(A + B*x + C*x^2)*sqrt(c + d*x)/((a + b*x)^3*sqrt(e + f*x))".ToEntity().Integrate("x")` | `integral(...)` | the roots over powers of `a + b x`, a logarithm, and an arctangent |
541+
| `"x^2*sqrt(a + 2*x)*sqrt(c - 3*x)".ToEntity().Integrate("x")` | `integral(...)` | a cubic times the two roots, and an arctangent of `sqrt(6)/2 sqrt(a + 2 x)/sqrt(c - 3 x)` |
542+
526543
### A function comes out of a fractional power of its even power with its sign
527544

528545
**Improvement, not silent.** The entry two above made `(sin(x)^2)^(3/2)` the modulus `|sin(x)|^3`

0 commit comments

Comments
 (0)