Repository navigation
A power of the cosine beside a secant binomial is integrated in the cosine - #1851
Merged
Rafael-SOWNet merged 3 commits intoOct 11, 2026
Merged
Conversation
…osine The route writing a rational function of the secant in the cosine declined whenever the cosine of the same argument stood beside it, so the half-angle substitution answered cos(x)^2/(a + b sec(x)) in 117,409 characters where cos(x)^3/(a cos(x) + b) is 873. The cosine beside the secant, or the sine beside the cosecant, is accepted now, with the binomial to the first power. Part of #718. 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> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…s-gathered-in-the-cosine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A power of the cosine beside a secant binomial,
cos(c + d x)^2/(a + b sec(c + d x)), is one quotient in the cosine,cos(c + d x)^3/(a cos(c + d x) + b), wherever the secant is defined. The rule that rewrites a rational function of the secant in the cosine now takes it when the cosine of the same argument stands beside the secant. The same holds for the sine beside a cosecant. Part of #718.The rule fires only when a sum in the secant is below the bar, and only to the first power:
cos(x)/(a + b sec(x))^4in the cosine is a partial-fraction search past five seconds, while the secant's own rules answer it in a third of one.csc(x)^3/(a + b sin(x)^3)belongs to the rules for the sine's binomial (A sine's binomial cube below the bar is split over the cube's two factors #1850).Measured on master 5dad421 and this branch:
cos(c+d*x)^2/(a+b*sec(c+d*x))cos^2 (A+B sec)/(a+b sec)cos^2 (A+C sec^2)/(a+b sec)cos^3 (B sec+C sec^2)/(a+b sec)cos^4 (B sec+C sec^2)/(a+b sec)cos^2 (A+B sec+C sec^2)/(a+b sec)sin(x)^2/(a+b*csc(x))Rubi corpus, 5 s budget, whole corpus plus a 14,707-problem pocket:
A test differentiates five of these answers back at pinned values and bounds their sizes. The breaking-changes entry is under "A power of the cosine beside a secant binomial is integrated in the cosine".
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura