Repository navigation
Commit 3fba4e5
A power of x beside a symbolic block, and blocks in one power of x, are split off (#1700)
* A power of x beside a symbolic block of the third degree or more is split off
N/(x^k B), where the block B has a symbol in it and a constant term that is not zero, is split at
the power of x: the first k terms of the power series of N/B at 0 are the part over x^k, and the
rest is a polynomial over B exactly, which the rules for a binomial and the rest read. The split
over written factors took linear and quadratic blocks only, so 1/(x (x^3 + c)) was declined where
1/(x (x^3 + 2)) was answered.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* Symbolic blocks in one power of x are split in that power
Blocks that are each a polynomial in one power x^n, n >= 3, linear or quadratic in it, with a symbol
among them, are split in u = x^n by the split over written factors, one residue of the numerator's
powers modulo n at a time, and each fraction back in x is over one block, which the rule for a
binomial reads. 1/((a + b x^3)(c + d x^3)) was declined: over the rationals it does not factor, and
a block of the third degree is nothing the split over written factors reads.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* A quotient with x below a bar inside it is written over one bar
Every rule the partial fractions try reads the numerator and the denominator as polynomials, and
`a + b/x` is not one, so 1/(a + b/x) was declined where x/(a x + b) was answered, and so was the
numeric 1/(2 + 3/x^2)^3. Such a quotient is written over one bar first.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* A product of sums in a symbolic power of x is written out
(a + b x^n)(c + d x^n)^3 had no antiderivative, and written out it is eight powers of x, each
answered at once: no rule reads a power of x whose exponent is a symbol as a polynomial, and the
rule that writes out a power takes one power and not a product of them. A product whose factors
with x in them are sums, positive whole powers of sums and powers of x is written out now, as late
as that rule and for the same reason.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The one bar takes out the power of x it put in
Writing 1/((a + c/x^2 + b/x) x (d + e x)^2) over one bar clears its bars with a power of x, and
leaves x^3/(x^2 Q L^2): the rules after it read the two sides as coprime, and answered that
wrongly. The greatest power of x dividing both is taken out of each, the denominator's factors kept
as written.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* One symbolic block quadratic in a power of x is split at its roots
a + b x^n + c x^(2n), n >= 3, with a symbol in it, is c (u - r_1)(u - r_2) in u = x^n, and the split
in u takes the two factors as it takes two blocks, each then a binomial in x: 1/(a + b x^3 + c x^6)
and (1 + x^4)/(1 + b x^4 + x^8) were declined, where a + b x^2 + c x^4 was answered that way already.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* Two symbolic blocks or more in x^2 are split in it too
The split over written factors reads a block of x^2 only while it is quadratic in x, so
1/(x^4 (d + e x^2)(a + c x^4)) was declined. The split in u = x^n takes n = 2 as well where there
are two blocks or more; one quadratic in x^2 alone stays the biquadratic rule's.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The breaking-changes entry for the rational functions in x^n, written as one list
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* One block in a power of x is split at its roots last
The roots of a + b u + c u^2 are complex where b^2 < 4ac, and every
fraction after the split is over a binomial x^n - r with one in it. A
rule after the split that branches on the sign of r has no branch for a
complex one: (d + e x^4)/(x^3 (a + b x^4 + c x^8)) came to x/(x^4 - r),
and the table's piecewise on the sign of r had no value at any point,
where the substitution v = x^2 answers the block whole.
The split of one block is now its own rule, after every other, so that
whatever answers the block whole answers first. The examples it was for
are still answered, at either sign of the discriminant.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The splits in a power of x answer only what they were written for
Each of these splits integrates its parts again, so where it fires
on a shape it was not written for, the whole question is asked a
level down, and inside a search that is paid for every candidate.
- A power of x beside a block is split off only where the quotient is
in lowest terms in x, a factor of the block is past the second
degree, and the question is the one asked or one substitution
below it.
- Only a quotient of polynomials is written over one bar.
- A block that x divides is left to the content, where its roots
would include a zero not recognised as one.
- A product of sums is written out only for the question asked, and
only where each sum is of powers of x.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The two blocks at the roots are a list initialiser, not a collection expression
A collection expression for a List is lowered through CollectionsMarshal,
which is in System.Runtime.InteropServices, an assembly the kernel does
not reference.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The coefficients are read off their pairs, which netstandard2.0 does not deconstruct
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 504a557 commit 3fba4e5
4 files changed
Lines changed: 534 additions & 0 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
199 | 231 | | |
200 | 232 | | |
201 | 233 | | |
| |||
0 commit comments