Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

The antiderivative of a sum multiplies its terms' piecewise cases

Cerrado
#1,874 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C#
Estrellas
831
Forks
79
Merge medio
2 h 17 min
PR fusionados (30 d)
443

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ASC-Community/AngouriMath

Todos los issues de ASC-Community/AngouriMath

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.