Applied Math III
Applied Math III
Applied Math III
The Derivative:
The derivative is given by the usual limit definition.
Definition 1
Let x(t) be a function with the single independent variable t. The
derivative of x with respect to t is defined by
Example 0.1
Consider the projectile of a mass m launched with initial velocity v0 at
angle θ0 at time t = 0, as shown.
ẋ(t)
mẍ(t) = −βv (t) · p =⇒ mẍ(t) + β ẋ(t) = 0
ẋ (t) + ẏ 2 (t)
2
ẏ (t)
mÿ (t) = −mg − βv (t) · p =⇒ mÿ (t) + β ẏ (t) = −mg
ẋ (t) + ẏ 2 (t)
2
A + B → C.
The law of mass action states that the reaction rate is proportional to
the reactant concentrations.
Ȧ = −kAB
Ḃ = −kAB
Ċ = kAB
The only two forces acting on the body are its weight, Fg = mg , and
the force done by the spring, Fs0 = −k∆l.
Therefore, X
F = Fs 0 + Fg = 0
We are using the sign convention displayed in figure, where forces
pointing downwards are positive.
We now find out how the body will move when we take it away from
the rest position.
To describe that movement we introduce a vertical coordinate for the
displacements, y , as shown in figure, with y positive downwards, and
y = 0 at the rest position of the spring and the body.
We further stretch the spring with the body by y0 and then we release
it with an initial velocity v0 .
Since the first two terms on the right hand side above cancel out,
Fg + Fs0 = 0, the body displacement from the equilibrium position, y (x),
must be solution of the differential equation
my ′′ (x) + ky (x) = 0.
Definition 3
An ordinary differential equation (ODE) is an equation containing one
independent variable x ∈ R, the dependent variable y , and some of its
derivatives y ′ , y ′′ , ..., y (n) .
In general, an nth-order ODE can be written as
Types of solutions:
Explicit solution: y = ϕ(x)
Implicit solution: ψ(x, y ) = 0
The general solution: y = ϕ(x, C ).
A particular solution emerges when C takes on a certain numerical
value.
Example 0.4
Show that y = ϕ(x) = xc , x ̸= 0 is a solution of first order ODE:
dy
x = −y .
dx
Verify .
dy
+ x = 0.
dx
Verify .
2
Solution. y = c − x2 , find the first derivative of y . That is, y ′ = −x.
Then substitute in the equation, we get
dy
x + x = 0 =⇒ −x + x = 0 =⇒ 0 = 0,
dx
which is true for all x.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 17 / 182
· · · Cont’d
Example 0.6
Show that y = ϕ(x) = x 2 + c1 x + c2 is a solution of first order ODE:
dy 2
= 2.
dx 2
Verify .
Example 0.7
For what value of k is/are y (x) = kx 2 e 2x a solution of the the differential
equation
dy
x − 2y = −2x 3 e 2x
dx
Definition 4
Order of a Differential Equation:
The order of a differential equation is the order of the highest derivative
appearing in the differential equation.
Example 0.8
d 2x
dt 2
+ x dx
dt = 0, order two
dx
dt + x = cosx, order one
dx dx 2
dt + x( dt ) = sinx, order one
Definition 5
Degree of a Differential Equation:
The degree of a differential equation is the power(exponent) of the highest
derivative which occurs in it, after the differential equation has been made
free from radicals and fractions as far as the derivatives are concerned.
Example 0.9
dy
dx + x = sinx, degree one
√
x dy k
dx + dy = y , degree two,
dx
q 3
d 2y dy 2
dx 2
= 1 + dx , degree two
Definition 6
Linear and Nonlinear Differential Equations:
If y and its various derivatives y ′ , y ′′ , · · · appear linearly in the equation, it
is a linear differential equation; otherwise, it is nonlinear.
Definition 7
Linear Ordinary Differential Equations:
The general form of an nth -order linear ordinary differential equation is
Example 0.11
Definition 8
Homogeneous and Non-homogeneous Differential Equations:
A differential equation is said to be homogeneous if it has zero as a
solution; otherwise, it is non-homogeneous.
Example 0.12
y ′′ + 2y ′ + 4y = 10cos2x, non-homogeneous
x 2 y ′′ + xy ′ + (x 2 − ν 2 )y = 0, x > 0, ν ≥ 0, homogeneous
an (x)y (n) + an−1 (x)y (n−1) + · · · + a0 (x)y = 0 , homogeneous.
(y − x 2 )dx + (x + y 3 )dy = 0 , non-homogeneous
F (x, y , y ′ , · · · , y (n) ) = 0,
Example 0.13
A
Show that y (x) = x + B is a solution of
d 2y 2 dy
2
+ = 0.
dx x dx
Remark 0.1
In general, an nth -order ordinary differential equation will contain n
arbitrary constants in its general solution. Hence, for an nth -order ordinary
differential equation, n conditions are required to determine the n
constants to yield a particular solution.
In applications, there are usually two types of conditions that can be used
to determine the constants: Initial conditions and boundary conditions.
The constants c0 and c1 can be determined from these two conditions and
the specific solution of the differential equation is
1
x(t) = v0 t + gt 2 .
2
In this case, the differential equation is required to satisfy conditions
specified at one value of t, i.e., t = 0.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 28 / 182
· · · Cont’d
Definition 10
Initial Value Problem:
If a differential equation is required to satisfy conditions on the dependent
variable and its derivatives specified at one value of the independent
variable, these conditions are called initial conditions and the problem is
called an initial value problem.
y ′ = f (x, y )
Solution.
dy
= 1 + e 2x =⇒ dy = (1 + e 2x )dx, (separation of variable)
dx Z Z
=⇒ dy = (1 + e 2x )dx + c, (indefinite integral )
Z
y= (1 + e 2x )dx + c
=⇒ y = x + 12 e 2x + c is a general solution.
Suppose that the right-hand side f (x, y ), which is a function of x and
y , can be written as a product of a function of x and a function of y ,
i.e.,
f (x, y ) = g (x) · h(y ).
Definition 12
A first-order differential equation of the form
dy
= g (x)h(y )
dx
is said to be separable or to have separable variable.
Example 0.16
dy
dx = y 2 xe 3x+4y - separable
dy
dx = y + sinx-not separable
H(y ) = G (x) + c, c = c2 − c1
is a general solution.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 35 / 182
· · · Cont’d
Example 0.17
Find the general solution of the following first-order ODEs
a. (1 + x)dx − ydy = 0
dy −x
b. dx = y
dy
c. dx = y2 − 4
y2 x2
=⇒ = + x + c1 =⇒ y 2 (x) = 2x + x 2 + c1 is a general solutio
2 2
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 36 / 182
· · · Cont’d
Example 0.18
Given the linear first order differential equation
y ′ = −xy .
Solution.
dy
= −xy
dx
1
=⇒ dy = −xdx
y
Z Z
1
=⇒ dy = − xdx + c
y
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 37 / 182
· · · Cont’d
−x 2 −x 2
=⇒ ln(y ) = + c1 =⇒ y (x) = ce 2
2
is a general solution.
Finally, apply IC to get particular solution. That is,
02
1 = y (0) = ce 2 = c.
Exercises:
Given the nonlinear differential equation
y ′ = −y 2 .
Solution.
dy
= x 2y
dx
1
=⇒ dy = x 2 dx
y
Z Z
1
=⇒ dy = x 2 dx + c
y
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 39 / 182
· · · Cont’d
x3 x3
=⇒ ln(y ) = + c1 =⇒ y (x) = ce 3
3
is a general solution. To find a particular solution, determine the value of
c, by substituting x = 0 and y = 3 into general solution.
That is,
0
3 = y (0) = ce 3 =⇒ c = 3.
Therefore, the solution to IVP is
x3
y (x) = 3e 3 .
Example 0.20
Find the function u which satisfies the equation
du
= 2u,
dx
given that u(0) = e 3 .
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 40 / 182
· · · Cont’d
Example 0.21
Find the general solutions for the following equations
dy
dx = e x−y + x 2 e −y
y − x dy 2
dx = y +
dy
dx
x3
=⇒ e y + ex + c
=
3
x3
=⇒ y (x) = ln( + e x + c)
3
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 41 / 182
· · · Cont’d
Transformation of equations:
Type: Equations of the form:
dy
= f (ax + by + c)
dx
can be reduced to an equation in which variables can be separated. For
this purpose, we use the substitution
v (x) = ax + by + c, y = y (x)
Then
dv dy
=a+b
dx dx
dv
=⇒ = a + bf (v )
dx
which is separable.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 42 / 182
· · · Cont’d
Example 0.22
Find the general solutions for the following equations
dy
dx = (4x + y + 1)2
(x + 2y − 1)dx = (x + 2y + 1)dy
Solution. dy 2
dx = (4x + y + 1) .
Put v (x) = 4x + y + 1. Then
dv dy dv
=4+ =⇒ = 4 + v2
dx dx dx
which is separable.
dv
= 4 + v2
dx
1
=⇒ 2
dv = dx
Z 4+v Z
1
=⇒ dv = dx + c
4 + v2
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 43 / 182
· · · Cont’d
1 1 −1 v
R R
=⇒ 4(1+( v2 )2 )
dv = dx + c =⇒ 2 tan ( 2 ) =x +c
=⇒ tan−1 ( v2 ) = 2x + c1 =⇒ v (x) = 2tan(2x + c1 )
4x + y + 1 = 2tan(2x + c1 )
x+2y −1
Solution. dy
dx = x+2y +1 .
Put v (x) = x + 2y . Then
dv dy dv v −1 3v − 1
=1+2 =⇒ =1+2 =
dx dx dx v +1 v +1
−1)
=⇒ ( 1/3(3v
3v −1 + 3/2
3v −1 )dv = dx.
1 3
v + ln(3v − 1) = x + c
3 2
1 3
(x + 2y ) + ln(3(x + 2y ) − 1) = x + c
3 2
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 44 / 182
· · · Cont’d
dv
=⇒ f (v ) = x +v
dx
which is separable.
Example 0.23
Find the general solutions for the following equations
(x 3 + xy 2 )dx − (y 3 + 3x 2 y )dy = 0
y
Solution. Take v = x =⇒ y = vx. Differentiating w.r.t x
dy dv
=⇒ = x +v
dx dx
dy x 3 +xy 2 1+3( yx )2 1+3v 2
dx = y 3 +3x 2 y
= ( yx )3 +3( yx
)= v 3 +3v
dv 1 + 3v 2
=⇒ x +v = 3
dx v + 3v
which is separable.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 46 / 182
Exact Differential Equations and Integrating Factors
to be exact is
My = Nx . (6)
Proof. Let (5) be exact. Hence by definition, there exist a function u(x, y )
of x and y , such that
∂u ∂u
dx + dy = M(x, y )dx + N(x, y )dy
∂x ∂y
Equating coefficients of dx and dy , we get
M = ux (7)
N = uy (8)
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 49 / 182
···
We know that M and N are continuous and have continuous partial
derivative of first order. Then by partial differentiating (7), and (8) w.r.t x
and y respectively, we get
My = uyx , Nx = uxy
Since My and Nx are continuous, it follows that uxy and uyx are
continuous. Thus, the two second partial derivatives are equal. That is,
uxy = uyx . And hence, we have My = Nx .
My = Nx , (the necessary condition for exactness).
How to solve?
Working procedures for solving an exact differential equation:
Compare the given equation with
Mdx + Ndy = 0
and find out M and N. Then find out My and Nx . If My = Nx , we
conclude that the given equation is exact.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 50 / 182
· · · Cont’d
If the equation is exact, then by definition, there exists a function u such
that
ux = M (9)
and
uy = N (10)
Example 0.24
Find the general solution of the following differential equation
Solution.
Comparing the given equation with Mdx + Ndy = 0, we have
Therefore,
My = −4x − 4y , and Nx = −4x − 4y .
Thus, My = Nx and so the given equation is exact.
where
M(x, y ) = 6xy 2 + 4x 3 y , N(x, y ) = 6x 2 y + x 4 + e y .
Step1. Test for exactness:
My = 12xy + 4x 3 , Nx = 12xy + 4x 3
= 3x 2 y 2 + x 4 y + f (y ). (15)
(when integrating w.r.t. x, y is treated as constant)
To find f (y ), we differentiate equation (15) with respect to y and
comparing with uy = 6x 2 y + x 4 + e y yield
uy = 6x 2 y + x 4 + f ′ (y )
= 6x 2 y + x 4 + e y ,
hence,
f ′ (y ) = e y .
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 56 / 182
· · · Cont’d
f (y ) = e y .
u(x, y ) = 3x 2 y 2 + x 4 y + e y = c.
u(x, y ) = c =⇒ 3x 2 y 2 + x 4 y + e y = c.
Exercises:
1. Solve
cos(x + y )dx + (3y 2 + 2y + cos(x + y ))dy
2. Solve the IVP
3. Solve th IVP
Mdx + Ndy = 0
Example 0.26
Solve the first-order ODE
where
M(x, y ) = 3(x 2 + y 2 ), N(x, y ) = x(x 2 + 3y 2 + 6y ).
Test for exactness:
My = 6y , Nx = 3y 2 + 3x 2 + 6y
= e y x 3 + 3xe y y 2 + f (y ). (19)
uy = e y x 3 + 6xye y + 3xy 2 e y + f ′ (y )
= e y x 3 + 3xe y y 2 + 6xye y ,
hence,
f ′ (y ) = 0 =⇒ f (y ) = C1 .
Substituting into equation (19) leads
u(x, y ) = e y x 3 + 3xe y y 2 = C =⇒ xe y (x 2 + 3y 2 ) = C .
Example 0.27
Solve the first-order ODE
where
M(x, y ) = 2x − y 2 , N(x, y ) = xy .
Test for exactness:
My = −2y , Nx = y
Therefore, My ̸= Nx =⇒ the differential equation is not exact.
Exercises:
1. Solve the first-order ODE
Definition 16
A first order differential equation is called linear if it can be written in
the form
dy
+ a(x)y = f (x) (20)
dx
where a(x) and f (x) are constants or functions of x alone (i.e., not of y).
Mdx + Ndy = 0 :
R Z R R
−
y (x) = e a(x)dx
f (x)e a(x)dx
dx + Ce − a(x)dx
Z
−x
=⇒ e y= e x dx + C
= e x (e x + C ) = e 2x + Ce x
=⇒ y (x) = e 2x + Ce x
is a general solution.
d(x 3 y ) = 1dx
Z Z Z
d(x 3 y ) = 1dx + C =⇒ x 3 y = 1dx + C
y (x) = x −2 + cx −3
is a general solution defined on (0, ∞).
Example 0.30
Find the general solution of
(x 2 − 9)y ′ − xy = 0.
Example 0.31
Solve the initial value problem:
(
′ 1, 0 ≤ x ≤ 1
y + y = f (x), y (0) = 0, where f (x) =
0 = 0, x > 1
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 75 / 182
· · · Cont’d
Solution.We solve the DE for y (x) first on the interval [0, 1] and then on
the interval (1, ∞).
For 0 ≤ x ≤ 1, we have
y ′ + y = 1, y (0) = 0
For x > 1, we have
y′ + y = 0
Hence we can write the solution as
(
1 − e −x , 0 ≤ x ≤ 1
y (x) =
ce −x , x > 1.
It is possible to determine c so that the foregoing function is continuous at
x = 1. The requirement that limx→1+ y (x) = y (1) implies that
ce −1 = 1 − e −1
or c = e − 1.
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 76 / 182
· · · Cont’d
(
1 − e −x , 0 ≤ x ≤ 1
y (x) =
(e − 1)e −x , x > 1.
is continuous on (0, ∞).
Example 0.32
Find the general solution of
dx x + 2y 3
=
dy y
dx
Solution. Write in standard form: dy − y1 x = 2y 2 . Here
−1
R
dy
a(y ) = −1 2
y , f (y ) = 2y . Thus, I (y ) = e
y = e −lny = y1 .
Hence, the required solution is x(y ) = y 3 + cy , where c is an arbitrary
constant.
Exercises:
1. Find the general solution of
dy
x + 4y − x 3 = 0.
dx
2. Find the general solution of
dy
x2 + x 3 (y − sinx) = 0.
dx
3. Solve the IVP
dy
ex = 20 + 3e x y , y (0) = 7.
dx
4. Solve the IVP
dy
2 + 3y = 20x 2 , y (1) = 10.
dx
dy
+ a(x)y = f (x)y n , (24)
dx
where n is any real number, and n ̸= 0, 1. This equation is nonlinear.
How to solve ? We use transformation:
Certain non-linear ODE can be transformed to linear form in terms of new
variables. For n ̸=, 0, 1. y (x) = 0 is clearly a solution.
Dividing both sides of the equation by y n yields
dy
y −n
+ a(x)y 1−n = f (x).
dx
Letting u = y 1−n . Differentiating w.r.t x, we get
dy du dy 1 du
(1 − n)y −n = =⇒ y −n =
dx dx dx 1 − n dx
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 79 / 182
· · · Cont’d
1 du
+ a(x)u = f (x) =⇒ u ′ + (1 − n)a(x)u = (1 − n)f (x).
1 − n dx
Hence, a Bernoulli differential equation is transformed to a linear
first-order equation in the new variable u.
Example 0.33
Solve the following Bernoulli Equations
dy
= Ay − By 2
dx
Solution. Rewrite in the form
dy
− Ay = −By 2
dx
Dividing both sides of the equation by y 2 yields
dy
y −2 − Ay −1 = −B
dx
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 80 / 182
· · · Cont’d
How to solve ?
If y1 (x) is a known particular solution to Riccati equation, then
substituting u = y − y1 into equation will transform the Riccati equation
into Berenuolli equation of new variable u.
=⇒ T (t) = Tm + ce −kt
At t = 0, T (0) = 100◦ C :
Hence
1 1
T (t) = 20 + 80e − 20 ln 2 .t
When T = 30◦ C : t = 60min
Hence, it will need another 60 − 20 = 40 minutes for the temperature to
fall to 30◦ C .
Motion of a Particle in a Resisting Medium
Example 0.37
A bullet is fired perpendicularly into a plate at an initial speed of
v0 = 100m/sec. When the bullet exits the plate, its speed is
v1 = 80m/sec. It is known that the thickness of the plate is b = 0.1m and
the resistant force of the plate on the bullet is proportional to the square
of the speed of the bullet, i.e., R = βv 2 . Determine the time T that the
bullet takes to pass through the plate.
=⇒ −βv 2 = ma
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 87 / 182
· · · Cont’d
dv dv
a(t) = =⇒ m = −βv 2 ,
dt dt
first order nonlinear ODE.
The general solution is given by
Z Z
dv β 1
− 2 = kdt + C , k = =⇒ = kt + C
v m v
1
=⇒ v (t) =
kt + C
At t = 0, v = v0 :
1 1
v0 = v (0) = =
k.0 + C C
1 1 1 1 1 1 1 1 1 v0
b = x(T ) = ln kT + − ln = ln − ln = ln .
k v0 k v0 k v1 k v0 k v1
1 v0 1
=⇒ k = ln , v1 = v (T ) = v .
b v1 1
ln
0
T + 1
b v1 v0
b 1 1
T = v − = 0.000819sec
ln
0 v1 v0
v1
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 90 / 182
· · · Cont’d
Mixture problems:
Suppose that a large mixing tank initially holds V0 gallons of a solution in
which x0 pounds of a substance is dissolved. Let another solution,
lb gal
containing xi gal of substance, flows into the tank at a given rate ri min .
When the solution in the tank is well stirred, it pumped out at a given rate
gal
r0 min according to the following figure.
Let
x(t) = the amount of substance (measured in pounds) in the tank at
time t.
V (t) = the volume of a solution at any time t.
ri = in flow rate of solution and r0 = out flow rate of solution
Ri = input rate of solution and R0 = output rate of solution
Ci (t) = concentration of substance into the tank and
Co (t) =concentration of substance out of the tank
According to balance Law, the rate at which x changes with time t is
given by
dx
= (input rate of substance) − (output rate of substance) = R1 − R2 ,
dt
Therefore, we have
dx xro
= xi ri −
dt (ri − ro )t + V0
Example 0.38
A tank initially contains 50 gallons of pure water. Starting at t = 0 a brine
containing 2lb of dissolved salt per gallon flows into the tank at the rate of
gal
3 min . The mixture is kept uniform by stirring and the well-stirred mixture
simultaneously flows out of the tank at the same rate. Then
i. Derive a mathematical model describing the problem.
ii. How much salt is in the tank at any time t > 0
iii. How much salt is present at the end of 25 minutes?
iv. How much salt is present after a long time?
iii) Let x1 be the amount of the salt present in the tank at the end of 25
minutes. That is, x(25) = x1 . Then we get
−3×25 −3
x1 = x(25) = 100(1 − e 50 ) = 100(1 − e 2 )
iv) Here we require to find out the amount of salt present in the tank as
t → ∞.
To find this value,
−3t
lim x(t) = lim 100(1 − e 50 ) = 100.
x→∞ x→∞
d ny d n−1 y dy
an (x) n
+ a n−1 (x) n−1
+ · · · + a1 (x) + a0 (x)y = f (x)
dx dx dx
Definition 17
Second order linear ODE (standard form) for the function y is
y ′′ y + xy ′ = 0,
y1 (x) = cy (x)2
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 103 / 182
· · · Cont’d
Theorem 3
(General Solution). If y1 and y2 are linearly independent solutions of the
equation
y ′′ + ay ′ + by = 0, (30)
on an interval I ⊂ R, and a, b are continuous functions on I , then there
are unique constants c1 , c2 such that every solution y of the differential
equation (30) on I can be written as a linear combination
y (x) = c1 y1 (x)+ c2 y( x)
Assume that y1 (x) and y2 (x) are solutions. From the principle of
superposition, because the equation is linear and homogeneous, then
So the problem with solving for the coefficients is when the denominator is
equal to zero.
Observe that the denominator is the Wronskian for the two functions,
y1 (x) and y2 (x),
Definition 19
A set of functions, {y1 (x), y2 (x)} is linearly dependent on an interval I if
there exists a set of constants, c1 , c2 that are not all zero such that
c1 y1 (x) + c2 y2 (x) = 0, x ∈ I .
If the functions are not linearly dependent, then they are linearly
independent.
Theorem 4
If y1 (x) and y2 (x) satisfy
y ′′ + ay ′ + by = 0 (31)
and if
W12 (x) = y1 (x)y2′ (x) − y1′ (x)y2 (x) ̸= 0,
then
y (x) = c1 y1 (x) + c2 y2 (x)
is the general solution to the initial value problem
(
y ′′ + ay ′ + by = 0,
y (x0 ) = k0 , y ′ (x0 ) = k1 , on I ,
y ′′ + ay ′ + by = 0
y = ce rx (32)
r 2 + ar + b = 0.
y1 = e r1 x , and y2 = e r2 x .
y (x) = c1 e r1 x + c2 e r2 x .
Example 0.40
Find the general solutions to the equation
y ′′ + 5y ′ + 6y = 0.
Solution.
We try now with the test function y (x) = e rx . If we introduce this
function in the differential equation we get
(r 2 + 5r + 6)e rx = 0 ⇐⇒ r 2 + 5r + 6 = 0.
Example 0.41
Find the general solutions to the equation
2y ′′ − 5y ′ − 3y = 0.
y ′′ − 2y ′ + 6y = 0.
Example 0.43
Solve the ODE
y ′′ + 6y ′ + 9y = 0.
Example 0.44
Solve the IVP
1 −7
y ′′ + y ′ + y = 0, y (0) = 3, y ′ (0) =
4 2
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 120 / 182
· · · Cont’d
This formula for the general solution includes real valued and complex
valued solutions. Knowing the real valued solutions could be important in
physical applications.
How to obtain a corresponding real solution?
Using Euler’s formula
y ′′ + 2y ′ + 3y = 0
r 2 + 2r + 3 = 0.
Example 0.46
Find the general solution to
y ′′ + 2y ′ + 5y = 0
Example 0.47
Solve
y ′′ + 0.4y ′ + 9.04y = 0, y (0) = 0, y ′ (0) = 3
Example 0.48
Find the general solution to
25y ′′ − 20y ′ + 4y = 0
L(y ) = f ,
Definition 20
The general solution of the non-homogeneous equation L(y ) = f is a
two-parameter family of functions
Example 0.49
Find solutions to the non-homogeneous equation
y ′′ − 3y ′ − 4y = 3e 2x .
1
(22 − 6 − 4)ke 2x = 3e 2x =⇒ −6k = 3 =⇒ k =
2
We have obtained
1
yp = e 2x
2
The general solution of the non-homogeneous equation is
1
ygen (x) = c1 e 4x + c2 e −x + e 2x
2
Example 0.50
Find all solutions to the non-homogeneous equation
y ′′ − 3y ′ − 4y = 3e 4x .
yp (x) = kxe 4x .
y ′′ − 3y ′ − 4y = 2sin(x).
By Feyissa Kebede (PhD)(ASTU) January 15, 2024 132 / 182
· · · Cont’d
Example 0.52
Find all solutions to the non-homogeneous equation
y ′′ − 3y ′ − 4y = 3e 2x + 2sin(x).
Exercises
1. y ′′ − 2y ′ − 3y = e 2x
2. y ′′ − 2y ′ − 3y = 3x 2 + 4x − 5
3. y ′′ − 2y ′ − 3y = 5cos2x
4. y ′′ − 2y ′ − 3y = xe 3x
5. y ′′ − 5y ′ + 4y = 8e x
6. y ′′ − 2y ′ + y = e x
7.y ′′ − 2y ′ + 5y = e x cos2x