Solving Initial Value Problem with Picard Iteration

  • Thread starter Thread starter snesnerd
  • Start date Start date
Click For Summary
The discussion centers on using Picard iteration to solve the initial value problem y' = 2xy with the condition y(0) = 1. Participants explore different approaches to applying the iteration method, with one confirming that the first approximation y0(x) = 1 is correct. The iterative process involves integrating the function derived from the previous approximation to refine the solution further. The correct iterations lead to expressions that include polynomial terms, demonstrating the method's power series nature. Ultimately, the participants validate their calculations and confirm the iterative process is accurately applied.
snesnerd
Messages
26
Reaction score
0
Use picard iteration 4 times to estimate the initial value problem solution:

y' = 2xy thru (0,1)

First off, when it says thru (0,1), I am assuming it means y(0) = 1. I was not sure if I was doing picard iteration right, but here it my attempt:

dy/dx = 2xy

dy/y = 2x dx

dy/1 = 2x dx - since y(0) = 1

y = x^2 + C so y = x^2 + 1. This is the first iteration

y' = x^2 + 1. So now I just solve this

... and so on 4 times.

Or is picard iteration work like this:

dy/dx = 2xy

dy/y = 2x dx

ln|y| = x^2 + C

y = e(x^2 + C)

y = e^(x^2)e^(C)

y = Ce^(x^2)

when y(0) = 1, C = 1

So y = e^(x^2) This is the first iteration

So then I integrate and repeat this 3 more times.

I wasnt sure which one was the right way to do picard iteration or if neither way is right.
 
Physics news on Phys.org
Having just read up on Picard Iteration (http://www.sosmath.com/diffeq/first/picard/picard.html) in order to respond:
You take as first approximation y0(x) = y(0) = 1.
Now you use y' = 2xy in the integral form to get a better approximation:
y_1(x) = \int_{s=0}^x 2s y_0(s) ds = \int_{s=0}^x 2s (1) ds =x^2
and to get the next one, repeat the process:
y_2(x) = \int_{s=0}^x 2s y_1(s) ds
etc.
 
Your first try was correct. Picard iteration gives a power series solution.
With y(0)= 1, y'= 2xy, then your first approximation is y(x)= 1 so that y'= 2x, y= x2+ 1, so y'= 2x(x^2+ 1)= 2x^3+ 2x and y(x)= (1/2)x^4+ x^2+ 1, etc.
 
Okay so let me see if I get this.

y' = 2xy y(0) = 1

dy/y = 2x dx

dy = 2x dx

y = x^2 + C

y = x^2 + 1 (first iteration)

integrate 2x(x^2 + 1) dx

y = (1/2)x^4 + x^2 + C

y = (1/2)x^4 + x^2 + 1 (second iteration)

integrate 2x[(1/2)x^4 + x^2 + 1] dx

y = (1/6)x^6 + (1/2)x^4 + x^2 + 1 (third iteration)

integrate 2x[(1/6)x^6 + (1/2)x^4 + x^2 + 1] dx

y = (1/24)x^8 + (1/6)x^6 + (1/2)x^4 + x^2 + 1
 
Looks right.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
856
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
3
Views
2K