

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























by EngineerProf PH/Engr. Raymart Bonete
A differential equation (DE) is an equation involving derivatives or differentials.
EXAMPLE 1.
(𝑦")
2
3
where 𝑦
′
=
𝑑𝑦
𝑑𝑥
(
st
Derivative) and 𝑦" =
𝑑
2
𝑦
𝑑𝑥
2
(
nd
Derivative)
EXAMPLE 2.
𝑑𝑦
𝑑𝑥
𝑦
𝑥
= 𝑥
2
EXAMPLE 3.
𝑑
2
𝑄
𝑑𝑡
2
− 3
𝑑𝑄
𝑑𝑡
EXAMPLE 4.
𝑑𝑦
𝑑𝑥
=
𝑥−𝑦
𝑥+𝑦
EXAMPLE 5.
𝜕
2
𝑧
𝜕𝑥
2
𝜕
2
𝑧
𝜕𝑦
2
= 0
(Examples 1, 2, 3, & 4 are ordinary D. E. since there is only one independent variable which is “x”)
derivatives. (Example 5 is a Partial D. E. since it has 2 independent variables which are “x” and “y”)
𝑑𝑦
𝑑𝑥
= 𝑥
2
st
Order since the highest derivative is first derivative)
(𝑦")
2
3
;(2nd Order since the highest derivative is second derivative)
𝑑
3
𝑄
𝑑𝑡
3
− 3
𝑑𝑄
𝑑𝑡
rd
Order since the highest derivative is third derivative)
′
)
3
= 15 → in this D.E., the highest order is 2 (because y’’ is a second derivative);
the power/exponent of y’’ is 1; therefore, this is a 1
st
Degree D.E.
*Overall, this is a 2
nd
Order 1
st
Degree DE
2
3
→in this DE, the power of the highest order derivative is 2.
Therefore; this is a second-degree DE.
*Overall, this is a 2
nd
Order 2
nd
Degree DE
EXAMPLE: Find the general solution for the DE:
𝑑𝑦
𝑑𝑥
Solution: 𝑑𝑦 = 𝑥𝑑𝑥
Integrating both sides; ∫
𝑑𝑦 = ∫
𝑥𝑑𝑥
𝑦 =
𝑥
2
2
The particular solution is obtained using boundary condition therefore arriving to an exact value for C.
EXAMPLE: Using the above example, the general solution is 𝑦 =
𝑥
2
2
𝑥 = 2 then 𝑦 = 1 ”. Substituting these to the general solution, 1 =
2
2
2
Therefore, the particular solution is 𝑦 =
𝑥
2
2
− 1 (no arbitrary constant C)
(a) Find the general solution of
( 4 𝑥 + 𝑥𝑦
2
) 𝑑𝑥 +
( 𝑦 + 𝑥
2
𝑦
) 𝑑𝑦 = 0
(b) Find the particular solution for which 𝑦
( 1
) = 2
For (a) ;
STEP # 1:: Separate the variables (join all terms with variables x and all terms with variable y
( 4 𝑥 + 𝑥𝑦
2
)𝑑𝑥 + (𝑦 + 𝑥
2
𝑦)𝑑𝑦 = 0
(𝑥)
( 4 + 𝑦
2
) 𝑑𝑥 + (𝑦)
( 1 + 𝑥
2
) 𝑑𝑦 = 0
Perform Algebra. Then the Separation yields;
𝑥 𝑑𝑥
1 +𝑥
2
𝑦𝑑𝑦
4 +𝑦
2
STEP # 2: Perform Integration
Integrate both sides; ∫
𝑥 𝑑𝑥
1 +𝑥
2
𝑦𝑑𝑦
4 +𝑦
2
Using ∫
𝑑𝑢
𝑢
= ln 𝑢 + 𝐶
For ∫
𝑥 𝑑𝑥
1 +𝑥
2
; Let 𝑢 = 1 + 𝑥
2
Substitute to formula; ∫
2 𝑥𝑑𝑥
1 +𝑥
2
Compare this to the original integral. We have a multiplier 2. Therefore, we need to introduce a balancing constant to
make it equal to the original integral.
1
2
2 𝑥𝑑𝑥
1 +𝑥
2
1
2
ln( 1 + 𝑥
2
For ∫
𝑦𝑑𝑦
4 +𝑦
2
; Using ∫
𝑑𝑢
𝑢
= ln 𝑢 + 𝐶 ; Let 𝑢 = 4 + 𝑦
2
Substitute to formula; ∫
2 𝑦𝑑𝑦
4 +𝑦
2
Balance to make this equal to the original integral.
1
2
2 𝑦𝑑𝑦
4 +𝑦
2
1
2
ln( 4 + 𝑦
2
Therefore, the general solution is:
ln( 1 + 𝑥
2
ln( 4 + 𝑦
2
Note: You can combine all arbitrary constant and represent it as a single constant.
STEP #3: Simplify.
ln( 1 + 𝑥
2
ln( 4 + 𝑦
2
Multiply both sides by 2:
ln( 1 + 𝑥
2
) + ln( 4 + 𝑦
2
From the Laws of Logarithm:
ln[( 1 + 𝑥
2
2
Simplify; ln 𝑥 + ln
2
1
3
= 𝐶 ; ln 𝑥
2
1
3
= 𝐶
𝐶
2
1
3
Note: 𝑒
𝐶
is still constant so we can represent is as C
Use the substitution to bring back the original variables,
2
1
3
; 𝑦 = 𝑣𝑥 then 𝑣 =
𝑦
𝑥
𝑦
𝑥
2
1
3
Raise both sides by 3 to simplify; 𝐶
3
3
3 𝑦
2
𝑥
2
Therefore; the general solution is
2
3
The first order differential equation in the form 𝑀 𝑑𝑥 + 𝑁𝑑𝑦 = 0 is exact if
𝜕𝑀
𝜕𝑦
𝜕𝑁
𝜕𝑥
The example problems below will discuss the process for finding the general solution of an exact differential equation.
Show that
2
sin 𝑥 − 4 𝑦
3
𝑑𝑦 = 0 is an exact differential equation and find its general
solution.
2
sin 𝑥 − 4 𝑦
3
2
sin 𝑥 − 4 𝑦
3
Step #1 Find
𝜕𝑀
𝜕𝑦
(partial derivative of M with respect to y, let all x as CONSTANT) and
𝜕𝑁
𝜕𝑥
(partial derivative of N with
respect to x, let all y as CONSTANT).
2
= 0 + cos 𝑥 = cos 𝑥
sin 𝑥 − 4 𝑦
3
= cos 𝑥 − 0 = cos 𝑥
𝜕𝑀
𝜕𝑦
𝜕𝑁
𝜕𝑥
Therefore, this is an exact differential equation.
Step #2: Integrate the differential equation partially with respect to x (making all y as CONSTANT).
2
3
3
𝑦
𝑦
=constan of integration dependent on y
Step #3: Integrate the differential equation partially with respect to y (making all x as CONSTANT).
2
sin 𝑥 − 4 𝑦
3
0 + 𝑦 sin 𝑥 − 𝑦
4
𝑥
𝑥
=constant of integration dependent to x
Step #4: Compare equations from Step #2 and Step #3. Find the value for 𝑘
𝑥
and 𝑘
𝑦
to make the two equations
equal. Note: Do not remove or cancel out any expression, just add.
3
𝑦
3
𝑦
𝑦 sin 𝑥 − 𝑦
4
𝑥
; ysin 𝑥 − 𝑦
4
𝑥
To be equal; 𝑘
𝑦
4
and 𝑘
𝑥
3
Use either of the two equations. Therefore, the general solution is: 𝑥
3
4
The linear type differential equation is in the form;
The process of solving Linear DE involves the use of an Integrating Factor or Euler’s Multiplier.
integrating factor = 𝑒
∫ 𝑃
( 𝑥
) 𝑑𝑥
Solve:
3
Using the form and by inspection, this is a linear type DE.
3
The integrating factor is;
∫
𝑃(𝑥)𝑑𝑥
∫
2
𝑥
𝑑𝑥
2 ln 𝑥
ln 𝑥
2
2
Multiply the integrating factor to both sides of the DE;
2
3
2
Multiply dx both sides and simplify;
2
5
This is the goal of the integrating factor. To make the left side integrable combination.
2
5
The expression ∫(𝑥
2
𝑑𝑦 + 2 𝑥𝑦 𝑑𝑥) can be integrate using the concept of derivative of the product. Focus on
just one expression. Say ∫
2
𝑑𝑦, make x as constant since you are integrating using dy. Therefore, the integral is
2
2
5
2
6
You can check the left side of the equation by finding its derivative;
2
2
𝑑𝑦 + 2 𝑥𝑦 𝑑𝑥 → this is the goal of the integrating factor, to make the left side integrable using
the concept of derivative of a product.
General Equation:
0
𝑛
𝑛
1
𝑛− 1
𝑛− 1
𝑛− 1
𝑛
As we can see in the general equation, 𝑎 0
1
𝑛
are constant coefficients, otherwise it is said to
have variable coefficients.
𝑅(𝑥) is an expression that is a function of x.
Operator Notations:
It is convenient to use differential operator “D”. Wherein:
𝑑
𝑑𝑥
2
𝑑
2
𝑑𝑥
2
3
𝑑
3
𝑑𝑥
3
and so on.
The General Solution is in the form:
1
𝑚
1
𝑥
2
𝑚
2
𝑥
𝑛
𝑚
𝑛
𝑥
For example:
Solve for the general equation of:
′′
′
2
2
Use a Linear Operator:
2
Divide by 𝑦 both sides.
2
Find the roots 𝑚
1
and 𝑚
2
by direct factoring or using quadratic formula.
1
2
Therefore, the general solution is:
1
𝑚
1
𝑥
2
𝑚
2
𝑥
1
4 𝑥
2
4 𝑥
If the roots are imaginary, use Euler’s Identity:
𝑖𝑚
= cos 𝑚 + 𝑖 sin 𝑚
−𝑖𝑚
= cos 𝑚 − 𝑖 sin 𝑚
The simplified form will be, if 𝑚 1
= 𝑎 + 𝑏𝑖 and 𝑚
2
= 𝑎 − 𝑏𝑖 (from quadratic formula)
The general equation will be:
𝑎𝑥
1
cos 𝑏𝑥 + 𝑐
2
sin 𝑏𝑥)
For example;
Solve for the general solution of:
2
By quadratic formula:
2
Therefore, the general solution is:
𝑎𝑥
1
cos 𝑏𝑥 + 𝑐
2
sin 𝑏𝑥) ; 𝑎 = − 3 ; 𝑏 = 4
− 3 𝑥
1
cos 4 𝑥 + 𝑐
2
sin 4 𝑥)
Another example;
4
2
2
The roots m are:
For the complex number, a=0 and b=2 (pure imaginary). Therefore, the general solution is;
1
2 𝑥
2
− 2 𝑥
0 (𝑥)
3
cos 2 𝑥 + 𝑐
4
sin 2 𝑥)
1
2 𝑥
2
− 2 𝑥
3
cos 2 𝑥 + 𝑐
4
sin 2 𝑥
𝑜
𝑜
2
2
𝑜
𝑜
2
From the fundamental concepts that: 𝑣 =
𝑑𝑥
𝑑𝑡
and 𝑎 =
𝑑𝑣
𝑑𝑡
𝑣
𝑣
𝑜
𝑥
𝑥
𝑜
2
𝑜
2
𝑜
2
𝑜
2
𝑜
Using 𝑣 = 𝑣
𝑜
2
𝑜
2
𝑜
, we can derive another formula if “a” is not given:
𝑜
2
𝑜
2
𝑜
Substitute “a” 𝑣
2
𝑜
2
𝑣−𝑣
𝑜
𝑡
𝑜
0
0
𝑜
𝑜
0
) will cancel out;
0
𝑜
𝑜
0
Summarizing the derived formulas.
𝑥 𝑜
= 𝑖𝑛𝑖𝑡𝑖𝑎𝑙 𝑝𝑜𝑠𝑖𝑡𝑖𝑜𝑛
𝑥 = 𝑓𝑖𝑛𝑎𝑙 𝑝𝑜𝑠𝑖𝑡𝑖𝑜𝑛
𝑡 = 𝑡𝑖𝑚𝑒
𝑣
𝑜
= 𝑖𝑛𝑖𝑡𝑖𝑎𝑙 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦
𝑣 = 𝑓𝑖𝑛𝑎𝑙 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦
𝑎 = 𝑎𝑐𝑐𝑒𝑙𝑒𝑟𝑎𝑡𝑖𝑜𝑛
𝑜
𝑜
𝑜
2
2
𝑜
2
𝑜
𝑜
0
Sample Problems:
direction, she passes a signpost at x = 50 m. Her x-acceleration as a function of time is
𝑥
2
3
Find her x-velocity and position x as functions of time.
Solution:
0
𝑜𝑥
𝑥
2
3
The acceleration is not constant since it is given as a function of time “t”. Therefore; use the concept, (use x as
subscript denoting that the Mustang is travelling in the x direction)
𝑥
𝑡
0
𝑥
𝑜𝑥
2
3
𝑡
0
𝑥
*velocity as a function of time
𝑥
2
3
2
*position as a function of time
Using the concept:
𝑜
𝑥
𝑡
𝑜
Substitute:
2
3
2
𝑡
𝑜
2
2
3
3
2
2
3
3
Sample Problems:
3
, (b) Obtain the differential equation
for the family in (a).
Solution:
(a) The graph of the curve is shown in the figure below.
3
3
2
2
From the original equation: 𝑐 =
𝑦
𝑥
3
By substitution:
𝑑𝑦
𝑑𝑥
2
𝑑𝑦
𝑑𝑥
𝑦
𝑥
3
2
This differential equation shows the slope of the curve 𝑦 = 𝑐𝑥
3
at any given coordinate.
𝑑𝑦
𝑑𝑥
2
. (b) Graph the obtained solution. (c) Determine
the particular solution which passes through the point (1, 3).
(a) the general solution
2
2
2
3
3
(b) the graph of the solution is shown in the figure below.
(c) the particular solution which passes through the point (1, 3).
3
3
Therefore, the particular solution is:
3
For graphing, you can use your scientific calculator (CASIO 991 ES or 570 ES).
Press Mode Press7: Table
Input the Equation Press = then input coordinate interval Coordinates will automatically appear
years, what is the percentage lost in 100 years?
Using the derived formula above;
ln 𝑄 = 𝑘𝑡 + 𝐶
@ 𝑡 = 0 , the amount of the substance present is 𝑄
0
ln 𝑄
0
𝐶 = ln 𝑄
0
@ 𝑡 = 1000 𝑦𝑒𝑎𝑟𝑠, the amount of the substance present is
𝑄
0
2
(half of the original substance present)
ln
0
ln
0
= 𝑘( 1000 ) + ln 𝑄
0
By laws of logarithm and ln 𝑄 will just cancels out; ln 𝑄
0
− ln 2 = 𝑘( 1000 ) + ln 𝑄
0
−ln 2 = 𝑘( 1000 )
ln 2
− 4
ln 𝑄 = 𝑘𝑡 + 𝐶
ln 𝑄 = 𝑘𝑡 + ln 𝑄
0
ln 𝑄 = (− 6. 9315 × 10
− 4
)( 100 ) + ln 𝑄
0
ln 𝑄 − ln 𝑄
0
ln
0
Convert to exponential form:
0
− 0. 069315
0
After 𝑡 = 100 , 0. 933 or 93 .3% of the original substance 𝑄
0
was left. Therefore, the percentage decrease is
Population Growth
Population growth differential equations problems are based on the concept that “the time rate of change of the
population 𝑃 is directly proportional to the number of populations at any given time t.”
where k= proportionality constant
By separation of variables, the general solution is obtained.
ln 𝑃 = 𝑘𝑡 + 𝐶
Sample Problems:
inhabitants, how many years will it be six times as much?
Solution:
ln 𝑃 = 𝑘𝑡 + 𝐶
@𝑡 = 0 , the population 𝑃 is 𝑃
0
. ln 𝑃
0
𝐶 = ln 𝑃
0
@ 𝑡 = 30 𝑦𝑒𝑎𝑟𝑠, the population doubles. 𝑃 is 2 𝑃 0
ln 2 𝑃
0
= 𝑘( 30 ) + ln 𝑃
0
ln 2 𝑃
0
− ln 𝑃
0
ln 2 + ln 𝑃
0
− ln 𝑃
0
ln 2
0
ln 6 𝑃
0
= ( 0. 023105 )𝑡 + ln 𝑃
0
ln 6 + ln 𝑃
0
= 0. 023105 𝑡 + ln 𝑃
0
ln 6
Newton’s Law of Cooling states that the “time rate of change of the temperature 𝑇 of a body is directly proportional
to the difference between the temperature 𝑇 of the body and the surrounding temperature 𝑇
𝑠
𝑠
By separation of variables, the general solution can be obtained; k = proportionality constant and 𝑇
𝑠
= constant
𝑠
𝑠
ln(𝑇 − 𝑇
𝑠
𝑠
𝑠
𝑠
−ln
𝑠
Sample Problems:
temperature between object and surroundings. If an object cools from 80 ℃ to 60 ℃ in 20 minutes, find the
temperature in 40 minutes if the surrounding temperature is 20 ℃.
Solution:
For cooling process,
𝑠
𝑠
𝑠
ln(𝑇 − 𝑇
𝑠
𝑠
ln( 80 − 20 ) = 𝑘( 0 ) + 𝐶
𝐶 = ln 60 = 4. 09434
𝑠
ln(𝑇 − 𝑇
𝑠
ln( 60 − 20 ) = 𝑘( 20 ) + ln 60
ln
− ln 60
𝑠
ln(𝑇 − 𝑇
𝑠
𝑠
𝑘𝑡+𝐶
𝑘𝑡+𝐶
𝑠
(− 0. 02027 )( 40 )+ 4. 09434
Assuming Newton’s Law of Cooling, how long would it take to warm up from 20℃ to 25℃?
Solution:
For heating process,
𝑑𝑇
𝑑𝑡
𝑠
𝑠
𝑠
−ln
𝑠
𝑠
−ln
𝐶 = − ln 20
𝑠
−ln
= 𝑘( 15 ) + (− ln 20 )
− ln
𝑠
−ln
𝑠
− ln( 30 − 25 ) = ( 0. 0462098 )(𝑡) + (− ln 20 )
− ln
It takes 30 minutes to warm up from 10 ℃ to 25 ℃. Therefore, if it takes 15 minutes to warm up from 10 ℃ to
20 ℃, it will take the remaining 15 minutes to warm up from 20 ℃ to 25 ℃.