Professional Documents
Culture Documents
Finding a
Engineering Mathematics
We see that the second-order linear ordinary differential equation has two
arbitrary constants in its general solution. The functions y1 (x) and y2 (x) are
linearly independent if one is not a multiple of the other.
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Example:
d 2y dy
6 + 8y = 0 (3)
dx 2 dx
Write down the general solution of this equation.
Solution:
If y1 = e 4x , differentiation yields:
dy1
= 4e 4x
dx
and similarly,
d 2 y1
= 16e 4x
dx 2
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Substitution into the left hand side of (3) gives 16e 4x 6(4e 4x ) + 8e 4x , which
equals 0, so that y1 = e 4x is indeed a solution. Similarly if y2 = e 2x , then
dy2 d 2 y2
= 2e 2x and = 4e 2x
dx dx 2
Substitution into the left hand side of (3) gives 4e 2x 6(2e 2x ) + 8e 2x , which
equals 0, so that y 2 = e 2 x is also a solution of equation (3).
ycf (x) = Ae 4x + Be 2x
as the general solution of (3).
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Example:
d 2y dy
6y = 0
dx 2 dx
Hence state the general solution.
Solution:
dy d 2y
= ke kx and = k 2 e kx
dx dx 2
Substitution into the given equation yields:
k 2 e kx ke kx 6e kx = 0 that is (k 2 k 6)e kx = 0
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
The only way this equation can be satisfied for all values of x is if
k2 k 6 = 0
that is, (k 3)(k + 2) = 0 so that k = 3 or k = 2. That is to say, if y = e kx
is to be a solution of the differential equation, k must be either 3 or 2. We
therefore have found two solutions.
These two functions are linearly independent and therefore the general solution
is
ycf (x) = Ae 3x + Be 2x
The equation k 2 k 6 = 0 for determining k is called the auxiliary equation.
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Guided Exercise
d 2y dy
3 + 2y = 0
dx 2 dx
Hence, write down two solutions, and the general solution of this equation.
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Example:
d 2y dy
a +b + cy = 0
dx 2 dx
Solution:
dy d 2y
= ke kx and = k 2 e kx
dx dx 2
Substitution into the given differential equation yields:
ak 2 + bk + c = 0
is the required auxiliary equation.
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Key Point
d 2y dy
a +b + cy = 0 is ak 2 + bk + c = 0
dx 2 dx
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Guided Exercise
Write down, but do not solve, the auxiliary equations of the following:
d 2y dy d 2y dy
a) + +y =0 b) 2 +7 3y = 0
dx 2 dx dx 2 dx
d 2y d 2y dy
c) 4 + 7y = 0 d) + =0
dx 2 dx 2 dx
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Example:
d 2y
+ 4y = 0
dx 2
Solution:
dy d 2y
= ke kx and = k 2 e kx
dx dx 2
The auxiliary equation is easily found to be: k 2 + 4 = 0 that is, k 2 = 4 so
that k = 2i, that is, we have complex roots. The two independent solutions
of the equation are thus
Guided Exercise
y 00 + 2y 0 + 4y = 0
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Key Point
If the auxiliary equation has two equal roots, k1 , the complementary function is:
ycf = (A + Bx)e k1 x
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Example:
d 2y dy
+8 + 16y = 0
dx 2 dx
Solution:
y (x) = (A + Bx)e 4x
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
d 2y dy
a +b + cy = f (x)
dx 2 dx
That is, any function which when substituted into the left hand side and
simplified, results in the function on the right.
Example:
d 2y dy
6y = e 2x
dx 2 dx
Solution:
dy d 2y
= 2e 2x and = 4e 2x
dx dx 2
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Substitution gives:
4e 2x 2e 2x 6e 2x = e 2x
that is,
4e 2x = e 2x
1
so that y will be a solution if is chosen so that 4 = 1, that is, = .
4
1
Therefore the particular integral is yp (x) = e 2x .
4
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Example:
d 2y dy
6 + 8y = x
dx 2 dx
Solution:
In the last example, we found that a fruitful approach was to assume a solution
in the same form as that on the right-hand side.
dy d 2y
If y (x) = x then = and = 0. Substitution into the differential
dx dx 2
equation yields 0 6 + 8x = x and ought now to be chosen so that this
expression is true for all x.
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
0 6 + 8(x + ) = x
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
8 = 1 () 6 + 8 = 0 ()
1
From (*), = 8
and then from (**)
1
6 + 8 = 0
8
3 3
so that, 8 = that is, = .
4 32
1 3
The required particular integral is yp (x) = x+ .
8 32
Introduction Second Order ODEs Constant Coefficient Equations Finding the Complementary Function What is Meant by a Particular Integral? Finding a
Guided Exercise
d 2y dy
6 + 8y = 3 cos x
dx 2 dx