Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

The antiderivative of a sum multiplies its terms' piecewise cases

Fechada
#1,874 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
12/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
csharp
Domínio
data

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C#
Estrelas
831
Forks
79
Merge médio
2h 17min
PRs com merge (30d)
443

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ASC-Community/AngouriMath

Todas as issues de ASC-Community/AngouriMath

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.