

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
differential equations lecture notes
Typology: Lecture notes
1 / 25
This page cannot be seen from the preview
Don't miss anything!
1
http://faculty.olin.edu/bstorey/Notes/DiffEq.pdf
2 NUMERICAL METHODS FOR DIFFERENTIAL EQUATIONS
Introduction
Differential equations can describe nearly all systems undergoing change. They are ubiquitous is science and
engineering as well as economics, social science, biology, business, health care, etc. Many mathematicians have
studied the nature of these equations for hundreds of years and there are many well-developed solution techniques.
Often, systems described by differential equations are so complex, or the systems that they describe are so large,
that a purely analytical solution to the equations is not tractable. It is in these complex systems where computer
simulations and numerical methods are useful.
The techniques for solving differential equations based on numerical approximations were developed before
programmable computers existed. During World War II, it was common to find rooms of people (usually women)
working on mechanical calculators to numerically solve systems of differential equations for military calculations.
Before programmable computers, it was also common to exploit analogies to electrical systems to design analog
computers to study mechanical, thermal, or chemical systems. As programmable computers have increased in speed
and decreased in cost, increasingly complex systems of differential equations can be solved with simple programs
written to run on a common PC. Currently, the computer on your desk can tackle problems that were inaccessible
to the fastest supercomputers just 5 or 10 years ago.
This chapter will describe some basic methods and techniques for programming simulations of differential
equations. First, we will review some basic concepts of numerical approximations and then introduce Euler’s
method, the simplest method. We will provide details on algorithm development using the Euler method as an
example. Next we will discuss error approximation and discuss some better techniques. Finally we will use the
algorithms that are built into the MATLAB programming environment.
The fundamental concepts in this chapter will be introduced along with practical implementation programs. In
this chapter we will present the programs written in the MATLAB programming language. It should be stressed
that the results are not particular to MATLAB; all the programs in this chapter could easily be implemented in
any programming language, such as C, Java, or assembly. MATLAB is a convenient choice as it was designed
for scientific computing (not general purpose software development) and has a variety of numerical operations and
numerical graphical display capabilities built in. The use of MATLAB allows the student to focus more on the
concepts and less on the programming.
1.1 FIRST ORDER SYSTEMS
A simple first order differential equation has general form