Solving Initial Value Problem with Picard Iteration

  • Thread starter Thread starter snesnerd
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem using Picard iteration, specifically for the differential equation y' = 2xy with the initial condition y(0) = 1.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore different interpretations of the Picard iteration method, with attempts to derive successive approximations for the solution. Some participants question the correctness of their approaches, while others clarify the integral form of the method.

Discussion Status

The discussion includes various attempts at applying Picard iteration, with some participants expressing uncertainty about their methods. There is acknowledgment of correct approaches, and guidance is provided regarding the integral form of the iterations. Multiple interpretations of the iterations are being explored.

Contextual Notes

Participants are navigating through the initial conditions and the iterative process, with some uncertainty about the correct application of the method. The discussion reflects a mix of confidence and questioning regarding the steps involved in Picard iteration.

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.
 

Similar threads

Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · 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
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
3
Views
2K