Repository navigation
Commit 7edf328
A product of powers of quotients of linears is written over each linear once (#1683)
* A product of powers of quotients of linears is written over each linear once
`e^atanh(a x) sqrt(c - c/(a x))` is `sqrt((1 + a x)/(1 - a x)) sqrt(c (a x - 1)/(a x))`, and the root
`1/a` stands in both, with exponents `-1/2` and `1/2`. The substitution search did not finish on it.
Written over each linear once it is `K sqrt(a x + 1)/sqrt(x)`, and `K` -- the integrand over that
product -- has a zero logarithmic derivative, so it is constant wherever it is defined and stands in
front of the answer, as Rubi writes `x^p (c + d/x)^p/(1 + c x/d)^p` in front of its.
`SolveByWritingEachLinearOnce` reads the integrand through products, quotients, powers and the
exponential of a multiple of a logarithm into linears whose roots are rational in the symbols, sums
each root's exponents, and fires where a root stands in two bases under powers that are not whole,
or in a root of a quotient with x below the bar and another base, and at most two linears are left
under such powers. Each linear takes the sign that is positive on an interval where the integrand is
real, so that the product is real there; each such sign is an arm saying where it holds, found with
the other symbols pinned to either sign, and an arm for negative x is integrated in `t = -x`, where
the power of the variable is one the rules read. The product is asked as a quotient, and without
this rule. Every arm or none. With every power whole, a root of a quotient shared with another base
is enough -- `e^(2 acoth(a x))/(c - c/(a^2 x^2))^2` is `K x^4/((a x + 1)(a x - 1)^3)`, which the
partial fractions answer at once -- and `K` is a constant, with one arm and no condition. First in
the chain, at the question asked: the polynomial term writes `1/u` as `u^(-1)` and asks that a level
down.
Two tests pinned the conditioned answers the linear-radical step gives for integrands this rule now
answers on both sides; they assert that instead, and the step's condition stays pinned on
`1/sqrt(x + x^(3/2))`.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* A breaking-changes entry for a product of powers of quotients of linears
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 eaf3cde commit 7edf328
5 files changed
Lines changed: 460 additions & 12 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
990 | 1009 | | |
991 | 1010 | | |
992 | 1011 | | |
| |||
0 commit comments