ODE Mathematical Physics
ODE Mathematical Physics
ODE Mathematical Physics
Mathematical Physics
December 2019
1 Introduction
An equation containing derivatives is called a Differential Equations. If it con-
tains partial derivatives , it is called Partial Differential Equation otherwise it
is called Ordinary Differential Equations. Thus General form of an ODE of nth
order is a relation of the form
dn x
dx
F t, x, , ..., n = 0 (1)
dt dt
1.1 Examples
Here are some of the familiar examples :
Simple Harmonic Motion
d2 x
+ ω2 x = 0 (3)
dt2
is a second order ODE with degree one.
Newton’s Law
F = ma
(4)
1
d2 r F
= (5)
dt2 m
LCR Circuit Consider a simple series circuit containing Resistance R , a ca-
pacitor C , an inductance L and a AC source of emf V. We know that the
differential that the circuit follow is given by
d2 I dI I dV
L +R + = (6)
dt2 dt C dt
2
2.1 Separable Equations
Some time we have an special form
dy P (x)
= (8)
dx Q(y)
Then it can be solve as
Q(y)dy = P (x)dx
integrating both side Z Z
Q(y)dy = P (x)dx
3
Solution can be obtain as follows
x2
Z
(x + y)dx = + yx + c
2
and Z
xdy = xy + c
x2
+ xy + c = 0
2
Remarks It may turn out that a non-exact differential equation can be
made exact differential equation by multiplying a function of x,y. This function
is called Integrating factor α(x, y). Thus the equation
is exact.
Some Of the IF are given below
Rule 1:
1. d(xy) = xdy + ydx
2. d xy = ydx−xdy
y2
y
= xdy−ydx
3. d x x2
4. d log xy = ydx−xdy
xy
5. d log xy = xdy−ydx
xy
6. d tan−1 xy = ydx−xdy
x2 +y 2
7. d tan−1 xy = xdy−ydx
x2 +y 2
Rule 2:
If equation is in the form
f1 (xy)ydx + f2 (xy)xdy = 0
4
then R
f (x)dx
α(x, y) = e
Rule 4: If
1 ∂Q ∂P
− = f (y)
P ∂x ∂y
then R
f (y)dy
α(x, y) = e
Rule 5:
If equation is of the form
xa y b (mydx + nxdy) + xr y s (pydx + qxdy) = 0
then multiply both side with xh y k and
∂P (x, y) ∂Q(x, y)
=
∂y ∂x
and Find hand k.
5
2.4 The Bernoulli Equation
The differential Equation
y 0 + P (x)y = Q(x)y n
or
y0 1
+ P (x) n−1 = Q(x)
yn y
can be solve as follow
z0 yn
Let z = y n−1 then z 0 = (1−n)y −n y 0 ⇒ y 0 = (1−n) substitute it to differential
equation
z 0 + (1 − n)P (x)z = (1 − n)Q(x)
which can be solved from previous method.
y = xv
we get
y 0 = xv 0 + v = xn f (v)
which is First order linear differential equation.
This substitution give us separable equation in v and x, that can be solved.
Putting back v = y/x we get the require solution.
d2 y dy
P (x) + Q(x) + R(x)y = S(x) (11)
dx2 dx
.
6
dy d2 y
Dy = dx = y 0 and D2 y = dx2 = y 00 and so on Thus equation become
(a2 D2 + a1 D + a0 )y = 0
Solution
Find root of the polynomial (called auxiliary Equation)
a2 D2 + a1 D + a0 = 0
The General solution given by , If roots of equation are a & b
c1 eax + c2 ebx , if a 6= b
y=
(Ax + B)eax , if a = b
Proof: We have
(a2 D2 + a1 D + a0 )y = 0
or
(D − a)(D − b)y = 0
If a 6= b Thus We can write (D − a)y = 0 and (D − b)y = 0 solution given by
y = c1 eax and y = c2 ebx
General solution given by
y = c1 eax + c2 ebx
If a = b
(D − a)(D − a)y = 0
Let u = (D − a)y Thus u = Aeax
(D − a)y = u = Aeax
y = (Ax + B)eax .
Complex Roots Of Auxiliary Equation
Suppose complex roots are α ± ιβ then the solution given by
Or
y = ceαx sin(βx + γ).
Simple Harmonic Oscillator The Differential Equation of Simple har-
monic motion given by
d2 y
+ ω2 y = 0
dt2
Or which can be written as
D2 y + ω 2 y = 0 ⇒ (D2 + ω 2 )y = 0
7
d
where = dt Roots of auxiliary equation are D = ±iω. so the general equation
given by
Questions A fairly reasonable assumption for this problem and many other
similar ones is that there is a retarding force proportional to the velocity; let us
call this force −l(dy/dt)(l 0. Thus SHM Equation become
d2 y dy
m = −ky − l
dt2 dt
. Solve!
d2 y dy
L(y) = a2 + a1 + a0 y = f (x)
dx2 dx
d2 y dy
a2 + a1 + a0 y = (D − a)(D − b)y = kecx .
dx2 dx
then the particular solution given by
Cecx if c 6= a or b
yp = Cxecx if c = a or b , a 6= b
Cx2 ecx if c = a = b.
8
ksin(αx)
(D − a)(D − b)y =
kcos(αx)
First solve
(D − a)(D − b)y = keiαx
and then take real or imaginary part.
5 Problems
Question 1:
Consider the SHM setup where the differentisl equation of the motion given
by
d2 x
+ ω2 x = 0
dt2
The solution by inspection is given by
x(t) = Acos(ωt) + Bsin(ωt)
One can find A & B by putting the position and velocity at t = 0. But go back
Langrangium mechanics where you need to tune A & B in such a way that the
trajectory pass through space-time points (x1 , t1 ) and (x2 , t2 ).Here we need to
find Action , In this case it define as
Z t2
mω 2 2
m
S(x1 , t1 ; x2 , t2 ) = ẋ + x dt
t1 2 2
Show that for the oscillator
mω 2
(x1 + x22 )cos(ωt) − 2x1 x2
S(x1 , t1 ; x2 , t2 ) = (13)
2sin(ωt)
Problem 2
dx
Consider the equation dt+Ax+B=0 . Show that if x(t) is a solution of differ-
ential equation then
x(t) + Ce−At
will also be a solution.
Problem 3: Try with Exactness
(2xy + y 2 )dx + (x2 + 2xy)dy = 0