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, 11:33 AMshaunthepandaSolving 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, 11:40 AMTheEmptySet
- February 6th 2011, 11:49 AMshaunthepanda
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, 12: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, 12: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.