Documente Academic
Documente Profesional
Documente Cultură
Differential Equation – it is an equation which contains at least one derivative. Sometimes, the differential equation
is expressed in terms of differential.
Thus,
d4 y dy
For: 5x 4
+ 3x 2 − x sin y = 0
dx dx
d4y
Order = Fourth Order because
dx 4
is the highest-ordered derivative.
1
d4 y
Degree = First Degree because one is the exponent of the highest-ordered derivative.
4
dx
2. Determine the order and degree of the differential equation
(4) 3 (3) 2
y + x y + x y’’ + x y’ + y = 0
a. Fourth Order, First Degree b. Fourth Order, Second Degree
c. First Order, Fourth Degree d. Second Order, Fourth Degree
Conditions:
1
1. Satisfied => y is the dependent variable with highest exponent of one ( 5y )
Note: The numerator “dy” in dy/dx indicates that variable y is the dependent variable while the denominator “dx” indicates
that variable x is the independent variable.
1
dy
2. Satisfied => the highest exponent of the derivative of the dependent variable is one
dx
3. Satisfied => the dependent variable and its derivative does not occur in a single term
2
Thus, dy/dx – 4x + 5y = x + 10 is LINEAR
Conditions:
1
1. Satisfied => y is the dependent variable with highest exponent of one ( y y’)
Note: y’ means dy/dx, thus y is the dependent variable
1
2. Satisfied => y(y’) the highest exponent of the derivative of the dependent variable is one
3. Not Satisfied => yy’ the dependent variable (y) and its derivative (y’) occurs in a single term
By Inspection, other choices ARE ALL LINEAR Differential Equation (three conditions for linearity are satisfied)
Ans. a. 2x dy – y dx = 0
y 2 = 4ax
Ans. c. y’’ – 3 y’ = 0
The number of differentiations to be made should be equal to the number of arbitrary constants to be eliminated.
3x
For y = C1 + C2e there are two arbitrary constants (C1 and C2) to be eliminated
Thus, take two differentiations (y’ and y”)
Ans. c. y” – 5 y’ + 6y = 0
y = C1e 2 x + C 2 e 3 x
d 2x ) d 3x
y' = C1 (e + C 2 (e )
dx dx
y' = 2C1e 2 x + 3C 2 e 3 x Equation #1
d 2x d 3x
y" = 2C1 (e ) + 3C 2 (e )
dx dx
y" = 4C1e 2 x + 9C 2 e 3 x Equation # 2
Solving three equations simultaneously:
By determinants,
- - -
y = C1e2 x + C2e3 x y 1 1 y 1
y' 2 3 y' 2' = [18 y + 3y"+ 4 y'] − [2y"+12y + 9y']
y' = 2C1e2 x + 3C2 e 3 x
y" 4 9 y" 4 = y"−5y'+ 6 y
y" = 4C1e2 x + 9C2e3 x
+ + +
8. Which of the following equations is a variable separable differential equation?
2 2
a. (x + x y) dx = (2x + xy ) dy b. (x + y) dx – 2y dy = 0
2 2
c. 2y dx = (1 +x ) dy d. y dx + (2x – 3y) dy = 0
2
Ans. c. 2y dx = (1 +x ) dy
VARIABLE SEPARABLE:
To find the solution of a given Differential Equation is just looking for the equation whose derivative or differential is the given
original Differential Equation. The process involved is the integration process. However, before integration can be applied there
are cases whereby we first have to SEPARATE THE VARIABLES, we can say that VARIABLE have been SEPARATED,
the Differential Equation has the form:
M(x)dx + N(y)dy = 0
Consider, b. (x + y) dx – 2y dy = 0
=> Cannot be separated/converted in the form of M(x)dx + N(y)dy = 0
Meaning, variable y cannot be separated to dx
2ydx = (2 + x 2 )dy
2ydx − (2x + x 2 )dy = 0
[2ydx − (2x + x 2
)dy = 0 ] (2y)(11+ x 2
)
1 1
2
dx + − dy = 0
1+ x 2y
M(x)dx + N(y)dy = 0
Thus, (x + y) dx – 2y dy = 0 is a VARIABLE SEPARABLE Differential Equation
2
Consider, d. y dx + (2x – 3y) dy = 0
=> Cannot be separated/converted in the form of M(x)dx + N(y)dy = 0
Meaning, variable y cannot be separated to dx and variable x cannot also be separated to dy
2
Thus, y dx + (2x – 3y) dy = 0 is NOT VARIABLE SEPARABLE Differential Equation
9. Which of the following equations is not a homogeneous differential equation?
x
a. y’ = (y + x)/x b. y’ = (x + y) e
2 2 2 2 x/y
c. y’ = (x + y )/xy d. y’ = (x + y ) e
x
Ans. b. y’ = (x + y) e
2 2 3 3 4 5
Polynomials in which all terms are of the same degree, such as x – 3xy + 4y , x + y , and x y + 7y are called
HOMOGENEOUS Polynomials.
A formal definition of HOMOGENEITY is: The function f(x,y) is said to be HOMOGENEOUS of degree k in x and y if, and only if,
k
f(λx, λy) = λ f(x,y)
Consider b. y' = ( x + y ) e x
y' = ( λx + λy )e λx
y' = λ( x + y ) e λx
k x
It is NOT in the form of: f(λx, λy) = λ f(x,y), thus y’ = (x + y) e is NOT HOMOGENEOUS.
2 2
x +y
Consider c. y' =
xy
λx 2 + λy 2
y' =
λxλy
λ( x 2 + y 2 )
y' =
λ2 ( xy )
1 x2 + y2
y' =
λ xy
x +y
2 2
y' = λ−1
xy
k 2 2
It is in the form of: f(λx, λy) = λ f(x,y), thus y’ = (x + y )/xy is HOMOGENEOUS
x
Consider d. y' = x 2 + y 2 e y
λx
y ' = λ x 2 + λ y 2 e λy
x
y' = λ( x 2 + y 2 )e y
k 2 2 x/y
It is in the form of: f(λx, λy) = λ f(x,y), thus y’ = (x + y ) e is HOMOGENEOUS
∂M ∂( 2xy ) 2x∂y
= = = 2x
∂y ∂y ∂y
2
Consider N = 1 + x treat y as constant
∂N ∂(1 + x 2 ) ∂x
= = 0 + 2x = 2x
∂x ∂x ∂x
∂M ∂N
Thus, = = 2x
∂y ∂x
2
Therefore, 2xydx + (1+x )dy = 0 is an EXACT EQUATION
Consider b. y dx + x dy = 0
where: M = y and N = x
Consider M = y
∂M ∂( y )
= =1
∂y ∂y
Consider N = x
∂N ∂( x )
= =1
∂x ∂x
∂M ∂N
Thus, = =1
∂y ∂x
Therefore, y dx + x dy = 0 is an EXACT EQUATION
3 2 2
Consider c. (y + 2xy ) dx + (1 + 3x y + x) dy = 0
3 2 2
where: M = y + 2xy and N = 1 + 3x y + x
3
Consider M = y + 2xy => treat x as constant
∂M ∂( y + 2xy 3 ) ∂y ∂y
= = + 2x(3 y 2 ) = 1 + 6xy 2
∂y ∂y ∂y ∂y
2 2
Consider N = 1 + 3x y + x treat y as constant
∂N ∂(1 + 3x 2 y 2 + x ) ∂x
= = 0 + 3y 2 ( 2x ) + 1 = 1 + 6 xy 2
∂x ∂x ∂x
∂M ∂N
Thus, = = 1 + 6 xy 2
∂y ∂x
3 2 2
Therefore, (y + 2xy ) dx + (1 + 3x y + x) dy = 0 is an EXACT EQUATION
2 2
Consider d. y dx + x dy = 0
2 2
where: M = y and N = x
2
Consider M = y
∂M ∂( y 2 ) 2y∂( y )
= = = 2y
∂y ∂y ∂y
2
Consider N =x
∂N ∂( x 2 ) ∂( x )
= = 2x = 2x
∂x ∂x ∂x
Thus, ∂M ≠ ∂N
∂y 2 ∂x 2
Therefore, y dx + x dy = 0 is NOT EXACT EQUATION
11. What is the integrating factor of the differential equation y dx –x dy = 0 if the dependent variable is x?
2
a. 1/x b. 1/x
2
c. 1/y d. 1/y
Ans. c. 1/y
INTEGRATING FACTOR
dx
+ xP(y) = Q(y)
I.F. = e ∫
P(y)dy
dy
Note :
dx
It is in the form of: + xP(y) = Q(y)
dy 1
∫ u du = ln u + c
Thus, I.F. = e ∫
P(y)dy
where: P(y) = (-1/y)
y 1 − y = −e x
dy
+ ( − y ) = −e x
dx
dy
It is in the form: + yP(x) = Q(x)
dx
where: P(x) = -1
Thus, I.F. = e ∫
P(x)dx
I.F. = e ∫
( −1) dx
I.F. = e − x
7 ∫ ydy = 5 ∫ xdx
y2 x2
7 =5
2 2
7y = 5 x 2
2
5 2
y2 = x +C
7
14. Solve the differential equation: dy/dx = 2y
2x -2x
a. y = Ce b. y = Ce
2 2 2
c. y = x + C d. y = x + C
Ans. a. y = Ce2x
dy
= 2y
dx
dy
= dx
2y
dy
∫ 2y = ∫ dx
1
ln y = x
2
1
ln( y 2 ) = x
2
21 x
y = e
2x
y=e
Another Solution (to show the constant C in the final answer)
dy
− 2y = 0
dx
dy
+ y( −2) = 0
dx
dy
I.F. = e ∫
It is in the form of: + yP(x) = Q(x) P(x)dx
dx
Where P(x) = -2 ; Q(x) = 0 ; Dependent Variable (D.V.) = y
I.F. = e ∫
P(x)dx
I.F. = e ∫
( −2 ) dx
I.F. = e −2 x
Solution to Differential Equation:
(D.V.)(I.F.) = ∫ Q( x )(I.F.)dx
y(e − 2 x ) = ∫ 0(e − 2 x )dx
y(e − 2 x ) = ∫ 0dx
y( e − 2 x ) = C
C
y = −2 x
e
y = Ce 2 x
dy
x+y =2
dx
dy
x + y dx = 2 dx
xdx + ydy = 2dx
∫ xdx + ∫ ydy = 2∫ dx
x2 y2
+ = 2x
2 2
x2 y2
− 2x + = 0 2
2 2
x 2 − 4x + y 2 = 0
y 2 = 4x − x 2 + C
I.F. = e ∫
P(x)dx
I.F. = e ∫
( −5 ) dx
I.F. = e −5 x
∫
Solution to Differential Equation: (D.V.)(I.F.) = Q( x )(I.F.)dx
y( e − 5 x ) = ∫ (0)(e − 5 x )dx
y( e − 5 x ) = ∫ 0dx
y( e − 5 x ) = C
C
y = 5x
e
y = Ce 5 x
17. Solve the differential equation: (3x2y – 6x) dx + (x3 + 2y) dy = 0
3 2 2 3 2 2
a. x y + 3x + y = C b. x y + 6x + y = C
3 2 2 3 2 2
c. x y – 6x + y = C d. x y – 3x + y = C
3 2 2
Ans. d. x y – 3x + y = C
2 3
(3x y – 6x)dx + (x + 2y)dy = 0
Mdx + Ndy = 0
If M and N are both homogeneous and of the same degree, then the given differential equation is a HOMOGENEOUS
DIFFERENTIAL EQUATION.
If the differential equation is homogeneous, we can use either of these Let x = vy or y = vx, however to make the solution easier,
then we have to substitute for the variable whose differential has a simpler coefficient.
[9x dx + 3v
2 2
x dx − 2x 2 v 2 dx − 2x 3 vdv = 0
2
] 1x
9dx + 3v 2 dx − 2v 2 dx − 2xvdv = 0
9dx + v 2 dx − 2xvdv = 0
[(9 + v 2
)dx − 2xvdv = 0 ] (9 + v1 )(x)
2
dx 2v
− dv = 0
x 9 + v2
1 2v
∫ x
dx − ∫
9 + v2
dv = ∫ 0dx
ln x − ln(9 + v 2 ) = ln C
y
ln x − ln C = ln(9 + v 2 ) but v =
x
x y2
ln = ln 9 + 2
C x
x y2 2
= 9 + 2 x
C x
3
x
= 9x 2 + y 2
C
x 3 = C(9x 2 + y 2 )
dx 2x Note :
+ =4
dt t 1
dx 2 ∫ u du = ln u + c
+ x = 4
dt t
n loga M = loga (Mn )
dx
It is in the form of: + xP(t) = Q(t) or
dy
n ln M = ln(Mn )
e ln M = M
Thus, I.F. = e ∫
P(t)dt
where: P(t) = 2/t ; Q(t)=4 ; D.V. = x
2
I.F. = e
∫ t dt
I.F. = e 2 ln t
2)
I.F. = eln( t
I.F. = t 2
Solution to Differential Equation:
(D.V.)(I.F.) = ∫ Q( t )(I.F.)dt
( x )( t 2 ) = ∫ ( 4)( t 2 )dt
t3
xt 2 = 4 +C
3
t3
4 +C
x = 32
t
4 C
x= t+ 2
3 t
4
x = t + Ct −2
3
20. Solve the differential equation: y’ – y = -x
-x x
a. y = (x + 1)e + C b. y = (x + 1)e + C
-x x
c. y = x + 1 + Ce d. y = x + 1 + Ce
x
Ans. d. y = x + 1 + Ce
y'− y = − x
dy
+ y( −1) = − x
dx
dy
I.F. = e ∫
It is in the form of: + yP(x) = Q(x) P(x)dx
dx
Where P(x) = -1 ; Q(x) = -x ; Dependent Variable (D.V.) = y
I.F. = e ∫
P(x)dx
I.F. = e ∫
( −1) dx
I.F. = e − x
Solution to Differential Equation:
= −[ − xe − ∫ − e
−x −x
dx ]
= −[ − xe − x − e −x ] + C
= xe −x + e − x ] + C
21. Determine the differential equation for the orthogonal trajectories of the family of curve y = Cx2
a. dy/dx = -x/2y b. dy/dx = x/2y
c. dy/dx = 2y/x d. dy/dx = -2y/x
Ans. b. 8
S = C 1e kt S = C 1e kt
2 = (1)e k(3)
S = amount of the substance present
k = constant of proportionality 2 = e 3k
If k>0, Exponential Growth ln2 = 3klne
If k<0, Exponential Decay but lne = 1
t = time
ln2
k=
For prob. #23, 3
k = 0.23104906
Condition I : t = 0 ; S = 1
Condition II : t = 3 ; S = 2 Consider Condition III : t = 9 ; S = ?
Condition III : t = 9 ; S = ?
S = C 1e kt
Consider condition I : t = 0 ; S = 1 S = (1)e 0.23104906 ( 9 )
S = C 1e kt S=8
1 = C 1e k ( 0 )
1 = C 1e 0
C1 = 1
24. If a population is increasing exponentially at the rate of 2% per year. What will be the percentage increase over a period of 10
years?
a. 19.9% b. 21.9%
c. 23.9% d. 25.9%
Ans. b. 21.9%
25. The number of bacteria in a culture doubles every hour. How long does it takes for a thousand bacteria to produce a billion?
a. 16.93 hr b. 17.93 hr
c. 18.93 hr d. 19.93 hr
Ans. d. 19.93 hr
Condition I : t = 0 ; S = 1,000
Condition II : t = 1 ; S = 2,000
Condition III : t = ? ; S = 1,000,000,000
S = C1e kt
1,000,000,00 = (1,000)e 0.69314718( t )
1,000,000,000
ln = 0.69314718 t ln e
1,000
t = 19.93 hrs
26. A radio active substance decreases from 8 grams to 7 grams in one hour. Find its half life.
a. 4.19 hr b. 4.49 hr
c. 4.89 hr d. 5.19 hr
Ans. d. 5.19 hr
Condition I : t = 0 ; S = 8 grams
Condition II : t = 1 ; S = 7 grams
Condition III : t = ? ; S = 4 grams (half of the original amount)
Note: HALF LIFE – It is the time required to decompose 1/2 of the original amount
S = C1e kt
4 = (8)e − 0.133531392( t )
4
ln = −0.133531392 t ln e
8
t = 5.19 hrs
27. A tank initially contains 400 liters of brine in which 100 kg of salts are dissolved. Pure water is running into the tank at the rate of
20 liters per minute. And the mixture (which is uniform by stirring) is drained off at the same rate. How many kg of salt remains in
the tank after 30 minutes?
a. 18.83 b. 20.31
c. 22.31 d. 24.31
Ans. 22.31
dS dS dS
= −
dt dt en dt es
for prob.#27,
dS
dt en
dS
dS dS dS dt es
= −
dt dt en dt es
dS
= (rate of entry)(concentration of the entering solution)
dt en
Liters kg
= 20 0
min Liter
Note : entering solution is a pure water
BRINE = is a mixture of Water and Salt
dS kg
=0
dt en min
dS
= (rate of escape)(concentration of the escaping solution)
dt es
Liters S kg
= 20
min 400 Liters
dS S kg
=
dt es 20 min
Thus, Therefore,
dS S - 20lnS = t - 20ln100
=0−
dt 20 @ t = 30
dS S - 20lnS = 30 - 20ln100
=−
dt 20 lnS = 3.10517018 6
dS
20 = dt S = e 3.105170186
−S
1 S = 22.31 kg of salt
− 20 ∫ dS = ∫ dt
S
− 20lnS = t + C
@ t = 0 , S = 100 kg
- 20ln100 = 0 + C
C = -20ln100
28. A tank contains 80 gallons of pure water. A brine solution with 2 lbs/gallon of salt enters at 2 gpm, and well-stirred mixture leaves
at the same rate. Find the time at which the brine leaving will contain 1 lb/gallon of salt.
a. 17.73 b. 22.73
c. 27.73 d. 32.73
Ans. c. 27.73
dS
dt en
dS
dS dS dS dt es
= −
dt dt en dt es
dS
= (rate of entry)(concentration of the entering solution)
dt en
gal lb
= 2 2
min gal
Note : entering solution is brine solution
BRINE = is a mixture of Water and Salt
dS lb
=4
dt en min
dS
= (rate of escape)(concentration of the escaping solution)
dt es
Liters S lb
= 20
min 80 gal
dS S lb
=
dt es 40 min
Thus,
dS S
=4−
dt 40
dS 160 − S
=
dt 40
40
= dt
160 − S
1
40 ∫ dS = ∫ dt
160 − S
40( −1)ln(160 - S) = t + C
@t = 0 , S = 0
40( −1)ln(160 - 0) = 0 + C
C = -40ln160
lb
Concentration = 1
gal
S lb
=1
80gals gal
S = 80 lbs
Therefore,
40( −1)ln(160 - S) = t + C
40( −1)ln(160 - 80) = t + -40ln160
t = 27.73 mins
29. An object cools from 120˚F to 95˚F in half an hour, when surrounded by air whose temperature is 70˚F. Find the temperature at
the end of another half an hour.
a. 78.5˚F b. 80˚F
c. 82.5˚F d. 85˚F
Ans. c. 82.5˚F
The rate at which the temperature of the body changes with time is directly proportional to the difference between the
temperature of the body and the surrounding medium.
kt
Tb − Tm = C1e
for prob.#29,
kt
Tb − Tm = C1e
where Tm = 70°F
kt
Tb − 70 = C1e Equation #1
@ t = 0, Tb = 120°F
120 - 70 = C1e k ( 0 )
50 = C1e 0
C1 = 50 Substitute in Equation #1
kt
Tb − 70 = 50e
@ t = 0.5 , Tb = 95°F
k ( 0.5 )
95 − 70 = 50e
25 0.5 k
=e
50
25
ln = 0.5k ln e
50
k = −1.386294361
@ t = 1 (0.5 hr + 0.5 hr) , Tb = ?
kt
Tb − 70 = C1e
Tb = 50e −1.386294361(1) + 70
Tb = 82.5°F
30. A thermometer reading 18˚F is brought into a room where the temperature is 70˚F; 1 minute later, the thermometer reading is
31˚F. Find the temperature reading 3 minutes after the thermometer is first brought into the room.
a. 46˚F b. 48˚F
c. 50˚F d. 52˚F
Ans. b. 48˚F
kt
Tb − Tm = C1e
where Tm = 70°F
kt
Tb − 70 = C1e Equation #1
@ t = 0, Tb = 18°F
18 - 70 = C1e k ( 0 )
− 52 = C1e 0
C1 = −52 Substitute in Equation #1
kt
Tb − 70 = −52e
@ t = 1 , Tb = 31°F
k (1)
31 − 70 = −52e
k
− 39 = −52e
− 39
ln = k ln e
− 52
k = −0.287682072
@ t = 3 , Tb = ?
kt
Tb − 70 = C1e
Tb = −52e −0.287682072( 3 ) + 70
Tb = 48°F