Repository navigation
Commit 148f300
A polynomial over a power of a linear beside the root of a quadratic is integrated by undetermined coefficients (#1701)
* A polynomial over a power of a linear beside the root of a quadratic is integrated by undetermined coefficients
Rubi's 1.2.1.9, P(x) Q^(m/2)/(g + h x)^k, was declined or ran past the
corpus's budget wherever the linear was below the bar to a power past
the first, and with symbols in it even to the first: the rules for one
root of a quadratic take apart a product of distinct linears beside it,
and their closed rule for a constant over a linear declined
1/((g + h x) sqrt(a + c x^2)).
The rule for the roots of two linears uses nothing of the two but
S' = Q'/(2 S): a triangular system for the polynomial part, and a
recurrence down the powers of the linear to the integral of
1/((g + h x) S). That core is shared now, and the root of one quadratic
is read into it as well. The two integrals left are a logarithm or an
arcsine of the quadratic's derivative, by the sign of its leading
coefficient, as the root of a quadratic alone is answered; and an
artanh or an arctan of (2 q0 h - q1 g + (q1 h - 2 q2 g) x)/(2 sqrt(+-H) S),
by the sign of H = h^2 Q(-g/h). Where the sign is a symbol's, both
are given, each where it holds.
It answers only with the linear below the bar, and a first power of it
only with a symbol in it: what the rules further down answer keeps
their answers. The answers of the rule for two linear roots are the
same as before.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* Beside a linear that shares a root with the quadratic, every power of it is algebraic
Where Q vanishes at the linear's root, Q = beta s + gamma s^2 with
s = x - xi, and the derivative of sqrt(Q) s^(-j) is
((1 - 2j) beta s^(-j) + (2 - 2j) gamma s^(1-j))/(2 sqrt(Q)): from
int 1/(s sqrt(Q)) = -2 sqrt(Q)/(beta s) up, each power is algebraic,
and there is no third integral. Rubi writes these as
(a d e + (c d^2 + a e^2) x + c d e x^2)^p over powers of d + e x, and
sqrt(d^2 - e^2 x^2) over powers of d + e x, which ran past the budget.
And a number times even powers of symbols has the number's sign
wherever the symbols are real: the root of d^2 - e^2 x^2 has the
arcsine alone, since -e^2 is negative.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The logarithm over the linear's root is the real one on either side of the discriminant
int 1/((g + h x) sqrt(Q)) is -artanh(z)/sqrt(H) where H, h^2 Q at the
linear's root, is positive, with z = Z/(2 sqrt(H) sqrt(Q)). Since
Z^2 - 4 H Q = (q1^2 - 4 q0 q2) (g + h x)^2, z is less than 1 in size
wherever Q has no real root, and the logarithm of (1 + z)/(1 - z) is
real, and more than 1 wherever it has two, where the logarithm of
(z + 1)/(z - 1) is: the antiderivative of sqrt(4 - x^2)/x^3 is real
on the whole of (-2, 2). With symbols, both are given, each where it
holds, in one piecewise with the arctangent.
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 root of a quadratic
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 3fba4e5 commit 148f300
4 files changed
Lines changed: 610 additions & 164 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
592 | 613 | | |
593 | 614 | | |
594 | 615 | | |
| |||
0 commit comments