Repository navigation
Commit 0116c08
Ask a quotient of logarithms' derivatives as one quotient (#2354)
Where both logarithms of a quotient diverge, SolveAsLogarithmDivision
takes the limit of the ratio of their logarithmic derivatives, and asked
it as a quotient of quotients, (u'/u) / (v'/v). For ln(x - 1) / ln(ln(x))
at 1 that is (1/(x - 1)) / ((1/x) / ln(x)), and its limit took 8.7 s,
where x ln(x) / (x - 1), the same function, takes 26 ms. The limit at 1
took 11.9 s from the left, 6 s from the right and 16 s two-sided. The left
side took 14 ms before #2275, which rightly sent it to this rule; the
right was already 5.5 s in 2.6.0. limitcheck, which gives each limit five
seconds, found it on SEED=16.
The ratio is asked as u' v / (u v'). The limit at 1 is 1 from each side,
as before, in 191 ms, 40 ms and 59 ms. limitcheck on seeds 14 to 16 finds
no limit of another value and no new NaN, and the two that did not finish
now agree with the values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 5a665c6 commit 0116c08
2 files changed
Lines changed: 45 additions & 3 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits/Solvers
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
337 | 340 | | |
338 | 341 | | |
339 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments