MATH 204
Chapter 1
Introduction to Differential Equations
1.1 Definitions
A differential equation (DE) is any equation which contains the derivatives of one or more dependent variables with respect to one or more independent variables. For example,
d2y
dx2 −2xdy
dx +3y=0
is a differential equation in whichyis the dependent variable andxis the independent variable.
Classification of Differential Equations :
Differential equations can be classified by order, type and linearity.
1. Order : The order of a differential equation is the order of the highest derivative in the equation. For example,
dy
dx +y =x
is a first order differential equation, while d2y
dx2 +5dy
dx+xy=0 is a second order differential equation.
2. Type : If a differential equation contains only one independent variable, then it is called an ordinary differential equation (ODE). If it contains more than one independent variable, then it is called a partial differential equation (PDE). For example,
dy
dx +5y =ex, d2y dx2 − dy
dx +6y =0 are ordinary differential equations, while
∂2y
∂x2 +∂
2y
∂t2 =0, ∂2y
∂x2 = ∂
2y
∂t2 −2∂y
∂t
are partial differential equations.
3. Linearity :A differential equation is called linear inyif it has the form
an(x)d
ny
dxn +an−1(x)d
n−1y
dxn−1 +. . .+a1(x)dy
dx+a0(x)y =g(x).
If a differential equation is not linear in y, then it is called nonlinear in y. For example, the differential equations
x2dy
dx+3xy=1, d3y
dx3 +xdy
dx −5y=cosx are linear iny, while the differential equations
eydy
dx+xy=2, x3d2y
dx2 +3y2 =0 are nonlinear iny.
Remark. A differential equation is called linear inxif it has the form
an(y)d
nx
dyn +an−1(y)d
n−1x
dyn−1 +. . .+a1(y)dx
dy +a0(y)x= g(y).
If a differential equation is not linear in x, then it is called nonlinear in x. For example, the differential equations
y3dx
dy +2yx=1, yd2x
dy2 −3dx
dy +x=lny are linear inx, while the differential equations
3 √
Notations :
1. Ordinary differential equations can be written using the following notations dy
dx, d2y
dx2, . . . , y0, y00, . . . , y, ¨˙ y, . . . . For example, the following equations are equivalent
d2y
dx2 −ydy
dx =x, y00−yy0 =x, y¨−yy˙ =x.
2. Partial differential equations can be written using the following notations
∂y
∂x, ∂2y
∂x2, . . . , yx, yxx, . . . . For example, the following equations are equivalent
∂2y
∂x2 =3∂y
∂t +y, yxx =3yt+y.
Example. Classify the following differential equation based on order, type and linearity : xd2y
dx2 −dy dx
3
+y=0.
Example. Determine whether the following differential equation is linear inxandy: y2−1
dx+xdy =0.
Solutions of Differential Equations :
A solution of a differential equation is any function which satisfies the differential equation. If a solution is given in the formy= f(x), then it is called an explicit solution, otherwise it is called an implicit solution. A solution which contains at least one arbitrary constant is called a general solution, while a solution which is free from arbitrary constants is called a particular solution.
Example. Verify that each given function is a solution of the given differential equation : 1. dy
dx =x√
y, y= 1 16x4
2. y00−2y0+y=0, y= xex
Example. Verify that the relation x2+y2 =9 is an implicit solution of the following differential equation
y0 =−x y·
Initial and Boundary Value Problems :
1. An initial value problem (IVP) is annth order differential equation together withnconditions imposed on the solution at one point. For example,
y0 =6x, y(1) = 3
and
y00−4y=12x, y(0) =4, y0(0) =1 are initial value problems.
2. A boundary value problem (BVP) is annth order differential equation together withnconditions imposed on the solution at more than one point. For example,
y00−y0+2y =0, y(0) =−2, y(1) = 2
is a boundary value problem.
Exercises 1.1
Q1. Classify the following differential equations based on order, type and linearity : 1. (1−x)y00−4xy0+5y=cosx
2. d3y dx3 =
r
1+dy dx
4
Q2. Determine whether the following differential equation is linear inxandy: xdy+ (y+xy−xex)dx =0.
Q3. Verify that each given function is a solution of the given differential equation : 1. 2y0+y =0, y =e−x/2
2. dy
dt +20y =24, y = 6 5 −6
5e−20t
Answers 1.1
A1.
1. 2nd order, ODE, linear iny.
2. 3rd order, ODE, nonlinear iny.
A2. Linear iny, nonlinear in x.
A3. Verify.