You are on page 1of 13

Lesson 1

Differential Equations: INTRODUCTION, ORDER AND DEGREE AND PROOF OF SOLUTIONS

DIFFERENTIAL EQUATION – A DIIFERENTIAL EQUATION OR SIMPLY DE, IS ANO EQUATION WHICH


CONTAINS DERIVATIVES, EITHER ORDINARY DERIVATIVES OR PARTIAL DERIVATIVES.

ODE – ORDINARY DIFFERENTIAL EQUATION

PDE – PARTIAL DIFFERENTIAL EQUATION

EXAMPLES OF DE:
'' '
1. a y + b y + cy=g(t ) ode 2
d y
2 =y''
d y ( dy 2 −5 y dx
2
2. sin ( y ) 2
= 1− y ) + y e ode
dx dx
(4) ' '' '
3. y +10 y −4 y + 2 y =cos (t) ode
2 2 2
∂ u ∂ u ∂u
4.
2
+ 2
+ 2
=0 pde
∂ x ∂ y ∂z
Order of de – the largest derivative present in the de

Degree of de – the degree of the order of de

EXAMPLE:
2
d y
2
t+3=g (t )
dx
Exercises: state whether the de is ode or pde and state its order and degree.

given de order degree


2
d x 2 ode 2nd 1st
1. 2
+ k x =0
dt
2. ode 1st 1st
( x 2 + y 2 ) dx+ 2 xydy =0
3. ' ''
y −3 y +2 y=0
' ode 3rd 1st
2
d u pde 2nd 1st
4. x 2 +3 x=0
dx
5. ode 2nd 1st
2
d y dy 2
x + y + 4 y =1
dx dx
6. ode 1st 1st

( )
3
d y dy
sin 3
= +x
dx dx
7. ode 2nd 2nd

√(
8.
dy 2
dx ) d2 y
+3 y= 2
dx
ode 2nd 1st

( )
3 2
2 dy d y 2
3y − 2 =sin ⁡(x )
dx dx
9. pde 3rd 2nd

√ ( ) ( )
2 3
dy d y
1+ =y 3
dx dx
Example:
−3
y ( x )=x 2 is a solution to 4 x y +12 x y +3 y=0 for x >0.
2 '' '
1. Show that
−3 −5
' −3 2 −1 −3 2
y= x = x
2 2
−5 −7
''
y =
2 ( )( )
−3 −5 2 −1 15 2
2
x = x
4

( ) ( )+3 ( x )=0
−7 −5 −3
152 −3
4x x 2
+12 x x 2 2
4 2
−7 −3 −3
2
15 x ∙ x 2 −18 x 2 + 3 X 2 =0
7 −3 −3
2−
2 2 2
15 x −18 x +3 X =0
−3 −3 −3
2 2 2
15 x + 3 X −18 x =0
−3 −3
18 x 2 −18 x 2 =0
−3
0=0 ∴ y ( x )=x 2 is a solution
' '' ' −2 x
2. y −3 y +2 y=0 ; y=e
Solution:
y=−e
−2 x
−8 e−2 x −3 ( −2 e−2 x ) + 2 (−e−2 x )=0
' −2 x −2 x −2 x −2 x
y =−2 e −8 e +6 e +2 e =0
'' −2 x −2 x −2 x
y =−4 e −8 e +8 e =0
' '' −2 x −2 x
y =−8 e 0=0 ∴ y =e is a solution¿ the given DE

3. Verify that 3 e−2 x +4 e x is a solution of ' '' '


y −3 y +2 y=0
Solution:
y=3 e + 4 e
−2 x x
(−24 e−2 x + 4 e x )−3 (−6 e−2 x + 4 e x ) +2 ( 3 e−2 x + 4 e x )=0
' −2 x x −2 x x −2 x x −2 x x
y =−6 e + 4 e −24 e + 4 e +18 e −12 e +6 e +8 e =0
'' −2 x x −2 x x
y =12 e + 4 e 0=0 ∴ y =3 e + 4 e is a solution ¿ the given DE
' '' −2 x x
y =−24 e +4 e
2
d x 2
4. Verify that the solution of the de 2
+ k x =0, x=sinkt
dt
Solution:
2 2
x=sinkt −k sinkt +k sinkt =0
'
x =kcoskt 0=0 ∴ x=sinkt is a solution ¿ the given DE
'' 2
x =−k sinkt

Lesson 2
Linearity and homogeneity of differential equations

An nth order ode is linear if we can write it as:


n n−1
d y d y dy
an( x ) n
+ an−1 ( x ) n−1
+… a1 ( x ) + a0 ( x ) y =f ( x ) ,if f ( x )=0 , ∴ homogeneous
dx dx dx
' '' (n)
1. The dependent variable y and all its derivatives y , y ,… y are of the first degree, that is, the power of each
term involving y is 1.
2. The coefficient a 0 , a 1 , … a n of y ' , y ' ' , … y (n) depend at most on the independent variable x.

2
1. ( 1−x ) y '' +3 y ' =x ( 1−x ) d y + 3 dy =x ∴ linear , non−homogeneous
dx dx
dv = y ,iv=x , 1 st order ,1 st degree
dy
2. '
y +sin y=0 + sin y=0 ∴ non−linear
dx
dv = y ,iv=x , 1 st order ,1 st degree
3
' '' ' 2 d y dy 2
3. y +3 y + 2 y =x +3 +2 y=x ∴ linear , non−homogeneous
dx dx
3 rd order , 1 st degree
3
' '' ' y d y dy y
4. y +4 y +2 y=e +4 +2 y=e ∴ non−linear
dx dx
2
2 '' ' 3 2d y dy 3
5. x y + x y +4 y=x x + x +4 y=x ∴ linear , non−homogeneous
dx dx
2 nd order , 1 st degree
dy
6. ( 1− y ) y ' +2 y=e x ( 1− y ) + 2 y =e x ∴ non−linear
dx
4
d y 2
7. 4
+ y =0 non−linear DE
dx

√ ( )
2 2
8.
d2 y
d x2
= 1+
dy 2
dx ( ) d y
dx
2
=1+
dy
dx
∴ non−linear DE
2
d x dx
9. 2
−t −5 tx=−25 linear , non−homogeneous DE
dt dt
dv =x , iv=t ; 2 nd order , 1 st degree
'' x '
10. y + e y + y=sin x
Lesson 3
PROOF OF SOLUTIONS OF DIFFERENTIAL EQUATIONS

KINDS OF SOLUTION OF AN ODE:


1. GENERAL SOLUTION – IS A SOLUTION CONTAINING THE NUMBER OF ARBITRARY CONSTANTS
EQUAL TO THE ORDER OF THE ODE
2. PARTICULAR SOLUTION – IS A SOLUTION OBTAINED FROM THE GENERAL SOLUTION BY GIVING
PARTICULAR VALUES TO THE ARBITRARY CONSTANTS.

2x '
1) PROVE THAT y=Ce is a solution of y =2 y
' 2x
y =2 C e
'
Substitute on y =2 y
2x
2 C e =2(Ce ¿¿ 2 x )¿
2x 2x 2x
2 C e =2 C e ∴ y =Ce is a solution DE
2) Prove that y=C 1 cos 2 x +C 2 sin 2 x is a general solution of y ' ' + 4 y=0
y=C 1 cos 2 x +C 2 sin 2 x , y ' ' + 4 y=0
'
y =−2 C 1 sin 2 x+2 C 2 cos 2 x
''
y =−4 C 1 cos 2 x−4 C 2 sin2 x
''
Substitutite on y + 4 y=0
−4 C1 cos 2 x−4 C2 sin 2 x + 4 ( C 1 cos 2 x +C2 sin 2 x ) =0
0=0 ∴ a solution
3) Prove that y=ln cos ( x−C 1 ) +C2 is a solution of y ' ' + ( y ' )2+1=0
y=ln cos ( x−C 1 ) +C2 , y ' ' + ( y ' )2+1=0
' (¿ x−C 1 )(1)
y =−sin +0 ¿
cos (x−C 1)
'
y =−tan(x−C 1)
'' 2
y =−sec (x −C1 )
'' 2
Substitutite on y + ( y ' ) +1=0
2
−sec ( x−C 1 ) + [−tan ( x−C 1) ] + 1=0
2

2 2
−sec ( x−C 1 ) + tan (x−C 1)+1=0
Recall: tan 2 θ+1=sec 2 θ
2 2
tan ( x−C1 ) +1=sec ( x−C 1)
2 2
−sec ( x−C 1 ) + sec ( x−C 1 )=0
0=0 ∴ a solution
2x −3 x
4) Prove that y=C 1 e +C 2 e is a solution of y ' ' + y' −6 y=0
2x −3 x
y=C 1 e +C 2 e , y ' ' + y' −6 y=0
' 2x −3 x
y =2 C1 e −3 C 2 e
'' 2x −3 x
y =4 C 1 e + 9C 2 e
'' '
Substitutite on y + y −6 y =0
4 C1 e 2 x + 9 C2 e−3 x +2C 1 e2 x −3 C2 e−3 x −6 ( C1 e 2 x + C2 e−3 x ) =0
2x −3 x 2x −3 x
6 C 1 e +6 C 2 e −6 C1 e −6 C 2 e =0
2x 2x −3 x −3 x
6 C 1 e −6 C 1 e +6 C 2 e −6 C 2 e =0
0=0 ∴ a solution
3x
5) PROVE THAT y=C 1 e +C 2 x +C 3 is a solution of y ' ' ' −3 y ' ' =0
3x
y=C 1 e +C 2 x +C 3, y ' ' ' −3 y ' ' =0
' 3x
y =3 C 1 e +C 2
'' 3x
y =9 C1 e
' '' 3x
y =27 C 1 e
'' ' ''
Substitutite on y −3 y =0
27 C 1 e 3 x −3 ( 9 C1 e3 x )=0
3x 3x
27 C 1 e −27 C 1 e =0
0=0 ∴ a solution
x 2x x
6) Prove that y=C 1 e + C2 e +C 3 e is a solution of y ' ' ' −6 y '' +11 y ' −6 y=0
x 2x x
y=C 1 e + C2 e +C 3 e , y ' ' ' −6 y '' +11 y ' −6 y=0
' x 2x x
y =C 1 e +2 C 2 e +C3 e
'' x 2x x
y =C1 e +4 C2 e +C 3 e
' '' x 2x x
y =C 1 e + 8C 2 e +C 3 e
'' ' '' '
Substitutite on y −6 y + 11 y −6 y=0
C 1 e x +8 C 2 e 2 x +C 3 e x −6 ( C 1 e x + 4 C2 e 2 x +C3 e x ) +11 ( C1 e x +2C 2 e2 x +C 3 e x )−6 ( C1 e x +C 2 e 2 x +C3 e x ) =0
x 2x x x 2x x
−5 C1 e −16 C 2 e −5C 3 e + 5C 1 e +16 C 2 e +5 C 3 e =0
0=0 ∴ a solution
Lesson 4
Elimination of arbitrary constants
Eliminate the arbitrary constant to obtain the de:
1) y=a x2 +bx +c
3 2
2) x −3 x y =c
3x
3) y=C 1 +C 2 e
2
4) y sin x−x y =c
5) x=C 1 cos ωt+ C2 sin ωt
6) x= A sin ( ωt + B )
−2 x −3 x
7) y=C 1 e + C2 e
2
1. y=a x +bx +c
'
y =2 ax +b+ 0
'
y =2 ax +b
''
y =2 a
' ''
y =0
3 2
2. x −3 x y =c
3 x 2−3 ( x 2 y ' + y ( 2 x ) ) =0
[ 3 x 2−3 x2 y ' −6 xy=0 ] 1
3x
'
x−x y −2 y =0

[ ( )
x−x
dy
dx
−2 y=0 dx
]
xdx−xdy −2 ydx =0
xdx−2 ydx−xdy =0
( x−2 y ) dx−xdy=0
3x
3. y=C 1 +C 2 e
' 3x
y =3 C 2 e → eq .1
'' 3x
y =9 C2 e → eq .2
¿ eq .1∧eq . 2
3 [ y ' =3 C 2 e 3 x ] →−[ 3 y ' =9 C 2 e3 x ] →−3 y ' =−9C 2 e3 x
'' 3x '' 3x '' 3x
y =9 C2 e + y =9 C2 e + y =9C 2 e
' ''
−3 y + y =0
'' '
y −3 y =0
2
4. y sin x−x y =c
y cos x−
dy
dx ( )
sin x −( x ( 2 y y ' ) + y 2 )=0

[ y cos x+ sin x
dy
dx
−2 xy( )
dy
dx
− y 2=0 dx
2
]
y cos x dx+ sin x dy−2 xy dy− y dx=0
2
y cos x dx− y dx+ sin x dy−2 xy dy=0
( y cos x− y 2 ) dx +(sin x−2 xy ) dy=0
y ( cos x− y ) dx + ( sin x−2 xy ) dy=0
5. x=C 1 cos ωt+ C2 sin ωt
dx
=−ω C 1 sin ω t +ω C 2 cos ω t
dt
2
d x 2 2
2
=−ω C 1 cos ω t+ ω C2 (−sin ω t )
dt
2 2
¿−ω C1 cos ω t−ω C2 sin ω t
2
¿−ω (C 1 cos ω t+ C2 sin ω t)
2 2
d x 2 d x 2
2
=−ω x → 2 + ω x=0
dt dt
6. x= A sin ( ωt + B )
dx
=ωA cos ( ωt + B )
dt
dx
=Aω cos (ωt + B)
dt
2
d x 2
2
=− A ω sin(ωt +B)
dt
2
d x 2
2
=−ω ¿
dt
2
d x 2
2
=−ω x
dt
2
d x 2
2
+ ω x=0
dt
−2 x 3x
7. y=C 1 e + C2 e eq .1
' −2 x 3x
y =−2 C 1 e +3 C 2 e eq . 2
'' −2 x 3x
y =4 C 1 e + 9 C2 e eq .3
¿ eq .2∧eq . 3
( y '=−2C 1 e−2 x +3 C 2 e3 x ) 2 → 2 y ' =−4 C 1 e−2 x +6 C 2 e3 x
'' −2 x 3x '' −2 x 3x
y =4 C 1 e + 9 C2 e + y =4 C1 e +9 C2 e

'' ' 3x
y +2 y =15 C 2 e eq . 4

( y=C1 e−2 x +C 2 e 3 x ) 2 →2 y ' =2 C1 e−2 x +2 C2 e3 x


' −2 x 3x ' −2 x 3x
y =−2 C 1 e +3 C 2 e + y =−2 C 1 e +3 C 2 e
' 3x
y +2 y=5 C2 e eq .5
¿ eq . 4∧eq . 5
'' 3x '' 3x
y +2 y=15 C 2 e y +2 y=15 C 2 e
( y ' +2 y=5 C 2 e 3 x )−3 →+−3 y ' −6 y=−15 C 2 e 3 x
'' '
y − y −6 y=0
Lesson 5
Elimination of arbitrary constants using eliminant method (uses determinant)
−2 x 3x
1. y=C 1 e + C2 e
−2 x 3x
0=− y +C 1 e +C 2 e eq . 1
' −2 x 3x
0=− y −2 C1 e +3 C2 e eq .2
'' −2 x 3x
0=− y + 4 C1 e +9 C 2 e eq . 3

[ ]
−y e−2 x e3 x
0= − y ' −2 e−2 x 3 e 3 x
− y ' ' 4 e−2 x 9 e 3 x

[ ]
y 1 1
−2 x 3x
0=(−1)(e )(e ) y ' −2 3
y'' 4 9

| |
y 1 1 y 1
y ' −2 3 y ' −2
y ' ' 4 9 y' ' 4

(−18 y +3 y ' ' + 4 y ' )−(−2 y ' ' + 12 y +9 y ' )=0


'' '' ' '
−18 y−12 y +3 y +2 y + 4 y −9 y =0
[−30 y +5 y ' '−5 y ' =0 ] 1
5
'' '
−6 y + y − y =0
'' '
y − y −6 y=0
3x
2. y=C 1 +C 2 e
3x
0=− y +C 1+C 2 e
' 3x
0=− y + 3C 2 e
'' 3x
0=− y +9 C 2 e

[ ]
− y 1 e3 x
0= − y ' 0 3 e3 x
− y ' ' 0 9 e3 x

[ ]
y 1 1
0=(−1 ) ( e ) y ' 0 3
3x

''
y 0 9

| |
y 1 1 y 1
'
y 0 3 y' 0
''
y 0 9 y'' 0

( 0+ 3 y ' ' +0 ) −( 0+0+ 9 y ' ) =0


[ 3 y ' ' −9 y ' =0 ] 1
3
'' '
y −3 y =0
−4 x
3. y=C 1 +C 2 e
−4 x
0=− y +C 1+C 2 e
' −4 x
0=− y + 0−4 C 2 e
'' −4 x
0=− y +0+ 16C 2 e

[ ]
−y 1 e−4 x
0= − y ' 0 −4 e− 4 x
− y ' ' 0 16 e−4 x

[ ]
y 1 1
0=(−1 ) ( e ) y ' 0 −4
−4 x

''
y 0 16

| |
y 1 1 y 1
0= y ' 0 −4 y ' 0
''
y 0 16 y ' ' 0

(−4 y ' ' ) −( 16 y ' )=0


'' ' 1
[−4 y −16 y =0 ]
4
[− y ' ' −4 y ' =0 ]−1
'' '
y + 4 y =0
2x 3x
4. y=C 1 e +C 2 e
2x 3x
0=− y +C 1 e +C2 e
' 2x 3x
0=− y + 2C 1 e +3 C 2 e
'' 2x 3x
0=− y + 4 C1 e +9 C2 e

[ ]
−y e2x e2 x
0= − y ' 2 e 2 x 3 e3 x
− y ' ' 4 e2 x 9 e3 x

[ ]
y 1 1
0=(−1 ) ( e )( e ) y ' 2 3
2x 3x

''
y 4 9

| |
y 1 1 y 1
'
y 2 3 y' 2
''
y 4 9 y' ' 4

0=( 18 y +3 y '' +4 y ' ) −( 2 y '' +12 y +9 y ' )


'' '' ' '
0=18 y−12 y+ 3 y −2 y + 4 y −9 y =0
'' '
0=6 y + y −5 y
'' '
y −5 y +6 y =0
x x
5. y=C 1 e + C2 xe
x x
0=− y +C 1 e +C 2 xe eq . 1
0=− y ' + C1 e x + C2 ( xe x +e x ) eq . 2
0=− y ' ' +C 1 e x +C 2 ( xe x + e x + e x )
0=− y ' ' +C 1 e x +C 2 ( xe x +2 e x ) eq .3

[ ]
− y ex xe x
0= − y ' e x xe x +e x
− y ' ' e x xe x +2 e x

[ ]
y 1 x
x x
0=(−1)(e )(e ) y ' 1 x +1
y ' ' 1 x +2

| |
y 1 x y 1
0= y ' 1 x +1 y ' 1
y ' ' 1 x+ 2 y ' ' 1

[ ( x +2 ) y+ ( x+1 ) y ' ' + x y ' ]−[ x y ' ' + ( x+1 ) y + ( x +2 ) y ' ]


( x +2 ) y+ ( x +1 ) y ' ' + x y ' −x y ' ' −( x +1 ) y −( x+ 2 ) y '
'' '
0= y ( x +2−x−1 ) + y ( x+ 1−x )+ y ( x−x−2 )
''
0= y + y −2 y '
'' '
y −2 y + y =0
Lesson 6
Family of curves solved problems

Family of curves – are equations that include arbitrary constants. This equation is mostly standard equation of
conic section of line, circle, parabola, ellipse, and hyperbola.

1. Find the differential equation satisfied by the family of parabolas having their vertices at the origin and their foci
on y-axis.
Solution:
2
y=a x
'
y =2 ax
'
y
a=
2x
Substitution

( )
'
y 2
y= x
2x

y=( ) x
'
y
2
'
2 y=x y
'
x y −2 y =0
x ( )
dy
dx
−2 y=0

xdy−2 ydx=0
2. Find the differential equation of the family of circles having their center on the y-axis.
Solution:
2 2 2
x + ( y−b ) =r
'
2 x+ 2 ( y −b ) y =0
[ 2 x−2 y y ' −2 b y ' =0 ] 1
2
' '
x + y y −b y =0
[ x + y y ' =b y ' ] 1'
y
'
x+ y y
b= '
y
y ' ( 1+ y y '' + y ' y ' )− ( x+ y y ' ) ( y ' ' )
0= 2
( y')
3
y ' + y y ' y ' ' + ( y ' ) −x y ' ' − y y ' y ' '
0= 2
( y' )
' 3
y + ( y ) −x y
' ''
0= 2
( y')
[ 0= y ' +( y ' )3−x y ' ' ]−1
' 3
x y −( y ) − y =0
'' '

3. Straight lines with slope and y-intercept equal.


Solution:
y=mx+b ( x +1 ) ( dydx )− y=0
but m=b ( x +1 ) dy− ydx=0
y=mx+m
'
y =m
Substitution
' '
y= y x+ y
'
y= y ( x+ 1 )
'
y ( x +1 )− y=0
4. Circles with the center at the origin
Solution:
2 2 2
x + y =r
[ 2 x+ 2 y y ' =0 ] 1
2
'
x + y y =0
x+ y ( )
dy
dx
=0

xdx + ydy=0
5. Circles with the center on the x-axis
Solution:
( x−h )2+ y2 =r 2
'
2 ( x−h ) ( 1 ) +2 y y =0
[ 2 ( x−h ) +2 y y ' =0 ] 12
( x−h )+ y y ' =0
'
x−h+ y y =0
'
x + y y =h
1+ ( y ) ( y ' ' ) + ( y ' ) ( y ' ) =0
'' ' 2
1+ y y +( y ) =0
6. Straight lines with slope and x-intercept equal
Solution:
2
y=mx+b y=mx−m
'
0=mx+b y =m+0
−b
x= '
y =m
m
' ' 2
but x=m y= y x−( y )
−b ' 2 '
m= ( y ) −x y + y=0
m
2
b=−m
7. Find the family of parabolas with vertex on the x-axis and axis parallel to the y-axis.
Solution:
( x−h )2=4 ay 4 a=a still constant
( x−h )2=ay
2 ( x−h ) =a y ' eq .1
'
2 x−2 h=a y get the 2nd derivative
''
2=a y
2
a= ''
y
Substituting ¿ eq .1
2 '
2 ( x−h ) = ' ' y
y ( )
'
y
x−h= ''
y
'
y
x− '' =h
y
Substituting a∧h ¿ the given equation
( x−h )2=ay

[ )] ( )
2

(
'
y 2
x− x − ' ' = ''
y
y y

[ ( )( )( ) ( ( ) )]
' ' ' 2
2 y 2 2x y y 2y
x + x −x + ''
2 + x − '' + ' ' = ''
y y y y

( )
' ' ' 2
2 2 2x y 2 2x y y 2y
x −2 x + ''
+ x − ' ' + '' = ' '
y y y y

( )
' 2
y 2y
''
= ''
y y
2
( y') 2 y
2
= ''
( y'' ) y
2
( y' )
''
=2 y
y
' 2
2 y y −( y ) =0
''

8. Parabolas with vertex and focus on the x-axis.


Solution:
2
y =4 a ( x−h ) 4 a is a constant ∧can be simply denote as “ a ”
2 2
y =a ( x −h ) → y =ax−ah
'
2 y y =a
take the second derivative
2 ( y y '' + y ' y ' ) =0
'' ' 2
2 y y +2( y ) =0
'' ' 2
y y +( y ) =0
9. Ellipse with center at the origin.
Solution:
2 2
x y
2
+ 2 =1
a b
2 2 2 2 2 2
x b + a y =a b
2 2 '
2 x b +2 a y y =0
2 2 '
xb + a y y =0 → 1 st derivative
b 2+ a2 ( y y ' ' + y ' y ' )=0
' 2
b + a y y + a ( y ) =0
2 2 '' 2

' 2
b =a y y −a ( y )
2 2 '' 2

You might also like