79441307

Date: 2025-02-15 10:09:00
Score: 1
Natty:
Report link

The behavior you’re seeing is not a bug but rather a known limitation of the series‐solution implementation in Sympy’s dsolve. In the current implementation, when you use the series hint (for example, '2nd_power_series_ordinary'), dsolve returns a truncated power series in terms of arbitrary constants (like C1 and C2) without automatically solving for them using the provided initial conditions.

There isn’t a built-in workaround in the current version of Sympy’s dsolve to automatically eliminate the constants when using the series hint. You’ll need to either post-process the solution or use a different method if you require the IC to be applied directly.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: A.Mohammed Eshaan