Repository navigation
Commit 96ac3bc
A product of powers is read as its own raised product's derivative without a sum beside it (#1694)
* A product of powers is read as its own raised product's derivative without a sum beside it
SolveAsTheDerivativeOfAProductOfPowers reads an integrand as a constant
times the derivative of its powers with some of them raised by one. Three
changes:
- The derivative's sum is built as a sum of products, each raised base's
derivative times the other raised bases, so that it reads as a
polynomial and the constant comes off one monomial. Built with f'/f in
it, it read as nothing, and the constant fell to simplifying a quotient
of the two sums: past a minute for Rubi's 1.3.2
x (a + b x + c x^2)^m (d + e x + f x^2 + g x^3)^n (...), 0.3 s now.
- Where a power is not a whole one, a product with no sum beside it is
tried as well: 1/(x^2 sqrt(a x + b x^4)) is
(-2/(3 a) sqrt(a x + b x^4)/x^2)'.
- And there, x is raised from nothing where it is not among the powers:
(a + b x^n + c x^(2 n))^p (a + b (1 + n + n p) x^n + ...) is
(x (a + b x^n + c x^(2 n))^(p + 1))'.
Part of #718.
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 read without a sum beside it
Measured on the 2.5.0 tag and on this branch.
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 a34dbc3 commit 96ac3bc
3 files changed
Lines changed: 90 additions & 11 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2002 | 2002 | | |
2003 | 2003 | | |
2004 | 2004 | | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
2005 | 2020 | | |
2006 | 2021 | | |
2007 | 2022 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9055 | 9055 | | |
9056 | 9056 | | |
9057 | 9057 | | |
| 9058 | + | |
| 9059 | + | |
| 9060 | + | |
| 9061 | + | |
| 9062 | + | |
9058 | 9063 | | |
9059 | 9064 | | |
9060 | 9065 | | |
| |||
9095 | 9100 | | |
9096 | 9101 | | |
9097 | 9102 | | |
9098 | | - | |
| 9103 | + | |
| 9104 | + | |
| 9105 | + | |
| 9106 | + | |
| 9107 | + | |
| 9108 | + | |
| 9109 | + | |
| 9110 | + | |
| 9111 | + | |
| 9112 | + | |
| 9113 | + | |
| 9114 | + | |
| 9115 | + | |
| 9116 | + | |
| 9117 | + | |
| 9118 | + | |
| 9119 | + | |
| 9120 | + | |
| 9121 | + | |
9099 | 9122 | | |
9100 | 9123 | | |
9101 | 9124 | | |
9102 | 9125 | | |
9103 | 9126 | | |
9104 | | - | |
| 9127 | + | |
| 9128 | + | |
| 9129 | + | |
| 9130 | + | |
| 9131 | + | |
| 9132 | + | |
| 9133 | + | |
| 9134 | + | |
| 9135 | + | |
| 9136 | + | |
| 9137 | + | |
| 9138 | + | |
| 9139 | + | |
| 9140 | + | |
9105 | 9141 | | |
9106 | | - | |
| 9142 | + | |
9107 | 9143 | | |
9108 | 9144 | | |
9109 | 9145 | | |
9110 | 9146 | | |
9111 | 9147 | | |
9112 | | - | |
9113 | | - | |
9114 | 9148 | | |
9115 | 9149 | | |
9116 | 9150 | | |
9117 | | - | |
| 9151 | + | |
| 9152 | + | |
| 9153 | + | |
| 9154 | + | |
| 9155 | + | |
| 9156 | + | |
| 9157 | + | |
| 9158 | + | |
| 9159 | + | |
| 9160 | + | |
9118 | 9161 | | |
9119 | 9162 | | |
9120 | 9163 | | |
9121 | | - | |
9122 | | - | |
9123 | | - | |
9124 | | - | |
9125 | | - | |
| 9164 | + | |
9126 | 9165 | | |
9127 | 9166 | | |
9128 | 9167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
107 | 132 | | |
108 | 133 | | |
0 commit comments