So I am supposed to solve this differential equation in maple:

where y(0)=c and c is a real number.

However, I have no idea how to solve this equation in general. What would be the best method for this?

Printable View

- February 6th 2011, 12:33 PMshaunthepandaSolving a Differential
So I am supposed to solve this differential equation in maple:

where y(0)=c and c is a real number.

However, I have no idea how to solve this equation in general. What would be the best method for this? - February 6th 2011, 12:40 PMTheEmptySet
- February 6th 2011, 12:49 PMshaunthepanda
That is actually what I tried intially, but the thing is that I end up with an imaginary number when I put it in maple... Here is what I get:

- February 6th 2011, 01:16 PMTheEmptySet
hmmm so the equation is

so the integrating factor is

Multiplying the ODE by this gives

Using the product rule backwards gives

You can check by taking the derivative that this satisfies the ODE.

P.S the error function

I don't know what maple is giving you a complex part of the erf function. - February 6th 2011, 01:33 PMTheEmptySet
So I just learned something new.

Now let

This gives

So we can use this to rewrite the previous solution.

This is how maple chose to write the solution.