Picard's method solution vs exact solution

  • Thread starter Thread starter phosgene
  • Start date Start date
  • Tags Tags
    Method
phosgene
Messages
145
Reaction score
1

Homework Statement



I have to use Picard's method to find an approximate solution to

\frac{dy}{dx}=2xy

and then compare it to the exact solution, given that y(0)=2

Homework Equations



Picard's method:

y_{n}=y_{0} + ∫^{x}_{x_{0}} f(\phi,y_{n-1}(\phi))d\phi

The Attempt at a Solution



So I go over Picard's method about 3 times and get the result:

2(1+x^2 + \frac{x^4}{2} + \frac{x^6}{6})

which looks like it miiiight be going towards:

2(\sum ^{\infty}_{n=0} \frac{x^{2n}}{n!}) = 2e^{x^2}I then solve the DE exactly by noting that the DE is separable, so I separate and integrate to obtain:

y= e^{x^2}+C

Using my initial condition, I find that C=1. So, my question is, have I done this correctly? I have a feeling that I'm supposed to get the same answer for both.
 
Physics news on Phys.org
phosgene said:

Homework Statement



I have to use Picard's method to find an approximate solution to

\frac{dy}{dx}=2xy

and then compare it to the exact solution, given that y(0)=2

Homework Equations



Picard's method:

y_{n}=y_{0} + ∫^{x}_{x_{0}} f(\phi,y_{n-1}(\phi))d\phi

The Attempt at a Solution



So I go over Picard's method about 3 times and get the result:

2(1+x^2 + \frac{x^4}{2} + \frac{x^6}{6})

which looks like it miiiight be going towards:

2(\sum ^{\infty}_{n=0} \frac{x^{2n}}{n!}) = 2e^{x^2}


I then solve the DE exactly by noting that the DE is separable, so I separate and integrate to obtain:

y= e^{x^2}+C

Using my initial condition, I find that C=1. So, my question is, have I done this correctly? I have a feeling that I'm supposed to get the same answer for both.

e^(x^2)+1 is NOT a solution to the ODE. Try it. You messed up where the constant C belongs.
 
Argh! Silly mistake. Corrected it and now they are equal, thanks :)
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top