Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

The antiderivative of a sum multiplies its terms' piecewise cases

Chiusa
#1,874 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
data

Direzione di ricerca

This is a symbolic integration problem in the C# library AngouriMath; the payload names no files or tests. Start by reproducing the three integrands from the table and comparing the printed antiderivatives, then trace how the integrator combines piecewise results for a sum. Done would mean the sum's answer is no longer the cross-product of the term cases, which is open-ended design work.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Part of #718

When two terms each integrate to a piecewise answer in the signs of the constants, the antiderivative of their sum lists every combination of cases, not one piecewise answer per term. Measured on master ed821bf3:

Integrand Answer
1/(b*x^2 + m) 287 chars
1/(sqrt(a + b*x^2)*(b*x^2 + m)) 685 chars
1/(b*x^2 + m) - 1/(sqrt(a + b*x^2)*(b*x^2 + m)) 3,685 chars

The answer for the sum is almost four times the two pieces together.

#1873 meets this. Its conjugate splits 1/(a c + b c x^2 + d sqrt(a + b x^2)) into two such pieces and answers in 3,464 characters, and Rubi's 1.3.2:752 comes to 5,052. The answers are right; I checked them exactly at 50 and 2,000 digits. They are just much longer than they need to be.

What I'd expect: the sum of two piecewise answers stays a sum of two piecewise answers, unless the cases are merged where their conditions coincide.

Lingua principale
C#
Stelle
831
Fork
79
Merge medio
2h 17m
PR unite (30g)
443

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ASC-Community/AngouriMath

Tutte le issue di ASC-Community/AngouriMath

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.