Vdocuments - MX Differential Equations Manual
Vdocuments - MX Differential Equations Manual
Vdocuments - MX Differential Equations Manual
Group Members...........................................................................................................................................i
Introduction.................................................................................................................................................ii
Acknowledgement......................................................................................................................................iii
DIFFERENTIAL EQUATIONS..........................................................................................................................1
CLASSIFICATION BY ORDER & DEGREE....................................................................................................2
TYPES OF DIFFERENTIAL EQUATION........................................................................................................2
CLASSIFICATION AS LINEAR OR NON-LINEAR..........................................................................................2
Determination of a differential Equation.................................................................................................3
Origin of Differential Equation.....................................................................................................................7
Geometric Application.............................................................................................................................7
Elimination of Arbitrary Constants..........................................................................................................7
Algebraic Elimination...............................................................................................................................8
Isolation of Constant.............................................................................................................................11
Family of curves.........................................................................................................................................13
Parameter..............................................................................................................................................13
FIRST ORDER, FIRST DEGREE ORDINARY DIFFERENTIAL EQUATION..........................................................17
VARIABLE SEPARABLE............................................................................................................................18
EXACT DIFFERENTIAL EQUATION...........................................................................................................23
Homogeneous Leading to Exact............................................................................................................33
Linear Differential Equation...................................................................................................................39
APPLICATIONS IN DIFFERENTIAL EQUATION.............................................................................................51
GROWTH / DECAY OR DECOMPOSITION / INVESTMENT PROBLEMS..................................................51
Orthogonal Trajectory...........................................................................................................................59
Newton’s Law of Cooling.......................................................................................................................60
The Differential Operator (D).................................................................................................................79
Homogeneous Linear Differential Equations with Constant Coefficient (HLDECC)................................81
Auxiliary Equation of the Given HLDECC................................................................................................81
Non-Homogenous Linear Differential Equation w/ Constant Coefficients (NHLDECC)..........................86
Group Members
Ascaño, Kent Alwin A.
John Eugene Y. Fernandez
Mark Jeison Eiron O. Noriega
Introduction
dy 1 1 ODE
1. =2−5 x + y 3
dx
2. (y)3 + (y)4 + (y)2 =3 3 3 ODE
d3 y d y2 3 1 ODE
3.
d x3 ( )
+
dx
=x +3
2 2 2
∂ y 4∂ y 2 2 PDE
∂x (∂x∂y )
4. + 2
=3+ y
2 3 6 ODE
d3 y 3
3 d y
6.
( ) √
dx
3
=
dx
3
+4
2
d3 y dy 3 2 ODE
7. ( ) √
dx 3
=
dx
+4
dy d3 y 3 1 ODE
8.
dx
dy
=
d x3 √
+4
1 1 ODE
9. =cos x−sin y
dx
CLASSIFICATION BY ORDER & DEGREE
1. ORDER OF DIFFERENTIAL EQUATION
- The order of the highest – ordered derivative in the equation
2. DEGREE OF DIFFERENTIAL EQUATION
- The power of the exponent of the highest ordered derivative in the equation.
2 Kinds of Constant
y= ax 3 + bx 2 + cx + d
y= C1e3x + C2e-3x
y= cos (ax +b)
Example: IMPLICIT
x 2+ y2 = r2
ay2 + by + ct = 0
y6 (1 + 4e-4x) = c3
2 xydx=3 x 2 dy
5. Show that x=2 t+C , y=ct +3is a solution of 2( y )2−x y ' =3− y
x=2 t+C
x−c
t=
2
y=ct+3
y−3
t=
C
y=C ( x−C
2 )
+3
2 y−6=Cx−c 2
2 y ' −0=c−0
¿]
y−3=x y' −2¿
2¿
x=2 ( y−3
c )
+C
cx=2 y −6+C 2
C=2 y ' −0+0
C=2 y '
¿
x y ' = y−3+¿
2¿
6. Prove that the DE x y ' =x 2 + y is a solution of the AE y=x 2 +C
x y ' =x 2 + y
dy
x =x 2 + y
dx
xdy=x 2 dx+ ydx
xdy− ydx =x2 dx
xdy− ydx
∫ x 2 =∫ dx
y
=x+C
x
y=x 2 +C
3 Techniques/Methods
1. Algebraic Elimination
-May use elimination by addition/subtraction or elimination by substitution
2. Eliminant Method
-May use determinants/matrices
Recall: System of Equation
a 1 x+ b1 y=c 1
a 2 x+ b2 y=c 2
a 3 x +b3 y=c 3
a1 b 1 c 1
( a2 b 2 c 2 =0
a3 b3 c 3 )
3. Isolation of Constant
Algebraic Elimination
a. y=c1 + c2 +c 3 e−3 x
Solution:
y=c 1 +c 2+ c 3 e−3 x (3AC)
−3 x
y ' =0+0- 3 c 3 e
y=9 c3 e−3 x(eq.1)
y=−27 c 3 e−3 x (eq.2)
Equate Eq.1=Eq.2
y ' ' + 9 y =0
c. y=c1 e 2 x +c 2 e3 x
Solution:
y=c1 e +c 2 e3 x (2AC)(Eq.1)
2x
y=2c 1 e2 x +3 c 2 e 3 x(Eq.2)
y=4 c 1 e2 x + 9 c2 e 3 x (Eq.3)
Equate Eq.1= Eq.2
( y=c1 e +c 2 e3 x ¿−2→−2 y=−2 c1 e 3 x −2 c 2 e 3 x
2x
y=2c 1 e2 x +3 c 2 e 3 x → y ' =2 c 1 e 2 x +3 c 2 e3 x
−2 y + y ' =c 2 e3 x →(Eq.4)
d. Cxy+ C2 x+ 4=0
Solution:
Cxy+ C2 x+ 4=0(1A.C)
[ C ( x y ' + y ) +C2 ( 1 )+ 0=0 ] ÷ C
xy + y +C=0
−( xy ’ + y)=C
Substitute C
−( xy ’ + y) xy +¿ ¿
- x 2 y y ' −x y 2 =[ ( xy ' )2+2 xy y ' + y 2 ] x+ 4=0
- x 2 y y ' −x y 2 + x 3 ¿
x 2 y y ' + x3 ¿
I. Eliminant Method
a. y ¿ c 1 e 2 x +c 2 e3 x
Solution:
y=c1 e 2 x +c 2 e3 x (2A.C)
y ’=2 c1 e 2 x + 3 c 2 e 3 x
y ’ ’=4 c 1 e 2 x +9 c 2 e3 x
↓
c 1 e + c2 e 3 x = y
2x
2 c 1 e 2 x +3 c 2 e3 x = y '
4 c 1 e 2 x +9 c 2 e3 x = y ' '
↓
1 1 y 11
[2 3 y ' 2 3=0
4 9 y' ' 4 9 ]
3 y ’ ’+ 4 y ’+18 y−(12 y+ 9 y ”+2 y ’ ’)=0
3 y ’ ’+ 4 y +18 y−12 y−9 y ’−2 y ’ ’=0
Or
1 1 y
[ 2 3
4 9
y ' =0
y' ' ]
3 y ’ ’+ 4 y ’+18 y−(12 y+ 9 y ”+2 y ’ ’)=0
3 y ’ ’+ 4 y +18 y−12 y−9 y ’−2 y ’ ’=0
b. y= Ax 4 + Bx3
Solution:
y= Ax 4 + Bx3 (2 A .C .)
y ’=4 Ax 3+3 Bx2
y ’ ’=12 Ax 2+ 6 Bx
↓
Ax + Bx = y → Ax 4 +Bx 3= y
4 3
[ 4 3
12 6 ]
y' 4 3
y ' ' 12 6
3( x 2 y ' ' ¿+12 x y ' +24 y =0
(4 x 2 y ' ' + 36 y+ 6 x y ' )¿ 0
3 x 2 y ' ' +12 x y ' +24 y −4 x 2 y' ' −36 y −6 x y ' =0
3 Ae 3 x −2 Be−2 x = y ' −2 x
9 Ae3 x + 4 ABe−2 x = y ' ' −2
↓
1 1 y−x 2 1 1
[ 3 −2
9 4 ]
y ' −2 x 3 −2
y ' ' −2 9 4
12( y−x 2 )−2 ( y ' ' −2 ) +9 ( y ' −2 x ) −[ 3 ( y ' ' −2 )−18 ( y −x 2) + 4 ( y ' −2 x ) ]=0
12 y−12 x 2−2 y ' ' + 4+ 9 y ' −18 x−3 y ' ' +6+18 y−18 x 2−4 y ' + 8 x=0
[ 30 y−30 x 2−5 y ' ' +5 y ' −10 x+ 10=0 ] ÷ 5
6 y−6 x 2− y '' + y ' −2 x+2=0
Isolation of Constant
a. Cy 3=3 x2 + y
Solution:
Cy 3=3 x2 + y (1A.C)
3 x2 + y
C=
y3
y 3 ( 6 x + y ' )− ( 3 x 2 + y ) ( 3 y 2 + y ' )
0= 2
[ y3 ]
6 xydx−( 2 y +9 x 2 ) dy=0 1
( 2 y +9 x 2) dy −6 xydx=0 2
(2 y +9 x 2)dy=6 xydx 3
b. x 2+ ( y−k )2 =r 2
Solution:
x 2+ ( y−k )2 =r 2(2AC)
[ 2 x+ 2 ( y−k ) ( y ' )=0 ] ÷ 2
x +( y −k ) y ’=0
x + yy ’−ky ’=0
x + yy '
k=
y'
y ' [ 1+ y y '' + ( y ' ) ( y ' ) ]−( x + y y ' ) y ' '
0= 2
( y')
y ' +¿
c. y=Cx +C+1
Solution:
Y =Cx +C+1(1 AC )
y−1 u
C= ( )
x +1 v
( x +1 ) ( y ' )−( y−1 ) (1)
0=
( x+ 1 )2
( x + y ) y ’−( y −1)=0
dy
But y ’=
dx
( x + y )dy −( y−1 )=01
( y−1) dx−( x+1) dy=0 2
Family of curves
-An equation involving a parameter as well as one of the coordinates in a plane may represent a
family of curves.
Parameter
-A constant usually denoted by a letter, but unlike the arbitrary constant it is not to be eliminated.
(Fixed)
EXAMPLE:
y +3=m ( x−5 )( 1 AC )
y+3
m=
x−5
( x−5 ) ( y' ) −( y+ 3 ) (1 )
0=
( x−5 )2
( x−5 ) y ' −( y +3 ) =0
dy
( x−5 ) −( y+ 3 )=0
dx
( y +3 ) dx−( x−5 ) dy =0 →2
2. Find the DE of the family of Straight Line with slope and y-intercept equal.
y=mx+b
y=mx+m
y=m ( x+ 1 ) (1 AC )
y
m=
x+ 1
( x +1 ) y ' − y ( 1 )
0= ¿¿
dy
( x +1 ) − y=0
dx
( x +1 ) dy− ydx=0 → 1
ydx−( x +1 ) dy=0 → 2
x 2+ y 2=r 2 at ( 0,0 )
¿
dy
( x−5 ) + ( y +1 ) =0
dx
( x−5 ) dx + ( y +1 ) dy=0
[ 2 ( x−h ) ( 1 )+ 2 y y ' =0 ] ÷ 2
x−h+ y y ' =0
1+ y y ' ' +¿
r =a(1−sinθ )
x=a ( 1−siny )
x
a=
1−siny
( 1−siny )( 1 ) −( x ) (−cosy ) y
0=
¿¿
dy
( 1−siny )+ xcosy =0
dx
( 1−siny ) dx + xcosydy =0
( 1−sinθ ) dr +rcosθdθ=0
6. Find the DE of the family of parabolas having their vertices at the origin & their foci on
the y-axis
4 ay
x 3= → ( 1 AC )
2
x2
4 a=
y
y ( 2 x ) −x 2 y '
0=
y2
2 xy−x 2 y ' =0
dy
2 y−x =0
dx
2 ydx−xdy=0
7. Obtain the DE of the family of parabolas w/ the vertex on the x-axis, w/axis parallel to
the y=axis, & with distance from focus to vertex fixed as a.
¿
¿
[ 2 ( x−h ) ( 1 )=4 a y ' ] ÷ 2
x−h=2 a y '
¿
4 a2 ¿
a¿
8. Obtain the DE of the family of parabolas w/axis parallel to x-axis
¿
[ 2 ( y−k ) y ' =4 a ( 1−0 ) ] ÷ 2
( y−k ) y ' =2 a
( y−k ) y ' =2 a
( y−k ) y '' + y ' ( y ' ) =0
yy -ky +¿
k = yy +(y' {)} ^ {2}} over {y
0= y left [yy + y {y} ^ {'} +2y'y ¿ ¿−¿
yy y'''+y'(y ¿2+ 2 y ' ¿
3 y ' ¿¿¿
y ' ¿¿
3¿
x y
+ =1
a b
x y
+ =1 ( 1 AC )
k−b b
1 1
( x ) + ( y ' )=1
k−b b
1 1
( 1 ) + ( y' ) =0
k−b b
'
1 y
+ =0
k−b b
b+ y ' ( k−b )
=0
( k−b ) b
b+ y ' ( k −b )=0
b+ k y ' −b y ' =0
b ( 1− y ' ) + k y ' =0
−ky '
b=
1− y '
x y
'
− =1
ky k y'
k+
1− y ' 1− y '
x y ( 1− y ' )
− =1
k ( 1− y ' )+ k y ' k y'
'
1− y
x ( 1− y ' ) y ( 1− y' )
[ '
k−k y +k y '
−
ky ' ]
=1 k y '
I. DERIVATIVE FORM
dy M (x , y )
=f ( x , y ) where f ( x , y ) =
dx N (x, y)
M ( x , y ) dx ± N ( x , y ) dy =0
Examples:
CONDITIONS:
Initial Values - Values of dependent variables and its derivatives are specified at different
values of independent variable.
VARIABLE SEPARABLE
General Form: M ( x , y ) dx+ N ( x , y ) dy=0
Standard Form: f ( x ) dx+ g ( y ) dy=0
- Reduce the general formula of the equation to standard form. Integrate both sides
of the standard equation, thus the general solution (GS) is:
∫ f ( x )dx +¿ ∫ g ( y ) dy=C ¿
Examples:
dy
1. =60 xy
dx
60 xydx −dy
General Solution
y
dy
∫ 60 xdx−∫ = 0 → Standard Form
y ∫
x2
60 ( )
2
−lny=C
2 c
30 x + ln =0 (2)
y
2.( xy + x ) dx+2 x 2 ydy =0
x ( y +1 ) dx+ 2 x 2 ydy =0
Solutions: GF
( y +1) x 2
dx 2 ydy
∫ +∫ = 0 SF
x y +1 ∫
1
[
lnx+2 1−
y +1 ]
dy=C
x
ln +2 y=C (2)
y +1
3. 5 x 4 ( 1+ y 2 ) dx=dy
5 x 4 ( 1+ y 2 ) dx−dy=0
Solutions: → GF
( 1+ y 2 )
dy
∫ 5 x 4 dy−∫ 1+ y 2 =∫ 0
x5
5 ( )
5
−tan−1 y=C
x 5−tan−1 y=C
4. tan 2 ydy =sin3 xdx
Solutions:
∫ sin 3 xdx−∫ tan2 ydy=∫ 0 → SF
∫ sin 2 ∙ sin xdx−∫ ¿ ¿ ¿ ¿ ¿
∫¿¿
∫ sin xdx−∫ cos2 x sin xdx−tan y + y =C
Let u = cos x du = −sin xdx
cos3 x
−cos x + −tan y + y=C
3
du 1 −1 u
Recall:∫ 2 2 = tan +c
u +a a a
STANDARD FORM:
M (x , y )dx+ N (x , y )dy =0
Where M (x , y ) dx andN ( x , y) dy are both homogenous of the same degree
DEFINITION:
A function f (x , y ) is homogenous if f (rx , ry)=r n f ( x , y) replacing x and y with rx and
ry resulting to the original function f (x , y ) multiplied byr n . where r ∈ R
Steps:
1. Let y=vx (¿ x=vy) if the given ODE is homogeneous of the same degree, by
changing the simpler term for dy or dx .
2. Take the differential:
dy =vdx + xdv Or dx=vdy + ydv
3. Substitute in the given ODE
4. Reduce the equation a form solvable by Variable-Separable.
5. Express the General Solution (GS) in terms of original variables of the given ODE.
6. Solve for the Particular Solution (PS) for any given conditions.
Ex.
1. xydx=( x 2 +3 y 2 ) dy=0
M ( x , y )=xy N ( x , y)=−x2 −3 y 2
M (rx , ry)=rxry ¿−¿
¿ r 2 ( xy ) ¿−r x −3 r 2 y 2
2 2
¿ r 2 (−x 2−3 y 2 )
HOMO of 2nd Degree
Let x=vy ,dx =vdy + ydv
( vy∗y ) ( vdy + ydv )−¿(( xy ¿2 + 3 y 2 ) dy =0
v 2 y 2 dy−v y 3 dv=v 2 y 2 dy−3 y 2 dy=0
v y 3 dv −3 y 2 dy =0
→ VS
y3
dy
∫ vdv−3 ∫ y =∫ 0
v2
−3 lny=C
2
v 2−6 lny=C
x
but v=
y
x 2
()
y
−6 lny=C
x 2−6 y 2 lny=Cy 2
2. ( x 2 +3 y 2 ) dx −2 xydy =0 ; y ( 1 ) =2
Let y=vx ; dy=vdx+ xdv
¿
x 2 dx +3 v 2 x 2 dx −2 x 2 v 2 dx+2 x 3 vdv=0
x 2 dx + v 2 x 2 dx+2 x 3 vdv=0
x2 ( 1+v 2 ) dx +2 x3 vdv =0
( 1+ v 2 ) (x 3)
dx 2 vdv
∫ +∫ =∫ 0
d 1+ v 2
lnx + ln ( 1+ v 2 )=lnC
2
x 2+ y 2=5 x → PS
1
lny− =C
v +2
x
but v=
y
1
lny− =C
x
+2
y
1
lny− =C
x+ 2 y
y
y
lny− =C
x +2 y
( x +2 y ) lny− y=C ( x +2 y ) → GS
−1
( x +2 y ) lny − y= ( x+ 2 y )
4
4 ( x+2 y ) lny−4 y + ( x +2 y ) =0 → PS
4 ( x+2 y ) lny−4 y + ( x +2 y ) =0 → PS
STEPS:
∂F ∂
∂y |
x=k
=
∂y
[ f ( x , y )+T ( y ) ] ∨¿
∂F ∂
∂x |
y=k
=
∂x
[ f ( x , y ) +T ( x ) ]
Examples:
1. ( 4 x 3 y 3−2 xy ) dx + ( 3 x 4 y 2−x 2 ) dy =0
∂M ∂N
∂y |x=k
( 4 x3 y 3−2 xy )
∂x |
y=k
(3 x 4 y 2−x 2 ¿
∫ dF= ∫ ( 4 x3 y 3−2 xy ) dx
y=k y=k
x4 x2
F = 4 y3 ( ) ( )
4
−2 y
2
+T ( y)
F=x 4 y 3−x 2 y +T ( y )
∂F ∂ 4 3 2
| =
∂ y x=k ∂ y
[ x y −x y+T ( y ) ]
3 x 4 y 2−x 2=x 4 ( 3 y 2 )−x 2 ( 1 ) +T ( y )
3 x 4 y 2−x 2=3 x 4 y 2−x 2+T ( y )
∫ 0=∫ T ' ( y)
C=T ( y)
F=x 4 y 3−x 2 y +C
Method 2:
∂F
∂y
❑
|x=k
=3 x 4 y 2−x 2
❑
∫ dF= ∫ ( 3 x 4 y 2−x 2 ) dy
x=k x=k
y3
F=3 x 4 ( )
3
−x 2 y+T (x )
F=x 4 y 3−x 2 y +T (x)
∂F ∂ 4 3 2
|
=
∂ x y=k ∂ x
[ x y −x y +T ( x ) ]
4 x3 y 3−2 xy=4 x 3 y 3 −2 xy +T ( x)
∫ 0=∫ T ' ( x )
C=T ( x)
F=x 4 y 3−x 2 y +C
Method 3:
❑ ❑
∫ ( 4 x 3 y 3 −2 xy ) dx + ∫ ( 3 x 4 −x 2 ) dy=0
y=k x=0
x4 x2
4 y3 ( ) ( )
4
−2 y
2
+C=0
x 4 y 3−x 2 y +C=0
Method 4:
❑ ❑
∫ ( 4 x 3 y 3 −2 xy ) dx + ∫ ( 3 x 4 −x 2 ) dy=0
y=0 x=k
3
3 x4 ( y3 )−x ( y )+C=0
2
x 4 y 3−x 2 y +C=0
2. ( 2 x 3−x y 2−2 y +3 ) dx −( x 2 y +2 x ) dy =0
∂M ∂N
|
∂ y x=k
( 2 x3 −x y 2−2 y +3 )
∂ x y=k |
(−x 2 y −2 x ¿
∫ dF= ∫ ( 2 x3 −x y 2−2 y +3 ) dx
y=k y=k
x4 x2
F=2 ( ) ( )
4
− y2
2
−2 y ( x )+3 x +T ( y)
x4 x2 y2
F=
− −2 xy +3 x+T ( y )
2 2
∂F ∂ x 4 x2 y 2
|=
∂ y x=k ∂ y 2
− [2
−2 xy +3 x +T ( y ) ]
1
−x 2 y −2 x=0− x 2 ( 2 y )−2 x ( 1 ) +0+T ( y )
2
2 2
−x y −2 x=−x y−2 x+ T ( y )
∫ 0=∫ T ( y)
C=T ( y)
x 4 x2 y2
F= − −2 xy +3 x+C
2 2
∂F
∂y |
x=k
=(−x 2 y −2 x )
❑ ❑
y2
F=−x 2 ( )
2
−2 x ( y ) +T ( x)
−x2 y 2
F= −2 xy +T ( x)
2
∂F ∂ −x 2 y 2
| =
∂ x y=k ∂ x 2[ −2 xy +T ( x) ]
−1 2
2 x3 −x y 2−2 y +3= y ( 2 x ) −2 y ( 1 ) +0+T ( x)
2
2 x3 −x y 2−2 y +3=−x y 2−2 y +T ( x )
∫ 2 x 3+ 3=∫ T ( x )
∫ (2 x 3 +3) dx=∫ dT ( x )
x4
2 ( )
4
+3 x +C=T ( x )
x4
+3 x +C=T ( x)
2
−x2 y 2 x4
F= −2 xy + + 3 x +C
2 2
F=−x 2 y 2 −4 xy + x 4 +6 x +C GS
Method 3:
❑ ❑
x4 2
2 x
2( ) ( )
4
−y
2
−2 y ( x )+3 x +C=0
x4 x2 y2
− −2 xy +3 x+ C=0
2 2
Method 4:
❑ ❑
∫ ( 2 x −x y −2 y +3 ) dx− ∫ ( x 2 y+ 2 x ) dy=0
3 2
y=0 x=k
x4 y2
2 ( )
4
+3 ( x )−x 2 ( )
2
−2 x ( y ) +C=0
x4 x2 y2
+3 x− −2 xy+ C
2 2
3. ¿
∂M ∂N
∂y |
x=k
(2 xy−tany)
∂x |
y=k
¿
¿ 2 x ( 1 )−sec 2 y =2 x−sec 2 y (1)
ODE is Exact
Method 1:
∂F
∂x |
y=k
=2 xy−tany
❑ ❑
∫ df = ∫ ( 2 xy−tany ) dx
y=k y=k
2
x
F=2 y ( )
2
−tany ( x ) +T ( y )
F=x 2 y −xtany+T ( y)
∂F ∂ 2
∂y |
x=k
=
∂y
[ x y −xtany+T ( y ) ]
∫ 0=∫ T ' ( y)
C=T ( y )
F=x 2 y −xtany+C GS
Method 2:
∂F
∂y |
x=k
=x 2−x sec 2 y
❑ ❑
F=x 2 y −xtany+T ( x)
∂F ∂ 2
∂x |
y=k ∂x
[ x y−xtany+ T (x )]
=
F=x 2 y −xtany+C GS
Method 3:
❑ ❑
x2
2y ( )
2
−tany ( x ) +C=0
x 2 y −xtany +C=0
Method 4 :
❑ ❑
x 2 ( y ) −x ¿
x 2 y −x tan y +C=0
4. Find the value of K so that ¿ is exact
∂M ∂N
∂y | x=k
x−2 y 3+ y 2 sin x
∂x |
y=k
−6 x y 2 −kycosx
∂M ∂N
∂y
= | |
∂x
2=k
IV.INTEGRABLE COMBINATION
-Applies also to exact ODE
Ex:
a . ¿ d ( x , y )=xdy ydx
b.¿d ( xy )= ydx−xdy
y 2
¿ e x cosydx−sinydy
Ex:
1. xdy + ydx=3 x 2 dx
d ∫ ( xy )=∫ 3 x 2 dx
x3
xy=3 +C
3
xy−x 3 +C=0 → GS
2. y (2 xy +1)dx−xdy =0
2 xy 2 dx+ ydx−xdy=0
y2
ydx−xdy
2 xdx+ =0
y2
∫ 2 xdx +∫ d xy =∫ 0
()
x2 x
2 ( )
2
+ +C=O
y
x 2 y + x +Cy=0 →GS
2 2 dx
3. x y ( ydx+ xdy )+ =0
x
( x 2 y 2 ) d ( xy )+ dx =0
x
¿
let u=xy
du=xdy + ydx=d ( xy )
dx
∫ u 2 du+ ¿∫ x =∫ 0 ¿
u3
+lnx+C=0
3
u3 +3 lnx+C=0
¿
x 3 y 3 +3 lnx+C=0 → GS
1. ( 4 x 3 y 3−2 xy ) dx + ( 3 x 4 y 2−x 2 ) dy =0
CHECK FOR EXACTNESS:
∂m ∂N
|
∂ y x=k
4 x3 y 3−2 xy
∂x |
y=k
3 x 4 y 2−x2
=4 x3 ( 3 y 2 )−2 x ( 1 ) ¿ 3 y 2 ( 4 x 3 )−2 x
=12 x3 y 2−2 x ¿ 12 x 3 y 2−2 x
ODE is exact
❑ ❑
3 3
∫ 4x y dx ∫ ∫ 3 x 4 y 4 dy
y=k x=k
x4 y3
4 y3 ( )
4
3 x4 ( )
3
x4 y3 x4 y3
d [ x 4 y 3 ]=x 4 ( 3 y 2 dy ) + y 3 ( 4 x3 dx )
d [ x 4 y 3 ]=3 x 4 y 2 dy +4 x3 y 3 dx
❑ ❑
− ∫ 2 xydx ∫ x 2 dy
y=k x=k
d [−x 2 y ]=− [ x2 dy + y ( 2 x ) dx ]
x 4 y 3−x 2 y +C=0 → GS
∫ 2 xydx ∫ x 2 dy
y=k x=k
x2
2y ( )2
x2 y
x 2 y d ( x 2 y )=x 2 dy + y ( 2 x ) dx
∫ d ( x 2 y )=x 2 dy +2 xydx
❑
∫ tanydx
y=k
−xtany
Standard Form:
M (x , y )dx+ N (x , y )dy =0
(Homogeneous)
Steps:
a. Check if ODE is a Homogeneous ODE.
1
b. Let μ= ;
Mx + Ny
Mx+ Ny ≠ 0
μ=¿integrating Factor
c. Check for Exactness:
(μ ¿ ( ODE )=Exact
d. Multiplyμ with the given ODE.
e. Proceed as in solving for exact ODE to obtain the G.S.(General Solution)
f. Solve the P.S.(Particular Solution) for a given condition.
Examples.
1. xydx−( x 2 +2 y 2 )=0
Solution:
xydx−( x 2 +2 y 2 )=0
(Homo of 2nd degree)
1 1 −1
Let μ= 2
= 2 2 3
= 3
( xy ) x + (−x 2−2 y ) y x y−x y−2 y 2 y
[ xydx−( x2 +2 y 2 ) dy ] ÷ ( 2−1y ) 3
x2 1
−xdx
2 y2
+ (
+ dy=0
2 y3 y )
Check of Exactness:
δM −xy−2
=
δy 2
x=k
−x
(−2 y−3 )
2
¿ xy−3
δN x 2 y −3 −1
= +y
δx 2
y=k
−3
y
¿ (2x)+0
2
¿ xy−3
ODE IS NOW EXACT!
x2 1
−xdx
(
∫ 2 y 2 ∫ 2 y 3 + y dy =∫ 0
+ )
y=k; x=o or no x
−1 x 2
2 y2 2 ( )
+lny+ C=0
−x 2 2
2
+lny +Cy =0 →General Solution (G . S .)
4y
2. ( x 2+ y 2 ¿ dx−xydy =0
Solution:
( x 2+ y 2 ¿ dx−xydy =0
(Homo of 2nd Degree)
1 1 1
Let μ= 2 2
= 3 2 2
= 3
( x + y ) + x (−xy ) ( y ) x + xy −xy x
1
[ ( x 2 + y 2 ) dx−xydy=0 ] ÷
x3
1 y2 y
( )
+ 3 dx− 2 dy =0
x x x
Check for Exactness:
δM
=x−1 + x−3 y 2
δy
x=k
=0+ x−3 ( 2 y )
¿ 2 x−3 y
δN
=−x−2 y
δx
y=k
¿− y (−2 x−3)
¿ 2 x−3 y
ODE IS NOW EXACT!
1 y2 y
∫ ( x x )
+ 3 dx−∫ 2 dy=∫ 0
x
y=o or no y; x=k
1 y2
lnx− 2
x 2
+C=0 ( )
y2
lnx− 2 +C=0
2x
2 2 2
2 x lnx− y +Cx =0 →General Solution (G. S .)
3. xdx+(y−¿2x)dy=0
Solution:
xdx +(y-2x)dy=0
(Homo of 1st Degree)
1 1 1
Let μ= = 2 2 =
( x ) ( x ) + ( y−2 x ) y x + y −2 xy ( x− y )2
1
[ xdx + ( y−2 x ) dy =0 ] ÷
( x− y )2
xdx y−2 xdy
2
+ =0
( x− y ) ( x− y )2
( x− y ) dx ydx
∫ 2
+∫ =∫ 0
( x− y ) ( x− y )2
y=k; y=k
dx ydx
∫ x− y +∫ ( x− y )2 =∫ 0
( x− y ) −1
ln(x-y)+y [ −1 ]
+C=0
y 1
[
ln ( x− y )−
x− y
+ C=0 ÷ ]
( x− y)
(x-y)ln(x-y)− y +C ( x− y )=0 → General Solution (G . S .)
Solution:
Steps:
Examples:
1. y ( 2 x + y 3 ) dx−x ( 2 x − y 3 ) dy=0
∂M ∂N
∂y |
x=k
2 xy + y 4
∂x |
y=k
−2 x 2+ xy 3
¿ 2 x ( 1 ) + ( 4 y )=−4 x+ y 3 ( 1 )
3
¿ 2 x+ 4 y 3=−4 x + y 3
ODE is NOT EXACT
¿ 2 x+ 4 y 3−( −4 x + y 3 )
¿ 2 x+ 4 y 3 +4 x− y 3
¿ 6 x+ 3 y 3=3(2 x+ y 3)
1 1
∅= ( 3) (2 x + y3 )
N 2
−2 x + x y 3
1
¿ 3
( 3) (2 x + y3 )
x (−2 x+ y )
≠f (x)
1 1
∅= ( 3) (2 x + y3 )
M 2 xy + y 4
1
¿ 3
( 3) (2 x + y3 )
y (2 x + y )
3
¿ =g ( y)
y
∫ −g ( y )dy ∫ −( 3y ) dy −3 lny
−3
ln y
¿e =e =e =e
1
¿ y−3=
y3
[ y ( 2 x+ y 3 ) dx−x ( 2 x−x y 3 ) dy=0 ] ( y1 )
3
x2
2 y−2 ( )
2
+ y ( x )+ C=0
x2
+ xy +C=0
y2
x 2+ x y 3 +C y 2=0GS
2. ( x 3 y3 +1 ) dx + x 4 y 2 dy=0
Check for exactness
∂M ∂N
∂y |x=k
x 3 y 3 +1
∂x | y=k
x4 y2
3 2 2 3
¿ x ( 3 y ) = y (4 x )
¿ 3 x 3 y 2=4 x 3 y 2
ODE is NOT EXACT
3 2 3 2
¿ 3 x y −4 x y
¿−x 3 y 2
1 1
∅= 4 2 (−x 3 y 2)
N x y
1 −1
∅=
N x
∫ f (x ) dx ∫ ( −1
x )
dx
−lnx ln x
−1
¿e =e =e =e
1
¿ x−1=
x
[ ( x 3 y 3+1 ) dx + x 4 y 2 dy=0 ] ( 1x )
( x y + 1x ) dx+ ( x y ) dy=0
2 3 3 2
x3
y 3
( ) 3
+ lnx+C=0
x3 y 3
+lnx + C=0
3
x 3 y 3 +3 lnx+C=0
y 3 +ln x 3+ C=0GS
Linear Differential Equation
Standard Form:
dy
+ y .P(x) =Q(x)→ Linear∈ y
dx
General Form:
y. μ=∫ Q ( x ) . μ dx+ C
Where: μ=e∫ P (x)dx
Standard Form:
dx
+ x. P(y) =Q(y)→ Linear∈ x
dy
General Form:
x . μ=∫ Q ( y ) . μ dy+C
Where : μ=e∫ P ( y)dy
Examples:
dx
a. y +3x-3y+2=0
dy
Solution:
dx
y +3 x−3 y +2=0 → Linear∈X
dy
dx
y + 3 x −3 y +2=0
dy
y
dx 3 x 3 y−2
+ −
dy y y
=0( )
dx 3 3 y−2
dy
+x
y
= ( ) y
3 3 y −2
p ( y )= ; Q ( y ) =
y y
∫ P ( y ) dy ∫ ( 3y ) dy 3 lny lny
3
μ=e =e =e =e
3
μ= y
General Form:
x . y 3= ∫ ( 3 yy−2 ) y dy +C ←General Form
3
x . y 3=∫ ( 3 y −2 ) y 2 dy +C
x . y 3=∫ ( 3 y 3 −2 y 2 ) dy +C
y4 y3
x . y =3 3
4 ( ) ( )
−2
3
+C
b. y’=1+3ytanx
Solution:
y ’=1+ 3 ytanx→ Linear∈ y
dy
−3 ytanx=1
dx
dy
+ y (−3 tanx )=1
dx
P(x) =−3 tanx ; Q ( x )=1
3
∫ P ( x ) dx −∫ 3 tanxdx
μ=e =e =e−3 (−lncosx )=e 3lncosx =e lncosx =cosx 3
General Form:
y . cos3 x=∫ ( 1 ) ( cos 3 x ) dx +C
y . cos3 x=∫ cosx ¿ ¿) dx+C
y . cos3 x=∫ cosxdx−∫ sin2 xcosxdx+C
Let u=sinx , du=cosxdx
3 sin3 x
y . cos x=sinx− +C
3
3 ycos 3 x=3 sinx−sin3 x +C → General Solution
By Partial Fraction:
2 A B
∫ x ( x−2) = x + x −2
2=A(x-2)+Bx
2=Ax-2A+Bx
If x=2=−¿2A∴ A=−1
If x=0= A+ B ∴− A=B → B=1
dx x−2
∫ −dx
x
+
x−2 −lnx +ln ( x−2)
ln
x x−2
μ=e =e =e =
x
General Form:
( x−2
2 )
y =0+ C
x−2
( )
x
y =C
But x=3, y=6
3−2
6 ( )
3
=C
C=2
x−2
y ( )x
=2
y (x−2)
=C
x
dx
Standard Form: + x ∙ P(y) = x n Q(y)
dy
Where n≠ 0
( 1−n) P ( y ) dy
μ=e∫
Gen Form: x 1−n ∙ μ = (1 – n) ∫ Q ( y ) μ ∙ dy +C
Example:
1. y ( 6 y 2−x−1 ¿ dx−2 xdy=0
dy
+( 6 y 3−xy− y ¿ ¿ =0
dx 2x
dy (−xy− y )
+( 6 y 3 ¿ ¿ + =0
dx 2x 2x
dy (−x−1) −6 y 3
+y =
dx 2x 2x
(−x−1) 3
P ( x) : ; Q ( x ) :− ; n=3 ; 1−3=−2
2x x
∫−2( − 2x−1
x
)dx
x+1 x 1
= e∫ ( x )dx = e∫ x dx+ x dx = e x +lnx
μ=e
μ= xe x
y−2 ∙ xe x = 6 e x +C
xe x x
2 = 6 e +C
y
xe x = 6 y 2 e x + C y 2
1
P ( y ): ; Q ( y ) :3; n=−1=1+1=2
y
1
μ=e∫
( 1−n) P ( y ) dy
= e∫ ( 2) y dy = e 2 lny
μ= y 2
2
GEN FORM: x 2 ∙ y 2 = 2 ∫ 3 y dy +C
6 y3
x2 y2 = +C
3
x 2 y 2 - 2 y 3+ C = 0
Method of Solution
a 1 x+ b1 y+ c 1=0 = L1 = M( x , y )
a 2 x+ b2 y+ c 2=0 = L2 = N( x , y )
a 1 b1
CASE 1: If ≠ or L1 intersects L2at P(h , k )
a2 b 2
Then let
x=u+ h; dx=du
y=v +k ; dy=dv
-Where h and k can be obtained from the values of xand y whenever the two lines are
equated.
-Substitute to the given ODE to form a Homogeneous ODE, then introduce another
variable, sayw, therefore let ¿ vw ; du=vdw +wdv
a1 b1
CASE 2: If ¿ or L1 // L2
a2 b2
Then let
u=a1 x +b 1 y Or ¿ a2 x+ b2 y ;
du = a 1 dx +b1 dy or a 2 dx +b2 dy
(Whichever is simple)
udu 1
∫ du dy=0
u ∫u ∫
+
u+ ln u+ y+C=0
But u=x+ y
x + y +ln ( x+ y )+ y+ C=0
2. ( 2 x− y ) dx + ( 4 x+ y−6 ) dy=0
a 1= 2 b 1= -1
a 2= 4 b 2= 1
a1 b1 2 −1
≠ ; = ---------- L1 perpendicular to L2
a2 b 2 4 1
Let x = u + h ∴ x = u + 1
y=v+k∴y=u+2
dx=du
dy =dv
Solving h and k
Equate L1and L2
L1=2 x− y
4 x + y−6
L1 =
6 x−6
x=1=h
2 (1) – y = 0
2 = y =k
Substitute:
[ 2 ( u+1 )−( v+ 2 ) ] du+ ¿
2 u+2 du−vdv−2 dv + 4 udv+ 4 dv+ vdv−4 dv=0
2 udu−vdu+ 4 udv+ vdv=0
By Partial Fraction:
(2 w−1 ) dw A B
= +
( 2 w+1 ) (w +1) 2 w+1 w+1
2 w−1= A ( w +1 )+ B( 2 w+1)
for w :2= A +2 B
K :−1= A+ B
3 = B ∴ A=−1−3=−4
−4 dw 3 dw dv
∫ 2 w+1 +∫ w+1 +∫ v =∫ 0
v (w+1)3
=C
(2 w +1 )2
u
But w=
v
u=x−1
v= y−2
3
x−1
( y−2 ) [ y−2
+1
2
] =C
x −1
2 [
y−2
+1 ]
3
x −1+ y−2
( y−2 ) [ y−2 ]
2
=C
2 ( x−1 ) +( y−2)
[ y−2 ]
( x + y −3)3
=C
(2 x−2+ y−2)2
( x + y−3)3= (2 x+ y−4 )2 C
X. SIMPLE SUBSTITUTION
Standard Form:
M ( x , y ) dx+ N ( x , y ) dy=0
STEPS:
Examples
1. 2 dx+ ( 2 x +3 y ) dy=0
( du−3 dy ) +udy=0
du
∫ u−3 +∫ dy=∫ 0
ln ( u−3 ) + y +C=0
2. ( 2 x+ y +6 ) dx+ ( 2 x + y ) dy=0
Let u=2 x + y ; du=2dx +dy
du−2 dx=dy
( u+6 ) dx +udy=0
( u+6 ) dx +u ( du−2 dx )=0
( u+6−2 u ) dx+udu=0
( 6−u ) dx +udu=0
→ VS
6−u
udu
∫ dx−∫ u−6 =∫ 0
6 du
x−∫ du+∫ = 0
u−6 ∫
x−u+6 ln (u−6 )+C=0
x−( 2 x+ y )+ 6 ln ( 2 x + y−6 ) +C=0
u 3
x2
x ()
du−( u+1 ) dx=0
u3 du
∫ u+1 −∫ xdx=∫ 0
1
∫ (u2−u+ 1− u+1 ) du−∫ xdx=∫ 0
u3 u 2 x2
− +u−ln u+1 − +C=0
( )
3 2 2
2¿
1
∫ (u−1+ u+1 ) du−∫ dyy =∫ 0
u2
−u+ln ( u+1 )−lny +C=0
2
u2−2u+2 ln ( u+1 )−2lny +C=0
xy +12
xy ( xy−2 ) +ln | |y
=0
x
5. xy ( xdy− ydx )= y +1 dy ( )
x ydx−xdy
Let u= y ; du=
y2
xy (− y 2 du )= (u+ 1 ) dy
y−3 du
+∫ du−∫ +C=0
−3 u+1
y−3
+u−ln ( u+1 ) +C=0
−3
−1 x x
3y y
3
y ( )
+ −ln +1 +C=0
−1+3 x y 2−3 y 3 ln ( xy +1)+C y =0 →GS
3
y 2
6. dx +dy =( x+ y ) 1+ ( )
x
( xdy − ydx)
u 2
du=u ( 1+ v )
2
[( ) ]
1+v
dv =u3 dv
du−u 3 dv=0
→ VS
u3
du
∫ u3 −∫ dv=∫ 0
u−2
−v +C=0
−2
−1
−v +C=0
2u 2
y
but u=x + y ; v=
x
−1
−2 y
[ 2 ( x+ y ) x
2
− + C=0
]
1 y
+ + C=0
2( x + y ) x
2
1+2 y ¿
APPLICATIONS IN DIFFERENTIAL EQUATION
dP
Growth =KP
dt
dP
Decay or Decomposition =−KP
dt
dP
Investment Problem =iP
dt
Where P = no. of population/inhabitants/amount
dP
= rate of change of population /
dt
Inhabitants/amount
K ( ¿ i ) = Proportionality constant
GROWTH
1. If the population of country doubles in 75 years, in how many years will it
triple under the assumption that the rate of increase is proportional to the no.
of inhabitants?
Conditions
t=0 P=P0
t=75years P=2P0
t=? P=3P0
dP
=KP
dt
dP
∫ =K ∫ dt
P
lnP=Kt +C
2 P0 75
ln P ] P = Kt ]0 Working Equation
0
ln 2 P0−ln P0 =K ( 75−0 )
2 P0
ln =K ( 75 )
P0
ln2
ln 2=K ( 75 ) K=
75
3 P 0 ln 2
ln = t
P0 75
Conditions
t=0 P=P0
t=4 hours P=2P0
t=12 hours P=?
dP
=KP
dt
dP
∫ =K ∫ dt
P
lnP=Kt +C
2 P0 4
ln P ] P = Kt ]0 Working Equation
0
2 P0
ln =K ( 4 )
P0
ln 2
ln 2=K ( 4 ) K= =0.173286 …
4
P ln 2
ln = ( 12 )=3 ln 2
P0 4
P
ln 3
P0
e =e ln 2
P
=8
P0
P=8 P 0
b. If there are 104 at the end of 3 hours, and 4 ×104 at the end of 5hours, how
many were there at the beginning?
Conditions
t=0 P=P0=?
t=3hours P=1x104
t=5hours P=4x104
dP
=KP
dt
dP
∫ P =K ∫ dt
4
4 ×1 0 5
ln P ] 1× 1 0 =K t ] 3 4
4 × 10 4
ln = K (5−3)
1 ×1 04
ln 4 ln22 2 ln 2
=K = =K =ln 2
2 2 2
4
1× 1 0
ln P ] P 0
=ln 2 ( 3 )=3 ln 2
4
1 ×1 0
P0
ln
e =e ln 2
1 ×1 04 =8 P0
P0=1250 bacterias
Conditions
t=0 P=P0
t=2 P=1000
t=6 P=3000
t=? P=?
dP
=KP
dt
dP
∫ =K ∫ dt
P
3000 6
ln P ] 1000=K t ]2
3000
ln =K (6−2)
1000
ln 3
=K
4
P t
ln P ] 1000=K t ]2
P 3
ln =ln (t −2)
1000 4
P t ln 3
ln = ln 3−2( )
1000 4 4
P
ln =0.27465 t−0.54930614 …
1000
Conditions:
t=0 P=P0
t
ln −0.54930614 …
4
P=P 0=1000 e
¿ 1000 e 0.27465t−0.54930614
P=577.35 bacteria
Conditions:
t=8 P=?
P ln 3
ln = (8−2)
1000 4
P ln 3 3 ln 3
ln = ( 6) =
1000 4 2
−3
ln 3
2
P=1000 e
P=1596.15 bacteria
DECOMPOSITION
4. Radium decomposes at a rate proportional to the amount present and n as a half-
life of 1600 years. Find an expression for the amount present after 6400 years in
terms of the original amount.
Half- life the time required for the 50% of the originated substance to
decompose.
Conditions;
t=0 ; P=P o
t 1 =1600 yrs; P=0.5 P o
2
t=6400 yrs ; P=?
dP
=−KP
dt
dP
∫ P =−∫ K dt
0.5 P o
ln =−K (1600−0)
Po
0.5
ln =−K
1600
K = 0.000433216…
ln P ¿ P =−K t ¿ ¿ 6400 ¿
Po 0
P
ln =−0.00043
Po
P
=e−2.7725
Po
P=0.0625 …. Po
amt lost
% lost = x 100
initial amt
P o−0.95760332807 Po
% lost = x 100
Po
P o (1−0.95760332807)
% lost = x 100
Po
% lost = 4.24
dP
=−KP
dt
dP
∫ P =−∫ K dt
ln P ¿ 450 =−K t ¿ ¿ 3 ¿
500 0
450
ln =−K (3)
500
K=0.035120171… … .
ln P ¿ P =−K t ¿ ¿ t ¿
500 0
P
ln =0.035120171 … ….. t
500
c. Determine the time at w/c the mass has decayed to ½ its initial mass.
t 1 =? ; P=0.5(500)
2
P
ln =0.035120171 … …t 1
500 2
t 1 =19.74
2
INVESTMENT PROBLEMS
1. A woman plans to a single sum in a deposit account with a guaranteed interest
rate of 6 ¼% per year. How much should she deposit if she wants the account to
be worth $30,000 at the end of the 5-year period?
Conditions
t=0 P0=?
t =5 P=$ 30,000
i=¿ 6 ¼% i=0.0625
Solution
dP
=iP → V . S
dt
dP
∫ = idt
P ∫
30,000 5
ln P ] P 0
=i t ]0
30,000
ln
P0
e =e( 0.0625 ) (5)
P0=$ 21 , 948.47
2. A man currently has $15,000 and plans to invest it in an account that accrues
interest continuously. What interest rate must he receive if his goal is to have
$40,000 in 3 years?
Conditions:
t=0 P0=$ 15,000
t=3 P=$ 40,000
i=?
Solution:
dP
=iP → VS
dt
dP
∫ dt =∫ idt
40,000 3
ln P ] 15,000 =i t ]0
40,000
ln =i(3)
15,000
i=0.32694
i=32.69 %
Orthogonal Trajectory
A curve that cuts every member of a given family of curves at 90 ° angle . If we let C 1 to
be the orthogonal trajectory and C 2 be a number of family if curves, then
−1
slope of C 1=
slope of C 2
dy
However, slope of curve at any point p(x , y ) is defined by .
dx
−1
mC = 1
mC 2
dy 1
y'= →− →O .T .
dx dy
dx
M ( x , y ) dx+ N ( x , y ) dy=0
N ( x , y ) dx−M ( x , y ) dy =0
(no xy term)
1. If coefficient of x 2= coefficient of y 2
→Circle
2. If coefficient of x 2 and y 2 is of unlike sign
→Hyperbola
3. If coefficient of x 2≠ coefficient of y 2 but of same sign
→Ellipse
4. Coefficient of one tern is squared
→Parabola
1. x 2+ y 2=C2
2 x+2 y y ' =0
−2 x −x dy
y'= = = → slope of the family of circles
2y y dx
dy 1 y
dx
=−
( )
−x
y
= → slope of O . T .
x
∴ xdy= ydx
ydx−xdy=0
→VS
y∙ x
dx dy
∫ x −∫ y =∫ 0
lnx−lny=lnC
x
ln
e y =e lnC
x=Cy → family of SL
In mathematical form:
d μB
=−k ( μ B−μ m ) → cooling
dt
in heating: μ B< μ m
Example:
Conditions:
μm =100℉
t=0 μ B=50 ℉
t=5 min μ B=60 ℉
t=? μ B=?
In heating:
d μB
=k ( μ B−μm ) → VS
dt
60 5
d μB
∫ 100−μ =∫ kdt
50 B 0
60 5
−ln (100−μ B ) ]50=kt ]0 →WE
100−60
−ln =k (5)
100−50
k =0.0446287 …
μB t
−ln (100−μ B ) ] 50=kt ]0
100−μB
ln
e =e−0.0446287 …t
100−50
100−μ B −0.0446287 …t
=e
50
μ B=100−50 e−0.0446287 …t
b. Determine how long will it take for the body to reach 75℉;
t=? μ B=75 ℉
100−μ B
ln =−0.0446287 … t
100−50
100−75
ln =−0.0446287 … t
100−50
t=15.53 min
μ B=79.52 ℉
2. An object is cooled from 90℃ to 45℃ in 12 min in a room where the temperature is kept
constant at 28℃. How much longer will it take the body to decrease its temperature by
35℃?
Conditions:
μm =28 ℃
t=0 μ B=90 ℃
t=12 min μ B=45℃
t=? μ B=35 ℃
In Cooling:
d μB
=−k ( μ B−μ m ) → VS
dt
45 12
d μB
∫ μ −28 =−k ∫ dt
90 B 0
45 12
ln (μ B −28) ] 90=−kt ] 0 →WE
45−28
ln =−k (12)
90−28
k =0.10782687…
35 t
∴ ln (μB −28) ] 90=−k t ] 0
35−28
ln =−0.10782687 … t
90−28
t=20.23 min
3. A metal bar at a temperature of 100℉ is placed in a room at a constant temperature of
0 ℉. If after 20 min, the temperature of the bar is 50℉,
a. Find an expression for the temperature at any time, t;
Conditions:
μm =28 ℃
t=0 μ B=90 ℃
t=12 min μ B=45℃
t=? μ B=35 ℃
In cooling:
d μB
=−k ( μ B−μ m ) → VS
dt
45 12
d μB
∫ μ −28 =−k ∫ dt
90 B 0
45 12
ln (μ B −28) ] 90=−kt ] 0 →WE
45−28
ln =−k (12)
90−28
k =0.10782687…
35 t
∴ ln (μB −28) ] 90=−k t ] 0
35−28
ln =−0.10782687 … t
90−28
t=20.23 min
50 20
ln (μ B ) ]100 =−kt ]0 →WE
50
ln =−k ( 20)
100
k =0.03465735 …
μB t
ln (μ B ) ] 100 =−kt ]0
μB
ln
100
e =e−0.03465735… (t )
c. Find the time it will take for the bar to reach 25℉
t=? μ B=25 ℉
μB
ln =−0.03465735 … t
100
25
ln =−0.03465735 … t
100
t=40 min
10:00 A.M. μ B=15 ℉ 10:05 A.M. 10:10 A.M. μ B=70 ℉ 10:20 A.M.
t=0 → t = 5 min → t = 10 min → t = 20 min
μ B=70 ℉ μ B=45℉ μ B=? μ B=?
COOLING HEATING
In Cooling:
d μB
=−k ( μ B−μ m ) → VS
dt
45 5
d μB
∫ μ −15 =−k ∫ dt
70 B 0
45 5
ln (μ B −15) ]70 =−kt ]0
45−15
ln =−k (5)
70−15
k =0.12122716…
μB 10
ln (μ B −15) ]70=−kt ]0
μ B −15
ln
70−15
e =e−0.12122716… (10)
μ B −15 −1.2122716 …
=e
55
μ B=15+55 e−1.2122716 …
μ B=31.363636 ℉
In Heating:
d μB
=k ( μ B−μm ) → VS
dt
μB 20
d μB
∫ 70−μ ∫ kdt =
31.3636 B 10
μB 20
−ln (70−μ B ) ]31.3636=kt ] 10
70−μ B
ln =−0.12122716 … ( 20−10 )
70−31.3636
μ B=58.50 ℉
ds
= C1r1 – C2 r2
dt
ds
Where = rate of change of the amount of salt at any time t
dt
C = concentration
amount of salt S
C2= =
VT VT
But V =(rate)(time)=rt
Example
1. A tank initially holds 100gal of brine containing 1lb of salt. Another brine solution
containing 1lb of salt per gallon is poured into the tank at a rate of 3gal/min. While the
well-stirred mixture leave the tank at the same rate, find the amount of salt at anytime t.
Find the time where the mixtures contains 2lb of salt.
ds ds entering ds leaving
= −
dt dt dt
ds
=C 1 r 1−C2 r 2
dt
ds
=( 1 ) ( 3 )−C 2 (3)
dt
S S S
C 2= = =
VT 100+3 t−3 t 100
ds S 3 ( 100 )−3 s
=3− ( 3 )=
dt 100 100
ds 3
dt
+s
100 ( )
=3 LINEAR ∈S
3
P (t)= ; Q ( t )=3
100
3 3t
∫ 100 dt
µ=e∫ P t dt=e
( )
=e 100
3t 3t
( )
S e 100 =∫ 3 e 100 dt +C
3t 3t
Se 100
=3
100 100
3 (
e +C )( )
3t 3t
100 100
Se =100 e +C
−3 t
S=100+ C e 100
t=0 ; s=1
1=100+C e 0
−99=C
−3 t
100
S=100−99 e
at t=? ; s=2
−3 t
100
2=100−99 e
−3 t
−98
ln =ln e 100
−99
−98 −3 t
ln =
−99 100
t=0.34 min
Example
2. A tank initially holds 10gal of freshwater. A brine solution containing ½lb of salt per
gallon is poured into the tank at a rate of 2gal/min. While the well-stirred mixture leaves
the tank at the same rate, find the amount of salt at t=6min.
1 lb 2 ga l
C 1= r 1= t=0
2 gal min
ds ds entering ds leaving
= −
dt dt dt
ds
=C 1 r 1−C2 r 2
dt
ds 1
dt
= ()
2
(2 )−C2 (2)
S S S
C 2= = =
VT 10+ 2t−2 t 10
ds S S
=1− ( 2 )=1−
dt 10 5
ds 1
dt
+S()
5
=1 LINEAR ∈S
1
P ( t ) = ; Q ( t )=1
5
∫ 15 dt t
µ=e∫ P t dt =e
( )
=e 5
t t
S e =∫ 1 ( e ) dt+ C
5 5
t t
S e 5=
1
( )
5 5
e +C
t
S=5+C e 5
at t=0 ; s=0
0=5+C e 0
−5=C
−t
5
S=5−5 e
at t=6 ; s=?
−6
5
S=5−5 e
s=3.49lb
Example
3. Pure H 2 O is poured at the rate of 3gal/min into a tank containing 300lb of salt dissolved
in 100gal of H 2 O and the solution kept well-stirred pours out of 2gal/min. Find the
amount of salt in the tank at the end of 100min.
3 gal
r 1= C =0t=0 s=300 lb
min 1
ds ds entering ds leaving
= −
dt dt dt
ds
=( 0 )( 3 )−C2 (2)
dt
S S S
C 2= = =
VT 100+3 t−2 t 100+t
ds −S −S 2
= ( 2 )= VAR . SEPARABLE
dt 100+t 100+t
ds −2
∫ dt
s ∫ 100+t
=
s 100
ds −2
∫ =∫ dt
300 s 0 100+t
S
ln =−2 ¿
300
S
ln 200
=−2 ln 2=e ln2
−2
300
e =−2 ln
100
S
=2−2
300
S=300(2−2 )
s=75lb
Example
4. A tank is filled with 20gal of brine in which is dissolved 3 lb of salt. Brine containing 3lb
of salt per gallon enters at 2 gallon per minute. The well-stirred mixture leaves at 1
gal/min. Find the amount of salt in the tank at any time t. Find the amount of salt in the
tank at t= 10min.
3 lb 2 gal
C 1= r 1= t=0
gal min
ds ds entering ds leaving
= −
dt dt dt
ds
=( 3 )( 2 )−C2 (1)
dt
S S S
C 2= = =
VT 20+ 2t−t 20+t
ds S
=6−
dt 20+t
ds 1
dt
+S (
20+t )
=6 LINE AR IS S
1
P (t)= ; Q ( t )=6
20+t
1
∫ 20+t dt
µ=e∫ P t dt =e =e ln (20+t )=20+t
( )
t2
(
S ( 20+t )=6 20t +
2 )
+C=120 t+ 3 t 2 +C
at t=0 ; s=3
3(20+0) = 0+0+C
60 = C
at t=10min ; S=?
S(20+10)=120(10)+ 3(10)2+ 60
s=52lb
Kirchoff’s Law
Formula:
1 di
iR + ∫ idt + L =E
c dt
Where:
dq
i= ; q=∫ idt (change∈coulomb)
dt
E, R, C, Q are constants
Example
1
1. Use KVL to find the constant Emf (E) if C = farad, R = 20Ω,
20
1 di
iR + ∫ idt + L =E
c dt
dq
but i= ; q=∫ idt
dt
dq 1
[ dt
( R ) + q=E ÷ R
C ]
dq 1 E
dt
+q
RC R( )
= → LINEAR∈q
1 E
P (t)= ; Q ( t )=
RC R
1 t
∫ RC dt
µ=e∫ P t dt =e
( )
=e RC
t t
( )
q e RC =
E
R
∫ e RC dt+ K
t t
E RC RC
q e RC =
R T ( )
e +K
−t
q=EC + K e RC
t=0 ; q=0
0=EC + K e 0
K=−EC
−t
q=EC −EC e RC
−t
q=EC ( 1−e RC )
1
at t=1; q=2 coul ; C= farad ; R=20 Ω
20
solving for E
q
E= −t
C (1−e RC )
2
E= −1
1
20
(1−e
20
1
20( ) )
E=6.33 V
Example
2. An R-L circuit with no source of emf has an initial current give Io. Find the current at
any time t.
di R E
dt
+i
L L ( )
= LINEAR ∈ L
R E
P (t)= ; Q ( t )=
L L
∫ RL dt RT
µ=e∫ P t dt =e
( ) L
=e
RT RT
( )= EL ∫ e
i e L L
dt+C
RT RT
E L L
ie L = ( )
L R
e +C
RT RT
E L
ie L = e +C
R
−RT
E L
i= + C e
R
I o=0+ C e 0
C=I o
−Rt
L
i=I o e
VI. Mechanics
Newton’s Law of Motion
a) First Law (Law of Inertia)
b) Second Law (Law of Acceleration)
c) Third Law (Law of Action-Reaction)
dv
a=
dt
dv
F=m
dt
F=ma
k = proportionality constant
= (-) (opposes the velocity)
F=mg−kv
dv
[m =mg−kv ¿ ÷m
dt
dv kv
+ =g
dt m
dv
=g
dt
Conditions:
dv kv
Upward direction: F=−mg−kv= + =−g
dt m
dv kv
Downward direction: F=mg−kv= + =g
dt m
At rest t = 0 ; d = 0 ; v = 0
dv
At terminal velocity = 0 (limiting velocity)
dt
ds
At max height: V =0 ; =0( max−min)
dt
1 2
Alternate formulas: S=Vot− g t
2
Vf =Vo−¿
V f 2 =V o2−2 gs
m cm ft
Gravity (g) = 9.8 2
=980 2 =32 2
s s s
English SI
Mass lb−s 2 N −s2
Slugs ( ) Kg( )
ft m
Acceleration ft /s 2 m/s 2
Force lb f N
Example
1. A ball is thrown vertically upward with an initial velocity of 49m/s Find the velocity after
1, 5, 9 sec. Find its maximum height before returning. Assume no air resistance.
dv
=−g VARIABLE SEPARABLE
dt
∫ dv=−g∫ dt
V =−¿+C 1
At t=0 ; V =49 m/s
49=−9.8 ( 0 )+C 1
C 1=49
V =−9.8 t+ 49
m
at t=1 s :V =−9.8 (1 ) + 49=39.2
s
m
at t=5 s :V =−9.8 ( 5 ) +49=0
s
m
at t=9 s :V =−9.8 ( 9 ) + 49=−39.2
s
at max height :V =0
¿ V =−9.8 t+ 49
ds
=−9.8+49 VARIRABLE SEPARABLE
dt
∫ ds=∫ (−9.8 t+ 49 ) dt
t2
S=−9.8 ( )
2
+ 49 t+C 2
S=−4.9 t 2+ 49 t+C 2
at t=0 ; s=0
0=0+0+C 2
C 2=0
S=−4.9 t 2+ 49 t
at V =0 ; t=5 s
2
Smax=−4.9 ( 5 ) + 49 ( 5 )
smax =122.5 m
Example
2. A mass of 2kg is dropped with a velocity of 3m/s. a. Find an expression for the
velocity of the object if the force dues to air resistance is 50V
dv kv
+ =g
dt m
dv 50 v
+ =9.8
dt 2
dv
+25 v=9.8 LINEAR∈V
dt
P ( t ) =25 ;Q ( t )=9.8
P ( t ) dt 25dt
µ=e∫ =e∫ =e 25t
V =0.392+ C e−25 t
at t=0 ;V =3 m/s
3=0.392+C e 0
C=2.608
dv
limiting velocity =0
dt
dv kv
+ =g
dt m
mg 2(9.8)
V= =
k 50
V =0.392m/ s
Example
3. A boat is being towed of the rate of 12 mi/hr. At the instant that the towing line is
cast off a man in the boat begins to row in the direction of motion, exerting a force of
20lb. if the combined weight of the man and the boat is 480lb & the resistance in
pounds is equal to 1.75V, where v is measured in ft/s find the speed of the boat after
½ min.
Towing Direction
480 lb dv
[
( ) ft dt
32 2
s
=20−1.75 v ]÷ 15
dv 20−1.75 v
=
dt 15
dv 4 7 v
= −
dt 3 60
dv v 4
dt
+7
60 3 ( )
= LINEAR ∈V
7 4
P (t)= ; Q ( t )=
60 3
7 7t
∫ P ( t ) dt ∫ 60 dt
µ=e =e =e 60
7t 7t
V ( e )= ∫ e
4
60 60
dt+C
3
7t 7t
4 60 60
V e 60 = ( )
3 7
e +C
7t 7t
80 60
Ve = 60
7
e +C( )
−7 t
80 60
V = +C e
7
mi 5280 ft 1 hr 88
at t=0 ;V =12 x x = ft /s
hr 1 mi 3600 s 5
88 80
= +C e 0
5 7
216
C=
35
−7 t
80 216 60
V= + e
7 35
1
at t= min=30 s ; V =?
2
−7 (30)
80 216 60
V= + e
7 35
V =11.61 ft /s
Example:
dy
Dy= =y’
dx
d² y
D ² y= =y’ ’
dx ²
d³ y
D ³ y= = y ’’’
dx ³
Ex:
d 2 2x
1. Dx ²= ( x )=¿
dx
3x d 3x
2. D e = ( e )=¿
dx 3 e3 x
3. D 2 ( x e x ) =D ( Dx e x )
¿D ( dxd x e ) x
¿ D(x e x + e x )
¿ Dx e x + D e x
¿ x ex+ ex+ ex
¿ x e x +2 e x
¿
e x ( x +2)
When x = π
4. D 3 sin x =D 2 ( Dsin x )
¿ D 2 ( D cos x )
¿ D ( Dcos x ) =D (−sin x )
¿−cos x
x=π
D ³ sin x=¿ 1
5. ( D−3 ) (e 5 x )
¿ D e5 x −3 e 5 x
¿ 5 e 5 x −3 e 5 x
¿
2 e5 x
6. ( D2 +2 D+1 ) (x e−x )
¿ D 2 ( x e− x ) + 2 D ( x e−x ) + x e− x
¿ D ( Dx e−x ) +2 (−x e−x +e−x ) + x e−x
¿ D (−x e−x + e−x )−2 x e−x +2 e−x + x e− x
¿−(−x e−x +e−x ) −e−x −2 x e−x +2 e−x + x e− x
¿−e− x −e− x −2 x e− x +2 x e−x + x e− x
¿0
7. ( D 2−a2 ) ( sin ax )
¿ D 2 sin ax−a² sin ax
¿ D ( Dsin ax ) −a ² sin ax
¿ D ( a cos ax )−a2 sinax
¿−a ² sin ax−a ² sin ax
¿−¿2a²sin ax
Complementary solution
Factor
y 2=C 2 em 2 x
y n=C n e m xn
y c = y 1 + y 2 +…+ y n
y c =C 1 em x +C 2 em x + …+Cn e m x
1 2 n
Ex:
y c =C 1+ C2 e5 x + C3 e−3 x
GS: y c =C 1 e x +C 2 e−2 x +C 3 e3 x +C 4 e 2 x +C 5 e− x
Example:
1. ( 9 D 3 −6 D 2+ D ) y =0
9 m 3−6 m 2 +m=0
m ( 9 m2−6 m+1 )=0
m (3 m−1 )2=0
1 1
x x
GS: y =C e0 x +C e 2 +C x e 2
c 1 2 3
1 1
x x
y c =C 1+ C2 e 2 +C 3 x e 2
y c =C 1+ C2 x+C 3 e x + C4 x e x
Roots: m=a± bi
GS: y c =eax ¿
Example:
d2 y dy
1. 2
−2 +5 y=0
dx dx
( D2−2 D+5 ) y=0
m2−2 m+ 5=0
−b ± √ b2−4 ac
Quadratic Equation: x=
2a
2
+2 ± √ (−2 ) −4 ( 1 ) (5 ) 2± √−16 2± 4 i
m= = =
2( 1) 2 2
a=1
m=1 ± 2i
b=2
GS : y c =e x ¿
GS : y c =e x (C 1 cos x +C 2 sin x)
Synthetic Div:
11−7−11−8−12
−2 210 2 12
1−1−5−7−6 0
−26−2 6
1−3 1−3 0
303
1010
m ²+1=0
a=0
m=0 ± i
b=1
GS : y c =C 1 e−2 x +C 2 x e−2 x + C3 e3 x + e2 x ¿
Roots: m=a± bi
y 2=x e ax ¿
ax
Example:
1. ( D 5 +18 D 3 +81 D ) y =0
m5 +18 m3 + 81m=0
m ( m 4 +18 m 2+ 81 )=0
2
m ( m 2+ 9 ) =0
m 2=−9
m= √−9=± 3i
a=0
m=0 ,± 3 i
b=3
0x 0x ax
GS: y c =C 1 e + e ( C 2 cos 3 x +C3 sin 3 x ) + x e ( C 4 cos 3 x +C5 sin 3 x )
2. ( D 6 +2 D 4 + D 2 ) y=0
m6 +2 m 4 +m2=0
m 2 ( m 4 +2 m2 +1 ) =0
2
m 2 ( m2 +1 ) =0
m 2=−1
m= √−1=±i
a=0
m=0,0 ,± i, ± i
b=1
General Solution: y= y c + y p
Particular solution
Complimentary Solution
I. Undetermined Coefficients
Steps:
a. Find y c .
b. Find y p. Determine the roots of R(x). Think of a case that suits in R(x). If the root already
exists in y c , then it is said to be in its second time, third time, and so on.
c. Differentiate y p. Depending on the highest order of the given ODE. ( usually 2nd order)
d. From the given ODE, replace Y with y p. Then distribute, and then expand.
e. Substitute the differentiated y p. , simplify then solve for the values of the arbitrary
constants.
f. Substitute the obtained values of arbitrary constants in y p
g. Form the General Solution: y= y c + y p
Example:
m2−3 m−4=0
( m−4 ) ( m+1 )=0 ∴ m=4 ,−1
∴ y c =C1 e 4 x +C 2 e−x
For y p : R ( x )=5 e 4 x ¿)
y p=c 3 x e 4
Dy p=c 3 ( 4 x e 4 x +e 4 x )=4 C 3 x e4 x + C 3 e 4 x
D 2 y p=4 C3 ( 4 x e 4 x + e4 x ) +4 C3 e 4 x
d 2 y p=16 C 3 xe 4 x +8 C 3 e4 x
−4 C3 x e 4 x =5 e 4 x
∴ C3=1
∴ y p=x e4 x
General Solution: y= y c + y p
y=C 41 x + C−x 4x
2 +xe
Example:
m 2−3 m+2=0
(m-2)(m-1)=0 ∴ m=2,1
∴ y c =C1 e 2 x + C2 e x
y p=C 3 e0 x + C4 e 0 x +C 5 x 2 e0 x
y p=C 3 +C 4 x +C 5 x 2
Dy p =C 4 +2C 5 x
D 2 y p=2 C5
D 2 y p−3 D y p+ 2 y p =1+ 3 x + x 2
2 C5−3 ( C4 + 2C 5 x ) +2 ( C 3+ C 4 x +C 5 x 2 )=1+3 x + x 2
2C 5−3 ¿
2 1
For x :2 C5 =1∴ C5 =
2
x :−6 C 5+ 2C 4 =3
−6 ( 12 )+ 2C =3
4
2 C 4=3+3=6 ∴C 4 =3
k :2 C5 −3C 4 + 2C 3=1
−2 ( 12 )−3 ( 3 )+ 2C =1
3
9
∴ 2C 3=1+8=9 ∴C 3=
2
9 1
y p= +3 x+ x 2
2 2
∴ General Solution : y= y c + y p
1 9
y=C 1 e2 x +C 2 e x + x 2 +3 x+
2 2
Example:
m2−m−2=0
( m−2 ) ( m+1 )=0 ∴ m=2 ,−1
∴ y c =C1 e 2 x + C2 e−x
(−C 3 cosx−C 4 sinx )−( −C3 sinx+ C4 cosx )−2 ( C3 cosx+C 4 sinx )=10 cosx
−C 3 cosx −C 4 sinx+C 3 sinx−C 4 cosx−2 C3 cosx −2C 4 sinx=10 cosx
C 3=3 C 4
∴−3 ( 3 C 4 ) −C 4=¿10
−9 C 4−C 4 =¿10
10
C 4= =−1
−10
∴ y p=−3 cosx−sinx
General solution : y= y c + y p
Steps:
dB
f. Substitute 3 in 2 to obtain the value of B. ( B= ¿
dx
f. Substitute Bin 3.
dA
h. Obtain the value of A. ( A= ¿
dx
i. Substitute A & B in y p .
Example:
m 2−5 m+6=0
(m−3)(m−2)=¿0∴ m=3,2
∴ y c =C1 e 3 x +C2 e 2 x
3 A ' e3 x +2 B' e 2 x =2 e 2 x 2
−B ' e 2 x ' −x
Form 1: A’ = 3x
=−B e 3
e
∴ substitute 3∈2
−3 B' e 2 x +2 B' e 2 x =2 e2 x
−B' e 2 x =2e 2 x
B’ =−2
dB
=−2VS
dx
∫ dB=−2 ∫ dx
B = -2x
A’ = 2e− x
dA
=2e− xVS
dx
∫ dA=∫ 2e− x dx
A = -2e− x
∴ y p=−2 e−x e 3 x −2 x e 2 x
y p=−2 e2 x −2 x e2 x
General Solution: y= y c + y p
y=C 1 e3 x +C 2 e2 x −2 e2 x −2 x e2 x
y=C 1 e3 x +C 2 e2 x −2 e2 x −2 x e2 x
y=C 1 e3 x +C 3 e2 x −2 x e 2 x