Line 63: | Line 63: | ||
<math>\frac{d^nx}{dt^n}=8x</math>: n<sup>th</sup> order | <math>\frac{d^nx}{dt^n}=8x</math>: n<sup>th</sup> order | ||
− | · Linearity: An n<sup>th</sup>-ordered ODE for <math>y(t)</math> is linear, if it can be written as <math>a_n(t)\frac{d^ny}{dx^n}+a_{n-1}(t)\frac{d^{n-1}y}{dx^{n-1}}+...+a_1(t)\frac{dy}{dt}+a_0(t)y=f(t)</math>, where <math>f(t)<math> is a known function. Otherwise, it is non-linear. | + | · Linearity: An n<sup>th</sup>-ordered ODE for <math>y(t)</math> is linear, if it can be written as <math>a_n(t)\frac{d^ny}{dx^n}+a_{n-1}(t)\frac{d^{n-1}y}{dx^{n-1}}+...+a_1(t)\frac{dy}{dt}+a_0(t)y=f(t)</math>, where <math>f(t)</math> is a known function. Otherwise, it is non-linear. |
More intuitively, a differential equation is linear if there is not a multiplication term of the variables (either dependent or independent) and their differential terms (e.g. <math>x\frac{dy}{dx}</math>, <math>y\frac{dy}{dx}</math> ). | More intuitively, a differential equation is linear if there is not a multiplication term of the variables (either dependent or independent) and their differential terms (e.g. <math>x\frac{dy}{dx}</math>, <math>y\frac{dy}{dx}</math> ). |
Revision as of 16:47, 11 October 2017
Contents
Introduction to Differential Equations
1.0 Abstract
When I was first learning differential equations myself, I felt hard to understand the textbook and my lecture notes. After winning the battle, now I am trying to build up those concepts again and explain them in an easier and more concise way. It is not that academic, aiming for intuitive understanding.
1.1 Concept
Previously, we learnt to solve equations with numbers as solutions. For example, for linear equations $ ax+b=0 $ with respect to $ x $ and $ a≠0 $, the solution is going to be $ x=-\frac{b}{a} $. For quadratic equations $ ax<sup>2</sup>+bx+c=0 $ with respect to $ x $ and $ a≠0 $, the solution is going to be $ x={\frac{-b±\sqrt{b^2-4ac}}{2a}} $.
In both examples, the solutions $ x=-\frac{b}{a} $ and $ x={\frac{-b±\sqrt{b^2-4ac}}{2a}} $ are particular numbers, and mostly we are discussing them within real numbers. When a set of numbers match another set of numbers by a particular definition, a function forms. Therefore, if we apply the function to the solution, (i.e. the equation has a function as a solution) a differential equation forms. Consider what we have learned in Calculus I. When we are taking derivatives to a function, the result is still going to be a function (either constant functions or not).
Here comes the formal concept. A differential equation is an equation involving derivatives, with function(s) as its solution(s).
1.2 Ordinary Differential Equations (ODE) & Partial Differential Equations (PDE)
From 1.1, we have built up the concept of involving derivatives to an equation. As we know, derivatives also involve ordinary and partial derivatives. This separates the differential equations to ODE and PDE. Here is a brief comparison.
ODE | PDE | |
---|---|---|
Number of independent variables | 1 | More than 1 |
How does is look like | $ \frac{dy}{dx}=y^2+y $, $ k $ is a parametre | $ \frac{dh}{dt}=k\frac{d^2h}{dx^2} $, $ k $ is a parametre |
Dependent variable: $ y $ | Dependent variable: $ y $ | |
Independent variable: $ y $ | Independent variables: $ x $, $ y $ |
In this tutorial, we are mainly focusing on ordinary differential equations (ODE).
1.3 Usual Notations for Differential Equations
“Dot” usually refers to taking derivatives w.r.t. $ t $ | “Prime” usually refers to taking derivatives w.r.t. $ x $ | |
---|---|---|
Examples ..... | $ ü=\frac{d^2u}{dt^2} $ | $ y'=\frac{dy}{dx} $ |
Remark: “w.r.t.” refer to “with respect to”
1.4 Terminologies for Differential Equations
· Order: The order of a differential equation is the highest derivative involved.
E.g. $ \frac{dx}{dt}=tx $: 1st order, $ \frac{d^2x}{dt^2}=kx $: 2nd order, ..., $ \frac{d^nx}{dt^n}=8x $: nth order
· Linearity: An nth-ordered ODE for $ y(t) $ is linear, if it can be written as $ a_n(t)\frac{d^ny}{dx^n}+a_{n-1}(t)\frac{d^{n-1}y}{dx^{n-1}}+...+a_1(t)\frac{dy}{dt}+a_0(t)y=f(t) $, where $ f(t) $ is a known function. Otherwise, it is non-linear.
More intuitively, a differential equation is linear if there is not a multiplication term of the variables (either dependent or independent) and their differential terms (e.g. $ x\frac{dy}{dx} $, $ y\frac{dy}{dx} $ ).