#9421: desolve mixes user parameters and integration constants
------------------------+---------------------------------------------------
   Reporter:  zimmerma  |       Owner:  burcin  
       Type:  defect    |      Status:  new     
   Priority:  major     |   Milestone:  sage-4.5
  Component:  calculus  |    Keywords:          
     Author:            |    Upstream:  N/A     
   Reviewer:            |      Merged:          
Work_issues:            |  
------------------------+---------------------------------------------------
 Consider
 {{{
 sage: var('t')
 sage: x=function('x',t)
 sage: var('c')
 sage: desolve(diff(x,t)+2*x==t^2-2*t+c,x,ivar=t).expand()
 c*e^(-2*t) + 1/2*t^2 + 1/2*c - 3/2*t + 3/4
 }}}
 Here the first occurrence of {{{c}}} is an integration constant,
 whereas the second one is the parameter in the ODE:
 {{{
 sage: var('d')
 sage: desolve(diff(x,t)+2*x==t^2-2*t+d,x,ivar=t).expand()
 c*e^(-2*t) + 1/2*t^2 + 1/2*d - 3/2*t + 3/4
 }}}
 In case the ODE contains {{{c}}}, desolve should choose another
 name for the integration constant.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9421>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to