Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Integrals over a trinomial with complex roots in x^2 beside a root are long

Đang mở
#1,885 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
backend

Hướng nghiên cứu

Start by reproducing the two integrals in the table and comparing their answer lengths, then check why the complex-root answer becomes NaN when r is complex. The issue leaves open whether to rewrite the pieces over x^2 - r so their cases hold for complex r, or to shorten the linear-over-quadratic pieces, and that choice needs a maintainer decision first. Done means the complex-pair answer approaches the real-roots size without NaN.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Part of #718

A trinomial with complex roots in x^2, beside a root of a quadratic, gives long answers. The PR that splits a + b x^2 + c x^4 over its factors writes it as c (x^2 + p x + m)(x^2 - p x + m), two real quadratics, wherever b^2 < 4 a c. Each piece is then a linear over a quadratic beside the root, and those answers are long. Measured with the factors named:

Integrand Answer
x^2 sqrt(d + k x^2)/(c (x^2 - r)(x^2 - s)), real roots 1,458 chars
x^2 sqrt(d + k x^2)/(c (x^2 + p x + m)(x^2 - p x + m)), conjugate pair 13,063 chars

The whole answer for x^2 sqrt(d + k x^2)/(a + b x^2 + c x^4) is 29,139 characters, most of it the second case.

The real-roots writing cannot simply be reused with complex r. The pieces' answers are piecewise on signs like that of d + k r, and with a complex r no case is taken, so the answer is NaN everywhere.

What I'd expect: something nearer the real-roots size. Either the pieces over x^2 - r get a form whose cases make sense for complex r, or the linear-over-a-quadratic pieces get shorter.

Ngôn ngữ chính
C#
Star
831
Fork
79
Merge trung bình
2 giờ 17 phút
Pull request đã merge (30 ngày)
443

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ASC-Community/AngouriMath

Tất cả issue của ASC-Community/AngouriMath

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.