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 d1d0296
Browse filesBrowse the repository at this point in the historyBrowse files
Answer a half-angle integrand through two roots where the cosine is negative too (#1959)
The half-angle rule beside a half-odd power of `1 ± sec` writes each root of a
constant times the secant or cosine apart in t = tan(y/2). That is exact where
cos(y) > 0. Beyond it each root turns its sign by its constant's, and two roots
make the integrand real on both sides at once, so the answer said
`provided cos(y) >= 0`: half of the integrand's domain, for every one of the
165 rows of Rubi's 4.5.4.2 that took the rule. Which roots turn is known from
their constants. For an even number of roots, the turns multiply to (-1)^n s,
where n is the number of roots of the cosine and s is the sign of the product
of the constants, and the integrand is real just where s > 0. The answer now
holds there as written, with `sgn(cos(y))` in front for an odd n, and says
`provided a > 0 or cos(y) >= 0` only where s is not known. An odd number
above one still says `provided cos(y) >= 0`.
Part of #233.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@@ -4174,6 +4177,8 @@ its sign on its own, so an answer through two says `provided cos(y) >= 0`
4174
4177
| `"1/(sec(x)^(3/2)*sqrt(1 + sec(x)))".ToEntity().Integrate("x")` | `integral(...)` | an antiderivative through a root of `1 + tan(x/2)^2` |
4175
4178
| `"sqrt(a - a*sec(x))".ToEntity().Integrate("x")` | `integral(...)` | a logarithm in `tan(x/2)`, times `sgn(tan(x/2))` |
4176
4179
| `"sqrt(1 + csc(x))".ToEntity().Integrate("x")` | `integral(...)` | an arctangent in `tan(pi/4 - x/2)` |
4180
+
| `"cos(x)^(3/2)/sqrt(1 + sec(x))".ToEntity().Integrate("x")` | `integral(...)` | a logarithm and a power in `tan(x/2)`, times `sgn(cos(x))` |
4181
+
| `"cos(c+d*x)^(3/2)*(A+C*sec(c+d*x)^2)/sqrt(a+a*sec(c+d*x))".ToEntity().Integrate("x")` | `integral(...)` | the same, times `sgn(cos(c + d x))`, `provided a > 0 or cos(c + d x) >= 0` |
4177
4182
4178
4183
### An even power of the secant or the cosecant under a root is written in the tangent
0 commit comments