Differential Equations
Differential Equations
1 2018-2019
Learning objectives
To solve a rst order linear dierential equation with constant co-
ecients
To solve a second order linear dierential equation with constant
coecients
1 Introduction
1.1 In mathematics
You learned before that there exists a unique function f equal to its derivative function and
satisfying f (0) = 1. This function is the exponential function.
Thus, the equation f 0 = f where f is an unknown function, admits the exponential function
x 7−→ ex as solution. We say that f 0 = f is a dierential equation.
Example 1.
1. Prove that the functions f dened by f (x) = kex with k a real constant are solutions of
the dierential equation f 0 = f .
2. Give three distinct solutions for the above equation. How many solutions do we have for
this equation ?
1.2 In physics
Example 2.
Let's consider this electrical network. We get
the relationships :
dUC
i=C et UR = −Ri et U = UC = UR .
dt
1
1A M1.1 2018-2019
2 Dierential equations
Denition 1.
A dierential equation is a mathematical equation that relates some function f with its n-th
derivatives. An ordinary dierential equation is a dierential equation containing one or more
functions of one independent variable and its derivatives. The term ordinary is used in contrast
with the term partial dierential equation
Example 3.
f 0 (x)f (x) + 2xf ”(x) + ex = 0 is an ordinary dierential equation.
Notations :
to simplify we do not write x in f (x).
in mathematics, we use the letter y instead of the letter f . So y is a function.
.
in mechanics, the variable is often t, the function is x (instead of y ) and we write x instead
of f 0 (Newton's notations).
dn U
in physics, we use the notation fot the nth derivative of U .
dtn
Example 4.
Write using mathematical, mechanical and physical notations the equation of the previous
example .
To solve a dierential equation means to look for all functions satisfying the equation.
Only the simplest dierential equations are solvable by explicit formulas. For instance the
previous dierential equation can't be solved explicitely. In this case, we use softwares. If a
self-contained formula for the solution is not available, the solution may be numerically ap-
proximated using computers.
Example 5.
Sketch integral curves of the solutions in our rst example.
2
1A M1.1 2018-2019
3
1A M1.1 2018-2019
Proposition 3.
Solutions of the equation y 0 + ay = 0 are of the form y = ke−ax with k a real constant.
Proof :
We have already seen that the functions f dened by f (x) = ke−ax are solutions of this equation.
Thus it suces to prove that there are only those functions.
Let's consider f a solution of y 0 + ay = 0 and g be a function such that g(x) = f (x)eax .
Knowing that f is a solution of y 0 + ay = 0, let's dertermine g and let's deduce f .
Example 9.
Solve the dierential equation : 2y 0 − 3y = 0.
y 0 + ay = b(x)
Example 10.
Solve the equation :
2y 0 + 3y = 2x + 1
Example 11. In physics
In physics, we will have to solve : y 0 + ay = K with K a real constant and a 6= 0. Let's prove
that the particular solution is a constant let's deduce solutions of the above equation.
Example 12.
Solve the dierential equation y 0 + 4y = cos(2x).
4
1A M1.1 2018-2019
5
1A M1.1 2018-2019
Example 15.
Find a particular solution for those equations :
1. y 00 − 5y 0 + 10y = 0
2. y 00 − 4y 0 + 4y = 0
3. y 00 − y 0 − 2y = 0
ay 00 + by 0 + cy = d(x)
où a, b and c are three real constants, a 6= 0 and d is a continuous function from an interval I
to R.
Example 16.
Find a particular solution for the equations :
1. y 00 + y 0 − 2y = (x + 1)
Example 17.
Solve the following equations :
1. y 00 + y = cos x
2. y 00 + y 0 − 2y = sin(2x)
6
1A M1.1 2018-2019
Example 18.
1 1
Solutions of the equation y 00 + 3y 0 + 2y = x + 1 are of the form : y = Ae−x + Be−2x + x −
2 4
Find the solution satisfying f (0) = 1 and f 0 (0) = 2
Remark 1.
La solution f of a second order homogeneous dierential equation has two constants, thus it
sucies to have two initial values to compute those constants. Those conditions may concern
f and f 0 , or we may have two conditions on f .
Example 19.
Let's consider an innite length of bar which is embedded in a wall. It is considered that the
wall has a temperature θM above ambient air temperature θA . It is assumed that the stabilized
d2 θ
temperature θ to x distance of the wall satises the dierential equation 2
− m2 θ = −m2 θA ,
dx
with m a positive constant.
Let's express θ with the previous data.
7
1A M1.1 2018-2019
Exercises
Exercise 1.
Among those equations, nd the linear equations ?
Exercise 4.
Let's consider a vertical cylindrical tube containing a liquid and rotating quickly about its axis
with a constant angular speed ω . Our goal is to determine the curve (C).
Let (C) be the curve, which is the intersection of a surface and a plane containing the symmetry
axis of the tube. The origin is on the symmetry axis of the tube (see picture)
Let M (x; y) be a point on the surface of mass m. There exists two forces on M
its weight P = mg , which is vertical ;
the centrifugal force mω 2 x, which is horizontal.
The rotational speed is constant, the liquid surface is stable, and therefore the resultant F of
the two previous forces, is perpendicular to the plane tangent to the curve in M.
1. Justify that α = θ
8
1A M1.1 2018-2019
dy mω 2 x
2. Justify that : tan(α) = et tan(θ) = .
dx mg
3. Determine the dierential (E) checked by y .
4. Solve (E).
5. Numerical computation : ω = 10rad/s, g = 10m/s2
Ray tube : 10−2 m
the liquid height, before rotation : 10−1 m
Knowing that
the volume of the solid begotten by the rotation around the y-axis of (C) delimited by
5π −8
(C),the x-axis, the y-axis and by the straight line of equation x=10−2 , is equal to 10
2
and that the volume keeps constant,
let's determine the solution of (E).
Exercise 5.
Solve those dierential equations :
1. 9y 00 + 12y 0 + 4y = 0
2. y 00 + y 0 − 2y = 0
3. y 00 + y 0 + 2y = 0
Exercise 6.
1. Find a second order linear dirential equation with constant coecents having e2x and ex
as solutions.
2. Find a second order linear dirential equation with constant coecents having ex and xex
as solutions.
3. Find a second order linear dirential equation with constant coecents having 1 and x as
solutions.
4. Find a second order linear dirential equation with constant coecents having cos 3x and
sin 3x as solutions.
5. Find a second order linear dirential equation with constant coecents having e2x cos x
and e2x sin x as solutions.
Exercise 7.
Finf the general solution of the following second order linear dierential equations
1.
(a) y 00 + 2y 0 + 5y = 5x2 + x + 1
(b) Find the solution f satisfying f (0) = 2 and f 0 (0) = 1.
2. y 00 + 4y = cos 2x
3. y 00 − 3y 0 + 2y = 3x + sin x
9
1A M1.1 2018-2019
1 Introduction
We thus call the physical devices leading to a homogeneous linear dierential equation of order
2. Here are two examples :
1. Consider a mass m suspended from a spring of stiness k . If the mass is
displaced from its equilibrium position (in the vertical direction), its motion
is governed by the dierential equation
10
1A M1.1 2018-2019
3 Forced Oscillation
Consider a mechanical oscillator on which a variable force f (t), or a resistance-capacitance-
inductance circuit fed by a variable voltage generator E(t) is actuated. The response x(t) to
the excitationis the solution of a dierential equation
We put in the frequent case of a second member of the form E cos αt (avec E a positive constant)
Unamortized case : Solve rthe complete equation in the non-amortized case by distinguishing
k
2 cases. We will take ω =
m
1. α 6= ±ω
(a) Solve the complete equation with the initial conditions x(0) = 0 and ẋ(0) = 0.
p+q p−q
(b) Using the formula cos p − cos q = −2 sin sin Write that solution has a
2 2
product. If we consider the case α close to ω a beat phenomenon happens. Indeed we
have then |α − ω| small and α + ω big. Considering the periods of the 2 sine of the product
give the appearance of the curve solution.
2. α = ±ω
(a) Solve the complete equation with the initial conditions x(0) = 0 and ẋ(0) = 0.
(b) Describe and give the look of the curve solution. In this case it is said that the excitation
causes the resonance of the oscillator.
The elds where resonance occurs are innumerable : child swing, but also acoustic resonances of
musical instruments, resonance of tides, orbital resonance in astronomy, resonance of the basilar
membrane in the hearing phenomenon, resonances in circuits electronics and nally : all systems,
assemblies, mechanical parts are subjected to the phenomenon of resonance. Abstract systems
are also subject to resonances : one can, for example, mention the dynamics of populations. In
the eld of civil engineering, this phenomenon can be observed mainly in pedestrian footbridges
subjected to military marches, for example, or, more generally, in structures subjected to an
earthquake.
11
1A M1.1 2018-2019
In 1850, a troop crossing in close order the bridge of the Basse-Chaine, bridge suspended on the
Maine in Angers, provoked the rupture of the bridge by resonance and the death of 226 soldiers.
However, the military regulations already prohibited walking on a bridge, which suggests that
this phenomenon was known before.
12