Uploaded by Dan Lester Mier

DE FINAL PIT

advertisement
University of Science and Technology of Southern Philippines
ES 208 Differential Equations
MTh 10:30 AM – 12:00 PM
Submitted by:
Dan Lester S. Mier
BSME 2C_M3
Submitted to:
Engr. Dennis E. Ganas
13 DECEMBER 2019
APPLICATIONS OF FIRST ORDER DIFFRENTIAL EQUATION
POPULATION GROWTH
A certain population of bacteria is known to grow at a rate proportional to the
amount present in a culture that provides plentiful food and space. Initially there are
250 bacteria, and after seven hours 800 bacteria are observed in a culture. Find the
expression for the approximate number of bacteria present in the culture at any time
𝑑.
Let 𝑁(𝑑) denote the number of bacteria present in the culture at any time 𝑑. The
growth rate is
𝑑𝑁
𝑑𝑑
, which is proportional to 𝑁. Thus,
𝑑𝑁
𝑑𝑑
= π‘˜π‘,
(1)
where π‘˜ is a constant of proportionality
Note that (1) can be solved using variable separable
𝑑𝑁
= π‘˜π‘
𝑑𝑑
𝑑𝑁
= π‘˜π‘‘π‘‘
𝑑𝑑
ln 𝑁 = π‘˜π‘‘ + 𝐢
𝑒 ln 𝐢 = 𝑒 (π‘˜π‘‘+𝐢)
𝑁 = 𝑒 π‘˜π‘‘ βˆ™ 𝑒 𝑐
(Let 𝐢 = 𝑒 𝑐 )
𝑁 = 𝐢𝑒 π‘˜π‘‘
(2)
At 𝑑 = 0, 𝑁 = 250. Applying this initial condition to (2), we get
250 = 𝐢𝑒 π‘˜(0) or 𝐢 = 250
At 𝑑 = 7, 𝑁 = 800. Substituting this condition and solving for π‘˜,
1
800
800 = 250𝑒 π‘˜(7) or π‘˜ = 7 ln (250) = 0.166
Now the solution becomes 𝑡 = πŸπŸ“πŸŽπ’†πŸŽ.πŸπŸ”πŸ”π’• which is an expression for the approximate
number of bacteria present at any time 𝑑 measured in hours.
ο‚· Determine the approximate number of bacteria that will be present in the culture
described in the previous problem after 24 hours.
We require 𝑁 at 𝑑 = 24. Substituting 𝑑 = 24 into 𝑁 = 250𝑒 0.166𝑑 we obtain 𝑁 =
250𝑒 0.166𝑑 = πŸπŸ‘, πŸ’πŸ‘πŸ‘.
ο‚· In a culture of yeast the amount of active ferment grows at rate proportional to
the amount present. If the amount doubles in 1 hour, how many times the original
3
amount may be anticipated at the end of 2 4 hours?
Let 𝑁(𝑑) denote the amount of yeast present at time 𝑑. Then
𝑑𝑁
𝑑𝑑
= π‘˜π‘, where π‘˜
is a constant of proportionality. The solution to this equation is given 𝑁 = 𝐢𝑒 π‘˜π‘‘ . If we
designate the initial amount of yeast as π‘π‘œ = 𝐢𝑒 π‘˜(0) = 𝐢. We may then rewrite the
solution as 𝑁 = π‘π‘œ 𝑒 π‘˜π‘‘ .
After 1 hour, the amount present is 𝑁 = 2π‘π‘œ ; Applying this condition and solving
for π‘˜, we find 2π‘π‘œ = 𝑁0 𝑒 π‘˜(1) so that 𝑒 π‘˜ = 2 and π‘˜ = ln 2 = 0.693. Thus the amount of
yeast present at any time 𝑑 is 𝑁 = π‘π‘œ 𝑒 0.693𝑑 . After 2.75 hours the amount will be 𝑁 =
π‘π‘œ 𝑒 0.693(2.75) = 6.72π‘π‘œ . This represents a πŸ”. πŸ•πŸ fold increase over the original amount.
EXAMPLE
A colony of bacteria is growing exponentially. At time t=0 it has 10 bacteria in it, and
at time t=4 it has 2000. At what time will it have 100,000 bacteria?
𝑁 = 10𝑒 π‘˜π‘‘
@ t = 4 ; N = 2000
2000 = 10𝑒 4π‘˜
2000
= 𝑒 4π‘˜
10
ln 200 = 4π‘˜
π‘˜=
ln 200
= 1.3245793
4
Thus
𝑁 = 10𝑒 1.3245793𝑑
@ N = 100000
100000 = 10𝑒 1.3245793𝑑
ln 10000 = 1.3245793𝑑
𝑑=
ln 10000
1.3245793
𝒕 ≈ πŸ”. πŸ—πŸ“
DECOMPOSITION/DECAY
ο‚·
A certain reactive material is known to decay at a rate proportional to the
amount present. If initially there is 100mg of the material present and if after 2 years it
is observed that 5% of the original mass has decayed, find an expression for the mass
at any time 𝑑.
Let 𝑁(𝑑) denote the amount of material present at time 𝑑. The differential
equation governing this system is
𝑑𝑁
𝑑𝑑
= π‘˜π‘, and its solution is 𝑁 = 𝐢𝑒 π‘˜π‘‘ .
At 𝑑 = 0, 𝑁 = 100. Applying this initial condition, we get 100 = 𝐢𝑒 π‘˜(0) = 𝐢. Thus
the solution is 𝑁 = 100𝑒 π‘˜π‘‘ .
At 𝑑 = 2, 𝑁 = 100 − 5 = 95 since 5% has decayed. Substituting this condition
in the equation 𝑁 = 100𝑒 π‘˜π‘‘ and solving for π‘˜, we get 95 = 100𝑒 π‘˜(2) or π‘˜ =
1
2
95
ln 100 = −0.0256. (Note: For decay, π‘˜ is negative.)
Thus the amount reactive material present at any time 𝑑 is 𝑡 = πŸπŸŽπŸŽπ’†−𝟎.πŸŽπŸπŸ“πŸ”π’• .
ο‚· In the previous problem, determine the time necessary for 10% of the original
mass to decay.
We require 𝑑 when 𝑁 has decayed to 90% of its original mass was 100mg, we
seek the value 𝑑 corresponding to 𝑁 = 90. Substituting 𝑁 = 90 into 𝑁 = 100𝑒 −0.0256𝑑
of the previous problem gives us 90 = 100𝑒 −0.0256𝑑 so that −0.0256𝑑 = ln 0.9 and 𝑑 =
−(ln 0.9)
0.0256
= πŸ’. 𝟏𝟐 years.
ο‚· Radium decomposes at a rate proportional to the amount present. If half the
original amount disappears in 1600 years, find the percentage lost in 100years.
Let 𝑅(𝑑) denote the amount of radium present at time 𝑑. It follows that
𝑑𝑅
𝑑𝑑
π‘˜π‘‘
= π‘˜π‘…
where K is a constant of proportionality. Solving this equation, we get 𝑅 = 𝐢𝑒 . If we
designate the initial amount as π‘…π‘œ (at 𝑑 = 0) and apply this condition, we find π‘…π‘œ =
πΆπ‘’π‘˜(0) = 𝐢, so that the solution becomes 𝑅 = π‘…π‘œ 𝑒 π‘˜π‘‘ .
1
Since the half-life of radium is 1600 years, we have the condition 𝑅 = 2 π‘…π‘œ when
1
𝑑 = 1600. Applying this condition to the last equation and then solving for π‘˜ give 2 π‘…π‘œ =
1
ln
1
2
π‘…π‘œ 𝑒 π‘˜(1600) , from which 2 = 𝑒 π‘˜(1600) , and π‘˜ = 1600
= −0.0004332. The amount of radium
present at any time 𝑑 is thus 𝑅 = π‘…π‘œ 𝑒 −0.0004332𝑑 . The amount present after 100 years
will be 𝑅 = π‘…π‘œ 𝑒 −0.0004332(100) = 0.958π‘…π‘œ , so the percent decrease from the initial
amount π‘…π‘œ is
π‘…π‘œ −0.958π‘…π‘œ
π‘…π‘œ
βˆ™ 100 = πŸ’. 𝟐%.
EXAMPLE
A zircon sample contains 4000 atoms of the radioactive element 235U. Given that
235U has a half‐ life of 700 million years, how long would it take to decay to 125
atoms?
𝑁 = 4000𝑒 π‘˜π‘‘
@ t = 700 years;𝑁 =
𝑁0
2
𝑁0
= 𝑁0 𝑒 700π‘˜
2
1
= 𝑒 700π‘˜
2
ln
π‘˜=
1
ln 2
700
1
= 700π‘˜
2
= −0.0009902
Thus
𝑁 = 4000𝑒 −0.0009902𝑑
@ N = 125
125 = 4000𝑒 −0.0009902𝑑
ln
125
= − 0.0009902𝑑
4000
125
4000
𝑑=
−0.0009902
ln
𝒕 ≈ πŸ‘πŸ“πŸŽπŸŽ π’Žπ’Šπ’π’π’Šπ’π’ π’šπ’†π’‚π’“π’”
EXERCISES
ο‚· The population of a certain country is known to increase at a rate proportional
to the number of people recently living in the country. If after 2 years the population
has doubled, and after 3 years the population is 20,000, find the number of people
initially living in the country.
𝑁𝒐 = πΆπ‘’π‘˜(0)
𝐢 = π‘π‘œ
2π‘π‘œ = π‘π‘œ 𝑒 π‘˜(2)
2
ln( )
1 = 0.3466
π‘˜=
2
𝑁 = π‘π‘œ 𝑒 0.3466𝑑
20,000 = π‘π‘œ 𝑒 0.3466(3)
𝑡𝒐 = πŸ•πŸŽπŸ•πŸŽ. πŸ“πŸ
ο‚· A certain value of bacteria grows at a rate that is proportional to the number
present. It is found that the number doubles in 4 hours, how many may be expected
at the end of 12 hours?
𝑁 = 𝐢𝑒 π‘˜π‘‘
π‘π‘œ = 𝐢𝑒 π‘˜(0)
𝐢 = π‘π‘œ
𝑁 = π‘π‘œ 𝑒 π‘˜π‘‘
2π‘π‘œ = π‘π‘œ 𝑒 π‘˜(4)
ln 2
π‘˜=
= 0.1733
4
𝑁 = π‘π‘œ 𝑒 0.1733𝑑
𝑁 = π‘π‘œ 𝑒 0.1733(12)
𝑡=πŸ–
ο‚· A certain radioactive material is known to decay at a rate proportional to the
amount present. If after 1 hour it is observed that 10% of the material has decayed,
find the half-life of the material.
𝑁 = 𝐢𝑒 π‘˜π‘‘
100 = πΆπ‘’π‘˜(0)
𝐢 = 100
𝑁 = 100𝑒 π‘˜π‘‘
90 = 100𝑒 π‘˜(1)
90
ln(100)
π‘˜=
= −0.1053605
1
𝑁 = π‘π‘œ 𝑒 −0.1053605𝑑
1
= π‘π‘œ 𝑒 −0.1053605𝑑
2
𝒕 = πŸ”. πŸ“πŸ– 𝒉𝒓𝒔
ο‚· A certain radioactive material is known to decay at a rate proportional to the
1
amount present. If initially 2g of the material is present and 0.1% of the original mass
has decayed after 1 week, find an expression for the mass at any time 𝑑.
𝑁 = 𝐢𝑒 π‘˜π‘‘
1
= πΆπ‘’π‘˜(0)
2
1
𝐢=
2
1 π‘˜π‘‘
𝑁= 𝑒
2
𝟏 −𝟎.πŸŽπŸŽπŸπ’•
𝑡= 𝒆
𝟐
SEATWORK
1. A herd of llamas has 1000 llamas in it, and the population is growing
exponentially. At time 𝑑 = 4 it has 2000 llamas. Write a formula for the number of
llamas at arbitrary time 𝑑.
𝑁 = 𝐢𝑒 π‘˜π‘‘
1000 = πΆπ‘’π‘˜(0)
𝐢 = 1000
𝑁 = 1000𝑒 π‘˜π‘‘
2000 = 1000𝑒 π‘˜(4)
2000
ln(1000)
π‘˜=
= 0.1732868
4
𝑡 = πŸπŸŽπŸŽπŸŽπ’†πŸŽ.πŸπŸ•πŸ‘πŸπŸ–πŸ”πŸ–π’•
2. A colony of bacteria is growing exponentially. At time 𝑑 = 0 it has 10 bacteria in
it, and at time 𝑑 = 4 it has 2000. At what time will it have 100,000 bacteria?
𝑁 = 𝐢𝑒 π‘˜π‘‘
10 = πΆπ‘’π‘˜(0)
𝐢 = 10
𝑁 = 10𝑒 π‘˜π‘‘
2000 = 10𝑒 π‘˜(4)
2000
)
10 = 1.3245793
π‘˜=
4
𝑁 = 10𝑒 1.3245793𝑑
100,000 = 10𝑒 1.3245793𝑑
100,000
ln ( 10 )
𝑑=
1.3245793
𝒕 = πŸ”. πŸ—πŸ“
ln(
3. A slow economy caused a company’s annual revenues to drop from $530,000
in 2008 to $386,000 in 2010. If the revenue is following an exponential pattern of
decline, what is the expected revenue in 2012?
𝑁 = 𝐢𝑒 π‘˜π‘‘
$530,000 = πΆπ‘’π‘˜(0)
𝐢 = $530,000
𝑁 = $530,000𝑒 π‘˜π‘‘
$386,000 = $530,000𝑒 π‘˜(2)
$386,000
ln(
)
$530,000
π‘˜=
= −0.1585198
2
𝑁 = $530,000𝑒 −0.1585198(4)
𝑡 = $πŸπŸ–πŸ, πŸπŸπŸ’. πŸ“πŸ’
4. Suppose a population of insects increase according to the law of exponential
growth. There were 130 insects after the third day of the experiment and 380 insects
after the seventh day. Approximately how many insects were in the original
population?
𝑁 = π‘π‘œ 𝑒 π‘˜π‘‘
130 = 𝑁0 𝑒 π‘˜(0)
π‘π‘œ = 130
𝑁 = 130𝑒 π‘˜π‘‘
380 = 130𝑒 π‘˜(4)
380
ln(130)
π‘˜=
= 0.2681592
4
𝑁 = π‘π‘œ 𝑒 0.2681592𝑑
380 = π‘π‘œ 𝑒 0.2681592(7)
𝑡𝒐 = πŸ“πŸ–
5. A zircon sample contains 4000 atoms of the radioactive element 235U. Given
that 235U has a half-life of 700 million years, how long would it take to decay to 125
atoms?
𝑁 = 𝐢𝑒 π‘˜π‘‘
1 𝑑
125 = 4000( )700
2
ln
125
1 𝑑
= ln( )700
4000
2
ln
125
𝑑
1
=
ln
4000 700 2
125
ln 4000
1
ln 2
5=
=
𝑑
700
𝑑
700
𝑑 = 5(700)
𝒕 = πŸ‘πŸ“πŸŽπŸŽ
6. The number of bacteria in a liquid culture is observed to grow at a rate
proportional to the number of cells present. At the beginning of the experiment there
are 10,000 cells and after 3 hours there are 500,000. How many will there be after 1
day of growth if this unlimited growth continues? What is the doubling time of the
bacteria?
𝑁 = 𝐢𝑒 π‘˜π‘‘
10,000 = 𝐢𝑒 π‘˜(0)
𝐢 = 10,000
𝑁 = 10,000𝑒 π‘˜π‘‘
500,000 = 10,000𝑒 π‘˜(3)
π‘˜=
500,000
ln( 10,000 )
= 1.3040077
3
𝑁 = 10,000𝑒 1.3040077(24)
𝑡 = πŸ’ × πŸπŸŽπŸπŸ• bacteria
ln(
𝑑=
2π‘π‘œ
) ln(2(10,000))
π‘π‘œ
1000
=
= 𝟎. πŸ“πŸ‘ 𝒉𝒓𝒔 𝒐𝒓 πŸ‘πŸ π’Žπ’Šπ’.
π‘˜
1.3040077
7. Carbon-14 is a radioactive isotope of carbon that has a half-life of 5600 years.
It is used extensively in dating organic material that is tens of thousands of years old.
What fraction of the original amount of Carbon-14 in a sample would be present after
10,000 years?
𝑁=
1
𝑁 𝑒 π‘˜π‘‘
2 π‘œ
1
𝑁 = π‘π‘œ 𝑒 π‘˜(5600)
2
1
ln 1
2 = 1.24 × 10−4
5600
−4
𝑁 = 𝑒 1.24×10 (10,000)
𝑁 = 0.29
𝑡 = πŸ‘πŸŽ%
π‘˜=
MIXING (Non-reacting Fluids)
A tank initially holds π‘‰π‘œ gallons of brine that contains π‘Ž lb. of salt. Another brine
solution, containing 𝑏 lb. of salt per gallon, is poured into the tank at the rate of 𝑒
gal/min. while, simultaneously, the well-stirred solution leaves the tank at the rate 𝑓
gal/min. Find a differential equation for the amount of salt in the tank at any time 𝑑.
Let 𝑄 denote the amount (in lbs.) of salt in the tank at any time. The time rate of
change of 𝑄,
𝑑𝑄
𝑑𝑑
, equals the rate at which slat enters the tank minus the rate at which
salt leaves the tank. Salt enters the tank at the rate of 𝑏𝑒 lb/min. To determine the rate
at which salt leaves the tanks, we first calculate the volume of brine in the tank, which
is the initial volume π‘‰π‘œ plus the volume of brine added 𝑒𝑑 minus the volume of brine
removed 𝑓𝑑. Thus, the volume of brine in the tank at any time is π‘‰π‘œ + 𝑒𝑑 − 𝑓𝑑. The
concentration of salt in the tank at any time is then
𝑄
(π‘‰π‘œ + 𝑒𝑑 − 𝑓𝑑)
from which it follows that salt leaves in the tank at the rate of
𝑓[
𝑄
] 𝑙𝑏/π‘šπ‘–π‘›.
π‘‰π‘œ + 𝑒𝑑 − 𝑓𝑑
Thus,
𝑑𝑄
𝑑𝑑
𝑄
= 𝑏𝑒- 𝑓 [𝑉 +𝑒𝑑−𝑓𝑑]
π‘œ
𝑑𝑄
𝑓
+[
] 𝑄 = 𝑏𝑒
𝑑𝑑
π‘‰π‘œ + 𝑒𝑑 − 𝑓𝑑
At 𝑑 = 0, 𝑄 = π‘Ž, so we also have the initial condition 𝑄(0) = π‘Ž
EXAMPLES
1. A tank initially holds 100 gal. of brine solution containing 1 lb. of salt. At 𝑑 = 0
another brine solution containing 1 lb. of salt per gallon is poured into the tank at the
rate of 3 gal/min, while the well-stirred mixture leaves the tank at the same rate. Find
the amount of salt in the tank at any time 𝑑.
𝑑𝑄
3
+[
] 𝑄 = (1)(3)
𝑑𝑑
100 + 3𝑑 − 3𝑑
𝑑𝑄
3
+[
]𝑄 = 3
𝑑𝑑
100
𝑄 = 100 + 𝐢𝑒 −0.03𝑑
At 𝑑 = 0, 𝑄 = 1, 𝐢 =?
(Using Linear Eq’n)
1 = 100 + 𝐢𝑒 (−0.03)(0)
𝑸 = 𝟏𝟎𝟎 − πŸ—πŸ—π’†−𝟎.πŸŽπŸ‘π’•
2. Find the time at which the mixture described in the previous problem contains
2 lb. of salt.
We require 𝑑 when 𝑄 = 2
𝑄 = 100 − 99𝑒 −0.03𝑑
2 = 100 − 99𝑒 −0.03𝑑
𝑒 −0.03𝑑 =
𝑑=−
98
99
1
98
ln
0.03 99
𝒕 = 𝟎. πŸ‘πŸ‘πŸ– π’Žπ’Šπ’.
3. A 50-gal. tank initially contains 10 gal. of fresh water. At 𝑑 = 0, a brine solution
containing 1 lb. of salt per gallon is poured into the tank at the rate of 4 gal/min, while
the well-stirred mixture leaves the tank at the rate of 2 gal/min. Find the amount of time
required for overflow to occur.
Here π‘Ž = 0, 𝑏 = 1, 𝑒 = 4, 𝑓 = 2 and π‘‰π‘œ = 10. Using the formula, the volume of the
brine in the tank at any time 𝑑 is π‘‰π‘œ + 𝑒𝑑 − 𝑓𝑑 = 10 − 2𝑑. We require 𝑑 when 10 + 2𝑑 =
50; Hence, 𝒕 = 𝟐𝟎 π’Žπ’Šπ’.
4. A tank contains 1,500 L of water and 20 kg of dissolved salt. Fresh water is
entering the tank at 15 L/min (the solution stays perfectly mixed), and the solution
drains at a rate of 10 L/min. How much salt is in the tank at t minutes and at 10
minutes?
𝑑𝑄
10
+[
] 𝑄 = (15)(0)
𝑑𝑑
1500 + 15𝑑 − 10𝑑
𝑑𝑄
10
+[
]𝑄 = 0
𝑑𝑑
1500 + 5𝑑
𝑄 = 𝐢(1500 + 5𝑑)−2
@ t = 0; Q = 20 kg
20 = 𝐢(1500)−2
𝐢 = 20(1500)2
𝐢 = 45000000
Thus,
𝑄 = 45000000(1500 + 5𝑑)−2
@ t = 10
𝑄 = 45000000(1500 + 50)−2
𝑄 = 45000000(1550)−2
𝑸 = πŸπŸ–. πŸ•
EXERCISES:
1. A 120-gallon tank holds purified water. Salt water with 1.5 lbs. of salt per gallon
leaks into the tank at 2 gallons per minute. The mixture in the tank is constantly
(perfectly) mixed, and it flows out of the tank at 3 gallons per minute. Write a model
for the amount of salt in the tank (measured in lbs.) after 𝑑 minutes.
𝑑𝑄
3
+[
] 𝑄 = (1.5)(2)
𝑑𝑑
120 + 2𝑑 − 3𝑑
𝑑𝑄
3
+[
]𝑄 = 3
𝑑𝑑
120 − 𝑑
Using Linear Equation:
𝑄=
3
(120 − 𝑑) + 𝐢(120 − 𝑑)3
2
At 𝑑 = 0, 𝑄 = 0, 𝐢 =?
3
𝑄 = (120 − 0) + 𝐢(120 − 3)3
2
𝐢=−
3
= −𝟏. πŸŽπŸ’ × πŸπŸŽ−πŸ’
2(120)3
2. A tank has pure water flowing into it at 10L/min. The contents of the tank are
kept thoroughly mixed, and the contents flow out at 10L/min. Initially, the tank contains
10 kg. of salt in 100L of water. How much salt will there be in the tank after 30 minutes?
𝑑𝑄
1
+ 𝑄=0
𝑑𝑑 10
Using Variable Separable
1
𝑄 = 𝐢𝑒 −10𝑑
When 𝐢 = 10
1
𝑄 = 10𝑒 −10𝑑
At 𝑑 = 30 , 𝑄 =?
1
𝑄 = 10𝑒 −10(30)
𝑸 = 𝟎. πŸ’πŸ—πŸ•πŸ— π’Œπ’ˆ
3. A tank originally contains 100 gal of fresh water. Then water containing
1
2
lb. of
salt per gallon is poured into the tank at a rate of 2gal/min. and the mixture is allowed
to leave at the same rate. What is the amount of salt at any instant? Determine the
amount of salt after 10 minutes.
𝑑𝑄
2
+[
] 𝑄 = (0.5)(2)
𝑑𝑑
100 + 2𝑑 − 2𝑑
𝑑𝑄
1
+ 𝑄=1
𝑑𝑑 50
Using Linear Equation
1
𝑄 = 50 + 𝐢𝑒 −50𝑑
At 𝑑 = 0
1
= 50 + 𝐢𝑒 −50(0)
𝐢 = −50
1
𝑄 = 50 − 50𝑒 −50𝑑
At 𝑑 = 10 π‘šπ‘–π‘›.
1
𝑄 = 50 − 50𝑒 −50(10)
𝑸 = πŸ—. πŸŽπŸ” 𝒍𝒃𝒔.
1
4. A tank initially holds 80 gal of brine solution containing 2lb. of salt per gallon. At
t=0, another brine solution containing 1lb. of salt per gallon is poured into the tank at
a rate of 4 gal/min, while the well-stirred mixture leaves the tank at the rate of 8gal/min.
Find the amount of salt in the tank at anytime 𝑑. Determine the amount of salt after 3
minutes.
𝑑𝑄
8
+[
] 𝑄 = (1)(4)
𝑑𝑑
80 + 4𝑑 − 8𝑑
𝑑𝑄
8
+[
]𝑄 = 4
𝑑𝑑
80 − 4𝑑
Using Linear Equation
𝑄 = (80 − 4𝑑) + 𝐢(80 − 4𝑑)2
At 𝑑 = 0, 𝑄 = 40𝑙𝑏𝑠.
40 = (80 − 4(0)) + 𝐢(80 − 4(0))2
𝐢=−
1
160
At 𝑑 = 3, 𝑄 =?
𝑄 = (80 − 4(3)) + (−
1
)(80 − 4(3))2
160
𝑸 = πŸ‘πŸ—. 𝟏 𝒍𝒃𝒔
LINEAR DIFFERENTIAL EQUATION OF ORDER 𝒏
Standard Form of an π‘›π‘‘β„Ž order Linear Differential Equation
The general linear ODE of order 𝑛 is
π’š(𝒏) + π‘·πŸ(𝒙)π’š(𝒏 − 𝟏) + β‹― + 𝒑𝒏(𝒙)π’š = 𝒒(𝒙)
(1)
If π‘ž(π‘₯) ≠ 0, the equation is non-homogeneous. We then call
π’š(𝒏) + π‘·πŸ(𝒙)π’š(𝒏 − 𝟏) + β‹― + 𝒑𝒏(𝒙)π’š = 𝟎
(2)
the associated homogeneous equation or the reduced equation.
The theory of the π‘›π‘‘β„Ž order linear ODE runs parallel to that of the second order
equation. In particular, the general solution to the associated homogeneous equation
(2) is called complementary function or solution, and it has the form
π’šπ’„ = π‘ͺ 𝟏 π’šπŸ + β‹― + π‘ͺ 𝒏 π’šπ’
where 𝐢𝑖 are constants
(3)
Where the 𝑦𝑖 are 𝑛 solutions to (2) which are linearly independent, meaning that none
of them can be expressed as a linear combination of the others, i.e., by a relation of
the form (the left side could also be any of the other 𝑦𝑖 );
π’šπ’ = π’‚πŸ π’šπŸ + β‹― + 𝒂𝒏 − π’šπ’ − 𝟏
where π‘Žπ‘– are constants.
Once the associated homogeneous equation (2) has been solved by finding 𝑛
independent solutions, the solution to the original ODE (1) can be expressed as
π’š = π’šπ’‘ + π’šπ’„
(4)
Where 𝑦𝑝 is a particular solution to (1), and 𝑦𝑐 is as in (3)
DIFFERENTIAL OPERATORS
In calculus differentiation is often denoted by the capital letter 𝐷- that is,
𝑑𝑦
𝑑π‘₯
=
𝐷𝑦. The symbol 𝐷 is called a differential operator because it transforms a differentiable
function into another function. For example,𝐷(5π‘₯ 3 − 6π‘₯ 2 ) = 15π‘₯ 2 − 12π‘₯. Higher-order
derivatives can be expressed in terms of 𝐷 in
𝑑
𝑑𝑦
( )=
𝑑π‘₯ 𝑑π‘₯
𝑑2 𝑦
𝑑π‘₯ 2
= 𝐷(𝐷𝑦) = 𝐷2 𝑦
𝒅𝒏 π’š
and, in general, 𝒅𝒙𝒏 = 𝑫𝒏 π’š.
where 𝑦 represents a sufficiently differentiable function. Polynomial expressions
involving 𝐷, such as 𝐷 + 3, 𝐷2 + 3𝐷 − 4, and5π‘₯ 3 𝐷3 − 6π‘₯ 2 𝐷2 + 4π‘₯𝐷 + 9, are also
differential operators. In general, we define an π‘›π‘‘β„Ž order differential operator or
polynomial operator to be
𝑳 = 𝒂𝒏 (𝒙)𝑫𝒏 + 𝒂𝒏−𝟏 (𝒙)𝑫𝒏−𝟏 + β‹― + π’‚πŸ (𝒙)𝑫 + π’‚πŸŽ (𝒙)
(5)
As a consequence of two basic properties of differentiation,𝐷(𝑐𝑓(π‘₯)) = 𝑐𝐷𝑓(π‘₯),
𝑐 is a constant and 𝐷{𝑓(π‘₯) + 𝑔(π‘₯)} = 𝐷𝑓(π‘₯) + 𝐷𝑔(π‘₯), the differential operator 𝐿
possesses a linearity property; that is, 𝐿 operating on a linear combination of two
differentiable function is the same as the linear combination of 𝐿 operating on the
individual functions. In symbols this means that
𝑳{∝ 𝒇(𝒙) + πœ·π’ˆ(𝒙)} =∝ 𝑳𝒇(𝒙) + πœ·π‘³π’ˆ(𝒙)
(6)
Where ∝ and 𝛽 are constants. Because of (6) we say that the π‘›π‘‘β„Ž order differential
operator 𝐿 is a linear operator.
Any linear differential equation can be expressed in terms of 𝐷 notation. For
example, the differential equation 𝑦 ′′ + 5𝑦 ′ + 6𝑦 = 5π‘₯ − 3 can be written as 𝐷2 𝑦 +
5𝐷𝑦 + 6𝑦 = 5π‘₯ − 3 or (π‘«πŸ + πŸ“π‘« + πŸ”)π’š = πŸ“π’™ − πŸ‘.
SUPERPOSITION PRINCIPLE
Let 𝑦1 , 𝑦2 , … π‘¦π‘˜ be solutions of the homogeneous π‘›π‘‘β„Ž order differential
equations on an interval 𝐼. Then the linear combination
π’š = π‘ͺ𝟏 π’šπŸ (𝒙) + π‘ͺ𝟐 π’šπŸ (𝒙) + β‹― + π‘ͺπ’Œ π’šπ’Œ (𝒙)
Where the 𝐢𝑖= 1,2,3 … π‘˜ are arbitrary constants, is also a solution on the interval.
HOMOGENEOUS LINEAR DE WITH CONSTANT COEFFICIENTS
AUXILIARY EQUATION
Considering the special case of the second-order equation
π’‚π’š′′ + π’ƒπ’š′ + π’„π’š = 𝟎
(7)
Where π‘Ž, 𝑏, and 𝑐 are constants. If we try to find a solution of the form 𝑦 = 𝑒 π‘šπ‘₯ , then
after substitution of 𝑦 ′ = π‘šπ‘’ π‘šπ‘₯ and 𝑦 ′′ = π‘š2 𝑒 π‘šπ‘₯ , equation (7) becomes
π’‚π’ŽπŸ π’†π’Žπ’™ + π’ƒπ’Žπ’†π’Žπ’™ +π‘ͺπ’†π’Žπ’› = 𝟎
Or
π’†π’Žπ’™ (π’‚π’ŽπŸ + π’ƒπ’Ž + π‘ͺ) = 𝟎
We argue that because 𝑒 π‘šπ‘₯ ≠ 0 for all π‘₯, it is apparent that the only way 𝑦 = 𝑒 π‘šπ‘₯ can
satisfy the differential equation (7) is when π‘š is chosen as a root of the quadratic
equation
π’‚π’ŽπŸ + π’ƒπ’Ž + 𝒄 = 𝟎
(8)
This last equation is called the auxiliary equation of the differential equation (7).
Since the two roots of (8) π‘š1 =
−𝑏+√𝑏 2 −4π‘Žπ‘
2π‘Ž
and π‘š2 =
−𝑏−√𝑏 2 −4π‘Žπ‘
2π‘Ž
, there will be three
forms of the general solutions of (7) corresponding to the three cases:
ο‚·
ο‚·
ο‚·
π‘š1 and π‘š2 real and distinct (𝑏 2 − 4π‘Žπ‘ > 0),
π‘š1 and π‘š2 real and equal (𝑏 2 − 4π‘Žπ‘ = 0), and
π‘š1 and π‘š2 conjugate complex numbers (𝑏 2 − 4π‘Žπ‘ < 0).
CASE 1: DISTINCT REAL ROOTS
Under the assumption that the auxiliary equation (8) has two unequal real roots π‘š1
and π‘š2 , we find the solution 𝑦1 = 𝑒 π‘š1 π‘₯ and 𝑦2 = 𝑒 π‘š2 π‘₯ . We see that these functions are
linearly independent on (−∞, ∞) and hence form a fundamental set. It follows that the
general solution of (7) on this interval is
π’š = π‘ͺ 𝟏 π’†π’Ž 𝟏 𝒙 + π‘ͺ 𝟐 π’†π’Ž 𝟐 𝒙
For higher-order equations,
π’š = π‘ͺ 𝟏 π’†π’Ž 𝟏 𝒙 + π‘ͺ 𝟐 π’†π’Ž 𝟐 𝒙 + β‹― π‘ͺ 𝒏 π’†π’Ž 𝒏 𝒙
EXAMPLES:
4. Solve 𝑦 ′′ − 𝑦 ′ − 2𝑦 = 0
(9)
The characteristics (or auxiliary) equation is π‘š2 − π‘š − 2 = 0, which can be
factored into (π‘š + 1)(π‘š − 2) = 0. Since the roots π‘š = −1 and π‘š = 2 are real and
distinct, the solution is
π’š = π‘ͺ𝟏 𝒆−𝒙 + π‘ͺ𝟐 π’†πŸπ’™
𝑑3 𝑦
𝑑2 𝑦
𝑑𝑦
2. Solve 𝑑π‘₯ 3 + 2 𝑑π‘₯ 2 − 5 𝑑π‘₯ − 6𝑦 = 0
We rewrite the equation as (π‘š3 + 2π‘š2 − 5π‘š − 6) = (π‘š − 2)(π‘š + 1)(π‘š + 3) =
0. Then the characteristic roots are 2, −1, and −3. They are real and distinct, so the
solution is
π’š = π‘ͺ𝟏 π’†πŸπ’™ + π‘ͺ𝟐 𝒆−𝒙 + π‘ͺπŸ‘ 𝒆−πŸ‘π’™
3. Solve (3𝐷3 + 5𝐷 2 − 2𝐷)𝑦 = 0
1
The auxiliary equation is 3π‘š3 + 5π‘š2 − 2π‘š = 0 and its roots are π‘š = 0, −2, 3.
Therefore the solution is
𝟏
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 𝒆−πŸπ’™ + π‘ͺπŸ‘ π’†πŸ‘π’™
4. Solve 𝑦 ′′ − 36𝑦 = 0
The auxiliary equation is π‘š2 − 36 = 0 and its roots are π‘š = 6, −6.
Therefore the solution is
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸ”π’™
CASE 2: CONJUGATE COMPLEX (IMAGINARY) ROOTS
If π‘š1 and π‘š2 are complex, then we can write π‘š1 = ∝ +𝑖𝛽 and π‘š2 = ∝ −𝑖𝛽, where
∝ and 𝛽 > 0 are real and 𝑖 2 = −1. Formally, there is no difference between this case
and case 1, and hence
π’š = π‘ͺ𝟏 𝒆(∝+π’Šπœ·)𝒙 + π‘ͺ𝟐 𝒆(∝−π’Šπœ·)𝒙
However, in practice we prefer to work with real functions instead of complex
exponentials. To this end we use the Euler’s Formula:
π’†π’Šπœ½ = π’„π’π’”πœ½ + π’Šπ’”π’Šπ’πœ½
where πœƒ is any real number. It follows from this formula that
π’†π’Šπœ·π’™ = π’„π’π’”πœ·π’™ + π’Šπ’”π’Šπ’πœ·π’™ and 𝒆−π’Šπœ·π’™ = π’„π’π’”πœ·π’™ − π’Šπ’”π’Šπ’πœ·π’™
(10)
where we have used cos(−𝛽π‘₯) = cos 𝛽π‘₯ and sin(−𝛽π‘₯) = − sin 𝛽π‘₯. Note that by first
adding and then substituting the two equations in (10), we obtain, respectively,
π’†π’Šπœ·π’™ + 𝒆−π’Šπœ·π’™ = 𝟐 𝐜𝐨𝐬 πœ·π’™ and π’†π’Šπœ·π’™ − 𝒆−π’Šπœ·π’™ = πŸπ’Š 𝐬𝐒𝐧 πœ·π’™
But π’šπŸ = 𝒆𝒂𝒙 (π’†π’Šπœ·π’™ + 𝒆−π’Šπœ·π’™ ) = πŸπ’†π’‚π’™ 𝐜𝐨𝐬 πœ·π’™ and π’šπŸ = 𝒆𝒂𝒙 (π’†π’Šπœ·π’™ − 𝒆−π’Šπœ·π’™ ) = πŸπ’Šπ’†π’‚π’™ 𝐬𝐒𝐧 πœ·π’™
Hence, the last two results show that 𝑒 π‘Žπ‘₯ cos 𝛽π‘₯ and 𝑒 π‘Žπ‘₯ sin 𝛽π‘₯ are real solutions of (7).
Moreover, these solutions form a fundamental set on(−∞, ∞). Consequently, the
general solution is
π’š = π‘ͺ𝟏 𝒆𝒂𝒙 𝒄𝒐𝒔 πœ·π’™ + π‘ͺ𝟐 𝒆𝒂𝒙 π’”π’Šπ’ πœ·π’™
EXAMPLES:
1. Solve 𝑦 ′′ + 4𝑦 ′ + 7𝑦 = 0
Rewriting into auxiliary equations, π‘š2 + 4π‘š + 7 = 0, using the quadratic formula,
the roots are found to be π‘š = −2 ± √3𝑖. The corresponding general solution is
π’š = π‘ͺ𝟏 𝒆−πŸπ’• 𝐜𝐨𝐬 √πŸ‘π’™ + π‘ͺ𝟐 𝒆−πŸπ’• 𝐬𝐒𝐧 √πŸ‘π’™
2. Solve 3𝑦 ′′ + 2𝑦 ′ + 𝑦 = 0
1
1
The auxiliary equation is 3π‘š2 + 2π‘š + 1 = 0 and the roots are π‘š = − 3 ± 3 √2𝑖. Thus,
the general solution becomes
𝟏
π’š = π‘ͺ𝟏 𝒆−πŸ‘π’™ 𝒄𝒐𝒔
𝟏
𝟏
𝟏
√πŸπ’™ + π‘ͺ𝟐 𝒆−πŸ‘π’™ π’”π’Šπ’ √πŸπ’™
πŸ‘
πŸ‘
3. Solve (𝐷3 − 3𝐷2 + 9𝐷 + 13)𝑦 = 0
The auxiliary equation is π‘š3 − 3π‘š2 + 9π‘š = 13 and the roots are π‘š = −1, 2 ± 3𝑖.
Hence, the general solution of the differential equation is
π’š = π‘ͺ𝟏 𝒆−𝒙 + π‘ͺ𝟐 π’†πŸπ’™ 𝒄𝒐𝒔 πŸ‘π’™ + π‘ͺπŸ‘ π’†πŸπ’™ π’”π’Šπ’ πŸ‘π’™
4. Solve 𝑦 ′′ + 4𝑦 = 0
The auxiliary equation is π‘š2 + 4 = 0 and the roots are π‘š = ±2𝑖. Hence the
general solution is
π’š = π‘ͺ𝟏 𝐜𝐨𝐬 πŸπ’™ + π‘ͺ𝟐 𝐬𝐒𝐧 πŸπ’™
CASE 3A: REPEATED REAL ROOTS
When π‘š1 = π‘š2 , we necessarily obtain only one exponential solution, 𝑦1 = 𝑒 π‘šπ‘₯ .
𝑏
From the quadratic formula we find that π‘š1 = − 2π‘Ž. Since the only way to have π‘š1 =
π‘š2 is to have 𝑏 2 − 4π‘Žπ‘ = 0. It follows that a second solution of the equation is
π’†πŸπ’ŽπŸ 𝒙
π’ŽπŸ 𝒙
π’šπŸ = 𝒆
∫ πŸπ’Ž 𝒙 𝒅𝒙 = π’†π’ŽπŸ 𝒙 ∫ 𝒅𝒙 = π’™π’†π’ŽπŸ 𝒙
𝒆 𝟏
The general solution is then
π’š = π‘ͺ𝟏 π’†π’ŽπŸ 𝒙 + π‘ͺ𝟐 π‘Ώπ’†π’ŽπŸ 𝒙
For higher-order equations,
π’š = π‘ͺ𝟏 π’†π’ŽπŸ 𝒙 + π‘ͺ𝟐 π‘Ώπ’†π’ŽπŸ 𝒙 + π‘ͺπŸ‘ π‘ΏπŸ π’†π’ŽπŸ‘ 𝒙 + β‹― + π‘ͺπ’Œ π‘Ώπ’Œ−𝟏 π’†π’Žπ’Œπ’™
EXAMPLES:
1. Solve 𝑦 (5) − 3𝑦 (4) + 3𝑦 (3) − 𝑦 ′′ = 0
The characteristic equation is π‘š5 − 3π‘š4 + 3π‘š3 − π‘š2 = π‘š2 (π‘š − 1)3 = 0, which
has roots π‘š = 0, 0, 1, 1, 1. Hence, the general solution is
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 𝑿 + π‘ͺπŸ‘ 𝒆𝒙 + π‘ͺπŸ’ 𝑿𝒆𝒙 + π‘ͺπŸ“ π‘ΏπŸ 𝒆𝒙
𝑑4 𝑦
𝑑3 𝑦
𝑑2 𝑦
2. Solve 𝑑π‘₯ 4 + 2 𝑑π‘₯ 3 + 𝑑π‘₯ 2 = 0
The auxiliary equation is π‘š4 + 2π‘š3 + π‘š2 = 0, with roots π‘š = 0, 0, −1, −1. Hence
the desired equation is
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 𝑿 + π‘ͺπŸ‘ 𝒆−𝒙 + π‘ͺπŸ’ 𝑿𝒆−𝒙
3. Solve (𝐷3 − 4𝐷2 + 4𝐷)𝑦 = 0
The auxiliary equation is π‘š3 − 4π‘š2 + 4π‘š = 0 with roots π‘š = 0, 2 ,2. Thus, the
desired solution
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 π’†πŸπ’™ + π‘ͺπŸ‘ π‘Ώπ’†πŸπ’™
4. Solve 4𝑦 ′′ + 14𝑦 ′ + 12 = 0
3
The auxiliary equation is 4π‘š2 + 14π‘š′ + 12 = 0 with roots π‘š = −2, − 2. Thus, the
desired solution
πŸ‘
π’š = π‘ͺ𝟏 𝒆−πŸπ’™ + π‘ͺ𝟐 𝒆−πŸπ’™
CASE 3B: REPEATED CONJUGATE COMPLEX ROOTS
If π‘š = π‘Ž ± 𝛽𝑖 are complex conjugate roots each appears π‘˜ times, then the general
solution is,
π’š = π‘ͺ𝟏 𝒆𝒂𝒙 𝒄𝒐𝒔 πœ·π’™ + π‘ͺ𝟐 𝒆𝒂𝒙 π’”π’Šπ’ πœ·π’™ + π‘ͺπŸ‘ 𝑿𝒆𝒂𝒙 𝒄𝒐𝒔 πœ·π’™ + π‘ͺπŸ’ 𝑿𝒆𝒂𝒙 π’”π’Šπ’ πœ·π’™
+ π‘ͺπ’Œ π‘Ώπ’Œ−𝟏 𝒆𝒂𝒕 𝒄𝒐𝒔 πœ·π’™ + π‘ͺπ’Œ π‘Ώπ’Œ−𝟏 𝒆𝒂𝒕 π’”π’Šπ’ πœ·π’™
EXAMPLES:
1. Solve 𝑦 (4) + 𝑦 (3) + 8𝑦 ′′ + 8𝑦 ′ + 4𝑦 = 0
The characteristic equation is π‘š4 + 4π‘š3 + 8π‘š2 + 8π‘š + 4 = (π‘š2 + 2π‘š + 2)2 = 0,
which has roots π‘š = −1 ± 𝑖, −1 ± 𝑖. Hence, the general solution is
π’š = π‘ͺ𝟏 𝒆−𝒙 𝒄𝒐𝒔 𝒙 + π‘ͺ𝟐 𝒆−𝒙 π’”π’Šπ’ 𝒙 + π‘ͺπŸ‘ 𝑿𝒆−𝒙 𝒄𝒐𝒔 𝒙 + π‘ͺπŸ’ 𝑿𝒆−𝒙 π’”π’Šπ’π’™
𝑑4 𝑦
𝑑2 𝑦
2. Solve 16 𝑑π‘₯ 4 + 24 𝑑π‘₯ 2 + 9𝑦 = 0
The auxiliary equation is 16π‘š4 + 24π‘š2 + 9 = (4π‘š2 + 3)2 = 0 and the roots are π‘š =
1
1
± 2 √3π‘₯, ± 2 √3π‘₯. The general solution becomes
π’š = π‘ͺ𝟏 𝒄𝒐𝒔
𝟏
𝟏
𝟏
𝟏
√πŸ‘π’™ + π‘ͺ𝟐 π’”π’Šπ’ √πŸπ’™ + π‘ͺπŸ‘ 𝑿𝒄𝒐𝒔 √πŸ‘π’™ + π‘ͺπŸ’ π‘Ώπ’”π’Šπ’ √πŸπ’™
𝟐
πŸ‘
𝟐
πŸ‘
3. Solve 𝑦 ′′ − 8𝑦 ′ + 17𝑦 = 0
The auxiliary equation is π‘š2 − 8π‘š + 17 = 0 and the roots are π‘š = 4 ± 𝑖. The
general solution becomes
π’š = π‘ͺ𝟏 π’†πŸ’π’™ 𝐜𝐨𝐬 𝒙 + π‘ͺ𝟐 π’†πŸ’π’™ 𝐬𝐒𝐧 𝒙
EXERCISES:
𝑑3 𝑦
𝑑2 𝑦
𝑑𝑦
1. 𝑑π‘₯ 3 + 4 𝑑π‘₯ 3 − 3 𝑑π‘₯ − 18𝑦 = 0
π‘š3 + 4π‘š2 − 3π‘š − 18 = 0
(π‘š − 2)(π‘š + 3)(π‘š + 3) = 0
π‘š = 2, −3, −3
π’š = π‘ͺ𝟏 π’†πŸπ’™ + π‘ͺ𝟐 𝒆−πŸ‘π’™ + π‘ͺπŸ‘ 𝑿𝒆−πŸ‘π’™
2. 𝑄 (5) + 5𝑄 (4) + 10𝑄 (3) + 10𝑄 ′′ + 5𝑄 ′ + 𝑄 = 0
π‘š5 + 5π‘š4 + 10π‘š3 + 10π‘š2 + 5π‘š + 1 = 0
(π‘š + 1)5
π‘š = −1, −1, −1, −1, −1
π’š = π‘ͺ𝟏 𝒆−𝒙 + π‘ͺ𝟐 𝑿𝒆−𝒙 + π‘ͺπŸ‘ π‘ΏπŸ 𝒆−𝒙 + π‘ͺπŸ’ π‘ΏπŸ‘ 𝒆−𝒙 + π‘ͺπŸ“ π‘ΏπŸ’ 𝒆−𝒙
3. 𝑦 4 + 8𝑦 ′′ + 16𝑦 = 0
π‘š4 + 8π‘š2 + 16 = 0
(π‘š2 + 4)(π‘š2 + 4) = 0
π‘š = ±2𝑖, ±2𝑖
π’š = π‘ͺ𝟏 𝒄𝒐𝒔 πŸπ’™ + π‘ͺ𝟐 π’”π’Šπ’ πŸπ’™ + π‘ͺπŸ‘ 𝑿𝒄𝒐𝒔 πŸπ’™ + π‘ͺπŸ’ π‘Ώπ’”π’Šπ’πŸπ’™
4. Find the general solution of a sixth-order linear homogeneous differential
equation for 𝑦(π‘₯) with real coefficients of its characteristic equation has roots 5𝑖 and
−5𝑖, each with multiplicity three.
π’š = π‘ͺ𝟏 𝒄𝒐𝒔 πŸ“π’™ + π‘ͺ𝟐 π’”π’Šπ’ πŸ“π’™ + π‘ͺπŸ‘ 𝑿𝒄𝒐𝒔 πŸ“π’™ + π‘ͺπŸ’ π‘Ώπ’”π’Šπ’πŸ“π’™ + π‘ͺπŸ“ π‘ΏπŸ 𝒄𝒐𝒔 πŸ“π’™ + π‘ͺπŸ” π‘ΏπŸ π’”π’Šπ’ πŸ“π’™
5. Find a homogeneous differential equation with constant coefficients whose
general solution is 𝑦 = 𝐢1 + 𝐢2 𝑋 + 𝐢3 𝑒 8π‘₯
Roots: π‘š = 0, 0 ,8
(π‘š)(π‘š)(π‘š − 8) = 0
π‘š3 − 8π‘š2 = 0
π’š(πŸ‘) − πŸ–π’š′′ = 𝟎
6. Find the general solution to a fourth-order linear homogeneous differential
equation for π‘₯(𝑑) with real coefficients if two particular solutions are 3𝑒 2𝑑 and 6𝑑 2 𝑒 −𝑑 .
π‘š = 2, −1, −1, −1
π’š = π‘ͺ𝟏 π’†πŸπ’• + π‘ͺ𝟐 𝒆−𝒕 + π‘ͺπŸ‘ 𝒕𝒆−𝒕 + π‘ͺπŸ’ π’•πŸ 𝒆−𝒕
7. Solve the given boundary-value problem:𝑦 ′′ − 10𝑦 ′ + 25𝑦 = 0
𝑦(0) = 1, 𝑦(1) = 0
π‘š2 − 10π‘š + 25 = 0
π‘š = 5,5
𝑦 = 𝐢1 𝑒 5π‘₯ + 𝐢2 𝑋𝑒 5π‘₯
1 = 𝐢1 𝑒 5(0) + 𝐢2 (0)𝑒 5(0)
𝐢1 = 1
0 = (1)𝑒 5(1) + 𝐢2 (1)𝑒 5(1)
𝐢2 = −1
π’š = π’†πŸ“π’™ − π’™π’†πŸ“π’™
NON-HOMOGENEOUS DIFFERENTIAL EQUATION WITH
CONSTANT COEFFICIENTS
GENERAL SOLUTION – NON-HOMOGENEOUS EQUATIONS
Let 𝑦𝑝 be any particular solution of the non-homogeneous linear π‘›π‘‘β„Ž order
differential equation on an interval 𝐼, and let 𝑦1 , 𝑦2 … 𝑦𝑝 be a fundamental set of
solutions of the associated homogeneous differential equation. Then the general
solution of the equation on the interval is
π’š = π‘ͺ𝟏 π’šπŸ (𝒙) + π‘ͺ𝟐 π’šπŸ (𝒙) + β‹― + π‘ͺ𝒏 π’šπ’ (𝒙) + π’šπ’‘
Where 𝐢𝑖 , 𝑖 = 1,2, … 𝑛 are arbitrary constants.
The linear combination 𝑦𝑐 = 𝐢1 𝑦1 (π‘₯) + 𝐢2 𝑦2 (π‘₯) + β‹― + 𝐢𝑛 𝑦𝑛 (π‘₯) which is the
general solution of a homogeneous linear differentia equation is called the
complementary function. In other words, to solve a non-homogeneous linear
differential equation, we first solve the associated homogeneous equation and then
find any particular solution of the non-homogeneous equation. The general solution of
the non-homogeneous equation is then
π’š = π’šπ’„ + π’šπ’‘
SOLUTION BY METHOD OF UNDETERMINED FUNCTION
A. EQUATIONS WITH EXPONENTIAL RIGHT SIDE
EXAMPLES:
1. Solve 𝑦 ′ − 5𝑦 = 𝑒 2π‘₯
I. 𝑦𝑐 = 𝐢1 𝑒 5π‘₯
II. 𝑦𝑝 = π΄π‘œ 𝑒 2π‘₯
𝑦 ′ = 2π΄π‘œ 𝑒 2π‘₯
Substitute to equation (1)
2π΄π‘œ 𝑒 2π‘₯ − 5π΄π‘œ 𝑒 2π‘₯ = 𝑒 2π‘₯
(2−5)π΄π‘œ 𝑒 2π‘₯
𝑒 2π‘₯
=
(1)
𝑒 2π‘₯
𝑒 2π‘₯
(2 − 5)π΄π‘œ = 1
−3π΄π‘œ = 1
1
π΄π‘œ = − 3
𝟏
π’š = π‘ͺ𝟏 π’†πŸ“π’™ − πŸ‘ π’†πŸπ’™
2. Solve 𝑦 ′′ − 7𝑦 ′ = 6𝑒 6π‘₯
I. 𝑦𝑐 = 𝐢1 + 𝐢2 𝑒 7π‘₯
II. 𝑦𝑝 = π΄π‘œ 𝑒 6π‘₯
𝑦 ′ = 6π΄π‘œ 𝑒 6π‘₯
𝑦 ′′ = 36π΄π‘œ 𝑒 6π‘₯
Substitute to equation (1)
(1)
36π΄π‘œ 𝑒 6π‘₯ − 7(6π΄π‘œ 𝑒 6π‘₯ ) = 6𝑒 6π‘₯
−6π΄π‘œ 𝑒 6π‘₯ = 6𝑒 6π‘₯
π΄π‘œ = −1
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 π’†πŸ•π’™ − π’†πŸ”π’™
3. Solve
𝑑3 𝑄
𝑑𝑑 3
I.
II.
𝑑2 𝑄
𝑑𝑄
− 5 𝑑𝑄2 + 25 𝑑𝑑 − 125𝑄 = −60𝑒 7𝑑
(1)
𝑄𝑐 = 𝐢1 𝑒 5𝑑 + 𝐢2 cos 5𝑑 + 𝐢3 sin 5𝑑
𝑄𝑝 = π΄π‘œ 𝑒 7𝑑
15
𝑄 ′ = 7π΄π‘œ − 37
𝑄 ′′ = 49π΄π‘œ 𝑒 7𝑑
𝑄 ′′′ = 343π΄π‘œ 𝑒 7𝑑
Substitute to equation (1)
343π΄π‘œ 𝑒 7𝑑 − 5(49π΄π‘œ 𝑒 7𝑑 ) + 25(7π΄π‘œ 𝑒 7𝑑 ) − 125π΄π‘œ 𝑒 7𝑑 = −60𝑒 7𝑑
148π΄π‘œ 𝑒 7𝑑 = −60𝑒 7𝑑
15
π΄π‘œ = − 37
πŸπŸ“
𝑸 = π‘ͺ𝟏 π’†πŸ“π’• + π‘ͺ𝟐 𝐜𝐨𝐬 πŸ“π’• + π‘ͺπŸ‘ 𝐬𝐒𝐧 πŸ“π’• − πŸ‘πŸ• π’†πŸ•π’•
1. Solve 𝑦 ′′ − 36𝑦 = 4𝑒 2π‘₯
𝑦𝑐 = 𝐢1 𝑒 6π‘₯ + 𝐢2 𝑒 −6π‘₯
𝑦𝑝 = 𝐴0 𝑒 2π‘₯
𝑦′ = 2𝐴0 𝑒 2π‘₯
𝑦′′ = 4𝐴0 𝑒 2π‘₯
Substitute
4𝐴0 𝑒 2π‘₯ − 36𝐴0 𝑒 2π‘₯ = 4𝑒 2π‘₯
−32𝐴0 = 4
𝐴0 = −
1
8
𝟏
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸ”π’™ − π’†πŸπ’™
πŸ–
B. EQUATIONS WITH CONSTANT RIGHT SIDE
1. Solve 𝑦 ′ − 5𝑦 = 8
We assume a particular solution of the form 𝑦𝑝 = π΄π‘œ where π΄π‘œ is a
constant to be determined. The general solution of the associated homogeneous
equation is to be 𝑦𝑐 = 𝐢1 𝑒 5π‘₯ . Since any non-zero constant π΄π‘œ is linearly independent
of 𝑒 5π‘₯ , there is no need to modify 𝑦𝑝 .
Substituting 𝑦𝑝 into the non-homogeneous equation and that noting that
𝑦′𝑝 = 0, we get
0 − 5π΄π‘œ = 8
8
π΄π‘œ = −
5
The general solution to the non-homogeneous equation is 𝑦 = 𝑦𝑐 + 𝑦𝑝
πŸ–
π’š = π‘ͺ𝟏 π’†πŸ“π’™ −
πŸ“
2. Solve 𝑦 ′′ − 𝑦 ′ − 2𝑦 = 7
We assume a particular solution of the form 𝑦𝑝 = π΄π‘œ where π΄π‘œ is a
constant to be determined. The general solution of the associated homogeneous
equation is to be 𝑦𝑐 = 𝐢1 𝑒 −π‘₯ + 𝐢2 𝑒 2π‘₯ . Since 𝑦𝑝 cannot be obtained from 𝑦𝑐 by any
choice of 𝐢1 , there is no need to modify it.
Substituting 𝑦𝑝 and its derivatives (all of which are zero) into the nonhomogeneous differential equation, we get
0 − 0 − 2π΄π‘œ = 7
7
π΄π‘œ = −
2
The general solution to the non-homogeneous equation is
πŸ•
π’š = π‘ͺ𝟏 𝒆−𝒙 + π‘ͺ𝟐 π’†πŸπ’™ −
𝟐
3. Solve
𝑑3 π‘₯
𝑑𝑑 3
𝑑2 π‘₯
𝑑π‘₯
+ 5 𝑑𝑑 2 + 26 𝑑𝑑 − 150π‘₯ = 30
We assume a particular solution of the form π‘₯𝑝 = π΄π‘œ . The general
solution of the associated homogeneous equation is to be π‘₯𝑐 = 𝐢1 𝑒 3𝑑 +
𝑒 −4𝑑 (𝐢2 π‘π‘œπ‘ √34𝑑 + 𝐢3 𝑠𝑖𝑛√34𝑑). Since π‘₯𝑝 cannot be obtained from π‘₯𝑐 no matter how the
arbitrary constants 𝐢1 through 𝐢3 are chosen, there is no need to modify π‘₯𝑝 .
Substituting π‘₯𝑝 into the given differential equation, we get
0 + 5(0) + 26(0) − 150π΄π‘œ = 30
1
π΄π‘œ = −
5
The general solution is then
𝒙 = π‘ͺ𝟏 π’†πŸ‘π’• + 𝒆−πŸ’π’• (π‘ͺ𝟐 𝒄𝒐𝒔√πŸ‘πŸ’π’• + π‘ͺπŸ‘ π’”π’Šπ’√πŸ‘πŸ’π’•) −
𝟏
πŸ“
4. Solve 𝑦 ′′ − 8𝑦 ′ + 17𝑦 = 442
𝑦𝑐 = 𝐢1 𝑒 4π‘₯ cos π‘₯ + 𝐢2 𝑒 4π‘₯ sin π‘₯
𝑦𝑝 = 𝐴0
Substitute
0 − 0 + 17𝐴0 = 442
𝐴0 = 26
π’š = π‘ͺ𝟏 π’†πŸ’π’™ 𝐜𝐨𝐬 𝒙 + π‘ͺ𝟐 π’†πŸ’π’™ 𝐬𝐒𝐧 𝒙 + πŸπŸ”
C. EQUATIONS WITH POLYNOMIAL RIGHT SIDE
1. Solve 𝑦 ′ − 5𝑦 = 3π‘₯ + 1
Since the right side of the differential equation is a first-degree
polynomial, we try a general first-degree polynomial as a particular solution. We
assume 𝑦𝑝 = 𝐴1 π‘₯ + π΄π‘œ , where the coefficients 𝐴1 and π΄π‘œ must be determined. The
solution to the associated homogeneous equation is shown to be 𝑦𝑐 = 𝐢1 𝑒 5π‘₯ . Since no
part of 𝑦𝑝 solves the homogeneous equation, there is no need to modify 𝑦𝑝 .
Substituting 𝑦𝑝 into the the given non-homogeneous equation and noting
that 𝑦′𝑝 = 𝐴1 , we get
𝐴1 − 5(𝐴1 π‘₯ + π΄π‘œ ) = 3π‘₯ + 1
Equating the coefficients of like power of π‘₯, we obtain
−5𝐴1 = 3
𝐴1 − 5π΄π‘œ = 1
3
𝐴1 = − 5
3
− 5 − 5π΄π‘œ = 1
8
π΄π‘œ = − 25
πŸ‘
πŸ–
π’š = π‘ͺ𝟏 π’†πŸ“π’™ − 𝒙 −
πŸ“
πŸπŸ“
2. Solve 𝑦 ′′ − 𝑦 ′ − 2𝑦 = 4π‘₯ 2
We assume a particular solution of the form 𝑦𝑝 = 𝐴1 π‘₯ 2 + 𝐴1 π‘₯ + π΄π‘œ . The
general solution to the associated homogeneous differential equation is found to be
𝑦𝑐 = 𝐢1 𝑒 −π‘₯ + 𝐢2 𝑒 2π‘₯ . Since 𝑦𝑝 and 𝑦𝑐 have no terms in common except perhaps for a
multiplicative constant, there is no need to modify 𝑦𝑝 .
Differentiating𝑦𝑝 , we get 𝑦′𝑝 = 2𝐴2 π‘₯ + 𝐴1 and 𝑦′′𝑝 = 2𝐴2 . Substituting these
derivatives to the given differential equation, we get
2𝐴2 − (2𝐴2 π‘₯ + 𝐴1 ) − 2(𝐴1 π‘₯ 2 + 𝐴1 π‘₯ + π΄π‘œ ) = 4π‘₯ 2
Equating the coefficients of like powers of π‘₯, we obtain
−2𝐴2 = 4
−2𝐴2 π‘₯ + 2𝐴1 = 0
2𝐴2 − 𝐴1 − 2π΄π‘œ = 0
𝐴2 = −2
𝐴1 = 2
π΄π‘œ = −3
Then 𝑦𝑝 = −2π‘₯ 2 + 2π‘₯ − 3, and the general solution is
π’š = π‘ͺ𝟏 𝒆−𝒙 + π‘ͺ𝟐 π’†πŸπ’™ − πŸπ’™πŸ + πŸπ’™ − πŸ‘
3. Determine the form of a particular solution to
𝑑4 𝑦
𝑑π‘₯ 4
= 12π‘₯ 2 − 60
The complementary solution is 𝑦𝑐 = 𝐢1 + 𝐢2 π‘₯ + 𝐢3 π‘₯ 2 + 𝐢4 π‘₯ 3 . Since the
right side of the given differential equation is a second-degree polynomial, we try, as
a particular solution, the general second-degree polynomial π΄π‘œ + 𝐴1 π‘₯ + 𝐴1 π‘₯ 2 . But this
is a part of 𝑦𝑐 for suitable choices of 𝐢1 through 𝐢4 , and so must be modified. To do so,
we multiply π‘₯ 4 , the smallest positive integral power of π‘₯ that eliminated any duplication
of 𝑦𝑐 . The result is a proper particular solution
π’šπ’‘ = 𝑨𝒐 π’™πŸ’ + π‘¨πŸ π’™πŸ“ + π‘¨πŸ π’™πŸ”
5. Find 𝑦𝑝 of 𝑦′′ − 4𝑦′ − 12𝑦 = 2𝑑 3 − 𝑑 + 3
Once, again we will generally want the complementary solution in hand first, but
again we’re working with the same homogeneous differential equation (you’ll
eventually see why we keep working with the same homogeneous problem) so we’ll
again just refer to the first example.
For this example, the right side is a cubic polynomial. For this we will need the
following guess for the particular solution.
𝑦𝑝 = 𝐴𝑑 3 + 𝐡𝑑 2 + 𝐢𝑑 + 𝐷
𝑦′ = 3𝐴𝑑 2 + 2𝐡𝑑 + 𝐢
𝑦′′ = 6𝐴𝑑 + 2𝐡
6𝐴𝑑 + 2𝐡 − 4(3𝐴𝑑 2 + 2𝐡𝑑 + 𝐢) − 12(𝐴𝑑 3 + 𝐡𝑑 2 + 𝐢𝑑 + 𝐷) = 2𝑑 3 − 𝑑 + 3
−12𝐴𝑑 3 + (−12𝐴 − 12𝐡)𝑑 2 + (6𝐴 − 8𝐡 − 12𝐢)𝑑 + 2𝐡 − 4𝐢 − 12𝐷 = 2𝑑 3 − 𝑑 + 3
𝑑3 : −12𝐴 = 2 ⇒ 𝐴 = −1/6
𝑑2 : −12𝐴 − 12𝐡 = 0 ⇒ 𝐡 = 1/6
𝑑1 : 6𝐴 − 8𝐡 − 12𝐢 = −1 ⇒ 𝐢 = −1/9
𝑑0 : 2𝐡 − 4𝐢 − 12𝐷 = 3 ⇒ 𝐷 = −5/27
𝟏
𝟏
𝟏
πŸ“
π’š 𝒑 = − π’•πŸ‘ + π’•πŸ − 𝒕 −
πŸ”
πŸ”
πŸ—
πŸπŸ•
Below is the table of particular solutions for any given right side:
Form of g(x)
Guess for a Particular Solution
1 (any constant)
A
πŸ“π’™ + πŸ•
𝐴π‘₯ + 𝐡
2
𝟐
πŸ‘π’™ − 𝟐
𝐴π‘₯ + 𝐡π‘₯ + 𝐢
π’”π’Šπ’ πŸ’π’™
𝒄𝒐𝒔 πŸ’π’™
𝐴 cos 4π‘₯ + 𝐡 sin 4π‘₯
𝐴 cos 4π‘₯ + 𝐡 sin 4π‘₯
π’†πŸ“π’™
(πŸ—π’™ − 𝟐)π’†πŸ“π’™
π’™πŸ π’†πŸ“π’™
π’†πŸ‘π’™ π’”π’Šπ’ πŸ’π’™
𝐴𝑒 5π‘₯
(𝐴π‘₯ + 𝐡)𝑒 5π‘₯
(𝐴π‘₯ 2 + 𝐡π‘₯ + 𝐢)𝑒 5π‘₯
𝐴𝑒 3π‘₯ cos 4π‘₯ + 𝐡𝑒 3π‘₯ sin 4π‘₯
(𝐴π‘₯ 2 + 𝐡π‘₯ + 𝐢) cos 4π‘₯ + (𝐸 2 + 𝐹π‘₯
+ 𝐺) sin 4π‘₯
3π‘₯
(𝐴π‘₯ + 𝐡)𝑒 cos 4π‘₯ + (𝐢π‘₯ + 𝐸)𝑒 3π‘₯ sin 4π‘₯
πŸ“π’™πŸ π’”π’Šπ’ πŸ’π’™
π’™π’†πŸ‘π’™ 𝒄𝒐𝒔 πŸ’π’™
(πŸ“π’™ + πŸ•) + π’”π’Šπ’ πŸ’π’™
EXERCISES:
𝑑2 𝑦
(𝐴π‘₯ + 𝐡) + (𝐢 cos 4π‘₯ + 𝐷𝑠𝑖𝑛 4π‘₯)
𝑑𝑦
1. Solve 𝑑π‘₯ 2 − 4 𝑑π‘₯ + 𝑦 = 3π‘₯ − 4
π‘š2 − 4π‘š + 1 = 0
π‘š = 2 ± √3
𝑦𝑐 = 𝐢1 𝑒 (2+√3)π‘₯ + 𝐢2 𝑒 (2−√3)π‘₯
𝑦𝒑 = 𝐴1 π‘₯ + π΄π‘œ
𝑦 ′ = 𝐴1
𝑦 ′′ = 0
0 − 4𝐴1 + 𝐴1 π‘₯ + π΄π‘œ = 3π‘₯ − 4
𝐴1 π‘₯ = 3π‘₯
−4𝐴1 + π΄π‘œ = −4
𝐴1 = 3
−12 + π΄π‘œ = −4
π΄π‘œ = 8
π’š = π‘ͺ𝟏 𝒆(𝟐+√πŸ‘)𝒙 + π‘ͺ𝟐 𝒆(𝟐−√πŸ‘)𝒙 + πŸ‘π’™ + πŸ–
2. Solve 2𝑦 ′ − 5𝑦 = 2π‘₯ 2 − 5
2π‘š − 5 = 0
5
π‘š=2
5
𝑦𝑐 = 𝐢1 𝑒 2π‘₯
𝑦𝑝 = 𝐴2 π‘₯ 2 + 𝐴1 π‘₯ + π΄π‘œ
𝑦 ′ = 2𝐴2 π‘₯ + 𝐴1
2(2𝐴2 π‘₯ + 𝐴1 ) − 5(𝐴2 π‘₯ 2 + 𝐴1 π‘₯ + π΄π‘œ ) = 2π‘₯ 2 − 5
4𝐴2 π‘₯ + 2𝐴1 − 5𝐴2 π‘₯ 2 − 5𝐴1 π‘₯ − 5π΄π‘œ = 2π‘₯ 2 − 5
−5𝐴2 π‘₯ 2 = 2π‘₯ 2
4𝐴2 π‘₯ − 5𝐴1 π‘₯ = 0
2𝐴1 − 5π΄π‘œ = −5
2
8
𝐴2 = − 5
𝐴1 = − 25
109
π΄π‘œ = 125
πŸ“
𝟐
πŸ–
πŸπŸŽπŸ—
π’š = π‘ͺ 𝟏 π’†πŸ 𝒙 − 𝒙 𝟐 −
𝒙+
πŸ“
πŸπŸ“
πŸπŸπŸ“
𝑑2 𝑦
𝑑𝑦
3. Solve 𝑑π‘₯ 2 + 4 𝑑π‘₯ + 8𝑦 = 8π‘₯ 4 + 16π‘₯ 3 − 12π‘₯ 2 − 24π‘₯ − 6
π‘š2 + 4π‘š + 8 = 0
π‘š = −2 ± 2𝑖
𝑦𝑐 = 𝐢1 𝑒 −2π‘₯ cos 2π‘₯ + 𝐢2 𝑒 −2π‘₯ sin 2π‘₯
𝑦𝑝 = 𝐴4 π‘₯ 4 + 𝐴3 π‘₯ 3 + 𝐴2 π‘₯ 2 + 𝐴1 π‘₯ + π΄π‘œ
𝑦 ′ = 4𝐴4 π‘₯ 3 + 3𝐴3 π‘₯ 2 + 2𝐴2 π‘₯ + 𝐴1
𝑦 ′′ = 12𝐴4 π‘₯ 2 + 6𝐴3 π‘₯ + 2𝐴2
12𝐴4 π‘₯ 2 + 6𝐴3 π‘₯ + 2𝐴2 + 4(4𝐴4 π‘₯ 3 + 3𝐴3 π‘₯ 2 + 2𝐴2 π‘₯ + 𝐴1 )
+ 8(𝐴4 π‘₯ 4 + 𝐴3 π‘₯ 3 + 𝐴2 π‘₯ 2 + 𝐴1 π‘₯ + π΄π‘œ ) = 8π‘₯ 4 + 16π‘₯ 3 − 12π‘₯ 2 − 24π‘₯ − 6
8𝐴4 π‘₯ 4 = 8π‘₯ 4
𝐴4 = 1
16𝐴4 π‘₯ 3 + 8𝐴3 π‘₯ 3 = 16π‘₯ 3
𝐴3 = 0
12𝐴4 π‘₯ 2 + 12𝐴3 π‘₯ 2 + 8𝐴2 π‘₯ 2 = −12π‘₯ 2
𝐴2 = −3
6𝐴3 π‘₯ + 8𝐴2 π‘₯ + 8𝐴1 π‘₯ = −24π‘₯
2𝐴2 + 4𝐴1 + 8𝐴0 = −6
𝐴1 = 0
𝐴0 = 0
−πŸπ’™
−πŸπ’™
π’š = π‘ͺ𝟏 𝒆
𝐜𝐨𝐬 πŸπ’™ + π‘ͺ𝟐 𝒆
𝐬𝐒𝐧 πŸπ’™ + π’™πŸ’ − πŸ‘π’™πŸ
EQUATIONS WHOSE RIGHT SIDE CONTAINS SINES AND COSINES
1. Solve 𝑦 ′ − 5𝑦 = sin π‘₯
The complementary solution is found to be 𝑦𝑐 = 𝐢1 𝑒 5π‘₯ . We assume a particular
solution of the form 𝑦𝑝 = π΄π‘œ sin π‘₯ + 𝐡0 cos π‘₯, which needs no modification because 𝑦𝑝
and 𝑦𝑐 have no terms in common except for a multiplicative constant.
Substituting 𝑦𝑝 and its derivative into the given differential equation
π΄π‘œ cos π‘₯ − 𝐡0 sin π‘₯ − 5(π΄π‘œ sin π‘₯ + 𝐡0 cos π‘₯) = sin π‘₯
(−5π΄π‘œ − 𝐡0 ) sin π‘₯ + (π΄π‘œ − 5𝐡0 ) cos π‘₯ = 1(sin π‘₯) + 0(cos π‘₯)
Equating the coefficients of like terms, we obtain the system
−5π΄π‘œ − 𝐡0 = 1 and π΄π‘œ − 5𝐡0 = 0
5
1
From which we find π΄π‘œ = − 26 and 𝐡0 = − 26. Then the general solution is
π’š = π‘ͺ𝟏 π’†πŸ“π’™ −
πŸ“
𝟏
𝐬𝐒𝐧 𝒙 −
𝐜𝐨𝐬 𝒙
πŸπŸ”
πŸπŸ”
2. Solve 𝑦 ′′ − 7𝑦 ′ = 48 sin 4π‘₯ + 84 cos 4π‘₯
The complementary solution is found to be 𝑦𝑐 = 𝐢1 + 𝐢2 𝑒 7π‘₯ . We assume a
particular solution of the form 𝑦𝑝 = π΄π‘œ sin 4π‘₯ + 𝐡0 cos 4π‘₯, which needs no modification.
Substituting 𝑦′𝑝 = 4π΄π‘œ cos 4π‘₯ − 4𝐡0 sin 4π‘₯ and 𝑦′′𝑝 = −16π΄π‘œ sin 4π‘₯ − 16π΅π‘œ cos 4π‘₯
into the given differential equation and rearranging give
(−16π΄π‘œ + 28π΅π‘œ ) sin 4π‘₯ + (−28π΄π‘œ − 16π΅π‘œ ) cos 4π‘₯ = 48 sin 4π‘₯ + 84 cos 4π‘₯
Equating coefficients of like terms and solving the resulting system, we get π΄π‘œ =
−3 and π΅π‘œ = 0. The general solution is then
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 π’†πŸ•π’™ − πŸ‘ 𝐬𝐒𝐧 πŸ’π’™
3. Solve
𝑑3 𝑄
𝑑𝑑 3
𝑑2 𝑄
𝑑𝑄
− 5 𝑑𝑑 2 + 25 𝑑𝑑 − 125𝑄 = 504 cos 2𝑑 − 651 sin 2𝑑
The complementary solution is found to be 𝑄𝑐 = 𝐢1 𝑒 5𝑑 + 𝐢2 cos 5𝑑 + 𝐢3 sin 5𝑑. We
assume a particular solution of the form 𝑄𝑝 = π΄π‘œ sin 2𝑑 + 𝐡0 cos 2𝑑, which needs no
modification.
Substituting 𝑄𝑝 into the given differential equation and rearranging
(−105π΄π‘œ − 42π΅π‘œ ) sin 2𝑑 + (42π΄π‘œ − 105π΅π‘œ ) cos 2𝑑 = −651 sin 2𝑑 + 504 cos 2𝑑
Equating coefficients of like terms and solving the resulting system, we find π΄π‘œ =
7 and π΅π‘œ = −2, so the general solution is
π’š = π‘ͺ𝟏 π’†πŸ“π’• + π‘ͺ𝟐 𝐜𝐨𝐬 πŸ“π’• + π‘ͺπŸ‘ 𝐬𝐒𝐧 πŸ“π’• + πŸ• 𝐬𝐒𝐧 πŸπ’• − 𝟐 𝐜𝐨𝐬 πŸπ’•
4. Solve 𝑦′′ − 4𝑦′ − 12𝑦 = 𝑠𝑖𝑛(2𝑑)
𝑦𝑝 = 𝐴𝑠𝑖𝑛(2𝑑)
𝑦 ′ = 2𝐴 cos 2𝑑
𝑦 ′′ = −4𝐴 sin 2𝑑
Subtitute
−4𝐴𝑠𝑖𝑛(2𝑑) − 4(2π΄π‘π‘œπ‘ (2𝑑)) − 12(𝐴𝑠𝑖𝑛(2𝑑)) = 𝑠𝑖𝑛(2𝑑)
−16𝐴𝑠𝑖𝑛(2𝑑) − 8π΄π‘π‘œπ‘ (2𝑑) = 𝑠𝑖𝑛(2𝑑)
cos(2𝑑) : −8𝐴 = 0 ⇒ 𝐴 = 0
𝑠𝑖𝑛(2𝑑): −16𝐴 = 1 ⇒ 𝐴 = −
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸπ’™ −
1
16
𝟏
𝐬𝐒𝐧 πŸπ’•
πŸπŸ”
EQUATIONS WHOSE RIGHT SIDE IS THE PRODUCT OF A
POLYNOMIAL AND EXPONENTIAL
1. Solve 𝑦 ′ − 5𝑦 = π‘₯𝑒 2π‘₯
Since the right side of this equation is the product of a first-degree polynomial
and an exponential, we assume a particular solution of the same form- a general firstdegree polynomial times an exponential. We try𝑦𝑝 = (𝐴1 π‘₯ + 𝐴0 )𝑒 2π‘₯ . The solution to
the associated homogeneous differential equation is found to be 𝑦𝑐 = 𝐢1 𝑒 5π‘₯ . Since 𝑦𝑝
and 𝑦𝑐 have no terms in common, there is no need to modify 𝑦𝑝 .
Differentiating 𝑦𝑝 we get, 𝑦′𝑝 = 𝐴1 𝑒 2π‘₯ + 2(𝐴1 π‘₯ + 𝐴0 )𝑒 2π‘₯ . Substituting these
values to the given differential equation, we obtain
𝐴1 𝑒 2π‘₯ + 2(𝐴1 π‘₯ + 𝐴0 )𝑒 2π‘₯ − 5(𝐴1 π‘₯ + 𝐴0 )𝑒 2π‘₯ = π‘₯𝑒 2π‘₯
−3𝐴1 π‘₯ + (𝐴1 − 3π΄π‘œ ) = π‘₯
Equating coefficients of like powers,
−3𝐴1 = 1
𝐴1 − 3π΄π‘œ = 0
1
1
𝐴1 = − 3
π΄π‘œ = − 9
𝟏
𝟏
π’š = π‘ͺ𝟏 π’†πŸ“π’™ − π’™π’†πŸπ’™ − π’†πŸπ’™
πŸ‘
πŸ—
2. Solve 𝑦 ′′ − 7𝑦 ′ = (3 − 36π‘₯)𝑒 4π‘₯
We try 𝑦𝑝 = (𝐴1 π‘₯ + 𝐴0 )𝑒 4π‘₯ , a first-degree polynomial times an exponential, as a
particular solution. The complementary solution is known to be 𝑦𝑐 = 𝐢1 + 𝐢2 𝑒 7π‘₯ . Since
𝑦𝑝 and 𝑦𝑐 have no term in common, there is no need to modify 𝑦𝑝 .
Substituting 𝑦′𝑝 = (4𝐴1 π‘₯ + 𝐴1 + 4𝐴0 )𝑒 4π‘₯ and 𝑦 ′′𝑝 = (16𝐴1 π‘₯ + 8𝐴1 + 16𝐴0 )𝑒 4π‘₯
into the differential equation and simplifying, we obtain
(−12𝐴1 )π‘₯ + (𝐴1 − 12π΄π‘œ ) = −36π‘₯ + 3
Equating coefficients of like powers of π‘₯ yields a system of two equations from
which we find 𝐴1 = 3 and π΄π‘œ = 0. The general solution is then
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 π’†πŸ•π’™ + πŸ‘π’™π’†πŸ’π’™
3. Solve
𝑑2 π‘₯
𝑑𝑑 2
𝑑π‘₯
+ 4 𝑑𝑑 + 8π‘₯ = (29𝑑 3 + 30𝑑 2 − 52𝑑 − 20)𝑒 3𝑑
The complementary solution of the preceding two problems is found to be π‘₯𝑐 =
𝐢1 𝑒
cos 2𝑑 + 𝐢2 𝑒 −2𝑑 sin 2𝑑, and we try a particular solution of the form π‘₯𝑝 = (𝐴3 𝑑 3 +
𝐴2 𝑑 2 + 𝐴1 𝑑 + π΄π‘œ )𝑒 3𝑑 . This trial needs no modification.
Substituting π‘₯𝑝 , π‘₯′𝑝 = (3𝐴3 𝑑 3 + 3𝐴3 𝑑 2 + 3𝐴2 𝑑 2 + 2𝐴2 𝑑 + 3𝐴1 𝑑 + 𝐴1 + 3π΄π‘œ )𝑒 3𝑑 and
π‘₯′′𝑝 = (9𝐴3 𝑑 2 + 18𝐴3 𝑑 2 + 9𝐴2 𝑑 2 + 6𝐴3 𝑑 + 12𝐴2 𝑑 + 9𝐴1 𝑑 + 2𝐴2 + 6𝐴1 + 9π΄π‘œ )𝑒 3𝑑
into
the given differential equation yields, after simplification,
(29𝐴3 )𝑑 3 + (30𝐴3 + 29𝐴2 )𝑑 2 + (6𝐴3 + 20𝐴2 + 29𝐴1 )𝑑 + (2𝐴2 + 10𝐴1 + 29π΄π‘œ )
= 29𝑑 3 + 30𝑑 2 − 52𝑑 − 20
We find that 𝐴1 = 1, 𝐴2 = 0, 𝐴0 = 0. The general solution is thus
𝒙 = π‘ͺ𝟏 𝒆−πŸπ’• 𝐜𝐨𝐬 πŸπ’• + π‘ͺ𝟐 𝒆−πŸπ’• 𝐬𝐒𝐧 πŸπ’• + (π’•πŸ‘ − πŸπ’•)π’†πŸ‘π’•
−2𝑑
4. Solve 𝑦′′ − 4𝑦′ − 12𝑦 = 𝑑𝑒 4𝑑
𝑦𝑝 = 𝐴𝑑𝑒 4𝑑 + 𝐡𝑒 4𝑑
𝑦 ′ = 4𝐴𝑑𝑒 4𝑑 + 𝐴𝑒 4𝑑 + 4𝐡𝑒 4𝑑
𝑦 ′ = 16𝐴𝑑𝑒 4𝑑 + 8𝐴𝑒 4𝑑 + 16𝐡𝑒 4𝑑
𝑒 4𝑑 (16𝐴𝑑 + 16𝐡 + 8𝐴) − 4(𝑒 4𝑑 (4𝐴𝑑 + 4𝐡 + 𝐴)) − 12(𝑒 4𝑑 (𝐴𝑑 + 𝐡)) = 𝑑𝑒 4𝑑
(16𝐴 − 16𝐴 − 12𝐴)𝑑𝑒 4𝑑 + (16𝐡 + 8𝐴 − 16𝐡 − 4𝐴 − 12𝐡)𝑒 4𝑑 = 𝑑𝑒 4𝑑
−12𝐴𝑑𝑒 4𝑑 + (4𝐴 − 12𝐡)𝑒 4𝑑 = 𝑑𝑒 4𝑑
1
12
1
𝑒 4𝑑 : 4𝐴 − 12𝐡 = 0 ⇒ 𝐡 = −
36
𝑑𝑒 4𝑑 : −12𝐴 = 1 ⇒ 𝐴 = −
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸπ’™ −
𝟏
(πŸ‘π’• + 𝟏)π’†πŸ’π’•
πŸ‘πŸ”
EQUATIONS WHOSE RIGHT SIDE CONTAINS A PRODUCT
INVOLVING SINES AND COSINES
1. Solve 𝑦 ′ + 6𝑦 = 3𝑒 2π‘₯ sin 3π‘₯
The complementary solution is 𝑦𝑐 = 𝐢1 𝑒 −6π‘₯ . Since the right side of the nonhomogeneous differential equation is the product of an exponential and a sine, we try
a particular solution of the form 𝑦𝑝 = π΄π‘œ 𝑒 2π‘₯ sin 3π‘₯ + π΅π‘œ 𝑒 2π‘₯ cos 3π‘₯.
Since 𝑦𝑝 has no term in common with 𝑦𝑐 , there is no need to modify 𝑦𝑝 .
Substituting
𝑦𝑝 and
𝑦′𝑝 = 2π΄π‘œ 𝑒 2π‘₯ sin 3π‘₯ + 3π΄π‘œ 𝑒 2π‘₯ cos 3π‘₯ + 2π΅π‘œ 𝑒 2π‘₯ cos 3π‘₯ −
3π΅π‘œ 𝑒 2π‘₯ sin 3π‘₯ into the differential equation yields
2π΄π‘œ 𝑒 2π‘₯ sin 3π‘₯ + 3π΄π‘œ 𝑒 2π‘₯ cos 3π‘₯ + 2π΅π‘œ 𝑒 2π‘₯ cos 3π‘₯ − 3π΅π‘œ 𝑒 2π‘₯ sin 3π‘₯ + 6π΄π‘œ 𝑒 2π‘₯ sin 3π‘₯
+ 6π΅π‘œ 𝑒 2π‘₯ cos 3π‘₯ = 3𝑒 2π‘₯ sin 3π‘₯
which may be rearranged to
(8π΄π‘œ − 3π΅π‘œ ) sin 3π‘₯ + (3π΄π‘œ + 8π΅π‘œ ) cos 3π‘₯ = 3 sin 3π‘₯ + 0 cos 3π‘₯
24
9
from which we find that π΄π‘œ = 73 and π΅π‘œ = − 73. The general solution is the
πŸπŸ’ πŸπ’™
πŸ— πŸπ’™
π’š = π‘ͺ𝟏 𝒆−πŸ”π’™ +
𝒆 𝐬𝐒𝐧 πŸ‘π’™ −
𝒆 𝐜𝐨𝐬 πŸ‘π’™
πŸ•πŸ‘
πŸ•πŸ‘
2. Solve 𝑦 ′′ + 6𝑦 ′ + 9𝑦 = 16𝑒 −π‘₯ cos 2π‘₯
The complementary solution is 𝑦𝑐 = 𝐢1 𝑒 −3π‘₯ + 𝐢2 π‘₯𝑒 −3π‘₯ . We try a particular
solution of the form 𝑦𝑝 = π΄π‘œ 𝑒 −π‘₯ sin 2π‘₯ + π΅π‘œ 𝑒 −π‘₯ cos 2π‘₯, which needs no modification
because it has no term in common in 𝑦𝑐 .
Substituting 𝑦𝑝 and 𝑦′𝑝 = (−π΄π‘œ − 2π΅π‘œ )𝑒 −π‘₯ sin 2π‘₯ + (2π΄π‘œ − π΅π‘œ )𝑒 −π‘₯ cos 2π‘₯, and
𝑦′′𝑝 = (−3π΄π‘œ + 4π΅π‘œ )𝑒 −π‘₯ sin 2π‘₯ + (−4π΄π‘œ − 3π΅π‘œ )𝑒 −π‘₯ cos 2π‘₯ into the given differential
equation and rearranging yield
[(−3π΄π‘œ + 4π΅π‘œ )𝑒 −π‘₯ sin 2π‘₯ + (−4π΄π‘œ − 3π΅π‘œ )𝑒 −π‘₯ cos 2π‘₯]
+ [(−π΄π‘œ − 2π΅π‘œ )𝑒 −π‘₯ sin 2π‘₯ + (2π΄π‘œ − π΅π‘œ )𝑒 −π‘₯ cos 2π‘₯]
+ 9[π΄π‘œ 𝑒 −π‘₯ sin 2π‘₯ + π΅π‘œ 𝑒 −π‘₯ cos 2π‘₯] = 16𝑒 −π‘₯ cos 2π‘₯
(−8π΅π‘œ ) sin 2π‘₯ + (8π΄π‘œ ) cos 2π‘₯ = 16 cos 2π‘₯
By equating coefficients of like terms, we find π΄π‘œ = 2 and π΅π‘œ = 0. The general solution
is then
π’š = π‘ͺ𝟏 𝒆−πŸ‘π’™ + π‘ͺ𝟐 𝒙𝒆−πŸ‘π’™ + πŸπ’†−𝒙 𝐬𝐒𝐧 πŸπ’™
3. Solve
𝑑3 𝑄
𝑑𝑑 3
𝑑2 𝑄
𝑑𝑄
− 5 𝑑𝑑 2 + 25 𝑑𝑑 − 125𝑄 = 5000 cos 2𝑑
The complementary solution is 𝑄𝑐 = 𝐢1 𝑒 5𝑑 + 𝐢2 cos 5𝑑 + 𝐢3 sin 5𝑑. We try a
particular solution of the form 𝑄𝑝 = π΄π‘œ 𝑒 −𝑑 sin 2𝑑 + π΅π‘œ 𝑒 −𝑑 cos 2𝑑, which needs no
modification. Since
𝑄′𝑝 = (π΄π‘œ − 2π΅π‘œ )𝑒 −𝑑 sin 2𝑑 + (2π΄π‘œ − π΅π‘œ )𝑒 −𝑑 cos 2𝑑
𝑄′′𝑝 = (−3π΄π‘œ + 4π΅π‘œ )𝑒 −𝑑 sin 2𝑑 + (−4π΄π‘œ − 3π΅π‘œ )𝑒 −𝑑 cos 2𝑑
𝑄′′′𝑝 = (11π΄π‘œ + 2π΅π‘œ )𝑒 −𝑑 sin 2𝑑 + (−2π΄π‘œ + 11π΅π‘œ )𝑒 −𝑑 cos 2𝑑
And the given differential equation becomes, after substitution and simplification,
(−124π΄π‘œ − 68π΅π‘œ ) sin 2𝑑 + (68π΄π‘œ − 124π΅π‘œ )π‘π‘œπ‘  2𝑑 = 5000 cos 2𝑑.
By
equating
coefficients of like terms and solving the resulting system, we find π΄π‘œ = 17 and π΅π‘œ =
−31, and the general solution is
𝑸 = π‘ͺ𝟏 π’†πŸ“π’• + π‘ͺ𝟐 𝐜𝐨𝐬 πŸ“π’• + π‘ͺπŸ‘ 𝐬𝐒𝐧 πŸ“π’• + πŸπŸ•π’†−𝒕 𝐬𝐒𝐧 πŸπ’• − πŸ‘πŸπ’†−𝒕 𝐜𝐨𝐬 πŸπ’•
4. Solve 𝑦′′ − 4𝑦′ − 12𝑦 = 481𝑒 −3𝑑 cos 6𝑑
𝑦𝑐 = 𝐴𝑒 −3𝑑 cos 6𝑑 + 𝐡𝑒 −3𝑑 sin 6𝑑
𝑦 ′ = −3𝐴𝑒 −3𝑑 cos 6𝑑 − 6𝐴𝑒 −3𝑑 sin 6𝑑 − 3𝐡𝑒 −3𝑑 sin 6𝑑 + 6𝐡𝑒 −3𝑑 cos 6𝑑
𝑦 ′′ = −27 𝐴𝑒 −3𝑑 cos 6𝑑 + 36𝐴𝑒 −3𝑑 sin 6𝑑 − 36𝐡𝑒 −3𝑑 cos 6𝑑 − 27𝐡𝑒 −3𝑑 sin 6𝑑
Substitute
(−27𝐴 − 60𝐡)𝑒 −3𝑑 cos 6𝑑 + (60𝐴 − 27𝐡)𝑒 −3𝑑 sin 6𝑑 = 481𝑒 −3𝑑 cos 6𝑑
𝐴 = −3
20
𝐡=−
3
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸπ’™ − πŸ‘π’†−πŸ‘π’• 𝐜𝐨𝐬 πŸ”π’• −
𝟐𝟎 −πŸ‘π’•
𝒆 𝐬𝐒𝐧 πŸ”π’•
πŸ‘
VARIATION OF PARAMETERS
Consider the second-order differential equation
𝒂(𝒙)π’š′′ + 𝒃(𝒙)π’š′ + 𝒄(𝒙)π’š = 𝒇(𝒙)
(1)
The method of undetermined coefficients works only when the coefficients π‘Ž, 𝑏
and 𝑐 are constants and the right-hand term 𝑓(π‘₯) is a special form. If these restrictions
do not apply to a given non-homogeneous linear differential equation, then a more
powerful method of determining a particular solution is needed: the method known as
variation of parameters.
The first step is to obtain the general solution of the corresponding homogeneous
equation, which will have the form
π’šπ’„ = π‘ͺ 𝟏 π’šπŸ + π‘ͺ 𝟐 π’šπŸ
where 𝑦1 and 𝑦2 are known functions.
The next step is to vary the parameters: that is, to replace the constants 𝐢1 and
𝐢2 by (as yet unknown) functions 𝑉1 and 𝑉2 to obtain the form of a particular solution 𝑦
of the given non-homogeneous equation:
ΕΆ = π‘½πŸ π’š 𝟏 + π‘½πŸ π’š 𝟐
The goal is to determine these functions 𝑉1 and 𝑉2. Then, since the functions 𝑦1
and 𝑦2 are already known, the expression above for 𝑦 yields a particular solution of
the non-homogeneous equation. Combining 𝑦 with 𝑦𝑐 then gives the general solutions
of the non-homogeneous differential equation.
Since there are two unknowns to be determined, 𝑉1 and 𝑉2, two equations or
conditions are required to obtain a solution. One of these conditions will naturally be
satisfying the given differential equation. But another condition will be imposed first.
Since 𝑦 will be substituted into equation (1), its derivative must be evaluated, the first
derivative of 𝑦 is
ΕΆ′ = π‘½πŸ π’š′ 𝟏 + 𝑽′ 𝟏 π’šπŸ + π‘½πŸ π’š′ 𝟐 + 𝑽′𝟐 π’šπŸ
Now, to simplify the rest of the process – and to produce the first condition on 𝑉1
and 𝑉2 – set
𝑽′𝟏 π’šπŸ + 𝑽′𝟐 π’šπŸ = 𝟎
This will always be the first condition in determining 𝑉1 and 𝑉2; the second
condition will be the satisfaction of the given differential equation.
For third-order differential equation
π’…πŸ‘ π’š π’…πŸ π’š π’…π’š
+
+
+ π’ƒπ’š = 𝒇(𝒙)
π’…π’™πŸ‘ π’…π’™πŸ 𝒅𝒙
If 𝑦𝑐 = 𝐢1 𝑦1 + 𝐢2 𝑦2 + 𝐢3 𝑦3 then set 𝑦𝑝 = 𝑉1 𝑦1 + 𝑉2 𝑦2 + 𝑉3 𝑦3 so that
𝑽′𝟏 π’šπŸ + 𝑽′𝟐 π’šπŸ + 𝑽′πŸ‘ π’šπŸ‘ = 𝟎
𝑽′𝟏 π’š′𝟏 + 𝑽′𝟐 π’š′𝟐 + 𝑽′πŸ‘ π’š′πŸ‘ = 𝟎
𝑽′𝟏 π’š′′𝟏 + 𝑽′𝟐 π’š′′𝟐 + 𝑽′πŸ‘ π’š′′πŸ‘ = 𝒇(𝒙)
Solve for the 𝑉′1, 𝑉′2 , and 𝑉′3 by integration. Then substitute the values to
π’š 𝒑 = π‘½πŸ π’š 𝟏 + π‘½πŸ π’š 𝟐 + π‘½πŸ‘ π’š πŸ‘
Finally, the general solution is
𝑦 = π‘ͺ 𝟏 π’š 𝟏 + π‘ͺ 𝟐 π’š 𝟐 + π‘ͺ πŸ‘ π’š πŸ‘ + π‘½πŸ π’š 𝟏 + π‘½πŸ π’š 𝟐 + π‘½πŸ‘ π’š πŸ‘
EXAMPLES:
1. Solve the differential equation 𝑦 ′′ + 𝑦 = tan π‘₯
Because the characteristics equation π‘š2 + 1 = 0 has solutions π‘š = ±π‘–, the
homogeneous (or complementary) solution is
𝑦𝑐 = 𝐢1 cos π‘₯ + 𝐢2 sin π‘₯
Replacing 𝐢1 and 𝐢2 by 𝑉1 and 𝑉2 produces
𝑦𝑝 = 𝑉1 cos π‘₯ + 𝑉2 sin π‘₯
The resulting system of equation is
𝑉′1 π‘π‘œπ‘  π‘₯ + 𝑉′2 𝑠𝑖𝑛 π‘₯ = 0
(1)
−𝑉′1 𝑠𝑖𝑛 π‘₯ + 𝑉′2 π‘π‘œπ‘  π‘₯ = tan π‘₯
(2)
Multiplying the (1) by sin π‘₯ and (2) by cos π‘₯ the adding these two equations, we obtain
𝑉′1 sin π‘₯ π‘π‘œπ‘  π‘₯ + 𝑉′2 𝑠𝑖𝑛2 π‘₯ = 0
−𝑉′1 sin π‘₯ π‘π‘œπ‘  π‘₯ + 𝑉′2 π‘π‘œπ‘  2 π‘₯ = sin π‘₯
_______________________________
𝑉 ′ 2 (𝑠𝑖𝑛2 π‘₯ + π‘π‘œπ‘  2 π‘₯) = sin π‘₯
𝑉 ′ 2 = 𝑠𝑖𝑛π‘₯
(3)
From (1)
𝑉′1 π‘π‘œπ‘  π‘₯ + (sin π‘₯)𝑠𝑖𝑛 π‘₯ = 0
sin2 π‘₯
𝑉′1 = −
cos π‘₯
=
cos2 π‘₯−1
cos π‘₯
= cos π‘₯ − sec π‘₯
(4)
Integrating (4)
𝑉1 = ∫(cos π‘₯ − sec π‘₯)𝑑π‘₯
= sin π‘₯ − ln(sec π‘₯ + tan π‘₯)
Integrating (3)
𝑉2 = ∫ sin π‘₯ 𝑑π‘₯
= −cos π‘₯
So that
𝑦𝑝 = 𝑉1 cos π‘₯ + 𝑉2 sin π‘₯
= [sin π‘₯ − ln(sec π‘₯ + tan π‘₯)] cos π‘₯ + [− cos π‘₯ sin π‘₯]
= 𝑠𝑖𝑛π‘₯ cos π‘₯ − cos π‘₯ ln(sec π‘₯ + tan π‘₯) − sin π‘₯ cos π‘₯
= − cos π‘₯ ln(sec π‘₯ + tan π‘₯)
Finally, the general solution is
π’š = π‘ͺ𝟏 𝐜𝐨𝐬 𝒙 + π‘ͺ𝟐 𝐬𝐒𝐧 𝒙 − 𝐜𝐨𝐬 𝒙 π₯𝐧(𝐬𝐞𝐜 𝒙 + 𝐭𝐚𝐧 𝒙)
2. Solve 𝑦 ′ − 5𝑦 = 𝑒 2π‘₯
The complementary solution is 𝑦𝑐 = 𝐢1 𝑒 5π‘₯ , so we assume 𝑦𝑝 = 𝑉1 𝑒 5π‘₯ . Here 𝑦1 =
𝑒 5π‘₯ and 𝑓(π‘₯) = 𝑒 2π‘₯ , and it follows that
𝑉′1 𝑒 5π‘₯ = 𝑒 2π‘₯ or 𝑉′1 = 𝑒 −3π‘₯
Integrating, we get
𝑉1 = ∫ 𝑒 −3π‘₯ 𝑑π‘₯
1
𝑉1 = − 𝑒 −3π‘₯
3
𝟏
π’š = π‘ͺ𝟏 π’†πŸ“π’™ − 𝒆−πŸ‘π’™
πŸ‘
3. Solve 𝑦 ′′ − 7𝑦 = −3π‘₯
The complementary solution is found to be 𝑦𝑐 = 𝐢1 + 𝐢2 𝑒 7π‘₯ . We assume 𝑦𝑝 =
𝑉1 + 𝑉2 𝑒 7π‘₯ . It follows that
𝑉′1 + 𝑉′2 𝑒 7π‘₯ = 0
𝑉 ′1 (0) + 𝑉 ′ 2 (7𝑒 7π‘₯ ) = −3π‘₯
3
3
The solution to this set of equation is 𝑉′1 = 7 π‘₯ and 𝑉′2 = − 7 π‘₯𝑒 −7π‘₯
Integrating both will produce
3
𝑉1 = ∫ π‘₯ 𝑑π‘₯
7
3
= 14 π‘₯
Thus,
3
𝑉2 = ∫ − π‘₯𝑒 −7π‘₯ 𝑑π‘₯
and
3
2
7
−7π‘₯
= 49 π‘₯𝑒
3
3
3
+ 343 𝑒 −7π‘₯
3
𝑦𝑝 = 14 π‘₯ 2 + (49 π‘₯𝑒 −7π‘₯ + 343 𝑒 −7π‘₯ )𝑒 −7π‘₯
3 2
3
3
π‘₯ + π‘₯+
14
49
343
πŸ‘
πŸ‘
πŸ‘
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 π’†πŸ•π’™ +
π’™πŸ +
𝒙+
πŸπŸ’
πŸ’πŸ—
πŸ‘πŸ’πŸ‘
′′′
′
4. Solve 𝑦 + 𝑦 = sec π‘₯
The complementary solution is found to be 𝑦𝑐 = 𝐢1 + 𝐢2 cos π‘₯ + 𝐢3 𝑠𝑖𝑛π‘₯ . So we
assume a particular solution of the form 𝑦𝑝 = 𝑉1 + 𝑉2 cos π‘₯ + 𝑉3 sin π‘₯. Here 𝑦1 = 1 and
𝑦2 = cos π‘₯, 𝑦3 = sin π‘₯ and 𝑓(π‘₯) = sec π‘₯. Thus,
𝑉′1 + 𝑉′2 cos π‘₯ + 𝑉′3 sin π‘₯ = 0
(1)
′ (0)
𝑉1
− 𝑉′2 sin π‘₯ + 𝑉′3 cos π‘₯ = 0
(2)
′
𝑉 1 (0) + 𝑉′2 cos π‘₯ + 𝑉′3 sin π‘₯ = sec π‘₯
(3)
Combining (1) and (3) yields
𝑦𝑝 =
𝑉′1 = sec π‘₯
(4)
Dividing (2) by cos π‘₯ gives
𝑉′3 = −𝑉 ′ 2 tan π‘₯
Substituting (5) to (2) and simplifying obtains
𝑉′2 = −1
Substituting (6) to (5) thus yields
𝑉′3 = − tan π‘₯
Integrating (4), (6), and (7) obtain
𝑉1 = ln(sec π‘₯ + tan π‘₯)
𝑉2 = −π‘₯
𝑉3 = ln(cos π‘₯)
(5)
(6)
(7)
Finally, the general solution is
π’š = π‘ͺ𝟏 + π‘ͺ𝟐 𝐜𝐨𝐬 𝒙 + π‘ͺπŸ‘ 𝐬𝐒𝐧 𝒙 + π₯𝐧(𝐬𝐞𝐜 𝒙 + 𝐭𝐚𝐧 𝒙) − 𝒙𝒄𝒐𝒔 𝒙 + π₯𝐧(𝐜𝐨𝐬 𝒙) 𝐬𝐒𝐧 𝒙
5. Solve 𝑦 ′ − 5𝑦 = sin π‘₯
𝑦𝑐 = 𝐢1 𝑒 5π‘₯
𝑦𝑝 = 𝑉1 𝑒 5π‘₯
𝑉 ′1 𝑒 5π‘₯ = sin π‘₯
𝑉 ′1 = (sin π‘₯)𝑒 −5π‘₯
𝑉1 = ∫ sin π‘₯ βˆ™ 𝑒 −5π‘₯ 𝑑π‘₯
5
1
= (− 26 sin π‘₯ − 26 cos π‘₯)𝑒 −5π‘₯
Using integration by parts twice
5
1
𝑦𝑝 = − 26 sin π‘₯ − 26 cos π‘₯
Finally, the general solution is
π’š = π‘ͺ𝟏 π’†πŸ“π’™ −
6. Solve 𝑦 ′ − 5𝑦 = 𝑒 2π‘₯
𝑦𝑐 = 𝐢1 𝑒 5π‘₯
𝑦𝑝 = 𝑉1 𝑒 5π‘₯
𝑉 ′1 𝑒 5π‘₯ = 𝑒 2π‘₯
𝑉 ′1 = 𝑒 −3π‘₯
𝑉1 = ∫ 𝑒 −3π‘₯ 𝑑π‘₯
1
= − 3 𝑒 −3π‘₯
1
1
𝑦𝑝 = − 3 𝑒 −3π‘₯ βˆ™ 𝑒 5π‘₯ = − 3 𝑒 2π‘₯
𝟏
π’š = π‘ͺ𝟏 π’†πŸ“π’™ − πŸ‘ π’†πŸπ’™
7. Solve 𝑦 ′ − 5𝑦 = 3π‘₯ + 1
𝑦𝑐 = 𝐢1 𝑒 5π‘₯
𝑦𝑝 = 𝑉1 𝑒 5π‘₯
Solving for 𝑉1
𝑉′1 𝑦1 = 𝑓(π‘₯)
𝑉 ′1 𝑒 5π‘₯ = 3π‘₯ + 1
𝑉 ′1 = (3π‘₯ + 1)𝑒 −5π‘₯
𝑉1 = ∫(3π‘₯ + 1)𝑒 −5π‘₯ 𝑑π‘₯
πŸ“
𝟏
𝐬𝐒𝐧 𝒙 −
𝐜𝐨𝐬 𝒙
πŸπŸ”
πŸπŸ”
3
8
5
25
𝑉1 = (− π‘₯ −
)𝑒 −5π‘₯
Therefore
3
8
𝑦𝑝 = − 5 π‘₯ − 25
πŸ‘
πŸ–
π’š = π‘ͺ𝟏 π’†πŸ“π’™ − πŸ“ 𝒙 − πŸπŸ“
8. Solve 𝑦 ′′ − 2𝑦 ′ + 𝑦 =
𝑒π‘₯
π‘₯
𝑦𝑐 = 𝐢1 𝑒 π‘₯ + 𝐢2 π‘₯𝑒 π‘₯
𝑉′1 𝑒 π‘₯ + 𝑉′2 π‘₯𝑒 π‘₯ = 0
(1)
−1(𝑉 ′1 𝑒 π‘₯ + 𝑉 ′ 2 (π‘₯𝑒 π‘₯ + 𝑒 π‘₯ ) =
𝑒π‘₯
π‘₯
(2)
Multiplying equation (2) with -1 & adding both equations:
𝑉′2 π‘₯𝑒 π‘₯ − 𝑉 ′ 2 (π‘₯𝑒 π‘₯ + 𝑒 π‘₯ ) =
′
π‘₯
−𝑉 2 π‘₯𝑒 = −
𝑉
′
𝑒π‘₯
π‘₯
𝑒π‘₯
π‘₯
1
2
=π‘₯
𝑉2 = ln π‘₯
Using equation (1) and substituting 𝑉 ′ 2 :
𝑉′1 𝑒 π‘₯ + 𝑉′2 π‘₯𝑒 π‘₯ = 0
1
𝑉′1 𝑒 π‘₯ + (π‘₯)π‘₯𝑒 π‘₯ = 0
𝑉′1 𝑒 π‘₯ + 𝑒 π‘₯ = 0
𝑉′1 = −1
𝑉1 = −π‘₯
So that,
𝑦𝑝 = 𝑉1 𝑦1 +𝑉2 𝑦2
𝑦𝑝 = −π‘₯𝑒 π‘₯ + ln π‘₯(π‘₯𝑒 π‘₯ )
𝑦𝑝 = −π‘₯𝑒 π‘₯ + π‘₯𝑒 π‘₯ ln(π‘₯)
π’š = π‘ͺ𝟏 𝒆𝒙 + π‘ͺ𝟐 𝒙𝒆𝒙 − 𝒙𝒆𝒙 + 𝒙𝒆𝒙 π₯𝐧(𝒙)
9. Solve 𝑦 ′′ − 36𝑦 = 4𝑒 2π‘₯
𝑦𝑐 = 𝐢1 𝑒 6π‘₯ + 𝐢2 𝑒 −6π‘₯
𝑦𝑝 = 𝑉1 𝑒 6π‘₯ + 𝑉2 𝑒 −6π‘₯
𝑉1 ′𝑒 6π‘₯ + 𝑉2 ′𝑒 −6π‘₯ = 0
6𝑉1′𝑒
6π‘₯
(1)
− 6𝑉2 ′𝑒 −6π‘₯ = 4𝑒 2π‘₯
(2)
Multiply eqn (1) by 6 then add eqn (2)
12𝑉1 ′𝑒 6π‘₯ = 4𝑒 2π‘₯
1
𝑉1 ′ = 𝑒 −4π‘₯
3
1
𝑉1′ = ∫ 𝑒 −4π‘₯ 𝑑π‘₯
3
𝑉1 = −
1 −4π‘₯
𝑒
12
1
𝑉2′ = − 𝑒 8π‘₯
3
1
𝑉2′ = − ∫ 𝑒 8π‘₯ 𝑑π‘₯
3
𝑉2 = −
1 8π‘₯
𝑒
24
Thus
𝑦𝑝 = −
𝑦𝑝 = −
1 −4π‘₯ 6π‘₯
1 8π‘₯ −6π‘₯
𝑒 𝑒 −
𝑒 𝑒
12
24
1 2π‘₯
1
1
𝑒 − 𝑒 2π‘₯ = − 𝑒 2π‘₯
12
24
8
𝟏
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸ”π’™ − π’†πŸπ’™
πŸ–
USING WRONSKIAN METHOD
𝑦2 𝑓(π‘₯)
𝑦1 𝑓(π‘₯)
𝑦 = −𝑦1 [∫
𝑑π‘₯ + 𝐢1 ] + 𝑦2 [∫
𝑑π‘₯ + 𝐢2 ]
π‘Š(𝑦1 𝑦2 )
π‘Š(𝑦1 𝑦2 )
where
π‘Š(𝑦1 𝑦2 ) = 𝑦1 𝑦′2 − 𝑦′1 𝑦2 ≠ 0
1. Solve 𝑦 ′′ − 2𝑦 ′ + 𝑦 =
π‘₯
𝑦𝑐 = 𝐢1 𝑒 + 𝐢2 π‘₯𝑒
𝑦1 = 𝑒 π‘₯
𝑒π‘₯
π‘₯
π‘₯
𝑦2 = π‘₯𝑒 π‘₯
𝑦′1 = 𝑒 π‘₯
𝑦′2 = π‘₯𝑒 π‘₯ + 𝑒 π‘₯
π‘Š(𝑦1 𝑦2 ) = 𝑒 π‘₯ (π‘₯𝑒 π‘₯ + 𝑒 π‘₯ ) − (𝑒 π‘₯ βˆ™ π‘₯𝑒 π‘₯ )
= 𝑒 2π‘₯
𝑦 = −𝑒 π‘₯ [∫
𝑒π‘₯
π‘₯𝑒 π‘₯ ( π‘₯ )
𝑒π‘₯
𝑒π‘₯( π‘₯ )
𝑑π‘₯ + 𝐢1 ] + π‘₯𝑒 π‘₯ [∫ 2π‘₯ 𝑑π‘₯ + 𝐢2 ]
𝑒 2π‘₯
𝑒
π‘₯ (π‘₯
π‘₯
)
𝑦 = −𝑒
+ 𝐢1 + π‘₯𝑒 (ln π‘₯ + 𝐢2 )
π‘₯
𝑦 = −𝐢1 𝑒 − π‘₯𝑒 π‘₯ + 𝐢2 π‘₯𝑒 π‘₯ + π‘₯𝑒 π‘₯ ln π‘₯
Let −𝐢1 = 𝐢1
π’š = π‘ͺ𝟏 𝒆𝒙 − 𝒙𝒆𝒙 + π‘ͺ𝟐 𝒙𝒆𝒙 + 𝒙𝒆𝒙 π₯𝐧 𝒙
2. Solve 𝑦 ′′ − 36𝑦 = 4𝑒 2π‘₯
𝑦𝑐 = 𝐢1 𝑒 6π‘₯ + 𝐢2 𝑒 −6π‘₯
𝑀 = 6𝑒 6π‘₯ 𝑒 −6π‘₯ + 6𝑒 6π‘₯ 𝑒 −6π‘₯
𝑀 = 12
𝑒 −6π‘₯ (4𝑒 2π‘₯ )
𝑒 6π‘₯ (4𝑒 2π‘₯ )
𝑑π‘₯ + 𝐢1 ] + 𝑒 −6π‘₯ [∫
𝑑π‘₯ + 𝐢2 ]
12
12
𝑒 −4π‘₯
𝑒 8π‘₯
𝑦 = −𝑒 6π‘₯ [∫
𝑑π‘₯ + 𝐢1 ] + 𝑒 −6π‘₯ [∫
𝑑π‘₯ + 𝐢2 ]
3
3
𝑦 = −𝑒 6π‘₯ [∫
𝑦 = −𝑒 6π‘₯ (
1 −4π‘₯
1
𝑒
+ 𝐢1 ) + 𝑒 −6π‘₯ (− 𝑒 8π‘₯ + 𝐢2 )
12
24
𝑦 = 𝐢1 𝑒 6π‘₯ + 𝐢2 𝑒 −6π‘₯ −
1 2π‘₯
1
𝑒 − 𝑒 2π‘₯
12
24
𝟏
π’š = π‘ͺ𝟏 π’†πŸ”π’™ + π‘ͺ𝟐 𝒆−πŸ”π’™ − π’†πŸπ’™
πŸ–
Download