trojansc82
- 57
- 0
Homework Statement
y' = -y , y(0) = 1
Homework Equations
Picard's method
The Attempt at a Solution
I found y1 as 1 + 1/2x2, however y1 is really 1 + x
Last edited:
trojansc82 said:Homework Statement
y' = -y , y(0) = 1
Homework Equations
Picard's method
The Attempt at a Solution
I found y1 as 1 + 1/2x2, however y1 is really 1 + x
HallsofIvy said:I think LCKurtz and lanedance are misunderstanding your notation. Neither y= 1+ x^2/2 nor y= 1+ x is a solution to the equation but you are not claiming it is.
Picard's method of solving the differential equation y' = f(x,y), with initial condition y(0)= y_0 is an iterative method. Taking y_0 to be the initial value, y_1= \int f(x, y_0)dx is the first iteration, then y_2= \int f(x, y_1(x))dx, y_3= \int f(x,y_2(x))dx, etc.
For the problem as given, the first iteration of Picard's method is, indeed, y_1(x)= x+ 1.
HallsofIvy said:Oh, I completely misread the equation! It is y'= -y, not y'= y as I was seeing!
My apologies to both LCKurtz and lanedance.
trojansc82, I still don't see how you got "1+ x^2/2". Please show us what you did.
trojansc82 said:Again, I apologize, I mistyped the answer.
The answer for y1 = 1 - x
LCKurtz said:Is that the answer you got? In your original post you said you got something else. Have you figured it out? You never did show us what you did...
trojansc82 said:Within the integral I multiplied -1 (since y was -y) by t. I ended up integrating -t, which came to -1/2 x2.
I have trouble within the integral.