Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Problem with DSolve

  • To: mathgroup at
  • Subject: [mg53532] Re: [mg53513] Problem with DSolve
  • From: Selwyn Hollis <sh2.7183 at>
  • Date: Sat, 15 Jan 2005 21:08:16 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

On Jan 15, 2005, at 1:44 AM, Anand wrote:

> Consider this simple 1st order equation
> DSolve[(y'[x])^2 - x y'[x] + y[x] == 0, y[x], x]
> The generic solution should be y= c ( x - c)
> and in addition a singular solution of this equation is y = x2/4 .
> The solution Mathematica produces is different. At least I could not
> relate it to the above solutions. What am I missing?
> sincerely, -anand.

It's not different; it just needs some massaging. The following steps 
(in Mathematica 5.1) reveal  the solution y = c*(x-c).

    solns1 = Simplify[y[x]/.DSolve[y'[x]^2-x*y'[x]+y[x]==0, y[x], x]]

    solns2 = solns1 /. E^C[1] -> 2*(c+2)^2

    Simplify[solns2, Assumptions -> {x>-4, c>-2}]


Selwyn Hollis

Selwyn Hollis
(edit reply-to to reply)

  • Prev by Date: Prime[..] slows down
  • Next by Date: Re: mathematica parser
  • Previous by thread: Problem with DSolve
  • Next by thread: Re: Problem with DSolve