Repository navigation
Commit c2013cf
A linear over a quadratic beside the root of another, in closed form (#1583)
(g + h x)/(A sqrt(B)) with two different quadratics was declined wherever a
coefficient was a symbol: the rational function beside a root was taken
apart over linears only, and Euler's substitution leaves a quartic in a
field the rational integrator does not stay in. For L = lambda + mu x,
u = L/sqrt(B) turns N/(A sqrt(B)) into 2 rho/(alpha + beta u^2) where
alpha B + beta L^2 = rho A, and that holds for the two roots of
E lambda^2 - 2 P lambda mu + F mu^2 = 0, P = A2 B0 - A0 B2,
E = A2 B1 - A1 B2, F = A1 B0 - A0 B1. Their two numerators span every
linear, so the answer is two arctangents of a linear over the root with
sqrt(P^2 - E F) in their coefficients, Rubi's q for 1.2.1.6, and a
hyperbolic arctangent where the ratio under a piece's root is a negative
number. The rational function beside the root is taken apart over a
quadratic, a power of a linear and a power of the radicand as well, and
each piece is closed: over a power of a linear by its reciprocal, over a
power of the radicand as one half-odd power. Powers of linears only beside a
quadratic: over squared linears alone the reciprocal writes a sign of each,
sgn(sqrt(1 + x) - 1) under u = sqrt(1 + x), whose derivative is not read,
and Euler's substitution answers those without one.
Measured with work/intbench against a8a2b7e, 3 s a problem: Rubi's
1.2.1.6, 4.3.9 and 4.4.9 in full, 66 -> 201 of 217 solved, none lost and
none wrong, every gain made by this alone; and 12 more gained over the
families sample (912 problems) and family 0 (1814), none lost.
Part of #718.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 75ed5cc commit c2013cf
5 files changed
Lines changed: 418 additions & 13 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
332 | 353 | | |
333 | 354 | | |
334 | 355 | | |
| |||
0 commit comments