MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Initial condition with DSolve in Mathematica 8 doesn't work

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115984] Initial condition with DSolve in Mathematica 8 doesn't work
  • From: Bert RAM Aerts <bert.ram.aerts at gmail.com>
  • Date: Fri, 28 Jan 2011 06:14:21 -0500 (EST)

When I enter the following in Mathematica 8.0.0 Home Edition:
DSolve[{y'[x] + y[x] == a Sin[x], y[0] == 0}, y[x], x]
I get
DSolve::deqn: Equation or list of equations expected instead of True
in the first argument {y[x]+(y^\[Prime])[x]==a Sin[x],True}. >>

The initial condition becomes a "True"...

In Mathematica 7.0.1 Home Edition, this same input gives the expected
output:
{{y[x] -> -(1/2) a E^-x (-1 + E^x Cos[x] - E^x Sin[x])}}

What am I missing?


  • Prev by Date: FindRoot with Logarithmic terms
  • Next by Date: Re: variable dimension of domain of integration
  • Previous by thread: Re: FindRoot with Logarithmic terms
  • Next by thread: Re: Initial condition with DSolve in Mathematica 8 doesn't work