Differential Equations
Derivative of functions with respect to independent variables
anxy(n)+an−1xy(n−1)+⋯+a2xy′′+a1xy′+a0xy=f(x)
Order – the degree of the highest derivative
Ordinary – a function with only one variable
Partial – a function under multiple variables
ODE – "Ordinary Differential Equation"
Linear – *described later
Homogeneous *described later
First Order ODE
An Ordinary Differential Equation is an equation with derivative taken with respect to one variable.
The Picard-Lindelof Theorem
Linear ODE
A first order linear ODE generally follows the structure
y′+P(x)y=Q(x)
Where the degree of every derivative is to the first degree
An algebraic linear equation:
ay1+y2=c
A differential linear equation:
a(x)y′+b(x)y=c(x)
Therefore y′+x2y=5
is linear while y′+y2=0
is not linear.
Homogeneity
A homogenous differential equation has the condition that every term in the differential equation has a variable taken to a derivative.
The following is homogeneous:
y′′+2y=0
The following is non-homogeneous due to the −5
:
y′′′+4x7y′′+sin(x)y−5=0
Separable ODE
Whenever a Linear First Order Differential Equation is Homogeneous, the equation can be separated. An ODE expressed in the form
dxdy=g(x)y
can be decomposed into
h(y)1=g(x)dxor∫h(y)1=∫g(x)dx
which reduces to
ln(y)=H(x)+Cory=CeH(x)
Example:
dxdy=4ysin(3x)(1)
y1dy=4sin(3x)dx(2)
∫y1dy=∫4sin(3x)dx(3)
ln(y)=−34cos(3x)+C(4)
y=Ce−34cos(3x)(5)