Skip to content

Commit 36c8662

Browse files
Rafael-SOWNetclaude
andcommitted
Put the #2128 entry first in Unreleased, now that #2127 has merged
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
1 parent b00a06f commit 36c8662

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

‎BREAKING-CHANGES.md‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,24 @@ A not-equal written `<>` is read as `not (a = b)`, and printed that way.
4242

4343
## Unreleased — since 2.6.0
4444

45+
### A system with a product equation is solved branch by branch
46+
47+
**Silent: solutions that were missing are answered.** `EquationSystem.Solve` eliminated `x * y = 0` for `y` as `0`,
48+
which is the answer only where `x` is not zero, and lost the solutions where it is, in a system the triangularisation
49+
does not take. A system with a product in more than one of its unknowns is now solved once for each factor, and its
50+
solutions are theirs together, each put back into the system as written. A row is dropped where an equation, with the
51+
row put in, is not a finite number, as `x ln(y)` is at `(0, 0)`. A square system with an unknown that no equation
52+
mentions answers it as a parameter, as a short system does, where it was `null`
53+
([#2128](https://github.com/asc-community/AngouriMath/issues/2128)).
54+
55+
| Input | Was (2.6.0) | Now |
56+
|---|---|---|
57+
| `MathS.Equations("x*y", "sin(x) + y - 1").Solve("x", "y")` | `[[pi / 2 + 2 * pi * n_1, 0], [pi - pi / 2 + 2 * pi * n_1, 0]]` | `[[0, 1], [pi / 2 + 2 * pi * n_1, 0], [pi - pi / 2 + 2 * pi * n_1, 0]]` |
58+
| `MathS.Equations("(x - 1)*(y - 2)", "e^x - y").Solve("x", "y")` | `[[ln(2), 2]]` | `[[1, e], [ln(2), 2]]` |
59+
| `MathS.Equations("x*e^y", "x^2*y").Solve("x", "y")` | `[[0, 0]]` | `[[0, t_1], [0, 0]]` |
60+
| `MathS.Equations("x - 1", "x^2 - 1").Solve("x", "y")` | `null` | `[[1, t_1]]` |
61+
| `MathS.Equations("a - 1", "b * 0").Solve("a", "b")` | `null` | `[[1, t_1]]` |
62+
4563
### A polynomial system is not answered with some of its solutions missing
4664

4765
**Silent: a polynomial system that lost solutions has all of them.** `EquationSystem.Solve` triangularises a
@@ -77,24 +95,6 @@ is `null`. A row with symbols in it is tried at one value of them, and where it
7795
| `MathS.Equations("ln(x) + ln(y)", "x - y").Solve("x", "y")` | `[[-1, -1], [1, 1]]` | `[[1, 1]]`: `ln(-1) + ln(-1)` is `2 pi i` |
7896
| `MathS.Equations("sqrt(y) - x", "y - a").Solve("x", "y")` | `[[sqrt(a), (sqrt(a)) ^ 2], [-sqrt(a), (-sqrt(a)) ^ 2]]` | `null`: the second row is a solution only at `a = 0` |
7997

80-
### A system with a product equation is solved branch by branch
81-
82-
**Silent: solutions that were missing are answered.** `EquationSystem.Solve` eliminated `x * y = 0` for `y` as `0`,
83-
which is the answer only where `x` is not zero, and lost the solutions where it is, in a system the triangularisation
84-
does not take. A system with a product in more than one of its unknowns is now solved once for each factor, and its
85-
solutions are theirs together, each put back into the system as written. A row is dropped where an equation, with the
86-
row put in, is not a finite number, as `x ln(y)` is at `(0, 0)`. A square system with an unknown that no equation
87-
mentions answers it as a parameter, as a short system does, where it was `null`
88-
([#2128](https://github.com/asc-community/AngouriMath/issues/2128)).
89-
90-
| Input | Was (2.6.0) | Now |
91-
|---|---|---|
92-
| `MathS.Equations("x*y", "sin(x) + y - 1").Solve("x", "y")` | `[[pi / 2 + 2 * pi * n_1, 0], [pi - pi / 2 + 2 * pi * n_1, 0]]` | `[[0, 1], [pi / 2 + 2 * pi * n_1, 0], [pi - pi / 2 + 2 * pi * n_1, 0]]` |
93-
| `MathS.Equations("(x - 1)*(y - 2)", "e^x - y").Solve("x", "y")` | `[[ln(2), 2]]` | `[[1, e], [ln(2), 2]]` |
94-
| `MathS.Equations("x*e^y", "x^2*y").Solve("x", "y")` | `[[0, 0]]` | `[[0, t_1], [0, 0]]` |
95-
| `MathS.Equations("x - 1", "x^2 - 1").Solve("x", "y")` | `null` | `[[1, t_1]]` |
96-
| `MathS.Equations("a - 1", "b * 0").Solve("a", "b")` | `null` | `[[1, t_1]]` |
97-
9898
### A system with more or fewer equations than unknowns is solved or declined
9999

100100
**Not silent: what was an exception is an answer or `null`.** `EquationSystem.Solve` threw

0 commit comments

Comments
 (0)