Skip to content

Integrate a product of powers of a sine and a cosine beside a non-polynomial by linearising it - #1924

Merged
Rafael-SOWNet merged 4 commits into
masterfrom
a-product-of-powers-of-a-sine-and-a-cosine-linearised
Oct 17, 2026
Merged

Rafael-SOWNet merged 4 commits into
masterfrom
a-product-of-powers-of-a-sine-and-a-cosine-linearised

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #718.

sin(u)^p cos(u)^q beside a non-polynomial factor is written, by product-to-sum, as a sum of sines and cosines of multiples of u. Each term is then a question the integrator already answers. The rule is asked late, after SolveARationalFunctionTimesALogarithmOfPowersOfLinears(…, besideAPolynomialToo: true), so it only meets what the earlier rules have declined. It answers Rubi's 5.1.4 x^3 (1 - c^2 x^2)^(5/2)/(a + b asin(c x)) and its square, which under x = sin(u)/c become exactly this shape.

Rubi chain (master arm at 67d8e8d, 5 s budget):

  • Pocket (2,224 rows): master 2,179, this branch 2,181.
  • Families 0–8 sampled: identical on both arms.
  • Moved rows run alone: master solves 0 of 2, the branch 2 of 2.
  • The gate and the suite (15,497 passed) both pass.

On 2.5.0 both rows were integral(...). The branch answers them in 508 and 1,470 characters, each in about 0.6 s.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Rafael-SOWNet and others added 4 commits October 16, 2026 23:01
…ynomial by linearising it

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…d2.0 lacks

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…-of-a-sine-and-a-cosine-linearised

# Conflicts:
#	Sources/AngouriMath/Functions/Continuous/Integration/IndefiniteIntegralSolver.cs
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet added this to the 2.6.0 milestone Oct 17, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 0d72aa4 into master Oct 17, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant