Approximate Methods for First Order Differential Equations

 

 

Example:  First find the exact solution for the initial value problem

 

            dy/dx  =  1  +  y2,    y(0)  =  3     Note:  The d.e. is nonlinear.

 

 

Strategy:  Use separation of Variables:

 

  Separate variables:                  dy / (1  +  y2 )  =  dx

 

 

  Integrate:     dy / (1  +  y2 )  =     dx   which gives:  tan˗1 (y)  =  x  +  C

 

Or     y  =  tan (x + C)   Use the initial condition  y(0) = 3  to obtain   C  =  tan-1(3)

 

The result is:                y(x)  =  tan [ x  +  tan-1(3) ]

 

 

Example:  Use Picard's Method to find the first, second, and third approximations to

 

            dy/dx  =  1  +  y2,    y(0)  =  3     i.e.  y1(x),  y2(x), and y3(x)

 

and evaluate estimate at  x = 0.1.  Further compare with the exact solution.

 

 

Strategy:    Use successive approximations by applying the following:

 

                                                         x

                          yn+1(x)    =    b  +    ∫ f [ t,yn(t) ] dt   

                                                         a

 

where  b = 3 and  a = 0    and start with yo = b  =  3

 

 

                               x                                         x

So  y1(x)  =  3  +    ∫ [ 1 + yo(t)2 ] dt  =  3  +       [ 1  +  32 ] dt  =    3  +  10 x

                              0                                         0

 

 

                                         x                                      x

 Now    y2(x)    =    b  +    ∫ f [ t,y1(t) ] dt    =   3  +  ∫ [ 1  +  (3 + 10 t )2  dt

                                        a                                      0

 

 

So   y2(x)    =    3  +  10 x  +  30 x2  +  (100/3)  x3 

 

 

Click here to continue with this example.

 

 

 




Copyright © 2017 Richard C. Coddington

All rights reserved.