Repository navigation
Commit 3c2951c
Read a grown derivatives' quotient's value at the point once expanded (#2391)
Record reading a grown derivatives' quotient expanded as a breaking change
Read a grown derivatives' quotient's value at the point once expanded
l'Hopital's rule declined a quotient that grew too much to differentiate
again unless it had a value at the point. The product rule makes
ln(sqrt(x) cos(x)) / (1 / x)'s quotient
-x^(3/2) (x^(-1/2) cos(x) / 2 - sqrt(x) sin(x)) sec(x), which has none at 0
as written, since x^(-1/2) has none. So x ln(sqrt(x) cos(x)) and
(sqrt(x) cos(x))^x at 0 from the right were left unevaluated, where
x^(1/3) cos(x) in their place was answered. The value is now also read
from the quotient expanded, which gathers the powers of x and is 0 there.
Taking the grown quotient's limit with the rule suppressed answered the
same rows but cost seconds a step: x^(tanh(x)^3) at 0 went from 2.5 s to
18 s, and one row from 1.7 s to over 30 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 6a14757 commit 3c2951c
3 files changed
Lines changed: 57 additions & 1 deletion
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
280 | 293 | | |
281 | 294 | | |
282 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
1913 | 1919 | | |
1914 | | - | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
1915 | 1923 | | |
1916 | 1924 | | |
1917 | 1925 | | |
| |||
| 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 | + | |
0 commit comments