Picard's Method for Solving Differential Equations: Finding y1 = 1 + x

  • Thread starter trojansc82
  • Start date
  • Tags
    Method
In summary: What integral? We aren't mind readers. My guess is you have the integral wrong in the first place. Show us your work.
  • #1
trojansc82
60
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:
Physics news on Phys.org
  • #2
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

Neither of those is correct for the equation you wrote. Show us what you did so we can find your mistake(s).
 
  • #3
you should show you method, so we can see where you're going wrong - what was your first approximation? starting with a constant should integrate to a constant times x and you should have the solution after one iteration
 
  • #4
also as LCKurtz points out neither is correct, you should alway check by substituting into the original DE
 
  • #5
Sorry I meant y1 is really 1 -x. It was a typo.
 
  • #6
I think LCKurtz and lanedance are misunderstanding your notation. Neither [itex]y= 1+ x^2/2[/itex] nor [itex]y= 1+ x[/itex] 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 [itex]y(0)= y_0[/itex] is an iterative method. Taking [itex]y_0[/itex] to be the initial value, [itex]y_1= \int f(x, y_0)dx[/itex] is the first iteration, then [itex]y_2= \int f(x, y_1(x))dx[/itex], [itex]y_3= \int f(x,y_2(x))dx[/itex], etc.

For the problem as given, the first iteration of Picard's method is, indeed, [itex]y_1(x)= x+ 1[/itex]. But no one can show you where you went wrong until you show us what you did.
 
  • #7
HallsofIvy said:
I think LCKurtz and lanedance are misunderstanding your notation. Neither [itex]y= 1+ x^2/2[/itex] nor [itex]y= 1+ x[/itex] is a solution to the equation but you are not claiming it is.

Nor are we claiming that.

Picard's method of solving the differential equation y' = f(x,y), with initial condition [itex]y(0)= y_0[/itex] is an iterative method. Taking [itex]y_0[/itex] to be the initial value, [itex]y_1= \int f(x, y_0)dx[/itex] is the first iteration, then [itex]y_2= \int f(x, y_1(x))dx[/itex], [itex]y_3= \int f(x,y_2(x))dx[/itex], etc.

For the problem as given, the first iteration of Picard's method is, indeed, [itex]y_1(x)= x+ 1[/itex].

No, it isn't.
 
  • #8
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.
 
  • #9
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.

Again, I apologize, I mistyped the answer.

The answer for y1 = 1 - x
 
  • #10
trojansc82 said:
Again, I apologize, I mistyped the answer.

The answer for y1 = 1 - x

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...
 
  • #11
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...

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.
 
  • #12
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.

What integral? We aren't mind readers. My guess is you have the integral wrong in the first place. Show us your work.
 

FAQ: Picard's Method for Solving Differential Equations: Finding y1 = 1 + x

What is Picard's method for solving differential equations?

Picard's method is an iterative algorithm used to solve initial value problems for ordinary differential equations. It involves breaking down the original problem into a series of smaller problems and solving them step by step.

How does Picard's method work?

Picard's method involves starting with an initial guess for the solution, then using this guess to approximate the original equation. This approximation is then used to generate a new guess, and the process is repeated until the solution converges to a certain level of accuracy.

Why is it important to find y1 = 1 + x in Picard's method?

The initial value y1 = 1 + x is used as the starting point for the iterative process in Picard's method. It serves as the first approximation for the solution and is essential for finding subsequent approximations.

What types of differential equations can be solved using Picard's method?

Picard's method is primarily used for solving first-order ordinary differential equations. It can also be used for certain types of higher-order differential equations by converting them into a system of first-order equations.

Are there any limitations to using Picard's method for solving differential equations?

While Picard's method is a powerful and widely used technique, it does have its limitations. It may not always converge to a solution, and even when it does, the solution may not be unique. Additionally, it may be computationally intensive for highly nonlinear or complex equations.

Similar threads

Back
Top