Skip to content

Commit f21e065

Browse files
A power of the quadratic below the bar beside its root is integrated (#1704)
* Beside its root, a power of the quadratic below the bar is integrated too P(x)/((g + h x)^k Q^(n + 1/2)) was declined: Rubi's 1.2.1.9 with (a + b x + c x^2)^(3/2) or (5/2) below the bar, and the like in 1.2.1.2 to 1.2.1.4. The terms over powers of g + h x are those of the series of P/Q^n at the linear's root, alpha^(n + k - 1) times over so that they are polynomials in it, and they go down to int 1/((g + h x) sqrt(Q)) as before. What is left is V/Q^n with V a polynomial: divided by Q n times, the quotient is the polynomial part, and each remainder is a linear r0 + r1 x over a power of Q. int (r0 + r1 x)/Q^(p + 1/2) is (A + B x)/Q^(p - 1/2) and (2p - 2) B int 1/Q^(p - 1/2), A and B from two equations whose determinant is q1^2 - 4 q0 q2, so that part is algebraic all the way down. 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 power of the quadratic below the bar 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 4009f74 commit f21e065

3 files changed

Lines changed: 194 additions & 29 deletions

File tree

‎BREAKING-CHANGES.md‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ with a constant or linear `P`, 1.2.1.2 to 1.2.1.4. They are now integrated by un
629629
coefficients, as the roots of two linears are. The answer is a rational function times `sqrt(Q)`,
630630
a logarithm or an arcsine by the sign of the leading coefficient of `Q`, and a logarithm or an
631631
arctangent by the sign of `Q` at the linear's root. Where the linear shares a root with `Q`, there
632-
is no third term. Below the root's first power, `m < -1`, and without the linear, the answers are
633-
as they were ([#718](https://github.com/asc-community/AngouriMath/issues/718)).
632+
is no third term. Without the linear, the answers are as they were
633+
([#718](https://github.com/asc-community/AngouriMath/issues/718)).
634634

635635
| Input | Was (2.5.0) | Now |
636636
|---|---|---|
@@ -641,6 +641,19 @@ as they were ([#718](https://github.com/asc-community/AngouriMath/issues/718)).
641641
| `"sqrt(1 - x^2)/(1 + x)^2".ToEntity().Integrate("x")` | `integral(...)` | `-2 sqrt(1 - x^2)/(1 + x) + arcsin(-x)` |
642642
| `"sqrt(x^2 + 1)/x^2".ToEntity().Integrate("x")` | `integral(...)` | `-sqrt(x^2 + 1)/x + ln(2 sqrt(x^2 + 1) + 2 x)` |
643643

644+
### A power of the quadratic below the bar beside its root is integrated
645+
646+
And with a power of the quadratic below the bar beside its root, `P(x)/((g + h x)^k Q^(n + 1/2))`,
647+
which was left unevaluated as well. The answer is powers of `1/(g + h x)` and linears over powers
648+
of `Q`, times `sqrt(Q)`, and the same two integrals that are not algebraic
649+
([#718](https://github.com/asc-community/AngouriMath/issues/718)).
650+
651+
| Input | Was (2.5.0) | Now |
652+
|---|---|---|
653+
| `"1/((x + 2)^2*(x^2 + 1)^(3/2))".ToEntity().Integrate("x")` | `integral(...)` | `((4 + 3 x)/(25 (x^2 + 1)) - 1/(25 (x + 2))) sqrt(x^2 + 1)`, and a logarithm in `(2 - 4 x)/(2 sqrt(5) sqrt(x^2 + 1))` |
654+
| `"(1 + 3*x + 4*x^2)/((1 + 2*x)^3*(2 + 3*x^2)^(5/2))".ToEntity().Integrate("x")` | `integral(...)` | linears over `(2 + 3 x^2)^2` and `2 + 3 x^2` and powers of `1/(1 + 2 x)`, times the root, and a logarithm |
655+
| `"(d + k*x + f*x^2)/((g + h*x)^2*(a + c*x^2)^(3/2))".ToEntity().Integrate("x")` | `integral(...)` | the same in the symbols, and a logarithm or an arctangent by the sign of `a h^2 + c g^2` |
656+
644657
### A function comes out of a fractional power of its even power with its sign
645658

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

0 commit comments

Comments
 (0)