Skip to content

improve desolve_system initial condition documentation #9824

@rhinton

Description

@rhinton
mannequin

Edit: See comments for the actual issue.


desolve_system apparently ignores initial conditions. Notice the identical results in the two calls in the following example.

sage: t = var('t')
sage: epsilon = var('epsilon')
sage: x1 = function('x1', t)
sage: x2 = function('x2', t)
sage: de1 = diff(x1,t) == epsilon
sage: de2 = diff(x2,t) == -2
sage: desolve_system([de1, de2], [x1, x2], ivar=t)
[x1(t) == epsilon*t + x1(0), x2(t) == -2*t + x2(0)]
sage: desolve_system([de1, de2], [x1, x2], ics=[1,1], ivar=t)
[x1(t) == epsilon*t + x1(0), x2(t) == -2*t + x2(0)] 

CC: @robert-marik

Component: calculus

Keywords: maxima, symbolics

Author: Sergey Bykov

Branch/Commit: dfbad1c

Reviewer: Karl-Dieter Crisman

Issue created by migration from https://trac.sagemath.org/ticket/9824

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions