Mathematics Exam  >  Mathematics Notes  >  Mathematics for IIT JAM, GATE, CSIR NET, UGC NET  >  Numerical Solutions of ODEs using Euler - Numerical Analysis, CSIR-NET Mathematical Sciences

Numerical Solutions of ODEs using Euler - Numerical Analysis, CSIR-NET Mathematical Sciences | Mathematics for IIT JAM, GATE, CSIR NET, UGC NET PDF Download

Euler's Method :

Though in principle it is possible to use Taylor's method of any order for the given initial value problem to get good approximations, it has few draw backs like

  • The scheme assumes the existence of all higher order derivatives for the given function f(x,y) which is not a requirement for the existence of the solution for any first order initial value problem.
  • Even the existence of these higher derivatives is guaranteed it may not be easy to compute them for any given f(x,y).
  • Because of the usage of higher order derivatives in the formula it is not convenient to write computer programs , that is the method is more suited for hand calculations. 

To overcome these difficulties, Euler developed a scheme by approximating y' in the givenivp.  The scheme is as follows:

The derivative term in the first order ivp 

y' = f(x, y) , y(x0) = y0

is approximated  by making use of Taylor series approximation of the dependent variable y(x) at the point xi+1.  That is

y(xi+1) = y(xi+ Δx) = y(xi) + Δxy'(xi) + (Δx/ 2)y''(xi) + . . . 
= y(xi) + Δxf(xi, yi) + (Δx/ 2)y''(xi) + . . . 

(... y'(xi) = f(xi, yi))

if the infinite series is truncated from the term Δx2 onwards, then

y(xi+1) = y(xi) + Δx y'(xi(or) 
yi+1 = yi + Δx fi    for all i

That is, 
for i = 0,      y1 = y0 + Δx f0 
i = 1,          y2 = y+ Δx f1 
! 
i = n-1,      yn = yn-1 + Δx fn-1

Since y0 and hence f0 are known (from initial condition) in the equation corresponding to i = 0, all the terms on the r.h.s are known.  So y1 that is, y at xis calculated easily from this equation. Similarly once y1 is known, r.h.s of the equation corresponding to  i = 1 is also known so y2 can be computed. As we proceed in the same way until i = n-1yn can be obtained.  This is an explicit method because in any equation there is only one unknown which can be separated to the left side of the equation.

Local truncation error : 

The error in the approximation, that is  the difference between the exact solution at xi+1 and the numerical solution yi+1 is called the local truncation error (assumed that yi+1 is calculated with exact arithmetic with out any round off error). 

Ti+1 = y(xi+1) - yi+1 
= y(xi+1) - yi - Δxfi 
= h2/2 y'(ξ) (by Taylor series & remainder theorem)

where xiξxi+1. Hence the order of the local truncation error for Euler scheme is 
O(Δx2) as Δx → 0

Geometrical Interpretation :

Geometrically Euler's formula is nothing but approximating the slope of the solution curve with the function value f(xi,yi) at the starting point of the each subinterval (xi, xi+1for all i. 

The document Numerical Solutions of ODEs using Euler - Numerical Analysis, CSIR-NET Mathematical Sciences | Mathematics for IIT JAM, GATE, CSIR NET, UGC NET is a part of the Mathematics Course Mathematics for IIT JAM, GATE, CSIR NET, UGC NET.
All you need of Mathematics at this link: Mathematics
556 videos|198 docs
556 videos|198 docs
Download as PDF
Explore Courses for Mathematics exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Numerical Solutions of ODEs using Euler - Numerical Analysis

,

Numerical Solutions of ODEs using Euler - Numerical Analysis

,

Exam

,

CSIR NET

,

practice quizzes

,

pdf

,

Important questions

,

CSIR-NET Mathematical Sciences | Mathematics for IIT JAM

,

CSIR-NET Mathematical Sciences | Mathematics for IIT JAM

,

Numerical Solutions of ODEs using Euler - Numerical Analysis

,

UGC NET

,

CSIR-NET Mathematical Sciences | Mathematics for IIT JAM

,

UGC NET

,

Viva Questions

,

GATE

,

CSIR NET

,

video lectures

,

Semester Notes

,

past year papers

,

Free

,

CSIR NET

,

GATE

,

ppt

,

Extra Questions

,

MCQs

,

Summary

,

mock tests for examination

,

study material

,

Objective type Questions

,

Previous Year Questions with Solutions

,

UGC NET

,

shortcuts and tricks

,

Sample Paper

,

GATE

;