MSU
Main Campus
Marawi City
ENGINEERING MATHEMATICS
COURSE CODE: ENS 181
INSTRUCTOR: Edilvin Walter P. Maghanoy
Order and Classification of Differential Equations
Differential equations are classified based on their order, which is determined by the highest
derivative present.
First-Order ODE:
ππ¦
=π₯+1
ππ₯
Second-order ODE:
π2 π¦
ππ¦
+
3
+ 2π¦ = 0
ππ₯ 2
ππ₯
We also classify differential equations as ordinary differential equations (ODEs) or partial differential equations (PDEs)
ODEs involve functions of a single variable
PDEs involve functions of multiple variables:
ENS 181 | Week 2
π2 π¦
ππ¦
+
3
+ 2π¦ = 0
ππ₯ 2
ππ₯
πΏπ
πΏ2 π
=π 2
πΏπ‘
πΏπ₯
First-order ODE’s
In the real world, many processes can be described using different forms of first-order
ODEs. Some of these equations can be solved directly using algebraic manipulation,
while others require more advanced techniques.
1. Separable ODEs
2. Exact ODEs
3. Linear ODEs
ENS 181 | Week 2
Separable ODE’s
Many differential equations in engineering applications can be written in a form that
allows us to separate the variables., meaning that all terms involving y appear on one
side and all terms involving x appear on the other
π π¦
ππ¦
=π π₯
ππ₯
π π¦ ππ¦ = π π₯ ππ₯
ENS 181 | Week 2
Recall: Population Growth
Solving Separable ODEs
1.
2.
3.
4.
Rewrite the equation to separate the variables.
Integrate both sides.
Introduce the constant of integration C.
Solve for y if possible
ENS 181 | Week 2
Example 1
Solve the ODE π¦ ′ = 1 + π¦ 2
Step 1: Separate the variables
ππ¦
= ππ₯
2
1+π¦
Step 3: Introduce constant C
π‘ππ−1 π¦ = π₯ + C
Step 2: Integrate both sides
Step 4: Solve for y
ππ¦
ΰΆ±
= ΰΆ± ππ₯
2
1+π¦
π¦ = tan(π₯ + πΆ)
π‘ππ−1 π¦ = π₯
ENS 181 | Week 2
Example 2
In 1991, scientists discovered the Iceman (Oetzi), a prehistoric mummy, in the Oetztal
Alps. Analysis shows that the ratio of carbon-14 to carbon-12 in his remains was 52.5%
of that in a living organism. Given the half-life of carbon-14 is 5715 years, estimate the
time since Oetzi’s death.
Understand the problem:
1. The ratio of carbon-14 to carbon-12 in living organisms is constant.
2. When an organism dies, it stops absorbing carbon-14.
3. The remaining carbon-14 decays exponentially, allowing scientist to estimate when
the organism died.
4. The half-life of carbon-14 is H = 5715 years.
ENS 181 | Week 2
Example 2
Formulate the DE:
ππ¦
ππ‘
= ππ¦
Step 1: Separate the variables
ππ¦
= πππ‘
π¦
Step 2: Integrate both sides
ππ¦
ΰΆ±
= ΰΆ± πππ‘
π¦
ln |π¦| = ππ‘ + πΆ
Step 3: Solve for y
π¦ = π¦0 π ππ‘
ENS 181 | Week 2
Where:
− π¦ ππ π‘βπ πππ‘ππ ππ 14πΆ to 12C.
- π ππ π‘βπ πππππ¦ ππππ π‘πππ‘
- t is the time elapsed
Step 4: Determine k using half-life
0.5π¦0 = π¦0 π ππ‘
π ππ‘ = 0.5
ln 0.5 −0.693
π = π» = 5715 = −0.0001213
Step 5: Calculate time t for Oetzi’s Death
Given that the carbon-14 ratio is 52.5%
π¦ = 0.525π¦0
π¦ = π¦0 π ππ‘
0.525π¦0 = π¦0 π −0.0001213π‘
ln 0.525 = −0.0001213π‘
π‘ = 5312 π¦ππππ
Oetzi died approximately
5300 years ago.
Example 3
A 1000-gallon tank initially contains 100 lbs of salt. Brine flows in at 10 gal/min with 5
lbs of salt per gallon, while an equal amount exits. Find the salt content in the tank
over time.
Step 1: Setting up a model
Let π¦ π‘ denote the amount of salt in the tank at time t
π
π
= πΊπππ ππππππ πΉπππ − πΊπππ πΆππππππ πΉπππ
π
π
Inflow:
πππ
Brine enters at 10 πππ/πππ, with 5 πππ salt concentration
Outflow:
Tank volume is 1000 πππ, so salt concentration at time t is:
π¦
1000
πππ /πππ
ENS 181 | Week 2
πππ
Brine leaves at 10
, so salt outflow is
πππ
π¦
10 π₯
= 0.01π¦ πππ /πππ
1000
So, the differential equation for the
amount of salt y(t) is:
ππ¦
= 50 − 0.01π¦
ππ‘
Example 3
A 1000-gallon tank initially contains 100 lbs of salt. Brine flows in at 10 gal/min with 5
lbs of salt per galoon, while an equal amount exits. Find the salt content in the tank
over time.
So, the differential equation for the
amount of salt y(t) is :
ππ¦
= 50 − 0.01π¦
ππ‘
ππ¦
= −0.01ππ‘
π¦ − 5000
Integrating both sides:
ππ¦
ΰΆ±
= ΰΆ± −0.01ππ‘
π¦ − 5000
ln y − 5000 = −0.01t + C
ENS 181 | Week 2
Exponentiate both sides:
Apply Initial Conditions:
π ln |π¦−5000| = π −0.01π‘+πΆ
π¦ − 5000 = π πΆ π −0.01π‘
y − 5000 = πΆπ −0.01π‘
π = ππππ + πͺπ−π.πππ
y = 5000 + πΆπ −0.01π‘
100 = 5000 + πΆπ 0
100 = 5000 + πΆ
C = −4900
Apply Initial Conditions:
y t = 5000 − 4900π −0.01π‘
π¦ 0 = 100
Initially, the tank contains
100 lbs of salt
Example 3
A 1000-gallon tank initially contains 100 lbs of salt. Brine flows in at 10 gal/min with 5
lbs of salt per galoon, while an equal amount exits. Find the salt content in the tank
over time.
y t = 5000 − 4900π −0.01π‘
Interpretation:
At t -> ∞, y -> 5000
This means the salt content stabilizes at 5000 lbs over time
ENS 181 | Week 2
Reduction to Separable Form
Solve 2π₯π¦π¦ ′ = π¦ 2 − π₯ 2
Can be expressed in the standard form
2
2
π¦
−
π₯
π¦′ =
2π₯π¦
In many cases, non-separable differential equations can be transformed into
separable form by introducing a new variable.
π’=
π¦
π₯
ENS 181 | Week 2
π¦ ′ = π’′ π₯ + π’
π¦ = π’π₯, substitute this to the equation
Reduction to Separable Form
Solve 2π₯π¦π¦ ′ = π¦ 2 − π₯ 2
Can be expressed in the standard form
π¦ 2 −π₯ 2
′
π¦=
2π₯π¦
=
π¦
2π₯
−
π₯
2π¦
2
π’
1
π’ −1
′
π’ π₯+π’ =
−
=
2 2π’
2π’
π¦ ′ = π’′π₯ + π’
π¦ = π’π₯
Separating variables
2π’ππ’
ππ₯
1
2
by Integration ln 1 + π’ = − ln π₯ + πΆ = ln + πΆ
2 = −
1+π’
π
ln 1+π’2
ENS 181 | Week 2
π₯
=π
π₯
ln
1
+πΆ
π₯
π₯ 2 + π¦ 2 = πΆπ₯