Lecture Notes-An Introduction to Differential Equations
Lecture Notes-An Introduction to Differential Equations
1 Notation
Since differential equations is a field which involves derivatives, let’s review some notation. If we have a
function, y( x ), that is a function of a single variable, we can denote the derivative of the function in several
ways:
dy d
y′ ( x ) = (x) = y( x )
dx dx
Note that especially in differential equations, we often drop the specification of the independent variable:
dy d
y′ ( x ) = y′ =
= y
dx dx
In addition, if x is the dependent variable and the independent variable is time, t, then you may also see
(especially in physics and engineering, but sometimes in mathematical contexts as well):
x ′ (t) = ẋ (t)
We can also take successive derivatives to obtain the second derivative, third derivative, etc. These are
denoted similarly:
d2 y
y′′ = = ÿ
dx2
d3 y ...
y′′′ = 3
= y
dx
d4 y ....
y (4) = = y
dx4
If the function is a function of multiple variables, for example u( x, y), then we have partial derivatives:
∂u
= ux
∂x
∂u
= uy
∂y
∂2 u
∂ ∂u
= = (u x ) x = u xx
∂x ∂x ∂x2
∂2 u
∂ ∂u
= = (uy )y = uyy
∂y ∂y ∂y2
∂2 u
∂ ∂u
= = (uy ) x = uyx
∂x ∂y ∂x∂y
∂2 u
∂ ∂u
= = (u x )y = u xy
∂y ∂x ∂y∂x
Pay particular attention to the order of the subscripts in the last two statements above.
1
2 Differential Equations
2.1 Definition
A differential equation is an equation that relates one or more unknown functions and their derivatives. For
example:
dy x2
(a) = 2 cos y
dx y
(b) u xx + uyy = 0
4
dy
(c) = y+x
dx
d2 y dy
(d) 2
+2 + 3y = sin t
dt dt
Examples (a), (c), and (d) are called Ordinary Differential Equations (ODEs) since the function of interest (y)
is a function of a single variable. Example (b) is called a Partial Differential Equation (PDE) because the
function u is a function of more than one independent variable (x and y).
Please view the following videos about Differential Equations and the quiz questions that accompany it:
Video
While the above definition is correct, it’s often the case that a differential equation has an entire family of
solutions. In this case, we refer to this family of functions as the general solution to the DE. For example,
dy
consider the simple ODE: = 3x2 . A solution to this ODE is y0 ( x ) = x3 , but any constant added to this
dx
function would also be a solution: yc ( x ) = x3 + c. Therefore, the function y( x ) = x3 + C would be called the
general solution and refers to the entire (infinite) family of functions that satisfy the differential equation.
Initial Value Problems As we saw with the general solution, we frequently have an infinite family of
solutions to a differential equation. Often times, in addition to satisfying the differential equation, we also
want to impose an additional condition, i.e. a point that the solution must pass through. For example:
dy
= 3x2 , y (0) = 7
dx
In this case, the ODE and the additional condition together make up what is often referred to as an Initial
Value Problem (IVP). The given condition allows us to specify which function from the infinite family of
function passes through the specified point (0, 7). Since we know the general solution is y( x ) = x3 + C,
imposing the additional condition that y(0) = 7, we find that C = 7. Thus, the solution to the IVP is the
function y( x ) = x3 + 7.
2
Please view the following videos over solutions to Differential Equations and IVPs:
Video
Even though example (d) is an ODE and example (b) is a PDE, both are second-order differential equations
because the second-order derivative is the highest-order derivative present in the equation.
a n ( t ) y ( n ) + a n −1 ( t ) y ( n −1) + · · · + a 1 ( t ) y ′ + a 0 ( t ) y = g ( t ) (1)
Note here that y is implied to be a function of t. I left out the y(t) notation out for simplicity of notation
(which is a common practice). The above is a linear ODE. Linear PDEs of nth-order are also possible and
have a similar form to that above, except that the function y would be a function of multiple variables and
therefore all partial derivatives of order less than or equal to n would be included.
Most of our study this semester will revolve around the nth-order linear ODEs with constant coefficients
meaning each of the functions ai (t) in (1) will be constants. We will be converting most of these higher-order
equations into a system of first-order equation and using the properties of matrices to solve them.
Nonlinear differential equations are those which are not linear. These are often very difficult or impossible
to solve. We’ll discuss some strategies for nonlinear differential equation towards the end of this semester
and into next semester.
3
Homogeneous vs. Nonhomogeneous For the above form of linear nth-order ODEs given in (1), if the function
g(t) = 0, the equation is called a Homogeneous linear ODE. If the function g(t) ̸= 0, then the equation is
called a Non-Homogeneous linear equation.
Please watch the following video regarding classification of differential equations and the quiz questions
that accompany it. Note that for the quiz questions, I designed them to be actual WTClass quizzes, but I
have since decided that I don’t like that approach and so just pause your video when directed, work the
problem, and then the solution will be discussed in the same video.
Video
Video
Q UIZ Q UESTION 1
Video
Q UIZ Q UESTION 2
Video
Q UIZ Q UESTION 3
Video
Video
Video