You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a10be86
Browse filesBrowse the repository at this point in the historyBrowse files
A quotient by the square of a base is integrated by parts against the base's reciprocal (#1759)
x^2/(a x cos(a x) - sin(a x))^2 was declined, with the rest of Rubi's 4.7.7
over the square of a x cos(a x) - sin(a x) or of cos(a x) + a x sin(a x).
A quotient N/(M v^2) by the square of a base v is g v'/v^2 with
g = N/(M v'), and v'/v^2 is the derivative of -1/v, so by parts its
integral is -g/v plus that of g'/v. Taken where the base's derivative is
one term and v cancels from g'/v; the tower ansatz is asked first, and its
answer kept where it has one.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Copy file name to clipboardExpand all lines: BREAKING-CHANGES.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -838,6 +838,21 @@ but `sqrt(q)^2 = q` ([#1598](https://github.com/asc-community/AngouriMath/issues
838
838
| `"1/sqrt(-x^2 + i)".Integrate("x")` | `-arcsin(-2x/sqrt(4i)) + C` | `ln(-2x + 2i sqrt(-x^2 + i))/i + C`, an antiderivative as before, in the logarithm |
839
839
| `"1/(sqrt(x)*sqrt(1 + i*x))".Integrate("x")`, and Rubi 4.3.2.1's `sqrt(tan(c + d x))/(a + i a tan(c + d x))^(5/2)` | `integral(...)` | the antiderivative |
840
840
841
+
### A quotient by the square of a base is integrated by parts against the base's reciprocal
842
+
843
+
**Answers where there were none.** `x^2/(a x cos(a x) - sin(a x))^2` was declined, with the rest of
844
+
Rubi's 4.7.7 over the square of `a x cos(a x) - sin(a x)` or `cos(a x) + a x sin(a x)`. A quotient
845
+
`N/(M v^2)` by the square of a base with a function of `x` in it is `g v'/v^2` with `g = N/(M v')`, and
846
+
`v'/v^2` is the derivative of `-1/v`: its integral is `-g/v` plus the integral of `g'/v`, taken where
847
+
the base's derivative is one term and `v` cancels from `g'/v`
// A power of x every term of the base has goes to the rest: `x^2 v^2` arrives as
408
+
// `(a x^2 cos(a x) - x sin(a x))^2`, the square of `x v`.
409
+
var lowest = Sumf.LinearChildren(squared).Select(term => Mulf.LinearChildren(term)
410
+
.Select(factor => factor == x ? 1 : factor is Powf(var b, Number.Integer { EInteger: var n }) && b == x && n.CanFitInInt32() ? n.ToInt32Unchecked() : 0)
0 commit comments