Error function as a solution to a second order ode

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 8K views
Juggler123
Messages
80
Reaction score
0
Hi I need to find the solution of

d^2y/dx^2 + 2x(dy/dx) = 0

I've solved it in Maple and get that

y=a*erf(x)+b

but I have no idea how to arrive at this answer!
Any help would be great, thanks.
 
Physics news on Phys.org
Start by letting u=y' then you have:

[tex]u'+2xu=0[/tex]

which I'm sure you know how to solve, then when you get the solution for u, then integrate it once more to get y.
 
Simple! Thanks.