Differential Equations
微分方程
Jerry Tai
戴立嘉
A gentle start
Motivation, classification
Python example 1 – heat wave
http://faithlab.family/2dwave
Python example 1 – heat wave
•
a
Python example 2 – erosion of landscape
http://faithlab.family/erosion
Python example 2 – erosion of landscape
Python example 2 – erosion of landscape
Why study differential equations?
• Differential Equations show everywhere in
• Science: physics, chemistry, biology, astrophysics..
• Engineering: control theory, circuit design, signal
processing, …
• Mathematics: algebraic geometry, probability, …
• Social sciences: population dynamics, economic modelling,
…
• And more!
Examples of using
differential equations
Animation of Pendulum Motion
https://www.myphysicslab.com/
What are Differential Equations?
• Equations that describe rates of change of some
phenomena over time
• Equations that involve derivatives of one or more
functions in one or more independent variables
Writing Differential Equations
• Different communities in different points in time
use different ways of writing derivatives
prime mark
(Falling object)
subscript
(Logistic Equation)
(Wave Equation)
(Current)
ration+d
Two Types of Differential Equations
Ordinary
Only One Independent Variable
Partial
Multiple Independent Variables
In This Class
Ordinary
(Only One Independent Variable)
Order of a differential equation
Order of a Differential Equation: Order of Highest Derivative
Order of a differential equation
Order of a Differential Equation: Order of Highest Derivative
Second Order
First Order
Second Order
Fifth Order
Second Order (PDE)
Linear / Non-linear differential equations
If a differential equation can be written as:
it is called linear.
…otherwise it is called non-linear.
Linear / Non-linear differential equations
Let’s look at the examples above and see if they are linear
differential equations or not
Let’s start with
Linear / Non-linear differential equations
So it’s linear!
Linear / Non-linear differential equations
How about this one?
Linear / Non-linear differential equations
So it’s non-linear!
Linear if it can be written as:
Linear
Non-linear
Up next!
Linear / Non-linear differential equations
Definition of a linear equation
Target equation
it’s linear!
Linear / Non-linear differential equations
Linear
Nonlinear
Linear
Up next!
Linear / Non-linear differential equations
Definition of a linear equation
Target equation
it’s linear!
Linear / Non-linear differential equations
Linear
Nonlinear
Linear
Linear
Up next!
Linear / Non-linear differential equations
it’s non-linear!
Linear / Non-linear differential equations
Linear
Nonlinear
Linear
Linear
Nonlinear
Ordinary/Partial differential equations
• Another way to distinguish differential equations
Classifications of differential equations
•Now we have three ways to classify differential equations:
•Order
•Linear vs non-linear
•Ordinary vs Partial
Classifications of differential equations
Order, Linear vs Nonlinear, Ordinary vs Partial?
Write your answers here!
Classifications of differential equations
Order, Linear vs Nonlinear, Ordinary vs Partial
2nd Order Linear ODE
1st Order Nonlinear ODE
2nd Order Linear ODE
5th Order Linear ODE
2nd Order Nonlinear PDE
Why Are Classifications Important?
• Recognize What We Have
• So we know the right tool for the job
• Can we solve it explicitly?
• Can we use an efficient numerical solver?
• What are the properties of the solution?
• Do we have a good approximation of the behavior?
• …
In this class…
•We will mostly work with:
• First, second and n-th order
• Linear
• Ordinary
Differential equations
•Why?
• because we have elegant solution for first and second order
• because we have effective solvers for higher order
• we have a nice way to transform the problem and transport it to another space
Stay tuned!
Questions?
I’ll see you guys next time!