Repository navigation
Commit 2e2bf9d
Ask a quotient factor whole before l'Hopital's rule splits it (#2382)
l'Hopital's rule takes out of each side a factor that tends to a finite
number other than 0, since the product rule only carries it along. The
factors were read after flattening the product, which takes a quotient
apart: tanh(x) written through exponentials is (e^(2x) - 1) / (e^(2x) + 1),
which tends to 1 at +oo, while its parts tend to +oo and to 0 and neither
was taken out. tanh(x) * x / (x + tanh(x)) at +oo then differentiated the
whole of tanh and did not finish.
A quotient is now asked whole first, and taken apart only where it does
not settle at such a number.
tanh(x) * x / (x + tanh(x)) at +oo: did not finish in 60 s -> 1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 50e9403 commit 2e2bf9d
3 files changed
Lines changed: 32 additions & 5 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1655 | 1655 | | |
1656 | 1656 | | |
1657 | 1657 | | |
1658 | | - | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
1659 | 1684 | | |
1660 | 1685 | | |
1661 | 1686 | | |
| |||
1665 | 1690 | | |
1666 | 1691 | | |
1667 | 1692 | | |
| 1693 | + | |
1668 | 1694 | | |
1669 | | - | |
1670 | | - | |
| 1695 | + | |
1671 | 1696 | | |
1672 | | - | |
1673 | 1697 | | |
1674 | 1698 | | |
1675 | 1699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments