Professional Documents
Culture Documents
a d 2y + b dy + cy = 0
dx 2 dx
Let y =u andy =v (where u and v are functions of x) be two solutions
of the equation.
d 2v dv
and a -+b-+cv=O
dx
2 dx
Adding these two lines together, we get
Turn on to frame 2.
637
Second Order Differential Equations
d 2y dy
Our equation was a dx 2 + b dx + cy = 0. If a= 0, we get the first order 2
equation of the same family
dy
b dx+cy= . dy k y-- 0 were
0 1.e.dx+ h k =b
c
3
jlny = -kx + c I
:. y = e-kx + c = e-kx. ec =A e-kx (since ec is a constant)
i.e. y =A e-kx
dx + cy = o, 1·f 1t
2
·
equation ad
dxY2 + b dy · sails
· fi1es t his equation.
·
Now, if
dy =Amemx
dx
On to frame 4.
638
Programme 23
which is a quadratic equation giving two values for m. let us call these
m = m 1 and m = m 2
Note that this contains the necessary two arbitrary constants for a second
order differential equation, so there can be no further solution.
Move to frame 5.
is 2m 2 + Sm + 6 =0.
In the same way, for the equation:;+ 3 dx + 2y = 0, the auxiliary
equation is ............................. .
Then on to frame 6.
639
'Second Order Differential Equations
I. m 2 + 3m + 2 = 0 I 6
Since the auxiliary equation is always a quadratic equation, the values
of m can be determined in the usual way.
e.g. if m 2 +3m+ 2 = 0
(m+1)(m+2)=0 :. m=-l and m=-2
ly=Aex+Be-sx!
7
The type of solution we get, depends on the roots of the auxiliary
equation.
Example 2.
Auxiliary equation: m 2 - 7x + 12 = 0
(m- 3)(m- 4) =0 :. m =3 or m =4
So the solution is ...................... ..
Turn to frame 8.
640
Programme 23
8 IY =A e3x + B e4x I
Here you are. Do this one.
d 2y dy
Solve the equation dx2 + 3 dx- 1Oy = 0
9 Iy =Ae2x + Be-sxj
Now consider the next case.
In general, if the auxiliary equation has real and equal roots, giving
m =m 1 (twice}, the solution of the differential equation is
y =emlx(A + Bx)
Make a note of this general statement and then turn on to frame 10.
641
Second Order Differential Equations
Here is an example: 10
d 2ydy
Example 1. Solve dx 2 + 4 dx + 4y =0
Auxiliary equation: m 2 +4m + 4= 0
(m + 2) (m + 2) = 0 :. m = -2 (twice)
The solution is:
Here is another:
d 2y dy
Example 2. Solve dx 2 + 10 dx + 25 y =0
Auxiliary equation: m 2 + 1Om + 25 = 0
(m + 5) 2 =0 :. m = -5 (twice)
y =: e-sx(A + Bx)
Now here is one for you to do:
Solve ~;{ + 8 : + 16y =0
When you have done it, move on to frame 11.
I Y =e-4x(A + Bx) I 11
Since if d 2y + 8 dy + 16y = 0
dx 2 dx
the auxiliary equation is
m 2 +8m+16=0
:. (m + 4) 2 =0 :. m =-4 (twice)
.". y =e- 4 x(A + Bx)
So, for real and different roots m =m 1 and m =m 2 the solution is
y =Aemtx + Bem2x
and for real and equal roots m = m 1 (twice) the solution is
y =emlx(A + Bx)
Just find the values of m from the auxiliary equation and then substitute
these values in the appropriate form of the result.
Move to frame 12.
642
Programme 23
643
Second Order Differential Equations
y=e 5x [Acos2x+Bsin2x] I 13
Here is one of the same kind:
Solve d2y + 4 dy + 9y = 0
dx 2 dx
Auxiliary equation: m2 + 4m + 9 = 0
. - -4±y'(16-36) -4±v'-20
.. m- 2 2
= -4 ± ~jy'S = -2 ± jy'S
d 2y dy
-::;:-:2 - 2- + 1Oy = 0
dx dx
When you have finished it, move on to frame 14.
d 2y dy
dx2 - 2 dx + 1Oy = 0
644
Programme 23
On to frame 16.
16
d2y
Equations of the form dx 2 ± n 2y =0
and this can be written as~;{± n 2y = 0 to cover the two cases when the
coefficient of y is positive or negative.
d 2y
(i) If + n 2y = 0 m2 +n2 = 0 :. m 2 = -n 2 m = ±jn
dx 2 '
(This is like m =a± W, when a= 0 and fj = n)
:. y = A cos nx + B sin nx
m 2 - n 2 = 0 :. m 2 = n 2 m=±n
:. y = Cenx + De-nx
This last result can be written in another form which is sometimes
more convenient, so turn on to the next frame and we will see what it is.
645
Second Order Differential Equations
Note. In this form the two results are very much alike:
d2y
(i) dx 2 + n 2 y = 0 y =A cos nx + B sin nx
Example 3.
y= ................... .
Then turn on to frame 19.
646
Programme 23
20 Iy = A cosh 2x + B sinh 2x I
Now before we go on to the next section of the programme, here is a
revision exercise on what we have covered so far. The questions are set
out in the next frame. Work them all before checking your results.
So on you go to frame 21.
21 Revision Exercise
Solve the following:
1. :;{-12~+36y=O
2. d2y + 7y =0
dx2
3. ~+2dy -3y=O
dx dx
4. 2 ~{ + 4 : + 3y = 0
d2y
5. -9y=O
dx 2
647
Second Order Differentia.[ Equations
Results 22
1. y =e6 x (A + Bx)
2. y =A cos y7x + B sin y7x
3. y =A eX+ Be- 3 x
648
Programme 23
24 d 2y dy
To solve an equation a dx 2 + b dx + cy =f(x)
(i) The complementary function is obtained by solving the equation
withf(x) = 0, as in the previous part of this programme. This will
give one of the following types of solution:
(i) y =A emtx + Bem2x (ii) y = emtx (A+ Bx)
(iii) y = eax (A cos {3x + B sin {3x) (iv) y =A cos nx + B sin nx
( v) y = A cosh nx + B sinh nx
(ii) The particular integral is found by assuming the general form of the
function on the right-hand side of the given equation, substituting
this in the equation, and equating coefficients. An example will make
this clear:
d 2y dy
Example: Solve - - 2 - 5 - + 6y = x 2
dx dx
(i) To find the CF. solve L.H.S. = 0, i.e. m 2 - 5m + 6 = 0
:. (m- 2)(m- 3) = 0 :. m = 2 or m = 3
:. Complementary function is y = A e 2 x + B e 3 x (i)
(ii) To find the PJ we assume the general form of the R.H.S. which
is a second degree function. Let y = Cx 2 + Dx +E.
649
Second Order Differential Equations
We have seen that to find the particular integral, we assume the general
form of the function on the R.H.S. of the equation and determine the
25
values of the constants by substitution in the whole equation and equat-
ing coefficients. These will be useful:
If f(x) =k Assume y =C
f(x) =kx " y = Cx + D
f(x) = kx 2 " y = Cx 2 + Dx + E
f(x) =k sin x or k cos x " y =C cos x + D sin x
f(x) =k sinh x or k cosh x " y = C coshx + D sinhx
f(x) =ekx ... " y = cekx
This list will cover all the cases you are likely to meet at this stage.
So if the function on the R.H.S. of the equation isf(x) = 2x 2 + 5, you
would take as the assumed P.I.,
y= ................... .
Iy =Cx 2 + Dx + E j
26
Correct, since the assumed P.i. will be the general form of the second
degree function.
What would you take as the assumed P.I. in each of the following cases:
1. f(x) =2x- 3
2. f(x) =esx
3. f(x) =sin 4x
4. f(x) =3- 5x 2
5. f(x) =27
6. f(x) = 5 cosh 4x
When you have decided all six, check your answers with those in frame 27.
650
Programme 23
27 Answers
1. f(x) = 2x- 3 P.I. is of the formy = Cx + D
2. f(x) =esx " " " , " y = cesx
3. f(x) =sin 4x " " , " " y = C cos 4x + D sin 4x
4. f(x) = 3- 5x 2 " " " " " y = Cx 2 + Dx + E
5. f(x) = 27 " " " , " y =c
6. f(x) = 5 cosh 4x " " " " " y = C cosh 4x + D sinh 4x
All correct? If you have made a slip with any one of them, be sure that
you understand where and why your result was incorrect before moving on.
Next frame.
28
Let us work through a few examples. Here is the first.
d 2y dy
Example 1. Solve dx2 - 5 dx + 6y = 24
651
Second Order Differential Equations
Iy = C cos 4x + D sin 4x I 29
Note: Although the R.H.S. isf(x) = 2 sin 4x, it is necessary to include
the full general function y = C cos 4x + D sin 4x since in finding the
differential coefficients the cosine term will also give rise to sin 4x.
So we have
y = C cos 4x + D sin 4x
652
Programme 23
First we have to fmd the C.F. To do this we solve the equation ............... ..
33 I m 2 +14m+ 49 = 0 I
This gives (m + 7) (m + 7) =0, i.e. m =-7 (twice).
:. The C.F. is y =e- 1x (A+ Bx) (i)
Now for the P.I. To fmd this we take the general form of the R.H.S. of
the given equation, i.e. we assume y =.................... ..
34
Right. So we now differentiate twice, which gives us
653
Second Order Differential Equations
35
The equation now becomes
25Ce 5 x + l4.5Ce 5 x + 49Ce 5 x = 4e 5 x
Dividing through by e 5 x: 25C + 70C + 49C = 4
144C = 4 l
:. C = 6
. e sx
The P.I.ts y = 36 (ii)
654
Programme 23
37 Iy = C cos 2x + D sin 2x I
Do not forget that we have to include the cosine term as well as the
sine term, since that will also give sin 2x when the differential coefficients
are found.
As usual, we now differentiate twice and substitute in the given
: = - 2C sin 2x + 2D cos 2x
655
Second Order Differential Equations
Jot down all five results before turning to frame 40 to check your answers.
656
Programme 23
41 I y =A fiX+ Be 2 x + !(2x 2 + 6x + 7) I
Here is the solution in detail.
~-
dx
3El_+ 2y = x 2
dx
(i) C.F. m 2 - 3m+ 2 = 0 :. (m -1)(m- 2) = 0 :. m = 1 or 2
:. y =A fiX+ Be 2 x (i)
(ii) P.I. y = Cx 2 + Dx + E
:. : = 2Cx +D
. !!.2- 2C
.. dx 2 -
l
General solution:
y =A fiX + B e2X + (2x 2 + 6x + 7)
Next frame.
42
Particular solutions. The last result wasy = AfiX + Be 2x + t(2x 2 +6x+7)
and as with all second order differential equations, this contains two
arbitrary constants A and B. These can be evaluated when the appropriate
i
extra information is provided.
e.g. In this example, we might have been told that at x =0, y = and
f!.r- j_
dx- 2·
It is important to note that the values of A and B can be found only
from the complete general solution and not from the C.F. as soon as you
obtain it. This is a common error so do not be caught by it. Get the com-
plete general solution before substituting to find A and B.
In this case, we are told that when x = 0, y = ~, so inserting these values
gives ..... ........ .......... ..... Tum on to frame 43.
657
Second Order Differential Equations
IA+B=-11 43
For: 3 7
4=A+B+4 :. A+B=-1
So, dy =
dx .................. ..
44
dy = Ae" + 2Be 2 x +.!_(2x + 3)
dx 2
A= .................... ; B= ....................
658
Programme 23
45 A=-3;B=2
46 e3x
y = e- 2 x (2 cos x + 3 sin x) +T
d 2y dv
For: +4~+5y=13e 3 x
dx 2 dx
(i) C.F. m2 + 4m + 5 = 0 :. m -4±y{l6-20)- -4 ±j2
2 2
:. m =-2 ± j :. y =e- 2x (A cos x + B sin x) (i)
659
Second Order Differentilll Equation~
-6C = 3 :. C =- t
P.I. is y =-!xe-u (ii)
660
Programme 23
48
Here is the working:
To solve
Then !!J::.=
dx
Cx~ + Cex = C~ (x + 1)
d2
~ = C~ + Cx~ + C~ = C~ (x + 2)
3c = 1 ... -31
c-
p1 . xeX
•• IS y=J (ii)
and so the geneFal solution is
xex
y =A~ + Be-zx +-3-
You are now almost at the end of this programme. Before you work
through the Test Exercise, however, look down the revision sheet given
in frame 49. It lists the main points that we have established during this
programme, and you may find it very useful.
661
Second Order Differential Equations
Revision Sheet 49
1. Solution of equations of the form a ~;{' + b : + cy = f(x)
2. Auxiliary equation: am 2 + bm + c =0
3. Types of solutions:
(a) Real and different roots m =m 1 and m =m 2
y = Aemlx + Bem2x
(b) Real and equal roots m =m 1 (twice)
y =em1x (A+ Bx)
(c) Complex roots m =a ± j{3
y = eax (A cos {3x + B sin {3x)
d2y
4. Equations of the form (&'2+ n2y = 0
y = A cos nx + B sin nx
d2y
5. Equations of the form dx 2 - n 2y =0
y =A cosh nx + B sinh nx
6. General solution
y =complementary function + particular integral
d 2y dy
7. (i) To find C.F. solve a dx 2 + b dx + cy =0
(ii) To find P.I. assume the general form of the R.H.S.
Note: If the general form of the R.H.S. is already included in the
C.F., multiply by x and proceed as before, etc. Determine the
complete general solution before substituting to find the values
of the arbitrary constants A and B.
662
Programme 23
50 The Test Exercise contains eight differential equations for you to solve.
similar to those we have dealt with in the programme. They are quite
straightforward, so you should have no difficulty with them.
Set your work out neatly and take your time: this will help you to
avoid making unnecessary slips.
1. d2{ _Ez_ 2y = 8
dx dx
2.
3.
4.
5. d 2y- 2 dy + y = 4 sin x
dx 2 dx
6. Q
dxJ.
+ 4 dy + Sy = 2e- 2x given that at x = 0 y = 1 and dy =-2.
dx ' ' dx
7.
8.
663
Second Order Differential Equations
1. 2 :.:r - 7: - 4y = e3 x
2. ~- 6: + 9y = 54x + 18
d 2y dy
3. dx2 - 5 dx + 6y = 100 sin 4x
d2 d
4. ~ +2~+y=4sinhx
d 2y dy
5. - 2 + - - 2y
dx dx
= 2 cosh 2x
d y 2 dy
6. - 2 - 6 - + 1Oy = 20 - e 2x
dx dx
d 2 d
7. _I+ 4_gg + 4y = 2 cos 2x
dx
2 dx
d2 d
8. E.:l!.2 - 4 ..z.+ 3y =X + e 2X
dx dx
d2 d
9. ~- 2 ~ + 3y = x 2 - 1
dx dx
d2
10. ~
dx
- 9y = e 3 x + sin 3x
II. For a horizontal cantilever of length I, with load w per unit length,
the equation of bending is
d 2y w
EI-. = -(1-x) 2
d 2x 2
where E, I, wand l are constants. If y = 0 and:= 0 at x = 0, fmd y
in terms of x. Hence find the value of y when x = I.
664
Programme 23
665
Second Order Differential Equations
of the oscillations.
20. The equation of motion of a body performing damped forced vibra-
.
tlons . d2x 5 dx 6 S 1 hi . . h 01
IS dt 2 + dt + x = cos t. o ve t s equatiOn, gtven t at x = ·
666