LE Greyling: Department of Mathematical Sciences

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 124

LE Greyling

Department of Mathematical Sciences

UNIVERSITY OF SOUTH AFRICA


PRETORIA
©  2017 University of South Africa

All rights reserved

Printed and published by the


University of South Africa
Muckleneuk, Pretoria

MAT3700/1/2018–2020

70525137

Pdf_Florida Campus
CONTENTS Page
LEARNING UNIT 0: INTRODUCTION vii

MODULE 1
LEARNING UNIT 1: SOLVING FIRST ORDER DIFFERENTIAL EQUATIONS
1.1 INTRODUCTION 2
1.2 FIRST ORDER DIFFERENTIAL EQUATIONS 3
1.2.1 Direct Integration- Equations without a y-term. 3
1.2.2 Equations with separable variables 4
1.2.3 Exact differential equations 5
1.2.4 Linear equations 7
1.2.5 Equations reducible to linear form - Bernoulli equations 9
1.2.6 Homogeneous equations 13
1.3 PARTICUAR SOLUTIONS 14
1.4 POST-TEST 15

LEARNING UNIT 2: PRACTICAL APPLICATIONS OF FIRST ORDER


DIFFERENTIAL EQUATIONS
2.1 GROWTH AND DECAY 19
2.2 COOLING 20
2.3 MIXTURES 22
2.4 FALLING BODIES WITH RESISTANCE 24
2.5 OTHER APPLICATIONS 26
2.6 POST-TEST 27

LEARNING UNIT 3: NUMERICAL METHODS


3.1 INTRODUCTION 30
3.2 EULER'S METHOD
30
3.3 EULER-CAUCHY METHOD 30
3.4 RUNGE-KUTTA METHOD 30
3.5 POST-TEST 31

MAT3700 iii
MODULE 2
LEARNING UNIT 1: SOLVING SECOND-ORDER DIFFERENTIAL EQUATIONS
WITH CONSTANT COEFFICIENTS
1.1 INTRODUCTION 33
1.2 SECOND-ORDER LINEAR EQUATIONS WITH
CONSTANT COEFFICIENTS AND Q = 0 33
1.2.1 Roots real and different 35
1.2.2 Roots real and equal 36
1.2.3 Roots complex 38
1.3 POST-TEST 41

LEARNING UNIT 2: METHOD OF UNDETERMINED COEFFICIENTS


2.1 SECOND-ORDER LINEAR EQUATIONS WITH CONSTANT
COEFFICIENTS AND Q = f(x) OR Q = k, A CONSTANT 44
2.1.1 Q = a constant 45
2.1.2 Q = a function of the first degree in x 46
2.1.3 Q = a function of the second degree in x 47
2.1.4 Q = an exponential function 48
2.1.5 Q = a trigonometric function 50
2.1.6 Q = a hyperbolic function 51
2.1.7 Q = a sum of functions 52
2.2 PARTICULAR SOLUTIONS 53
2.3 POST-TEST 55

MODULE 3
LEARNING UNIT 1: INTRODUCTION TO DIFFERENTIAL OPERATORS
1.1 THE DIFFERENTIAL OPERATOR D 57
1
1.2 THE INVERSE OPERATOR 58
D
1.3 IMPORTANT THEOREMS 59
1.4 POST-TEST 62

MAT3700 iv
LEARNING UNIT 2: DIFFERENTIAL EQUATIONS AND D-OPERATOR
METHODS
2.1 USE OF THE D-OPERATOR IN SOLVING SECOND-ORDER DIFFERENTIAL

d2y dy
EQUATIONS OF THE FORM a 2
 b  cy  Q WHEN Q = f(x) 64
dx dx
2.1.1 When Q is a constant 64
2.1.2 When Q is a polynomial in x 66
2.1.3 When Q is an exponential function 68
2.1.4 When Q is a trigonometric function 70
2.1.5 When Q is a hyperbolic function 74
2.1.6 When Q is a product of functions 76
2.2 POST-TEST 79

LEARNING UNIT 3: SIMULTANEOUS DIFFERENTIAL EQUATIONS


3.1 INTRODUCTION 82
3.2 BASIC PROCEDURES TO BE FOLLOWED TO OBTAIN A SOLUTION
82
3.3 THE USE OF DETERMINANTS TO OBTAIN A SOLUTION 84
3.4 POST-TEST 88

LEARNING UNIT 4: PRACTICAL APPLICATIONS


4.1 APPLICATION TO ELECTRIC CIRCUIT PROBLEMS 90
4.2 APPLICATION TO VIBRATING SYSTEM PROBLEMS 94
4.3 APPLICATION TO BEAM PROBLEMS 99
4.4 POST-TEST 104

MAT3700 v
MAT3700 vi
LEARNING UNIT 0: INTRODUCTION
This material has been compiled to serve the mathematical needs of students engaged in
engineering studies. A student entering this course should have studied at least two semesters
of engineering mathematics.

To achieve success requires discipline and hard work. You need to buy the prescribed book
named in Tutorial Letter 101 to use with these notes. You must have access to myUnisa,
where additional notes and explanations will be posted. You must also be prepared to consult
other resources for a better understanding of the subject matter. To restrict your studies to the
study guides alone will not be sufficient.

Where do you start?


Learn by heart
 your student number
 the module (subject) code

Organise your workspace. You need


 a place to write
 paper and a pen to try examples and do activities and exercises
 a scientific calculator
 the tutorial letter for MAT3700
 the prescribed book (Purchase the text book, details in tutorial letter 101, as soon as
possible.)

Consult your tutorial letter to obtain information on


 assignments
 how to obtain a year mark
 examinations
 due dates
 prescribed and recommended books (you must buy the prescribed book)
 contact details of your lecturer or tutor

MAT3700 vii
Set up a study plan:
 Identify your goals.
 Make a weekly timetable.
 Indicate work and family responsibilities on your timetable.
 Remember to allow time for rest and relaxation.
 Evaluate the time available for studying.

Before you complete your plan, we must first explain the format of the study material.

Format of study material


 Study guides
The work is divided into two study guides consisting of modules. Note: The corresponding
chapters in your textbook are given in tutorial letter 101.

 Modules
The work is divided into modules. Each module deals with a major subject area. Each module
is divided into learning units. The end of each learning unit provides a natural break. This
enables you to plan your time. You will find a complete list of modules and learning units in
the list of contents. Your tutorial letter will give guidance as to the importance of each
module and each learning unit.

 Learning units
Each learning unit starts with OUTCOMES. These outcomes list what you should be able to
do after you have mastered the content of the learning unit. To explain the content, you will
find examples. An example gives both the question and the answer. Do the example yourself
and add steps for your own understanding. Not all the thinking steps are written down in
every example.

An average student should be able to study a learning unit and a half per week. The
lecturer/tutor should be contacted regularly by telephone or e-mail, if necessary, to clarify
any points. Contact details are given in the tutorial letter.

 Self-test
At the end of each module you need to assess your progress. The self-test should be used for
self-evaluation. These questions include questions from past examination papers and

MAT3700 viii
questions similar to what you can expect in future examination papers. The solutions to all
the questions are given on myUnisa and should be used to mark your own work. An average
student should be able to complete the test in an evening.

Try to do the test without referring to your study notes. Warning: Do not look at the answers
before attempting a solution!

When answering a question, your writing should be clear. That is, the marker or any other
person reading your answer must be able to follow your reasoning. In mathematics we are not
only interested in the correct answer, but also in the method you used to obtain the answer.
Pay attention to the correct use of symbols.

 Use of computer software


We do not mention any specific programs in the notes because of the rapid development in
this field, which results in any reference becoming outdated very quickly. Please read your
tutorial letter carefully as we hope to introduce such programs in future.

USEFUL INFORMATION

MATHEMATICAL SYMBOLS
+ plus
 minus
 plus or minus
 multiply by
 multiply by
 divide by
= is equal to
 is identically equal to
 is approximately equal to
 is not equal to
 is greater than

MAT3700 ix
 is greater than or equal to
 is less than
 is less than or equal to
n! factorial n = 1  2  3  …  n
k modulus of k, that is the size of k
irrespective of the sign
 is a member of set
set of natural numbers
 set of integers
set of real numbers
set of rational numbers
 therefore
 infinity
e base of natural logarithms (2,718…)
ln natural logarithm
log logarithm to base 10
 sum of terms
lim limiting value as n  
n

 integral
dy
dx
derivative of y with respect to x

GREEK ALPHABET

Greek letter Greek name


  Alpha
  Beta
  Gamma
  Delta
  Epsilon
  Zeta
  Eta

MAT3700 x
  Theta
  Iota
  Kappa
  Lambda
  Mu
  Nu
  Xi
  Omicron
  Pi
  Rho
  Sigma
  Tau
  Upsilon
  Phi
  Chi
  Psi
  Omega

FORMULA SHEETS

The following pages contain the formula sheets and tables that will be included with the
examination paper.

MAT3700 xi
FORMULA SHEETS

ALGEBRA Factors
Laws of indices 
a 3  b 3  a  b  a 2  ab  b 2 
1. a m  a n  a mn a b3 3
 a  b a 2
 ab  b 2

m
a
2. n
 a mn
a
3. a  m n
 
 a mn  a n
m

Partial fractions
m

4. a  n am
n
f x  A B C
  
5. a n  n
1
and an 
1 x  a x  b x  c  x  a  x  b  x  c 
a a n
a 1 f x 
0
6. A B C D
   
7. ab  a b x  a  x  b3
x  a  x  a  x  a  x  b
2 3

n
a an
8.    n f x  Ax  B C
b b  
Logarithms
  
ax  bx  c  x  d  ax  bx  c  x  d 
2 2

Definitions: If y  a x , then x  log a y .
If y  e x , then x  n y .
1. log A  B   log A  log B Quadratic formula
 A If ax 2  bx  c  0
2. log   log A  log B
B  b  b 2  4ac
3. log An  n log A then x
2a
log b A
4. log a A
log b a
5. a loga f  f  e n f  f

Determinants
a11 a12 a13
a a 23 a a 23 a a 22
a 21 a 22 a 23  a11 22  a12 21  a13 21
a 32 a 33 a 31 a 33 a 31 a 32
a 31 a 32 a 33
 a11 a 22 a 33  a 32 a 23   a12 a 21 a 33  a 31 a 23   a13 a 21 a 32  a 31 a 22 

MAT3700 xii
SERIES
Binomial Theorem
n  n  1 n 2 2 n  n  1 n  2  n 3 3
 a  b  a n  na n 1b  a b  a b  ...
n

2! 3!
and b  a
n  n  1 2 n  n  1 n  2  3
1  x   1  nx  x  x  ...
n

2! 3!
and  1  x  1

Maclaurin’s Theorem
f 0  f 0  2 f 0  3 f n 1 0  n 1
f  x   f 0  x x  x  x 
1! 2! 3! n  1!

Taylor’s Theorem
f a 
x  a   f a   x  a 2  f a   x  a 3    f a   x  a n1  
  n 1
f  x   f a  
1! 2! 3! n  1!
h2 h n1 n1
f a  h   f a   f a   f a     f a   
h
1! 2! n  1!
COMPLEX NUMBERS
1. z  a  bj  r cos   j sin    r   re j , 7. De Moivre's Theorem
 r   r n n  r n  cos n  j sin n
n
where j 2  1
Modulus : r z  a 2
 b2  1
8. z n has n distinct roots:
b 1 1
Argument :   arg z  arc tan   k 360
a zn  rn with k  0, 1, 2, , n  1
n <
2. Addition :
a  jb   c  jd   a  c   j b  d  9. re j  r  cos   j sin 
3. Subtraction :    re j   r cos  and   re j   r sin 
a  jb   c  jd   a  c   j b  d  10. ea  jb  ea  cos b  j sin b 
4. If m  jn  p  jq, then m  p and n  q 11. n re j  n r  j
5. Multiplication : z1 z 2  r1 r2 1   2 
z1 r1
6. Division :  1   2 
z 2 r2

MAT3700 xiii
GEOMETRY MENSURATION
y  mx  c 1. Circle: (  in radians)
1. Straight line:
y  y1  m x  x1 
Area  r 2
1
Perpendiculars, then m1  Circumference  2r
m2
Arc length   r 
2. Angle between two lines:
m  m2 1 2 1
Sector area r   r
tan   1 2 2
1  m1 m 2
1
3. Circle: Segment area  r 2    sin  
2
x2  y2  r 2
2. Ellipse:
 x  h 2   y  k 2  r 2 Area  ab
4. Parabola: Circumference  a  b 
y  ax 2  bx  c 3. Cylinder:
b Volume  r 2 h
axis at x 
2a Surface area  2rh  2r 2
5. Ellipse: 4. Pyramid:
x2 y2 1
 1 Volume  area base  height
a2 b2 3
6. Hyperbola: 5. Cone:
xy  k 1
Volume  r 2 h
3
x2 y2
  1 round x - axis  Curved surface  r
a2 b2
6. Sphere:
x2 y2
 2  2  1 round y - axis  A  4r 2
a b
4 3
STATISTICS V r
3
f x
x i i 7. Trapezoidal rule:
n
1 b  a 
 f  x0   2 f  x1     2 f  xn1   f  xn  
2  n  
 f i  xi  x 
2

s
n 1 8. Simpson’s rule:
1 b  a 
[ f  x0   4 f  x1   2 f  x2   4 f  x3  
n
 nL 3  n 
Me  L  2 c 2 f  x4     2 f  xn2   4 f  xn 1   f  xn ]
f me
9. Mid-Ordinate rule
b  a 

M0  L  
f m  f m 1   n   f  m1   f  m2     f  mn1   f  mn  
c
 2 f m  f m 1  f m 1 

MAT3700 xiv
HYPERBOLIC FUNCTIONS Compound angle addition and subtraction
e e x x formulae:
sinh x  sin(A + B) = sin A cos B + cos A sin B
2
sin(A – B) = sin A cos B – cos A sin B
e  e x
x
cos(A + B) = cos A cos B – sin A sin B
Definitions: cosh x 
2 cos(A – B) = cos A cos B + sin A sin B
e  ex
x
tan A  tan B
tanh x  x tan  A  B  
e  e x 1  tan A tan B
tan A  tan B
Identities: tan  A  B  
1  tan A tan B
cosh 2 x  sinh 2 x  1
1  tanh 2 x  sech 2 x Double angles:
sin 2A = 2 sin A cos A
coth 2 x  1  cosech 2 x cos 2A = cos2 A – sin2 A
1 = 2cos2 A – 1
cosh 2 x  1
sinh 2 x 
= 1 – 2sin2 A
2
1 sin2 A = ½(1 – cos 2A)
cosh 2 x  cosh 2 x  1 cos2 A = ½(1 + cos 2A)
2
2 tan A
sinh 2 x  2 sinh x cosh x tan 2 A 
1  tan 2 A
cosh 2 x  cosh 2 x  sinh 2 x
 2 cosh 2 x  1 Products of sines and cosines into sums or
 1  2 sinh 2 x differences:
sin A cos B = ½(sin (A + B) + sin (A – B))
TRIGONOMETRY cos A sin B = ½(sin (A + B) – sin (A – B))
cos A cos B = ½(cos (A + B) + cos (A – B))
Identities:
sin A sin B = –½(cos (A + B) – cos (A – B))
sin 2  cos2  1
Sums or differences of sines and cosines into
1 + tan 2  = sec 2 θ
products:
cot 2   1 = cosec 2  x  y  x y 
sin x  sin y  2 sin   cos 
sin(  ) =  sin θ  2   2 
cos (  ) =  cos θ  x  y   x y 
sin x  sin y  2 cos  sin  
tan (  ) =  tan θ  2   2 
sin x  y  x y 
tan  cos x  cos y  2 cos cos
cos  
 2   2 
 x  y   x y 
cos x  cos y  2 sin  sin  
 2   2 

MAT3700 xv
d f '( x)
DIFFERENTIATION 10. sin 1 f ( x) 
1   f ( x)
dx 2

dy f x  h  f x  d  f '( x)
1.  lim 11. cos 1 f ( x) 
dx h  0 h
1   f ( x) 
dx 2
d
2. k  0 d f '( x)
dx 12. tan 1 f ( x) 
1   f ( x)
dx 2
d
3. ax n  anx n 1 1
dx d  f '( x)
13. cot f ( x) 
1   f ( x) 
d dx 2
4. f .g  f .g ' g . f '
dx d f '( x)
14. sec 1 f ( x) 
d f g. f ' f .g '
f  x   f ( x)   1
2
5.  dx
dx g g2
d  f '( x)
15. cosec 1 f ( x) 
6.  f ( x)  n f ( x) . f ' ( x)
d n n 1
f  x   f ( x)  1
dx 2
dx
dy dy du dv d f '( x)
7.  . . 16. sinh 1 f ( x) 
dx du dv dx dx
 f ( x)2  1
8. Parametric equations d f '( x)
dy 17. cosh 1 f ( x) 
dy
dx
 f ( x)2  1
 dt
dx d f '( x)
tanh 1 f ( x) 
dx 18.
1   f ( x) 
dt dx 2

d  dy  d f '( x)
d y dt  dx 
2 19. coth 1 f ( x) 
1   f ( x)
2
 dx
dx 2 dx
d  f '( x)
dt 20. sech 1 f ( x) 
f  x  1   f ( x) 
9. Maximum/minimum dx 2

For turning points: f '(x) = 0


d  f '( x)
Let x = a be a solution for the above. 21. cosech 1 f ( x) 
f  x   f ( x)   1
dx 2
If f ''(a) > 0, then a minimum.
If f ''(a) < 0, then a maximum. z z z
For points of inflection: f "(x) = 0 22. Increments: z  . x  . y  . w
x y w
Let x = b be a solution for the above.
23. Rate of change:
Test for inflection: f (b – h) and f(b + h)
dz  z dx  z dy  z dw
Change sign or f '"(b) if f '"(b) exists.  .  .  .
dt  x dt  y dt  w dt

INTEGRATION
b 2
  dy 
1. By parts :  udv  uv   vdu 2. S   1    dx
  dx 
a
1 b 1 b 2
3. Mean value = 
ba a
y dx 4. R.M.S.  
ba a
y dx

MAT3700 xvi
TABLE OF INTEGRALS
ax(n 1 )
1.  ax n dx 
n 1
 c, n  1
n 1
 f(x)
  f(x)
n
2. .f'(x) dx   c, n  1
n 1
 f (x)
3.  dx  n f(x)  c
 f(x)

4.  f (x).e f(x) dx  e f(x)  c

a f(x)
5.  f (x).a f(x) dx 
n a
c

6.  f (x).sin f(x) dx   cos f(x)  c

7.  f (x). cos f(x) dx  sin f(x)  c

8.  f ( x). tan f(x) dx  n sec f(x)  c

9.  f (x).cot f(x) dx  n sin f(x)  c

10.  f (x).sec f(x) dx  n sec f(x)  tan f(x)  c

11.  f (x).cosec f(x) dx  n cosec f(x)  cot f(x)  c

12.  f (x).sec 2 f(x) dx  tan f(x)  c

13.  f (x).cosec 2 f(x) dx   cot f(x)  c

14.  f (x).sec f(x). tan f(x) dx  sec f(x)  c

15.  f (x).cosec f(x).cot f(x) dx  cosec f(x)  c

16.  f (x).sinh f(x) dx  cosh f(x)  c

17.  f (x).cosh f(x) dx  sinh f(x)  c

18.  f (x). tanh f(x) dx  n cosh f(x)  c

MAT3700 xvii
19.  f (x). coth f(x) dx  n sinh f(x)  c

20.   .sech 2 f(x) dx


f (x)  tanh f  x   c

21.   cosech 2 f(x) dx


f (x).   coth f  x   c

22.   sechf(x). tanh f  x  dx


f (x).  sech f(x)  c

23.   cosech f(x). coth f(x) dx  cosech f(x)  c


f (x).


 f  x  f  x 
24.  dx  arc sin    c


 a 2   f  x  
2  a 

f  x  f  x 

 1
25.  dx  arc tan    c
 f  x    a 2
 a


2
 a 


 f  x  f  x 
26.  dx  arc sinh    c


  f  x    a 2
2  a 


 f  x  f  x 
27.  dx  arc cosh    c
 a

  f  x    a 2
2  

f  x  f  x 

 1
28.  dx  arc tanh    c
a 2   f  x  
 a a


2
 

f  x  f  x 

 1
29.  dx   arc coth    c
 f  x    a 2
 a


2
 a 

 2 a2  f  x  f  x 2 2
30. 
 f   x  a 2   f  x   dx  arc sin   a   f  x    c
 2  a  2

 2 a2  f  x  f  x 2
31. 
 f   x   f  x    a 2 dx  arc sinh    f  x    a 2  c
 2  a  2

 2 a2  f  x  f  x 2
32. 
 f   x   f  x    a 2 dx   arc cosh    f  x    a 2  c
 2  a  2

MAT3700 xviii
TABLE OF LAPLACE TRANSFORMS

f  t  = L 1 F  s  F  s   L  f  t 
a a
s
tn n!
n 1
, n  1, 2,3, 
s
1
ebt s b
sin at a
s2 a2
cos at s
s2 a2
sinh at a
2 2
s a
cosh at s
2 2
s a
t n e bt n! , n  1, 2, 3, 
( s b )n 1
t sin at 2 as
( s 2  a 2 )2
t cos at s 2 a 2
( s 2  a 2 )2
t sinh at 2 as
( s 2  a 2 )2
t cosh at s2 a2
( s 2  a 2 )2

ebt sin at a
 s b  2  a 2
e bt cos at ( s b )
 s b   a 2
2

e bt sinh at a
 2  a 2
s  b

e bt cosh at  s b 
 s b  2  a 2
H t  c  e cs
s
H t  c .F t  c  cs
e . f s
t  a  e  as

L  f (t )  F ( s)
L  f '(t )  sF ( s)  f (0)
L  f "(t )  s 2 F ( s)  sf (0)  f '(0)
L  f '''(t )  s3 F ( s)  s 2 f (0)  sf '(0)  f ''(0)

MAT3700 xix
MAT3700 xx
MODULE 1
FIRST-ORDER DIFFERENTIAL EQUATIONS

LEARNING UNIT 1
SOLVING FIRST-ORDER DIFFERENTIAL EQUATIONS

OUTCOMES
At the end of this learning unit you should be able to
 find the order of a differential equation
 solve first-order differential equations by using
- direct integration
- separation of variables
- an integrating factor
 identify and solve linear, Bernoulli and homogeneous first-order
differential equations

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE
1.1 INTRODUCTION 2
1.2 FIRST-ORDER DIFFERENTIAL EQUATIONS 3
1.2.1 Direct integration 3
1.2.2 Equations with separable variables 4
1.2.3 Exact differential equations 5
1.2.4 Linear equations 7
1.2.5 Equations reducible to linear form – Bernoulli equations 9
1.2.6 Homogeneous equations 13
1.3 PARTICUAR SOLUTIONS 14
1.4 POST-TEST 15

MAT3700 1
1.1 INTRODUCTION

Equations that involve differential coefficients are called differential equations. They play an
important role in almost every branch of science and engineering, since most of the problems
of the physical world can be formulated as differential equations of one type or another.

For EXAMPLE:
y '  f ( x) (1.1)
3
 d2y  dy
 2   3  0 (1.2)
 dx  dx

2
 d3 y 
 3   y  e
x
(1.3)
 dx 

2u 2u
 0 (1.4)
x 2 y 2
are all differential equations. The first three of these are called ordinary differential equations
since they involve the ordinary derivatives of the unknown function y. In each case there is
only one independent variable x. Equation (1.4) contains partial derivatives of the unknown u
and hence is known as a partial differential equation.

In this course we shall be concerned only with ordinary differential equations and their
solutions. By solution we mean that we shall try to eliminate the differential coefficients
from the equation by means of integration. We shall then be left with a relation between the
two variables x and y. In practice, however, it is not always possible to integrate the functions
in question and so, in general, it is customary to regard a differential equation as solved when
it can be reduced to expressions of the form  f ( x) dx and    y  dy .

dy
In equation (1.1) y' is used to denote and this notation is frequently used. It can be
dx

d2 y
extended to higher order derivatives so that y "  and so on.
dx 2

MAT3700 2
You will recall from an earlier course that the order of a differential equation is the order of
the highest derivative occurring in it. Thus, equation (1.1) is of first order, (1.2) is of second
order and (1.3) is of third order. A differential equation of order n will have n arbitrary
constants in its solution. The degree of a differential equation is the degree of the highest
derivative contained in the equation after radicals and fractions have been cleared. Thus
equation (1.1) is of first degree, (1.2) is of third degree and (1.3) is of second degree.

1.2 FIRST-ORDER DIFFERENTIAL EQUATIONS


A large number of first-order differential equations, including many which are of practical
importance, can be classified into various types and the solutions can then be found by
established methods. We shall now study some of these.

1.2.1 Direct integration – equations depending on x only (without a y-term)

dy
Equations of the form  f ( x) can be solved by direct integration.
dx

The solution is y   f ( x ) dx  c

where c is the constant of integration and must always be included.

EXAMPLE 1
dy 1
Solve the equation:  0
dx x 2
SOLUTION
dy 1
 2
dx x
1
dy   2 dx
x
y  
1
 2 dx  c
x
1
y  c
x

MAT3700 3
1.2.2 Equations with separable variables

These are equations of the form


f ( x ) dx  f ( y ) dy

where f  x  is a function of x only and f  y  a function of y only.

In this case the variables are said to be separable. This type of equation can also be solved
directly, its solution being:

 f ( x ) dx   f ( y ) dy  c

If the equation is not given in the above form, it is sometimes possible to rearrange the terms
into two groups, each containing only one variable.

EXAMPLE 2
Solve the equation: x dy  y dx  0

SOLUTION
1
Divide through by to separate the variables:
xy
dy dx
 0
y x
 dy  dx
  C
 y  x
n y  n x  C
Since C is an arbitrary constant, we can set it equal to n k . We therefore have:
 n y  n x  n k
xy  k
1
The factor xy used to multiply through to separate the variables is called an integrating
factor. Different integrating factors will be needed for different examples.

MAT3700 4
1.2.3 Exact differential equations

An equation of the form

M  x, y  dx  N  x, y  dy  0

is said to be exact if it has been formed from its primitive by direct differentiation and
without cancelling out any common factor.

For example, if the primitive is x3  3 x 2 y  y 3  c ,

then by differentiation we get 3 x 2 dx  6 xy dx  3 x 2 dy  3 y 2 dy  0

 3x 2
  
 6 xy dx  3 x 2  3 y 2 dy  0

which is an exact equation.

Equations that are not exact can often be made so by multiplying through by an integrating
factor. In practice, however, this factor is not always easy to find. The next examples will
illustrate how we solve exact differential equations. The solution for an exact differential
equation will be a function of x and y.

EXAMPLE 3
Solve the exact differential equation:

 6 x2  10 xy  3 y 2  dx   5x2  6 xy  3 y 2  dy  0
SOLUTION

   
Solve: 6 x 2  10 xy  3 y 2 dx  5 x 2  6 xy  3 y 2 dy  0

 6 x2  10 xy  3 y 2  dx   5x2  6 xy  3 y 2  dy  0
Check if it is exact:
M N
 10 x  6 y and  10 x  6 y
y x
M N
Thus  and it is an exact differential equation.
y x
The signs in the check is very important. If the signs of the partial derivatives are not the
same, the check fails and we must look for another method to solve the equation.

MAT3700 5
We can find the solution, starting with
f
 M  x, y   6 x 2  10 xy  3 y 2
x
Direct integration to x gives
f  x, y   2 x 3  5 x 2 y  3xy 2  f  y 

f
 N  x, y   5 x 2  6 xy  3 y 2
y
Direct integration to y gives
f  x, y   5 x 2 y  3xy 2  y 3  f ( x )
By comparing the two functions for f ( x, y ) we find f  y    y 3 , and f ( x )  2 x 3
Therefore the solution is 2 x 3  5 x 2 y  3xy 2  y 3  C

EXAMPLE 4
1
Solve the differential equation xdy  ydx  x 2 dx given the integrating factor .
x2
SOLUTION
This is an example of a differential equation which is not exact that can be converted into an
exact one by using a suitable integrating factor. There is no general rule for finding this
factor. In this course the integrating factor will be given as part of the question.
1
Multiply the given equation with the given integrating factor of .
x2
1 y
dy  2 dx  dx
x x
Rearrange and group the terms in dx and dy together:
 y  1
  2  1 dx  dy  0 which compares to the form of an exact equation
 x  x

M  x, y  dx  N  x, y  dy  0.

Check if it is exact:
M 1 N 1
 2 and  2
y x x x
M N
Thus  and it is an exact differential equation.
y x

MAT3700 6
We can find the solution, starting with
f y
 M  x, y    2  1
x x
y
Direct integration gives f  x, y    x  f  y
x
f 1
Differentiate this answer for f  x , y  to find   f ' y
y x
By comparing with N in the given equation we find f '  y   0, so that f ( y )  c
y
Therefore the solution is  x  c.
x
1.2.4 Linear equations

dy
An equation of the form  Py  Q (1.5)
dx
where P and Q are functions of x only, is called a linear differential equation. It is so called
because the dependent variable y and its derivatives are of the first degree.
dy
The solution of  Py  0 (1.6)
dx
dy
  Pdx
y

is n y    Pdx  c

n y    Pdx  n k

ye 
 Pdx  n k

 e  . e n k
 Pdx

 y  ke 
 Pdx

ye 
Pdx
or k

On differentiating ye 
P dx
 k , that is
d
dxy 
Pd x d
 k  ,
dx
dy  Pdx
 yPe 
Pdx
we obtain e  0 using the product rule.
dx
 dy e   yPe  dx  0
Pdx Pdx

 e
Pdx
( dy  Pydx ) 0

This shows that e 


Pdx
is an integrating factor of equation (1.6).

MAT3700 7
We must therefore multiply both sides of our original equation (1.5) by the integrating factor
to obtain the equation:
Pdx  dy 
e   Py   Q e
 Pdx
 dx 

The left-hand side can be replaced by


d
dx 
ye 
Pdx

using the product rule in reverse, giving

us the equation:
d
dxye 
Pdx

 Qe 
Pdx


 ye    Qe  dx  c
Pdx Pdx
integrating both sides

 Pdx    Pdx dx  c 
and ye    Qe  (1.7)
 
We can solve first-order linear equations either by substituting for P, Q and  Pdx in this

formula or by multiplying both sides of the given equation by the integrating factor e  .
Pdx

We may omit the constant of integration from  Pdx since this cancels out.

EXAMPLE 5
dy
Solve: cos x  y sin x  1
dx

SOLUTION
We divide through by cos x to get:
dy
 y tan x  sec x
dx
This is of the form of a linear equation (refer to equation (1.5)) with P = tan x and Q = sec x.
Now  Pdx   tan x dx  n sec x
so the integrating factor is

e
Pdx
 en sec x  sec x (See note.)

We substitute for P, Q and e 


Pdx
in (1.7) to obtain:

MAT3700 8
y
1
sec x
  sec x.sec x dx  c 
1
  tan x  c 
sec x

 sin x  c cos x

NOTE:
Here we have used the fact that en sec x  sec x

because if y  n x then x  e y and it follows that x  en x .


1 1
This holds for any function of x, for example: e  n x  e n x  x 1  and
x
4
e 4 n x  en x  x 4 and
1
e n sin x 
sin x

1.2.5 Equations reducible to linear form – Bernoulli equations

dy
An equation of the form  Py  Qy n (1.8)
dx

is known as a Bernoulli equation and is the same as the linear equation (1.5) except for the
presence of the factor yn. The above equation can be reduced to the linear type by eliminating
yn using substitution as follows:
1 dy P
Multiply (1.8) by yn to obtain: n
 n1  Q (1.9)
y dx y

Let z = y1n.
dz dy
Then  1  n  y  n
dx dx
1 dy P
Multiply equation (1.9) by 1  n  : 1  n  n dx 
 1  n  n 1  1  n  Q
y y

dz dz
Substitute z and in this equation:  (1  n ) Pz  (1  n )Q
dx dx
which is a linear differential equation.

MAT3700 9
This can be solved in the usual way for linear equations, remembering to substitute back, that
is, put z = y1 – n in the final solution.

The general method for solving an equation in the form of a Bernoulli equation is illustrated
in the following example:

EXAMPLE 6
dy 1
 . y  xy 2
dx x

Step 1: Divide by the power of y on the right-hand side, which is y 2 in this example:

dy  1  1
y 2  y  x
dx  x 
Step 2: Now put z = y1  n, in this case z = y1:
dz dy
  y 2
dx dx
Step 3: Multiply throughout by 1:
dy  1  1
 y2    y  x
dx  x 

dz  1 
   z  x
dx  x 

 1
Step 4: This is a linear equation with P     and Q    x  . Now solve it:
 x

1
 Pdx   x dx  n x

e
1 1
 e  n x  e n x  x 1 
Pdx
x
Now from equation (1.7) the solution to the linear equation writing z for y is

ze 
 Pdx
 Qe Pdx
dx  c 
 1 
 x     x    dx  c 
 x 
x    1 dx  c 
 x(  x  c)
  x 2  cx

MAT3700 10
1
Step 5: Convert back to x and y, substitute z  y 1  :
y
1
  x 2  cx
y
y  (  x 2  cx ) 1

EXAMPLE 7
dy
Solve the equation:  y  xy 5
dx
SOLUTION
dy
Divide by y5: y 5  y 4  x (1.10)
dx
dz dy
Let z = y4, then  4 y 5
dx dx
Multiply equation 1.10 by 4:
dy
 4 y 5  4 y 4   4 x
dx
dz
Now substitute to z :  4z   4x
dx
Integrating factor is:  Pdx   4 dx  4 x
e
Pdx
 e4 x

Therefore: 
z  e  4 x  4  xe4 x dx  c 
Use integration by parts to solve the integral:
 1 
z  e  4 x   xe4 x  e4 x  c 
 4 
1
  x   ce 4 x
4
 Remember that e4 x .e4 x  e0  1.
1
Substitute back: y  4   x   ce  4 x
4

EXAMPLE 8
dy 1
Solve:  . y  x2 y6
dx x

MAT3700 11
SOLUTION
dy 1 5
Divide by y6: y 6  y  x2 (1.11)
dx x
dz dy
Put z  y 5 , then  5 y 6
dx dx
dz 5
Multiply equation (1.11) by 5 and substitute:  .z  5 x 2
dx x

 5
Integrating factor:  Pdx    x dx  5nx
e
1
 e 5 n x 
Pdx
x5

Therefore:

 
 1  
z  x 5   5 x 2 .  5  dx  c 
 x  
 
 x5  
5
  3 dx  c 
 x 
5 
 x 5  x 2  c 
2 
5
y 5  x 3  cx 5
2

EXAMPLE 9
dy 1
Solve:  y  x5 y 5
dx x
SOLUTION

Multiply through by y 5 to get:

dy y  4
y 5   x5
dx x

Using the substitution z  y 4


dz dy
we have   4 y 5
dx dx

5 dy y4
First multiply by –4:  4 y 4   4 x5
dx x
The equation to solve then becomes:
dz  4 
    z   4 x5
dx  x 

MAT3700 12
 4
This is a linear equation with P     and Q = (4x5).
 x

4 4
 Pdx   x dx   4n x  n x
We substitute into equation (1.7) writing z for y:

z  e n x     
  4 x 5 . e n x dx  c 
4 4

 
 x4    4 x5. x  4 dx  c 
 x 4    4 x dx  c 

 x 4  2 x 2  c 

 y  4  2 x 6  cx 4

1.2.6 Homogeneous equations

dy P( x, y)
These are equations of the form  (1.12)
dx Q( x, y)

where P and Q are homogeneous functions of the same degree in both x and y.
This means that the total degree for each term in the equation is the same.

x2 y 2  y 4
The expression is homogeneous, since each term is of the fourth degree.
xy 3

If we make the substitution y = v.x, where v is a function of x, then:


dy  vdx  xdv
and equation (1.12) will reduce to the form
dv
vx  F (v ) (1.13)
dx
P( x, vx)
where we have put F (v) 
Q( x, vx)
Equation (1.13) is now expressed in terms of v and x, and can be solved by separating the
variables.

MAT3700 13
EXAMPLE 10

dy x3  y 3
Solve: 
dx xy 2
SOLUTION
dy dv
Let y = vx, then v x
dx dx
and the given equation becomes:

dv x 3  v 3 x 3
vx 
dx x 3v 2

dv 1  v 3
x  2 v
dx v
dv 1  v 3  v 3
x 
dx v2
dv 1
x 
dx v 2
 2  dx
 v dv  
  x
v3
 n x  c
3
y3
Thus  n x  c
3x 3
Put k  n c
y3
kx  e 3 x
3

1.3 PARTICULAR SOLUTIONS

Thus far we have considered the constants of integration to be completely arbitrary, that is,
we have not assigned any particular values to them. A solution containing a number of
arbitrary constants, which is equal to the order of the equation, is called a general solution.

However, when certain information about the function is given, for example a value of y for a
value of x, we can assign particular values to the constants. This gives us a particular
solution. These given values of x and y are known as initial conditions.

MAT3700 14
EXAMPLE 11
dy
Solve the differential equation  y cot x  cos x given that y = 0 when x = 0.
dx
(The condition can also be written in functional notation as y  0   0 )

SOLUTION
This equation is linear with P = cot x and Q = cos x.

 Pdx   cot x dx  n sin x


And e 
Pdx
 en sin x  sin x

We substitute these values in equation (1.7) to get:

y
1
sin x 
 cos x sin x dx  c 
1 1 2 
  sin x  c 
sin x  2 
1
 sin x  c cosecx
2

This is the general solution of the given equation. The initial conditions for this problem are
y = 0 when x = 0.

Substituting these conditions in the general solution gives:


1
0  sin 0  c cosec0
2
1
0   0  c  0
2
c  0

The particular solution is obtained by inserting this value for c in the general solution so
that
1
y sin x .
2

MAT3700 15
1.4 POST-TEST: MODULE 1 (LEARNING UNIT 1)
(Solutions on myUnisa under additional resources)

Time: 90 minutes

1. Solve the following differential equations:

(a) 1  x2  y dx  1  y 2  x dy  0 (8)

(b) sin x cos y dx  sin y cos x dy (5)

2. Solve the following exact differential equation:

 2 xy  y 2  2 x  dx   x2  2 xy  2 y  dy  0 (5)

3. Solve the following linear equation:


dy
x  y  x2 (7)
dx

4. Solve the following differential equation:


dy
x 2  y 2  2 xy (14)
dx

5. Solve the following equation:


dy
 y  ex y4 (11)
dx

dy
6. Solve: 2 x  y  x( x  1) y 3 (10)
dx

4
dy 2
7. Solve:  . y  3x 2 y 3 (9)
dx x

dy
8. Solve:  y cos x  y n sin 2 x (13)
dx
[82]

MAT3700 16
You have now completed learning unit 1 and you should be able to
 find the order of a differential equation
 solve first-order differential equations by using
- direct integration
- separation of variables
- an integrating factor
 identify and solve linear, Bernoulli and homogeneous first-order
differential equations

We now move on to learning unit 2: Practical applications of first-order differential


equations.

MAT3700 17
MODULE 1
FIRST-ORDER DIFFERENTIAL EQUATIONS

LEARNING UNIT 2
PRACTICAL APPLICATIONS OF FIRST-ORDER DIFFERENTIAL EQUATIONS

OUTCOMES
At the end of this learning unit you should be able to solve practical problems in the areas of
 growth and decay
 cooling
 mixtures
 falling bodies with resistance

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

2.1 GROWTH AND DECAY 19


2.2 COOLING 20
2.3 MIXTURES 22
2.4 FALLING BODIES WITH RESISTANCE 24
2.5 OTHER APPLICATIONS 26
2.6 POST-TEST 27

MAT3700 18
We will now apply our knowledge of first-order differential equations to certain areas of
science and technology. We will approach this by doing an example in each area.

2.1 GROWTH AND DECAY

Suppose that we have a function N (t ) representing the amount of a substance that is either
growing or decaying. N (t ) represents the amount that is present at any time t. We will
dN
assume that , the rate of change of this substance at any time, t , is proportional to the
dt
amount of the substance present at that time.

dN dN
Then  kN or  kN  0 where k is the constant of proportionality.
dt dt

EXAMPLE 1
Radioactive material decays at a rate which is proportional to the amount present at a given
time. The half-life  of such material is defined as the time required for half of the original
material to decay. If A0 is the amount of radioactive material present originally and At the
amount present after a time t,

(a) find an equation to describe the radioactive process


(b) solve this equation
(c) calculate 

SOLUTION
dA
(a)  kA k a constant
dt
t

At
dA 
   k dt
 A0 A 
(b)
0

MAT3700 19
t

At
dA 
  k dt
 A0 A 0
n A At   kt 0
A t
0

n At  n A0   kt  k (0)
A 
n  t    kt
 A0 
At
 e  kt
A0
At  A0e  kt

1
(c) At t =  , then A  A0 .
2
1
Thus A0  A0 e  k 
2
1
 e k
2
k   n 21
  n 2

1
 n 2
k

2.2 COOLING

Newton’s law of cooling states that the time rate of change of the temperature of a body is
proportional to the temperature difference between the body and the surrounding medium.
Let T represent the temperature of the body and Tm the temperature of its surrounding
dT
medium. The time rate of change of the temperature of the body is . Newton’s law of
dt
dT
cooling can be written as   k  T  Tm  , where k is a positive constant.
dt

MAT3700 20
EXAMPLE 2
According to Newton’s law the rate of cooling of a substance in moving air is proportional to
the difference between the temperature of the substance and that of the air. The temperature
of the air is 30 C and a substance cools from 100 C to 70 C in 15 minutes.
(a) Write down the differential equation which illustrates Newton’s law of cooling in this
case.
(b) Find when the temperature will be 45 C.

SOLUTION
dT
(a)  k (T  30) , where k = constant, T = temperature and t = time.
dt

(b) First find the value of the constant k:


dT
Separate the variables  k dt .
T  30
Integrate between the limits t = 0 and t = 15, T = 100 and T = 70.
15 70 dT
0  kdt  
100 T  30
k 0  n  T  30 
15 70
100
15k  n 40  n 70
7
15k  n
4
 k  0.0373

Now integrate between the limits t = 0, T = 100 and t = t, T = 45:


45 dT t
100 T  30
 0.0373 dt
0

n15  n 70  0.0373t

 t  41.3 minutes

MAT3700 21
2.3 MIXTURES

Suppose you have a tank originally holding a quantity V0 of a solution that contains some
quantity a of a dissolved chemical. Another solution containing quantity b of the same
dissolved chemical is added to the tank at the rate of r1 , while at the same time the well-

mixed solution is emptied at the rate r2 . We want to find the quantity of the chemical in the

tank at any time t.


dQ
If we let Q(t) represent the amount of the chemical at any time, then represents the
dt
difference between the rate at which the chemical enters the tank and the rate at which it
leaves. The chemical enters the tank at the rate of br1 per unit of time. It leaves at the rate of

ar2 per unit of time. The volume in the tank at any time is V0  rt
1  r2 t , where V0 represents

Q
the volume at t = 0. Thus, the concentration of the chemical at any time is and so
V0  rt
1  r2 t

 Q 
it leaves at a rate of r2   per unit of time.
 V0  r1t  r2 t 

dQ  Q 
This means that:  br1  r2  
dt  V0  r1t  r2 t 
dQ  Q 
or  r2    br1
dt  V0  r1t  r2 t 

EXAMPLE 3
A certain chemical dissolves in water at a rate proportional to the product of the amount
undissolved and the difference between the concentration in the saturated solution and the
concentration in the actual solution. 50 grams of the substance is dissolved in 100 grams of a
saturated solution. If, when 30 grams of the chemical are agitated with 100 grams of water,
10 grams are dissolved in two hours, how much will be dissolved in 5 hours?

SOLUTION
Let x denote the number of grams of chemical undissolved after t hours. At this time the
30  x 50
concentration of the actual solution is and that of the saturated solution is .
100 100

MAT3700 22
dx  50 30  x 
Then:  kx   
dt  100 100 
 x  20 
 kx  
 100 
dx kdt

x ( x  20) 100
Now resolve the left-hand side into partial fractions and we eventually obtain:
dx dx k
  dt
x x  20 5
To find the value of k, integrate between t = 0 and t = 2, x = 30 and x = 30 10 = 20.
2
20
 dx  
20
dx k
    dt
30 x 30 x  20 5 0
2
k
n x 30  n  x  20 
20 20
 t
30 5 0

k
 n 20  n30   n 40  n50  (2)
5
2k
 n 20  n50   n 40  n30 
5

 n
 20 50  2k
 40  30  5
5 5
k n
2 6
 0.46
Now integrate between t = 0 and t = 5, x = 30 and x = x:
5
x
 dx  
x
dx k
    dt
30 x 30 x  20 5 0

5x
n k
3( x  20)
x 3
 e 0,46  0.38
x  20 5
 x  12

The amount dissolved after 5 hours is 30  12 = 18 grams.

MAT3700 23
EXAMPLE 4
A 100  tank is filled with a brine solution which contains 25 kg of salt. Water flows into
this tank at a rate of 8 litres per minute and the mixture, which is well stirred, flows away at
the same rate. How much salt will there be in the tank after 1 hour?

SOLUTION
Suppose the amount of salt in the tank after t minutes is a kg. During the interval dt, 8 litres
dt water will flow into the tank and
8a 2a
dt  dt
100 25
of salt solution will flow out of the tank. The change in the amount of salt thus is:
2a
da   dt
25
da 2
  dt
a 25
2
na   tc
25
2
 t
a  c1e 25

If t  0 then a  25
 c1  25 and
2
 t
a  25e 25
If t  60 then
120

a  25e 25
 0.2 kg

2.4 FALLING BODIES WITH RESISTANCE

The force F acting on a freely falling body in a vacuum is given by F  mg where m is the
mass and g is the force of gravity. Most of the time when an object falls, it is affected by a
resisting medium such as air. The resistance depends on the velocity and the size and shape
of the object. At relatively low velocities, the resistance appears to be proportional to the
velocity of kv, where k > 0.

MAT3700 24
Newton’s second law of motion states that the net force acting on a body is equal to the time
rate of change of the momentum of the body. For an object of constant mass, this means that
dv
F m , where F is the net force of the body and v its velocity, both at time t. Because the
dt
resistance opposes the velocity, the net force is F  mg  kv. Substituting this into the
dv dv
equation F  m , we obtain: mg  kv  m
dt dt
dv kv
or g  
dt m

EXAMPLE 5
A parachutist is falling with a speed of 50 m/s when his parachute opens. If the air resistance

Wv 2
is N where W is the total weight of the man and the parachute, find his speed as a
16
function of the time t after the parachute has opened.

SOLUTION
Net force on system = weight of system – air resistance

W dv Wv 2
W 
g dt 16

1 dv v2
 1
g dt 16

1 dv 16  v 2

g dt 16
dv gdt
  ( g  10 m/s2 )
v  16
2 16

Now integrate between the limits t = 0 and v = 50, t = t and v = v:

MAT3700 25
t

v
dv 10 
 2    dt
50 v  16 16 0

1 1 1 1 1 1 
Use partial fractions to find      
v  16 8  v  4  8  v  4  8  v  4 v  4 
2

v t
1  1 1  10 
       dt
8 50  v  4 v  4  16 0
v t
  1 1  
     5 dt
50  v  4 v  4  0
t
v4
v

n  5t
v  4 50 0

v4 46
n  n  5t
v4 54
 v  4 54 
n  .   5t
 v  4 46 
27 v  4
.  e 5t
23 v  4
 27  23e 5t 
We can show that v  4  5t 
 27  23e 

2.5 OTHER APPLICATIONS

EXAMPLE 6
Under certain conditions the constant quantity J joules/second of heat flowing through a wall
dT
is given by Q  kA
dx
where k is the conductivity of the material, A is the area of the face of the wall perpendicular
to the direction of flow and T is the temperature 10x mm from that face such that T increases
as x increases. Find the number of Joules of heat per hour flowing through one square metre
of the wall of a refrigerator room 125 cm thick for which k = 0.0025 if the temperature of the
inner face is –5 C and that of the outer face is 75 C.

MAT3700 26
SOLUTION

T1 = –5 °C

T2 = 75 °C

Let x denote the distance of a point within the wall from the outer face:
Q
dT   dx
kA
Integrate within the limits x = 0 to 125, T2 = 75 and T1 = –5:
5 125
 Q
 dT    dx
75 kA 0
5  Q  125
t    x
75  kA  0

 5 75    Q  125 0 


 kA 
Q
80  125
kA
80kA
Q joule
125
 0.64 kA joule
 (0.64)(0.0025)(1) joule
 0.0016 joule

MAT3700 27
2.6 POST-TEST: MODULE 1 (LEARNING UNIT 2)
(Solutions on myUnisa under additional resources)

Time: 30 minutes

1. A body with mass ma falls from rest in a medium for which the resistance (N) is
proportional to the square of the velocity. If the terminal velocity is 50 m/s, find
(a) the velocity at the end of 2 seconds
(b) the time required for the velocity to become 30 m/s (14)

2. Tank A initially contains 500  of a brine solution with a concentration of 0.5 kg per
litre and tank B contains 500  of water. Solution is pumped from tank A to tank B at
a rate of 4  /min and from tank B to tank A at a rate of 8  /min. The tanks are kept
well stirred. Let the number of kilograms of salt in tank A be A1 after t minutes and B1
in tank B.
(a) Write down equations showing, respectively, the concentrations C1 and C2 in
the tanks after t minutes. (2)
(b) Write down two differential equations to show how A1 and B1 vary with time.
(2)
(c) What is the relation between A1 and B1? (1)
(d) Eliminate B1 between the two equations in (b) and solve the resulting equation
for A1. (8)
(e) What is the concentration in tank A after 10 minutes? (1)
[28]

You have completed learning unit 2 and should be able to solve practical problems in the
areas of
 growth and decay
 cooling
 mixtures
 falling bodies with resistance

We can now move to learning unit 3 to learn how to solve first-order linear differential
equations using numerical methods.

MAT3700 28
MODULE 1
FIRST-ORDER DIFFERENTIAL EQUATIONS

LEARNING UNIT 3
NUMERICAL METHODS

OUTCOMES
At the end of this learning unit you should be able to
 state the reason for solving first-order differential equations using numerical methods
 obtain a numerical solution to first-order differential equations by using
- Euler’s metod
- Euler-Cauchy method
- Runge-Kutta method

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

3.1 INTRODUCTION 30
3.2 EULER’S METHOD 30
3.3 EULER-CAUCHY METHOD 30
3.4 RUNGE-KUTTA METHOD 30
3.5 POST-TEST 31

MAT3700 29
3.1 INTRODUCTION

A numerical method is a procedure that gives approximate solutions. We can often measure
certain points but would like to know the values at other points. With numerical methods we
can find these values.

The basic operations addition, subtraction, division and multiplication and the ability to use a
formula are used in numerical methods. To get the desired solution, a great deal of
calculations is often needed, which makes this ideal for calculator and computer programs.

Always evaluate the answer, as this is an important skill for you as an engineer combined
with your common sense.

You have used analytical methods to solve differential equations in the previous modules.
Sometimes it is difficult to find the solution using these methods. In these cases we can still
get a solution if we know some numerical methods. These methods use repeated calculations
so that the use of calculators and computer packages becomes very handy. You must,
however, be able to do it by hand first.

3.2 EULER’S METHOD


This method approximates the solution of a differential equation by using tangent lines.
Remember that the first derivative at a point gives the slope or gradient of the tangent line at
that point. This section must be studied from other sources. Refer to Tutorial Letter 101 and
myUnisa for the references to your prescribed book.

3.3 EULER-CAUCHY METHOD


This section must be studied from other sources. Refer to Tutorial Letter 101 and myUnisa
for the references to your prescribed book.

3.4 RUNGE-KUTTA METHOD


This section must be studied from other sources. Refer to Tutorial Letter 101 and myUnisa
for the references to your prescribed book.

MAT3700 30
3.5 POST-TEST: MODULE 1 (LEARNING UNIT 3)
(Solutions on myUnisa under additional resources)

Time: 45 minutes

dy
1. Use Euler’s method to find a numerical solution for the equation  1  xy given
dx
the initial conditions that x  0 when y  1 for the range x  0 to x  0.5 with
intervals of 0.1. (10)
dy y
2. Obtain a numerical solution for the differential equation  3 for the range
dx x
1.0  0.1 1.5, given the initial conditions x  1 when y  2. (15)

[25]

You should now be able to


 state the reason for solving first-order differential equations using numerical methods
 obtain a numerical solution to first-order differential equations by using
- Euler’s metod
- Euler-Cauchy method
- Runge-Kutta method

We can now move to module 2, learning unit 1 to learn how to solve second-order linear
differential equations with constant coefficients.

MAT3700 31
MODULE 2
SECOND-ORDER DIFFERENTIAL EQUATIONS

LEARNING UNIT 1
SOLVING SECOND-ORDER DIFFERENTIAL EQUATIONS WITH CONSTANT
COEFFICIENTS

Outcome
At the end of this learning unit you should be able to
 identify and solve the auxiliary equation of a second-order differential equation
d2y dy
 solve second-order differential equations of the form a 2  b  cy  0
dx dx

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

1.1 INTRODUCTION 33
1.2 SECOND-ORDER LINEAR EQUATIONS WITH
CONSTANT COEFFICIENTS AND Q = 0 33
1.2.1 Roots real and different 35
1.2.2 Roots real and equal 36
1.2.3 Roots complex 38
1.3 POST-TEST 41

MAT3700 32
1.1 INTRODUCTION

The simplest second-order linear differential equations are those of the form

d2y dy
a 2
 b  cy  Q (1.1)
dx dx
where Q is equal to zero, a constant or a function of x only, and a, b and c are constants. This
type of equation is frequently used to solve practical problems in the field of engineering.

In this unit we shall find the solution of equation (1.1) when Q = 0, and in the following unit
we shall deal with the cases for Q = k, a constant, and Q  f  x  .

1.2 SECOND-ORDER LINEAR EQUATIONS WITH CONSTANT


COEFFICIENTS AND Q = 0

d2y dy
When Q = 0, equation (1.1) reduces to a 2
 b  cy  0 (1.2)
dx dx

which is a homogenous equation. In finding the solution of this equation we shall make use
of Theorem 1.1.

THEOREM 1.1
If y = y1(x) and y = y2(x) are any two solutions of equation (1.2), then the linear combination
c1 y1 ( x)  c2 y2 ( x) with c1 and c2 constants is also a solution of (1.2).

By a linear combination we mean that c1 y1 ( x)  c2 y2 ( x)  0 for c1  0 and c2  0 .

This theorem can be extended to the general case for nth-order homogeneous linear
equations.
We suppose that y1 and y2 are two solutions of equation (1.2).

d 2 y1 dy
Then a 2
 b 1  cy1  0
dx dx

d 2 y1 dy
and multiplying by c1 we get: c1a 2
 c1b 1  c1cy1  0 (1.3)
dx dx

MAT3700 33
d 2 y2 dy
Also, a 2
 b 2  cy2  0
dx dx
which, on being multiplied by c2, becomes:
d 2 y2 dy
c2 a 2
 c2b 2  c2 cy2  0 (1.4)
dx dx
Adding equations (1.3) and (1.4) we find that:
 d2y d 2 y2   dy dy 
a  c1 21  c2 2 
 b  c1 1  c2 2   c  c1 y1  c2 y2   0
 dx dx   dx dx 

 d 2 y1 d 2 y2  d 2
But  c1 2
 c2   c1 y1  c2 y2 
 dx dx 2  dx 2

 dy1 dy2  d
and  c1 dx  c2 dx   dx  c1 y1  c2 y2  .
 

d2 d
Thus a 2  c1 y1  c2 y2   b  c1 y1  c2 y2   c  c1 y1  c2 y2   0
dx dx
which is the same as equation (1.2) with y replaced by  c1 y1  c2 y2  .

In other words, if y1 and y2 are solutions of (1.2), so also is c1 y1  c2 y2 .

Let us now assume a solution of equation (1.2) to be y  e m x .


dy
Then  me mx
dx
d2 y
and 2
 m 2 e mx .
dx
We substitute these values in (1.2) to obtain:
am 2 emx  bme mx  ce mx  0
Dividing through by emx gives
am 2  bm  c  0
which is a quadratic equation in m. As we know, this must have two roots which we shall call
m1 and m2. It is clear then that y  e and y  e m2 x are two solutions of the equation
m1x

d2y dy
a 2
 b  cy  0
dx dx
provided that m1 and m2 are roots of the equation
am 2  bm  c  0
which is called the auxiliary equation.

MAT3700 34
By Theorem 1.1 it follows that
y  c1e m1x  c2 e m2 x

is also a solution of the given equation and it is called the general solution provided that
c1e m1x  c2 e m2 x  0 .

The roots m1 and m2 may be real or complex, and they may be different (m1  m2) or equal
(m1 = m2). The method of solution of an equation varies according to the type of its roots.

1.2.1 Roots real and different

In this case the auxiliary equation has two real and different roots m1 and m2, and hence
y  e m1x and y  e m2 x are two solutions of the given equation. Since m1 and m2 are not equal,

we can see that c1e m1x  c2 e m2 x  0 .

(We assume here that the constants c1, c2, ..., cn are not all equal to zero.)

Therefore the linear combination


y  c1e m1x  c2 e m2 x (1.5)

is the general solution of the equation. c1 and c2 are the two arbitrary constants that we would
expect to find in the solution of a second-order differential equation.

EXAMPLE 1
d 2 y dy
Find the general solution of   2y  0 .
dx 2 dx

SOLUTION
d2 y 2 dy
First we form the auxiliary equation by writing m for 2
, m for and 1 for y.
dx dx
We have m2 + m – 2 = 0
which we factorise as (m – 1)(m + 2) = 0.
The roots are therefore m = 1 and m = –2.
Substitution of these values in equation (1.5) will give us the general solution
y  c1e x  c2 e 2 x .

MAT3700 35
EXAMPLE 2
d 2 y 3dy
Solve:   2y  0
dx 2 dx

SOLUTION
The auxiliary equation is: m2  3 m  2  0 .
 (m  1)(m  2)  0
The roots are therefore m = 1 and m = 2, giving the general solution:
y  c1e x  c2 e 2 x

1.2.2 Roots real and equal

d2 y dy
Consider the differential equation 2
 4  4y  0 .
dx dx
The auxiliary equation m 2  4m  4  0
 m  2
2
0

has two equal roots m = 2.

We would therefore expect the solution of the differential equation to be:


y  c1e 2 x  c2 e 2 x   c1  c2  e 2 x (1.6)

But c1e 2 x  c2 e 2 x is not a linear combination, since for c1  c2 this expression is equal to

zero. Also, equation 1.6 contains only one constant c1  c2  c3 , say, and a second-order

differential equation must have two constants in its solution. We therefore need another term
containing a second constant.

Let us assume that y  xe 2 x is also a solution.


dy
Then  e 2 x  2 xe2 x
dx
d2 y
and 2
 2e 2 x  2e 2 x  4 xe 2 x .
dx

MAT3700 36
We substitute these in the original equation to obtain
2e 2 x  2e 2 x  4 xe 2 x  4e2 x  8 xe2 x  4 xe 2 x  0

so that y  xe 2 x is indeed a solution, and the general solution is y  c1e 2 x  c2 xe2 x

where the right-hand side is obviously a linear combination.

In general, the differential equation (1.2) has the solution y  c1e m1x  c2 xe m2 x

when the roots of the auxiliary equation are real and equal.

EXAMPLE 3
d2y dy
Solve: 4 2
4 y0
dx dx

SOLUTION
We see that the auxiliary equation is 4m 2  4m  1  0
  2m  1  0
2

1
so that the two equal roots are m .
2
x x
 
Hence the general solution is y  c1e 2  c2 xe 2 .

EXAMPLE 4
d2 y dy
Solve: 2
 14  49 y  0
dx dx
SOLUTION
In this case the auxiliary equation is m 2  14m  49  0
  m  7  0
2

giving the two equal roots m = 7.


The general solution is y  c1e7 x  c2 xe7 x .

MAT3700 37
1.2.3 Roots complex

When the auxiliary equation cannot be solved by factorising as we have done in the previous
examples, we use the quadratic formula:

b  b 2  4ac
m (1.7)
2a
If the quantity within the square root sign is positive, the roots are real and the general
solution can be found as before. However, we sometimes have a minus sign within the square
root. For example, the quadratic equation
m2 + 2 m + 2 = 0
cannot be solved by direct factorisation, so we use the formula (1.7) which becomes
2  4  8
m
2
4
 1 
2
which in terms of i =  1 can be written as m  1  i .

We recall that the differential equation (1.2) has the general solution
y  c1em1x  c2 xe m2 x

when the roots m1 and m2 of the associated equation are real and different. For the case of
complex roots, m1 = a + ib and m2 = a – ib, and so the general solution is:
y  d1e a ib  x  d 2 e a ib  x (1.8)

From the theory of complex numbers we have the identities


eix  cos x  i sin x
and e ix  cos x  i sin x
so that e a ib  x  e ax eibx  e ax  cos bx  i sin bx 

and e a ib  x  eax e ibx  eax  cos bx  i sin bx  .

Substitution of these values in (1.8) gives


y  d1e ax  cos bx  i sin bx   d 2e ax  cos bx  i sin bx 

 e ax  d1  d 2  cos bx  i  d1  d 2  sin bx  (1.9)

 e ax  c1 cos bx  c2 sin bx 

MAT3700 38
where c1  d1  d 2 and c2  i  d1  d 2  .

Thus equation (1.9) is the general solution of the differential equation (1.2) when the
auxiliary equation has complex roots.

EXAMPLE 5
d2y dy
Solve the equation 2
 4  8y  0 .
dx dx

SOLUTION
The auxiliary equation m2 + 4m + 8 = 0 cannot be factorised, so we use formula (1.7) to
obtain:

 4  16  32
m
2
16
 2 
2
 2  2i
Here a = 2 and b = 2, so the general solution (1.9) is:
y  e 2 x  c1 cos 2 x  c2 sin 2 x 

EXAMPLE 6
d2y dy
Solve: 8 2
4  y 0
dx dx
SOLUTION
The auxiliary equation is 8m2 + 4m + 1 = 0.
We use the quadratic formula to obtain:

 4  16  32
m
16
1 16
 
4 16
1 i
 
4 4

 x
x
 x
The general solution is therefore y  e 4
 c1 cos  c2 sin  .
 4 4

MAT3700 39
EXAMPLE 7
d2 y
Solve:  7y  0
dx 2

SOLUTION
The auxiliary equation is m2 + 7 = 0
giving the roots m   7
  7i

and the solution is y  c1 cos 7 x  c2 sin 7 x .

EXAMPLE 8
d2 y
Solve:  9y  0
dx 2
SOLUTION
The auxiliary equation is m 2  9  0
 m2  9
and m  3

giving the general solution y  c1e3 x  c2 e  3 x .

If we use the hyperbolic identities


e 3 x = cosh3x + sinh3x
e  3 x = cosh3x – sinh3x
then the solution can be written as
y = c1(cosh3x + sinh3x) + c2(cosh3x – sinh3x)
= (c1 + c2)cosh3x + (c1  c2)sinh3x
= d1cosh3x + d2sinh3x
where we have set d1 = c1 + c2
d2 = c1  c2.
d2y
In other words, y1 = d1cosh3x + d2sinh3x is also a general solution of  9y  0 .
dx 2

MAT3700 40
1.3 POST-TEST: MODULE 2 (LEARNING UNIT 1)
(Solutions on myUnisa under additional resources)

Time: 60 minutes

Solve the following differential equations:

d2 y dy
1. 2
 10  24 y  0 (5)
dx dx

d2 y dy
2. 2
 6  6y  0 (6)
dx dx

d2 y dy
3. 2
2  y 0 (5)
dx dx

d2 y dy
4. 4 2
 12  9 y  0 (5)
dx dx

d2 y dy
5. 2
 2  10 y  0 (5)
dx dx

d2 y dy
6. 2
 4  11y  0 (5)
dx dx

d2 y
7.  4y  0 (5)
dx 2

d2 y
8.  16 y  0 (4)
dx 2
[40]

MAT3700 41
You should now be able to identify and solve the auxiliary equation of a second-order
differential equation and solve second-order differential equations of the form
d2y dy
a 2  b  cy  0 .
dx dx

We will now move to learning unit 2 and solve second-order differential equations of the

d2y dy
form a 2
 b  cy  Q with Q ≠ 0, using the method of undetermined coefficients.
dx dx

MAT3700 42
MODULE 2
SECOND-ORDER DIFFERENTIAL EQUATIONS

LEARNING UNIT 2
METHOD OF UNDETERMINED COEFFICIENTS

OUTCOME
At the end of this learning unit you should be able to solve second-order differential
d2y dy
equations of the form a 2  b  cy  Q when Q =
dx dx
 a constant
 a function of the first degree in x
 a function of the second degree in x
 an exponential function
 a trigonometric function
 a hyperbolic function
 a sum of functions

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

2.1 SECOND-ORDER LINEAR EQUATIONS WITH


CONSTANT COEFFICIENTS AND Q = f(x) OR
Q = k, A CONSTANT 44
2.1.1 Q = a constant 45
2.1.2 Q = a function of the first degree in x 46
2.1.3 Q = a function of the second degree in x 47
2.1.4 Q = an exponential function 48
2.1.5 Q = a trigonometric function 50
2.1.6 Q = a hyperbolic function 51
2.1.7 Q = a sum of functions 52
2.2 PARTICULAR SOLUTIONS 53
2.3 POST-TEST 55

MAT3700 43
2.1 SECOND-ORDER LINEAR EQUATIONS WITH CONSTANT
COEFFICIENTS AND Q = f(x) OR Q = k, A CONSTANT

You will remember from the previous unit that the equation

d2y dy
a 2
 b  cy  0
dx dx
has a general solution of the type
y  c1 y1 ( x)  c2 y2 ( x) (2.1)

where the exact form of y1(x) and y2(x) depends on the roots of the auxiliary equation, and c1
and c2 are constants. Now consider the equation

d2y dy
a  b  cy  Q
dx 2 dx
where Q  f  x  or Q = k, a constant. If the solution (2.1) is substituted in this equation, the

left-hand side (L.H.S.) will be equal to zero. Clearly another term is needed in the solution to
make the L.H.S. equal to Q (Q  0). To find this term we make use of:

THEOREM 2.1

d2y dy
If c1 y1 ( x ) and c2 y2 ( x ) is the general solution of a 2
 b  cy  0 (2.2)
dx dx
and if y0(x) is any one particular solution of the differential equation

d2y dy
a 2
 b  cy  Q (2.3)
dx dx
then the complete general solution of the equation is:
y  y0 ( x)  c1 y1 ( x)  c2 y2 ( x)

The part c1 y1 ( x)  c2 y2 ( x) of the solution is known as the complementary function (C.F.),

while y0(x) is called the particular integral (P.I.). The general solution is thus the sum of
the complementary function and the particular integral.

To solve a linear differential equation of the form (2.3), we first find the general solution of
the equation with Q = 0 (that is, an equation of the form (2.2)) using the methods studied in
learning unit 1 of this module. This gives us the C.F. Next we determine the P.I. by assuming

MAT3700 44
a trial solution of the general form of Q. The method of assuming a trial solution is called the
method of undetermined coefficients.

For example, if Q  2 x 2  3 x  6 we assume y  Ax 2  Bx  C .


This assumed solution is then substituted in the given equation and coefficients of like terms
are equated to obtain the values of the constants. We shall now discuss the various forms of
Q, showing the solutions obtained in each case.

2.1.1 Q = a constant

When Q = k, a constant, we assume y = A, a constant.


Q = a constant  y = a constant

EXAMPLE 1
d2 y dy
Solve: 2
 3  2y  4
dx dx

SOLUTION
The auxiliary equation is found from the homogeneous equation:
m 2  3m  2  0
( m  1)( m  2)  0
m 1 m  2
The roots m = 1, m = 2 are real and different, so the C.F. is
y  c1e x  c2 e 2 x .

To find the P.I., assume the general form y = A.


dy d2y
Then:  0 and 0
dx dx 2
Substituting these values in the given equation we obtain:
2A = 4
A=2
The P.I. is therefore y = 2
and the general solution is y  c1e x  c2 e 2 x  2 .

MAT3700 45
2.1.2 Q = a function of the first degree in x

If Q  k1 x  k2 where k1 and k2 are constants, we use the trial solution y  Ax  B and

substitute in the given equation. On equating coefficients we are able to find the values of A
and B. We can then determine the P.I. and finally the general solution.
Q  k1 x  k2  y  Ax  B

EXAMPLE 2
d2 y dy
Solve: 2
 6  9 y  54 x  18
dx dx
SOLUTION
To find the C.F. solve: m 2  6m  9  0
( m  3) 2  0
m3 m3

The C.F. is y  c1e3 x  c2 xe3 x

Since f(x) = 54x + 18, we assume the general form y  Ax  B

dy d2 y
Then  A and 0
dx dx 2
Substitution of these values in the original equation gives:
6 A  9 Ax  9 B  54 x  18
 9 Ax  (6 A  9 B)  54 x  18
We now equate coefficients of like terms:
x-terms: 9A = 54
A=6
Constant terms: 6A + 9B = 18
36 + 9B = 18
9B = 54
B=6
We have found that A = 6 and B = 6, so (2.4) becomes y = 6x + 6 which is the P.I.
The general solution is therefore:
y  c1e3 x  c2 xe3 x  6 x  6

MAT3700 46
2.1.3 Q = a function of the second degree in x

If Q  k1 x 2  k2 x  k3 , we assume: y  Ax 2  Bx  C (2.5)

Note that k2 and/or k3 can be zero. For example, if k2 = 0, then Q will have the form
Q  k1 x 2  k3 .

However, we still use (2.5) as a substitution.

Q  k1 x 2  k2 x  k3  y  Ax 2  Bx  c

EXAMPLE 3
d2 y
Solve: 2
 25 y  5 x 2  x
dx

SOLUTION
The auxiliary equation m2 + 25 = 0
has the roots m   25
  5i
so that the C.F. is y  c1 cos 5 x  c2 sin 5 x

Let y  Ax 2  Bx  C
dy
Then  2 Ax  B
dx
d2 y
and  2A
dx 2
These values are substituted in the given equation to get:
2 A  25 Ax 2  25Bx  25C  5 x 2  x
25 Ax 2  25Bx  (2 A  25C )  5 x 2  x
Equating coefficients of like powers gives:
x2-terms: 25A = 5
1
A=
5
x-terms: 25B = 1
1
B=
25

MAT3700 47
Constant terms: 2A + 25C = 0
2
 25C
5
2
C
125
The P.I. is therefore given by
x2 x 2
y  
5 25 125
and the general solution is:
x2 x 2
y  c1 cos 5 x  c2 sin 5 x   
5 25 125

2.1.4 Q = an exponential function

When Q  ke ax , we assume the general form Q  ke ax .

Q  ke ax  y  Ae ax

EXAMPLE 4
d2 y dy
Solve: 2
 6  8 y  8e 4 x
dx dx
SOLUTION
The auxiliary equation is: m 2  6m  8  0
(m  2)(m  4)  0
m2 m4

The C.F. is thus y  c1e 2 x  c2 e 4 x .

Let y  Ae 4 x be the trial solution.


dy
Then  4 Ae 4 x
dx
d2 y
and 2
 16 Ae 4 x .
dx
Substitution in the original equation gives 16 Ae 4 x  24 Ae 4 x  8 Ae 4 x  8e 4 x
8e 4 x  0
which is clearly not possible.

MAT3700 48
The usual method of determining the P.I. has failed in this case because the general form of
the right-hand side is already included in the C.F. In other words, the term e 4 x on the right-
hand side is also a solution of the homogeneous equation
d2 y dy
2
 6  8y  0 .
dx dx
To overcome this difficulty we multiply the assumed general form of the P.I. by x and
proceed as usual. Thus in the given example we assume y  Axe 4 x .
dy
Then  A(e 4 x  4 xe4 x )
dx
d2 y
and 2
 A(4e 4 x  4e 4 x  16 xe 4 x ) .
dx
When these values are substituted in the original equation we obtain:
8 Ae 4 x  16 Axe 4 x  6 Ae 4 x  24 Axe 4 x  8 Axe4 x  8e4 x
(8 A  6 A)e 4 x  8e 4 x

We equate the terms in e 4 x to get:


8A  6A = 8
A=4
The P.I. is therefore y  4 xe 4 x

giving the general solution y  c1e 2 x  c2 e 4 x  4 xe 4 x

In all cases where the general form of the right-hand side is included in the C.F., remember to
multiply the trial solution by x and continue as usual. If this term is also included in the C.F.,
then multiply again by x.

MAT3700 49
2.1.5 Q = a trigonometric function

For the trigonometric function Q = k sin ax or Q = k cos ax


the general form is y  A cos ax  B sin ax .

Q = k sin ax or k cos ax  y = A cos ax + B sin ax

EXAMPLE 5
d2y dy
Solve: 2
 2  y  4sin x
dx dx
SOLUTION
We read off the auxiliary equation which is: m 2  2m  1  0
(m  1) 2  0
m 1 m 1

The C.F. is y  c1e x  c2 xe x .

Although the R.H.S. is f  x   4sin x , it is necessary to assume the full general form

y  A cos x  B sin x
since in finding the differential coefficients, the cosine term will also give rise to sin x.
dy
We have   A sin x  B cos x
dx
d2 y
and   A cos x  B sin x .
dx 2
These values are substituted in the given equation so that:
 A cos x  B sin x  2 A sin x  2 B cos x  A cos x  B sin x  4sin x
( B  2 A  B) sin x  ( A  2 B  A) cos x  4sin x
2 A sin x  2 B cos x  4sin x
Equating coefficients of like terms gives:
sin terms: 2A = 4
A=2
cos terms: 2B = 0
B=0
The P.I. is therefore y = 2 cos x
and the general solution is y  c1e x  c2 xe x  2 cos x

MAT3700 50
2.1.6 Q = a hyperbolic function

In the case of the hyperbolic functions


Q = k sinh ax or Q = k cosh ax
we assume the trial solution
y = A cosh ax + B sinh ax.

Q = k sinh ax or k cosh ax  y = A cosh ax + B sinh ax

EXAMPLE 6
d2 y dy
Solve: 2
 4  4 y  2 cosh x
dx dx

SOLUTION
The auxiliary equation m 2  4m  4  0
has the two equal roots m  2 and m  2 .
The complementary function is therefore:
y  c1e 2 x  c2 xe 2 x

To find the P.I., let y  A cosh x  B sinh x .


dy
Then  A sinh x  B cosh x
dx
d2 y
and  A cosh x  B sinh x
dx 2
and the given equation becomes:
A cosh x  B sinh x  4 A sinh x  4 B cosh x  4 A cosh x  4 B sinh x  2 cosh x
 A  4 B  4 A cosh x   B  4 A  4 B  sinh x  2 cosh x
 5 A  4 B  cosh x   5B  4 A sinh x  2 cosh x
We equate coefficients of like terms to get:
sinh terms: 5B = 4A
4
B= A
5
cosh terms: 5A 4B = 2

MAT3700 51
16
5A  A =2
5
9
A =2
5
10
and A
9
8
B=
9
10 8
The P.I. is therefore y  cosh x  sinh x
9 9
10 8
and the general solution is y  c1e 2 x  c2 xe 2 x  cosh x  sinh x .
9 9

2.1.7 Q = a sum of functions

If Q is the sum of two or more functions, we assume the sum of the general form of each. If,
for example, Q  x  e x

the trial solution is y  Ax  B  Ce x .

Q  x  e x  y  Ax  B  Ce x

EXAMPLE 7
d2 y dy
Solve: 2
 3  2 y  2  ex
dx dx
SOLUTION
The auxiliary equation m 2  3m  2  0
has the roots m = 2 and m = 1
and so the C.F. is y  c1e x  c2 e 2 x .

Note that the term ex is contained in the C.F., so we assume y  A  Bxe x .


dy
Then  B(e x  xe x )
dx
d2 y
and 2
 B(e x  e x  xe x ) .
dx

MAT3700 52
Thus the given equation becomes:
2 Be x  Bxe x  3Be x  3Bxe x  2 A  2 Bxe x  2  e x
 B  3B  2 B  xe x  (2 B  3B)e x  2 A  2  e x
Equating coefficients of like terms we get:
ex terms: B = 1
B = 1
Constant terms: 2A = 2
A=1
The P.I. is therefore y  1  xe x

and the general solution is y  c1e x  c2 e 2 x  1  xe x .

2.2 PARTICULAR SOLUTIONS

The general solution of a second-order differential equation contains two arbitrary constants
c1 and c2, say. If we are given extra information that allows us to assign values to c1 and c2,
we then have a particular solution. The values of the constants can be found only from the
general solution and not from the complementary function.

EXAMPLE 8
d2 y dy dy
Solve the equation 2
 3  2 y  3sin x given that when x = 0, y = 0.9 and   0.7 .
dx dx dx
SOLUTION
The auxiliary equation is m2 + 3m + 2 = 0
(m + 1)(m + 2) = 0
giving the roots 1 and 2.
The C.F. is therefore y  c1e  x  c2 e 2 x .

The R.H.S. is a trigonometric function, so in finding the P.I. we assume y  A cos x  B sin x

dy d2 y
so that   A sin x  B cos x and   A cos x  B sin x .
dx dx 2

MAT3700 53
Substitution in the original equation gives:
 A cos x  B sin x  3 A sin x  3B cos x  2 A cos x  2 B sin x  3sin x
( B  3 A  2 B ) sin x  ( A  3B  2 A) cos x  3sin x
We equate coefficients of like terms to get:
cos terms: A + 3B + 2A = 0
A = 3B
sin terms: B 3A + 2B = 3
B + 9B + 2B = 3
3
B=
10
9
and A= 
10
9 3
The P.I. is y   cos x  sin x
10 10
9 3
and the general solution is: y  c1e  x  c2 e 2 x  cos x  sin x (2.6)
10 10
We can now find the values of c1 and c2 using the given information.
At x = 0, y = 0.9, so we insert these values into (2.6) which becomes:
9 9
  c1  c2 
10 10
c1   c2

dy
To find we differentiate (2.6) obtaining:
dx
dy 9 3
 c1e  x  2c2 e 2 x  sin x  cos x
dx 10 10
dy
We now substitute   0.7 and x = 0 and c1   c2 in this to get:
dx
7 3
  c2  2c2 
10 10
c2 + 2c2 = 1
 c2 = 1 and c1 = 1
9 3
The particular solution is y  e 2 x  e  x  cos x  sin x .
10 10

MAT3700 54
2.3 POST-TEST: MODULE 2 (LEARNING UNIT 2)
(Solutions on myUnisa under additional resources)

Time: 105 minutes

Solve the differential equations.

d2 y dy
1. 3 2
 2  y  2x  3 (14)
dx dx

d2 y dy
2. 2
 2  y  e 2 x (10)
dx dx

d2 y dy
3. 2
 4  4 y  x  2e 2 x (13)
dx dx

d2 y
4. 2
 4 y  2  4x2 (13)
dx

d2 y dy
5. 2
 2  2 y  85sin 3x
dx dx
dy
given that at x = 0, y = 0 and  20 (20)
dx
[70]
You should now be able to solve second-order differential equations of the form
d2y dy
a 2  b  cy  Q when Q =
dx dx
 a constant
 a function of the first degree in x
 a function of the second degree in x
 an exponential function
 a trigonometric function
 a hyperbolic function
 a sum of functions

We can now move to module 3, learning unit 1, an introduction to differential operators.

MAT3700 55
MODULE 3
DIFFERENTIAL OPERATORS

LEARNING UNIT 1
INTRODUCTION TO DIFFERENTIAL OPERATORS

OUTCOMES
At the end of this learning unit you should be able to apply the
 differential operator D to a function
1
 inverse differential operator to a function
D

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

1.1 THE DIFFERENTIAL OPERATOR D 57


1
1.2 THE INVERSE OPERATOR 58
D

1.3 IMPORTANT THEOREMS 59


1.4 POST-TEST 62

MAT3700 56
1.1 THE DIFFERENTIAL OPERATOR D
dy
The symbol means that the operation of differentiation with respect to x is performed on
dx
d
the function y. Thus is an operator and for convenience we can replace it with the symbol
dx
dy
D. In this notation is written as Dy. Similarly,
dx

d2y d  dy 

 
dx 2dx  dx 
 D( Dy )
 D2 y
and in general:

dn y
n
 Dn y
dx

The usual rules of differentiation still apply, for example:

 
D x2  2 x

D e 2 x   2e 2 x
D  x sin 2 x  sin 2 x  2 x cos 2 x
 e x  e x ( x  1)
D  
 x  x2

 
D3 5 x 4  D 2 20 x3  
 D{60 x 2 }
 120 x

The symbol D, when combined with constants, obeys many of the ordinary laws of algebra.

If a and b are constants, then:


1. D(ay )  ( Da) y  aDy


For example: D 10e3 x  10 D e3 x   
 30e3 x

MAT3700 57
2.  D  a  y  Dy  ay
For example:  D  5 sinh x  D{sinh x}  5sinh x
 cosh x  5sinh x

3. D(u  v)  Du  Dv

   
For example: D 4 x 2  3cos 3x  D 4 x 2  D 3cos 3x
 8 x  9sin 3x

4. D m ( D n y )  D n ( D m y )  D m n y


For example: D D 2 3x 3  18 
D 2 D 3x 3  18

D 3 3x 3  18

5.  D  a  ( D  b) y   D 2  aD  bD  ab  y

 D 2  (a  b) D  ab y 
For example:  D  2  ( D  4){sin 2 x}
 
 D 2  2 D  8 {sin 2 x}

 D 2 {sin 2 x}  2 D{sin 2 x}  8sin 2 x


  4sin 2 x  4 cos 2 x  8sin 2 x
 12sin 2 x  4 cos 2 x

1
1.2 THE INVERSE OPERATOR
D

Since we have defined the operator D as being one of differentiation, it follows that its
1
inverse will indicate the process of integration with respect to x. However, we make one
D
stipulation, namely that the arbitrary constant of integration be omitted at each stage of
integration.

MAT3700 58
The usual rules of integration apply, so that, for example:
1
D
 
3 x 2  2 x  9  x3  x 2  9 x

1  e2 x 
1 2x
D2
e   cos x  
D  2
 sin x 

e2 x
  cos x
4

1.3 IMPORTANT THEOREMS

THEOREM 1.1

 
F  D  e ax  e ax F (a )

where F(D) is any function of D and a is a constant.

Note that the result is the original expression with D replaced by a.

This applies to any function of D operating on eax .


For example, let F(D) = D2  1.

  
Then: D 2  1 e ax  eax (a 2  1)

  
Check by using algebraic methods: D 2  1 e ax  D 2 e ax  e ax  
 D aeax   e ax

 a 2 eax  e ax
 eax (a 2  1)

Thus a replaced D in the given function D 2  1 .  

1
In particular, the theorem holds for F ( D) 
f ( D)
1 1 ax
so that e ax  e .
f ( D) f (a)

e 3 x
For example:
D2  4
1
 
e 3 x  e 3 x
1
 32  4

13

MAT3700 59
THEOREM 1.2

 
F  D  e ax . y  e ax F ( D  a)  y

where F(D) is any function of D, y a non-exponential function of x and a a constant.

In general, D n (eax y )  e ax ( D  a ) n y
1
and in particular, when F ( D)  , we have
f ( D)
1
f ( D)
 
e ax . y  e ax
1
f ( D  a)
 y .

For example, let F(D) = D + 2.

 
Then: ( D  2) e ax y  e ax   D  a   2  y

  
Check by algebra: ( D  2) e ax y  D eax y  2eax y 
 aeax y  e ax Dy  2e ax y
 e ax (a  D  2) y
 e ax   D  a   2  y

so that (D + a) replaces D in the original function and e ax moves to the left, leaving only y to
be acted on by D.

THEOREM 1.3
 sin ax   sin ax 
F (D2 ) 
cos ax 

  F  a  
2

cos ax 

Thus when a function of D 2 operates on sin ax or on cos ax (or on both), the sin ax or

 
cos ax does not change but D 2 is replaced by   a 2  everywhere.

Note that this applies only to D 2 and not to D.

1
For example, find: sin 2 x  3cos x
D 5
2

MAT3700 60
1 1
 sin 2 x  2 3cos x
D 5 2
D 5
1 1
 sin 2 x  3cos x
4 5 1  5
sin 2 x 3cos x
 
9 6
sin 2 x cos x
 
9 2

When the operator form of D contains D terms as well as D 2 terms, we can handle the
solution as follows:
1
For example, find: {4 cos 3 x}
D  10 D  25
2

We can substitute  a 2  for D 2 and obtain:

1
{4 cos 3x}
D  10 D  25
2

1
 {4 cos 3x}
9  10 D  25
1
 {4 cos 3 x}
10 D  16
1 1
 . {4 cos 3 x}
2 5D  8
5D  8
Multiply the expression by :
5D  8
1  5D  8 
 . {4 cos 3x}
2 25D 2  64
1
 .
 5D  8 {4 cos 3x}
2 (25)( 9)  64
1  5D  8 
 . {4 cos 3x}
2 289
1
 (5D  8){4 cos 3x}
578
60 32
 sin 3x  cos 3x
578 578
30 16
 sin 3x  cos 3x
289 289

MAT3700 61
1.4 POST-TEST: MODULE 3 (LEARNING UNIT 1)
(Solutions on myUnisa under additional resources)

Time: 35 minutes

Determine:

1. D 3
 D 2  D  1 5 (3)

2.  2D 2
 4 D  3 sin x (3)

 cos 5 x 
3. D 2  (3)
 x 1
1
4. cosh 4x (3)
D

2 
5 x 2  sin 3x
1
5. (3)
D
6. D 2
 7 D  3e 2 x  (3)

7.
1
 D  2  D  4 
e  2 x
3x 2

 1 (5)

8.
1
 D  3 D  1
e  x
2 x 2

 3cos 4 x  (5)

[28]

You should now be able to apply the differential operator D and the inverse differential
1
operator to a function.
D

We will now move to the next unit and learn how to solve differential equations using
differential operators.

MAT3700 62
MODULE 3
DIFFERENTIAL OPERATORS

LEARNING UNIT 2
DIFFERENTIAL EQUATIONS AND D-OPERATOR METHODS

OUTCOME
At the end of this learning unit you should be able to solve second-order differential
d2y dy
equations of the form a 2  b  cy  Q , using D-operator methods when Q =
dx dx
 a constant
 a polynomial in x
 a trigonometric function
 a hyperbolic function
 a product of functions

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

2.1 USE OF THE D-OPERATOR IN SOLVING SECOND-ORDER


d2y dy
DIFFERENTIAL EQUATIONS OF THE FORM a 2
 b  cy  Q
dx dx

WHEN Q = f(x) 64
2.1.1 When Q is a constant 64
2.1.2 When Q is a polynomial in x 66
2.1.3 When Q is an exponential function 68
2.1.4 When Q is a trigonometric function 70
2.1.5 When Q is a hyperbolic function 74
2.1.6 When Q is a product of functions 76
2.2 POST-TEST 79

MAT3700 63
2.1 USE OF THE D-OPERATOR IN SOLVING SECOND-ORDER
d2y dy
DIFFERENTIAL EQUATIONS OF THE FORM a 2
 b  cy  Q
dx dx
WHEN Q = f(x)

2.1.1 When Q is a constant

When Q is a constant, we have an equation of the form f ( D)  y  k

1
so that the P.I. is given by y  k.
f ( D)

Since e0 x  e0  1, it follows that k can be multiplied by this factor without changing its

value. We then have y 


1
f ( D)
 
ke0 x

which, by Theorem 1.1, page 59, becomes:


1
y k * (In this case a = 0.)
f (0)

EXAMPLE 1
d2y dy
Solve 2
3  2y  4
dx dx

SOLUTION
Written in D notation this is ( D 2  3D  2) y  4

To find the C.F. we first solve the equation ( D 2  3D  2) y  0


On factorising we obtain ( D  2)( D  1) y  0

so that the C.F. is y  c1e  x  c2 e2 x

1
The P.I. is found by solving y .4
D 2  3D  2

which, on being multiplied by e0x, becomes y 


1
D  3D  2
2  
. 4e0 x

1
We can now apply Theorem 1.1, page 59, to obtain y  .4
002

MAT3700 64
where the function of D has become the same function of a which, in this case, is zero.
Thus the P.I. is y = 2
and the general solution is y  c1e  x  c2 e 2 x  2

1
The above method of solution breaks down when f(0) = 0, since then we have y  .k which
0
is undefined. We can get around this problem by first factoring f ( D ) and then applying
Theorem 1.1, page 59, to only one of the operators.

EXAMPLE 2
1
Evaluate y .5
D  2D
2

SOLUTION
1
If we were to introduce the factor e0x and proceed as above, we would get y  .5
0
which is undefined. Instead we factorise f(D) to obtain
1
y .5
D( D  2)

.5e0 x 
1 1
 .
D D2
where we have multiplied by a factor e0x.
We can now apply Theorem 1.1, page 59, to only the second operator, so that:

y
1 1

DD2
 

. 5e0 x 

1 1 
  5. 
D 02
1 5
  
D2
5x

2

MAT3700 65
2.1.2 When Q is a polynomial in x

When F(D) = xn, the particular integral has the form:

. x n 
1
y
f ( D)
1
We expand in a series of ascending powers of D by the ordinary methods of algebra.
f ( D)

. x n  can be found. This


1
Then, since more than n differentiations of xn gives zero,
f ( D)
method can be extended to any polynomial in x.

EXAMPLE 3
d 3 y dy
Solve 3
  x3
dx dx

SOLUTION
We write this in terms of D-operators as D 3
 D  y  x3

The C.F. is found from the equation: ( D3  D) y  0


D( D 2  1) y  0

The roots are D = 0 and D = i


so that the C.F. is: y  c1e0 x  c2 cos x  c3 sin x
 c1  c2 cos x  c3 sin x
To find the P.I. we solve

y
D D
3
1
 
. x3


1
D( D  1) 2  
. x3

  .x3 
1 1
 . 1  D2
D
We can use the binomial theorem to expand ( (1  D 2 ) 1 as:

(1  D 2 ) 1  1  D 2  D 4  D 6  ...

MAT3700 66
y
D
1
1  D 2  D 4  D 6  ... x 3 

1 
   D  D 3  D 5  ...  x 3 
D 
1 x4
 x 
3
But
D 4
D  x   3x 2
3

D 2  x3   6 x
D3  x3   6
D 4  x3   0

x4
so that the P.I. is y   3x 2  6
4
x4
and the general solution is y  c1  c2 cos x  c3 sin x   3x 2  6
4

EXAMPLE 4
d2 y dy
Solve: 2
 3  2 y  x2  2x
dx dx

SOLUTION
The equation may be written as: D 2
 3D  2  y  x 2  2 x

The homogenous form of this is D 2


 3D  2  y  0
 D  2  D  1 y  0
so that the C.F. is y  c1e x  c2 e2 x .

The P.I. is found by solving y


1
D  3D  2
2  x2  2 x  .

We divide 1 by D2 + 3D + 2 by ordinary algebraic long division as follows:

Rearrange divisor: 2  3D  D 2

MAT3700 67
1 3 7
 D  D 2  higher powers
2 4 8
2  3D  D2 1
3 1
1 D  D2
2 2
3 1 2
 D D
2 2
3 9 3
 D  D2  D3
2 4 4
7 2 3 3
 D  D
4 4
..........................
We can stop here because the derivatives of the polynomial in the example becomes
zero after the second derivative.

1 3 
y    D  D 2  ...  x 2  2 x
7
Thus
2 4 8 
1 3  1 3 
   D  D  ...  x 2     D  D 2  ...  2 x
7 2 7
2 4 8  2 4 8 
1 2 3 7  1 3 7 
  x   2 x    2    2 x    2   0
2 4 8  2 4 8 
1 3 7 3
 x2  x   x 
2 2 4 2
1 2 1 1
 x  x
2 2 4
1 2 1 1
The general solution is y  c1e  x  c2 e 2 x  x  x
2 2 4
Note: Using long division is only applicable when Q is a polynomial in x.

2.1.3 When Q is an exponential function

When Q  ke a x , the particular integral has the form:

y
1
f ( D)
keax  (2.1)

We can apply Theorem 1.1, page 59, to this provided that f  a   0 .

If f  a   0 , we are not able to use Theorem 1.1 since in that case equation (2.1) would have

the form y 
1
f ( D)
 ke ax  
1
f (a)
 ke ax   ke ax .
1
0

MAT3700 68
However, if we multiply (2.1) by the factor 1, we do not alter its value and it then becomes

y
1
f ( D)
 ke ax .1

on which we can use Theorem 1.2, page 60, to obtain:


1
y  ke ax .1
f ( D  a)
If necessary, f(D + a) can then be factorised and Theorem 1.1, page 59, applied to only one
operator.

EXAMPLE 5
d2 y
Solve 2
 y  3e x  5e 2 x
dx

SOLUTION
The D-operator form of this is D 2
 1 y  3e x  5e2 x

and the C.F. is found from the equation D 2


 1 y  0

The roots are D = i


and the C.F. is y  c1 cos x  c2 sin x

To find the P.I., we evaluate y


1
D 1
3e x  5e2 x 
2

 2
1
D 1
3e x   2
D 1
1
5e2 x 

We now apply Theorem 1.1, page 59, with a = 1 in the first term and a = 2 in the second:
1 1
y  (3e x )  (5e2 x ) 2
1 1
2
2 1
3 x
 e  e2 x
2
3
The general solution is y  c1 cos x  c2 sin x  e x  e2 x .
2
EXAMPLE 6
d2 y dy
Solve 2
 4  4 y  e2 x
dx dx

MAT3700 69
SOLUTION
The C.F. is found from: D 2
 4D  4 y  0

 D  2 y0
2

D2
Thus y  c1e2 x  c2 xe2 x

To find the P.I., solve: y


1
e 2x
(2.2)
 D  2
2

On applying Theorem 1.1, page 59, to this we obtain

y
0
 
1 2x
e

which is undefined. So since f(a) = 0, Theorem 1.1 breaks down.


However, if we multiply equation 2.2 by 1, we do not alter its value and we get:

y
1
e .1
2x

 D  2
2

1
By Theorem 1.2, page 60, this becomes: y  e 2 x 1
 D  2  2
2

1
 e2 x 1
D2
1
 e2 x .x
D
x2
 e2 x
2
x2 2 x
The general solution is therefore y  c1e 2 x  c2 xe2 x  e .
2

2.1.4 When Q is a trigonometric function

Remember: D{sin x} = cos x


D{tan x} = sec2x

D2{3 sin x + cos 4x}


= D(3 cos x  4 sin 4x)
= 3 sin x  16 cos 4x

MAT3700 70
Furthermore: (D  3) {sin 2x}
= D {sin 2x} 3{sin 2x}
= 2 cos 2x – 3 sin 2x

and (D 2  7 D  3) {sin 3x  2 cos 3 x}


 D 2 {sin 3 x  2 cos 3 x}  7 D {sin 3 x  2 cos 3x}  3sin 3 x  6cos 3x
 D{3cos 3x  6sin 3x}  7 {3cos 3 x  6sin 3x}  3sin 3 x  6 cos 3x
  9 sin 3x  18cos 3x  21cos 3x  42sin 3x  3sin 3x  6cos 3x
 36sin 3x  33cos 3x
1
The inverse operator indicates integration with respect to x while the arbitrary constant is
D
omitted.
1
Thus: {sin 5 x  2 cos 3x}
D2
1   cos5 x 2sin 3x 
   
D 5 3 
sin 5 x 2 cos 3x
 
25 9
Also refer to Theorem 1.3, page 60.

EXAMPLE 7
d2 y
Solve  4 y  sin 3x
dx 2

SOLUTION
The equation D 2
 4   y  0

has the roots: D   4


D   2i
Thus the complementary function is y  c1 cos 2 x  c2 sin 2 x .

1
The particular integral is determined by the equation: y  sin 3x
D 4
2

1
 sin 3x
9  4
sin 3 x

5

MAT3700 71
sin 3x
The general solution is y  c1 cos 2 x  c2 sin 2 x  .
5

EXAMPLE 8
d2 y dy
Solve 2
 4  13 y  2sin 3x
dx dx

SOLUTION
The complementary function is: D 2  4 D  13  0
4  16  52
D
2
 23j

Thus: y  e 2 x ( A cos 3 x  B sin 3 x)


The particular integral is:
1
y {2sin 3 x}
D 2
 4 D  13
1
 {2sin 3 x}
(9  4 D  13)
1
 {2sin 3 x}
(4  4 D )
1 1
 {sin 3 x}
2 (1  D)
1 1 D
 {sin 3 x}
2 (1  D 2 )
1 1  D 
 {sin 3 x}
2 (1  (9))
1
  sin 3x  3cos 3x 
20
1
Thus the general solution is y  e 2 x { A cos 3x  B sin 3x}  {sin 3 x  3cos 3 x} .
20
The case when F ( a 2 )  0 :

We know that e j  cos   j sin 

Therefore cos  is the real part of e j . Let us write it as R e j . Likewise it follows that sin 

is the imaginary part of e j and therefore we write I e j .

MAT3700 72
Let us now do an example where we have to find:
1
y sin 3x
D 9 2

If we use the ordinary method we obtain:


1
y  sin 3x
0
Therefore we use the following method:

e j 3 x  cos 3x  j sin 3x
 
I e j 3 x  sin 3x

1
Now yI {e j 3 x .1}
D 9
2

1
 I e3 jx {1}
( D  3 j )2  9
1
 I e j3x {e0 x}
D( D  6 j )
1 1
 I e3 jx . e0 x .
D 06j
11
 I e3 jx .  
D 6 j 
x
 I e3 jx .
6j
1 x
 I (cos 3 x  j sin 3x )
6 j
1
 I  x sin 3x  jx cos 3x 
6
x cos 3x

6

MAT3700 73
2.1.5 When Q is a hyperbolic function

For the hyperbolic functions k cosh ax and k sinh ax we make use of the exponential forms.
In this case we use the identities:
 e ax  e  ax 
k cosh ax  k  
 2 

 e ax  e  ax 
k sinh ax  k  
 2 
1
Thus: k cosh ax
f ( D)
1  e ax  e  ax 
k  
f ( D)  2 
k  1 ax 1 
  e  e  ax 
2  f (a ) f (a) 

1
and k sinh ax
f ( D)
1  e ax  e  ax 
k  
f ( D)  2 
k  1 ax 1 
  e  e  ax 
2  f (a ) f (a) 

EXAMPLE 9
d2 y dy
Solve 2
 4  4 y  cosh 3x
dx dx

SOLUTION
The C.F. is the general solution of the equation:  D 2  4 D  4  y  0
( D  2) 2 y  0

The C.F. is given by y  c1e 2 x  c2 xe 2 x .

MAT3700 74
1
We find the P.I. by solving y  cosh 3 x
( D  2) 2
1  e3 x  e 3 x 
  
 D  2
2
 2 

1 1 1 
  e 3x
 e 3 x

2   D  2 2 ( D  2) 2

 
1 1 1 
  e3 x  e 3 x 
2  (3  2) 2
(3  2) 2

1  1 3x 
  e  e 3 x 
2  25 
1 3 x 1 3 x
 e  e
50 2
1 3 x 1 3 x
The general solution is therefore y  c1e 2 x  c2 xe2 x  e  e
50 2

For the hyperbolic functions we can also use the following theorem:

THEOREM 2.1
 sinh ax  2  sinh ax 
F (D2 )    F (a )  
cosh ax  cosh ax 

EXAMPLE 10
d2 y dy
Solve 2
 4  4 y  cosh 3x
dx dx

SOLUTION
The C.F.: ( D  2) 2 y  0
 y  c1e 2 x  c2 xe 2 x

1
The P.I.: y cosh 3 x
D  4D  4
2

1
 cosh 3x
4 D  13


 4 D  13 cosh 3x
16 D 2  169

MAT3700 75

 4 D  13 cosh 3x
25
12 sinh 3x  13cosh 3x

25
12sinh 3 x  13cos 3 x
The general solution: y  c1e 2 x  c2 xe2 x 
25
(As an exercise show that this is the same answer as obtained in example 9.)

2.1.6 When Q is a product of functions

1
When Q is the product of two or more functions, the method of evaluating Q
f ( D)
depends, of course, on the types of function in question. For example, if Q has the form
k e ax f  x  , then the particular integral is found by evaluating:

y
1
f ( D)
 ke ax . f ( x)

On applying Theorem 1.2, page 60, we obtain


1
y  ke ax  f ( x)
f ( D  a)
which is then solved in the usual way.

EXAMPLE 11
d 2 y dy
Solve 2
  y  xe x  e x sin x
dx dx

SOLUTION
The equation D2 + D + 1 = 0 cannot be solved by factorising, so we use the quadratic formula
to obtain:
1  1  4
D
2
1 3
  i
2 2

x
 3 3 
The C.F. is therefore y  e 2
 c1 cos x  c2 sin x  .
 2 2 

MAT3700 76
To determine the P.I. we evaluate:

y
1
D  D 1
2  xe x  e x sin x

 2
1
D  D 1
e x ( x  sin x)

By Theorem 1.2, page 60, this becomes:


1
y  ex  x  sin x
( D  1)  ( D  1)  1
2

1
 ex 2  x  sin x
D  2D  1  D  1  1
1
 ex 2  x  sin x
D  3D  3

sin x 
1 1
 ex  2  x  2
 D  3D  3 D  3D  3 

For convenience, we shall evaluate each of the two terms in brackets separately.
1
Let A x
D  3D  3
2

1
and B sin x
D  3D  3
2

so that y  e x ( A  B) (*)

To find A we first divide 1 by D2 + 3D + 3 as follows:


1 1
 D  higher powers
3 3
3  3D  D 2 1
1
1  D  D2
3
1 2
D  D
3
1
 D  D2  D3
3

We can stop here because we do not need higher powers than D since
D  x  1, D 2  x  0 .

MAT3700 77
1 1 
Thus: A    D   x
3 3 
1 1
 x
3 3

1
To evaluate B: B  sin x
D  3D  3
2

1
 sin x
3D  2
 3D  2 
 sin x
9D2  4
1
  (3cos x  2sin x)
13

We insert the values for A and B in equation (*), so that the P.I. is
1 1 1 
y  e x  x   (3cos x  2sin x 
3 3 13 
x x
e e
 ( x  1)  (3cos x  2sin x)
3 13

and the general solution is



x
 3 3  ex ex
ye 2
 c1 cos x  c2 sin x   ( x  1)  (3cos x  2sin x) .
 2 2  3 13

MAT3700 78
2.2 POST-TEST: MODULE 2 (LEARNING UNIT 2)
(Solutions on myUnisa under additional resources)

Time: 120 minutes

Solve the following differential equations using D-operator methods:


d 3 y d 2 y dy
1.   y5 (7)
dx 3 dx 2 dx

d2 y dy
2. 2 2  4  3y  x (8)
dx dx

d2 y dy
3. 2
 4  3 y  x3 (10)
dx dx

4. D 2
 4D  4 y  x2 (6)

5. D 2
 2 D  3 D 2  2 D  3 y  x  x 2 (10)

 D  2   D  1 D  4D  9 y  0
3 2 2 2
6. (9)

d2 y dy
7. 2
 2  2 y  sin 2 x (10)
dx dx

d2 y dy
8. 2
 2  y  e x (10)
dx dx

d2 y dy
9. 2
 6  9 y  e x sin x (10)
dx dx

d2 y
10.  y  3cos x (10)
dx 2
[90]

MAT3700 79
You should now be able to solve second-order differential equations of the form
d2y dy
a 2  b  cy  Q , using D-operator methods when Q =
dx dx
 a constant
 a polynomial in x
 a trigonometric function
 a hyperbolic function
 a product of functions

We can now move on to the next learning unit and use D-operator methods to solve
simultaneous differential equations.

MAT3700 80
MODULE 3
DIFFERENTIAL OPERATORS

LEARNING UNIT 3
SIMULTANEOUS DIFFERENTIAL EQUATIONS

OUTCOMES
At the end of this learning unit you should be able to solve simultaneous differential
equations using D-operator methods by
 elimination
 determinants and Cramer’s rule

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

3.1 INTRODUCTION 82
3.2 BASIC PROCEDURES TO BE FOLLOWED TO
OBTAIN A SOLUTION 82
3.3 THE USE OF DETERMINANTS TO OBTAIN A
SOLUTION 84
3.4 POST-TEST 88

MAT3700 81
3.1 INTRODUCTION

We consider equations with more than two variables, but only one of the variables is
independent. Furthermore the equations are linear with constant coefficients. An example of
such a system of equations is:
dx dy
2   6 x  y  et
dt dt
dx
3 x  y  0
dt
d
If we write D for , we can also express the above equations as follows:
dt
2  D  3 x   D  1 y  et
 D  3 x y  0

We want to solve the system of equations for x and y where both are functions of t.
dx dy
Second example:   y 1
dt dt
dx dz
  2x  z  1
dt dt
dy dz
  y  2z  0
dt dt
or
Dx   D  1 y  1
 D  2  x   D  1 z  1
 D  1 y   D  2  z  0
We want to solve this system of equations for x, y and z where all are functions of t.

3.2 BASIC PROCEDURES TO BE FOLLOWED TO OBTAIN A


SOLUTION

Consider the following simultaneous equations:


dx dy
 x y 0  3.1
dt dt
dy
 5x  3 y  0  3.2 
dt

MAT3700 82
We write the equations in a D-operator form:
 D  1 x   D  1 y  0 (3.3)
5 x   D  3 y  0 (3.4)

Now eliminate x between these two equations (regard D as an algebraic multiplier).


Multiply (3.3) by 5 and (3.4) by (D + 1):
5  D  1 x  5  D  1 y  0
5  D  1 x   D  1 D  3 y  0

The right-hand side remains zero as we multiply 0 by 5 and by (D + 1), respectively.


Now subtract these equations to eliminate x and proceed to find y:
5  D  1 y   D  1 D  3 y  0
D 2
 D  2 y  0

D 2
 D  2 y  0
  D  2  D  1  0
D  2 or D  1

Thus y  Ae 2t  Be t (3.5)
Substitute (3.5) in (3.4) to obtain x:

5 x   D  3  Ae 2t  Be  t   0
5 x  2 Ae 2t  Be t  3 Ae 2t  3Be t  0

Thus: x  
1
5
 5 Ae 2 t  2 Be  t  (3.6)

This method is known as elimination.

Let us do another example:


Consider the system:
dx dy
2   6 x  y  et  3.7 
dt dt
dx
 3x  y  0  3.8
dt
We can write this system as:
2  D  3 x   D  1 y  et (3.9)

 D  3 x y  0 (3.10)

MAT3700 83
Eliminate y: Multiply (3.10) by  D  1 :

2  D  3 x   D  1 y  et
 D  1 D  3 x   D  1 y  0

Subtract these equations:

2  D  3   D  1 D  3 x  e t

D 2
 3 x  e t (3.11)

D 2
 3 x   e t

The complementary function of the differential equation (3.11) is:


x  A cos 3t  B sin 3t
For the particular integral:

x
1
D 3
2  et 

et

4
et
Thus the general solution is x  A cos 3t  B sin 3t  .
4
Substitute (as you are used to do) this value of x in (3.10) to obtain:
 et 
y    D  3  A cos 3t  B sin 3t  
 4
et 3et
 3 A sin 3t  3B cos 3t  3 A cos 3t  3B sin 3t  
4 4
  
3 A  3B sin 3t   
3B  3 A cos 3t  et

3.3 THE USE OF DETERMINANTS TO OBTAIN A SOLUTION

Consider the system:


2  D  2  x   D  1 y  et
 D  3 x y  0

x y
Use Cramer’s rule for two variables: x  and y 
 
Rewrite as: .x   x and .y   y

MAT3700 84
The solution of the above system for x expressed in terms of determinants is:
2  D  2 D 1 et D 1
. x 
D3 1 0 1

Thus  2  D  2    D  1 D  3  x  et  0

 
 2 D  4  D 2  2 D  3  x  et
 
 2 D  4  D 2  2 D  3  x  et
  D 2  1 x  et

 D2  1 x  et
Solving for x by using the usual methods we obtain
1
x  c1 cos t  c2 sin t  et
2
and the solution of the above system for y expressed in terms of determinants is:
2  D  2 D 1 2  D  2 et
.y 
D3 1 D3 0

Thus  2  D  2    D  1 D  3  y    D  3 et  0

  
 D 2  1 y   et  3et 
 D2  1 y  4et
Solving for y by using the usual methods we obtain:
y  c3 cos t  c4 sin t  2et

We can also solve for y by substituting the solution for x in one of the given equations.

EXAMPLE 1
Solve the following system:

 D 2  2  x  3 y  e 2t
 D2  2 y  x  0
Also find a particular solution if x = y = 1, Dx = Dy = 0 if t = 0.

MAT3700 85
SOLUTION
D2  2 3 e2t 3
.x
1 D2  2 0 D2  2

Thus  D4  1 x  6e2t .
Complementary function: D4  1  0
 D  1 D  1  D 2  1  0
Thus x  Aet  Be-t  C cos t  E sin t .

Particular function:
1
x 6.e2t
D 14

6e2t

15
2
 e 2t
5
The general solution for x is thus:
2
x  Aet  Bet  C cos t  E sin t  e2t
5
Substitute for x in the first equation:

y
1
3

( D 2  2) x  e2t 
1
3
 
 2  
  D 2  2  Aet  Bet  C cos t  E sin t  e2t   e2t 
 5  
1 8 4 
  Aet  Bet  C cos t  E sin t  e2t  2 Aet  2 Bet  2C cos t  2 E sin t  e2t  e2t 
3 5 5 
1
3
  1
  Aet  Bet   C cos t  E sin t   e2t
15

2
If t = 0, then: x  A BC 
1
5
4
and Dx  A  B  E   0
5
1 1
while y A  B  C   1
3 15
1 2
and Dy    A  B   E   0
3 15

MAT3700 86
You can now solve for A, B, C and E to obtain:
3 7 19 1
A , B , C and E
4 4 10 5

Thus the required particular solution is:

x
4

1 t
 1 2
3e  7e t  19 cos t  2 sin t   e 2t
10 5

y
1
12
  1 1
3et  7e t  19 cos t  2 sin t   e2t
10 15

MAT3700 87
3.4 POST-TEST: MODULE 3 (LEARNING UNIT 3)
(Solutions on myUnisa under additional resources)

Time: 90 minutes

Solve the following simultaneous differential equations:

1. Dx  ( D  1) y  et (10)
x  ( D  1) y  e 2t

2.  D  1 x   D  3 y  et  1 (12)
 D  2  x   D  1 y  e2t  t

dx
3.  2x  3 y  t (11)
dt
dy
 3x  2 y  e2t
dx

4.  D  1 x   D  2  y  1  et (21)
 D  2  y   D  1 z  2  et
 D  1 x   D  1 z  3  et
[54]

You should now be able to solve simultaneous differential equations using D-operator
methods by elimination and by determinants and Cramer’s rule.

We can now move to the next learning unit and solve practical problems resulting in
differential equations by using D-operator methods.

MAT3700 88
MODULE 3
DIFFERENTIAL OPERATORS

LEARNING UNIT 4
PRACTICAL APPLICATIONS

OUTCOMES
At the end of this learning unit you should be able to solve problems using D-operator
methods relating to
 electric circuits
 vibrating systems
 beams

Refer to Tutorial letter 101 for the reference to the pages you must study from your
prescribed book.

CONTENTS PAGE

4.1 APPLICATION TO ELECTRIC CIRCUIT PROBLEMS 90


4.2 APPLICATION TO VIBRATING SYSTEM PROBLEMS 94
4.3 APPLICATION TO BEAM PROBLEMS 99
4.4 POST-TEST 104

MAT3700 89
4.1 APPLICATION TO ELECTRIC CIRCUIT PROBLEMS

Differential equations are indispensable in nearly every branch of engineering. In electrical


engineering, for instance, second-order linear differential equations are used to describe the
flow of electricity in a circuit. A simple electric circuit can consist of the following elements
in series with a switch:
 a battery or a generator supplying an electromotive force E (volts)
 a resistor having resistance R ohms ()
 an inductor having inductance L (henrys)
 a capacitor having capacitance C (farads)

R C

Figure 4.1
When the switch is closed, a charge Q (coulombs) will flow to the capacitor plates. The time
dQ
rate of flow of charge, that is  I , is called the current and is measured in amperes when
dt
t is in seconds. Kirchhoff’s second law states that the algebraic sum of the voltage drops
around a closed loop is equal to zero, so for the circuit shown above we have

d 2O dQ 1
L 2
R  QE (4.1)
dt dt C
where

d 2Q dI
L 2
L is the voltage drop across the inductor
dt dt
dQ
R  RI the voltage drop across the resistor
dt
1
Q the voltage drop across the capacitor
C
E the voltage drop across the generator

MAT3700 90
Solving this equation (4.1) will give us the charge Q(t) after time t, from which we can
dQ
determine the current I  .
dt

Equation (4.1) is a second-order linear differential equation with constant coefficients which
can be solved using the D-operator methods studied in learning units 2 and 3. Note, however,
that in this case Q and t are the dependent and independent variables, respectively, instead of
y and x to which we have been accustomed.

d
The operator , that is the time rate of change of a function, frequently crops up in practical
dt
applications and is often denoted by a dot over the variable.

dx
For example  x
dt
dy
 y
dt
d2x d  dx  d
    x  
x
dt 2 dt  dt  dt
d
We found it convenient to use the letter D for the differential operator . Since D has no
dx
numerical value of its own and merely indicates the process of differentiation of the function
d dx
to which it is attached, we can also use D in place of so that can be written Dx.
dt dt

EXAMPLE 1
An inductor of 1 henry, a resistor of 6  and a capacitor of 0.1 F are connected in series with
an electromotive force of 20sin2t volts. At t = 0 charges on the capacitor and the current in
the circuit are zero. Find the charge and current at any time t > 0.

SOLUTION
Let Q be the instantaneous charge at time t. Then by Kirchhoff`s laws:

d 2Q dQ 1
2
6  Q  20sin 2t
dt dt 0.1

MAT3700 91
d 2Q dQ
or 2
6  10 Q  20sin 2t
dt dt
d
On using the operator D  , this equation becomes:
dt

 D2  6D  10 Q  20sin 2t
To find the complementary function (C.F.), we solve

 D2  6D  10 Q  0
6  36  40
which has the roots D 
2
4i 2
 3 
2
 3  i

The C.F. is thus y  e 3t  c1 cos t  c2 sin t 

The given equation can be written as


1
Q 20sin 2t
D 2  6 D  10
from which we evaluate the particular integral (P.I.):
1
Q 20sin 2t
D  6 D  10
2

1
 20 sin 2t
6D  6
10 1  D  1
  sin 2t
3 D  1  D  1
10  D  1
 sin 2t
3 D2  1
10 1
  ( D  1) sin 2t
3 5
2
  (2 cos 2t  sin 2t )
3
2 4
 sin 2t  cos 2t
3 3
The general solution is
4 2
Q  c1e 3t cos t  c2 e3t sin t  cos 2t  sin 2t (4.2)
3 3

MAT3700 92
Since initial conditions are given, we can find the values of the constants c1 and c2, and thus a
particular solution. Remember that c1 and c2 cannot be found from the C.F., but only from the
general solution.
dQ
At t = 0, Q = 0 and I =  0.
dt
We insert the given values for t and Q into (4.2) to obtain:
4 2
0  c1e0 cos 0  c2 e0 sin 0  cos 0  sin 0
3 3
4 2
0  c1 11  c2 1 0   1   0 
3 3
4
0  c1 
3
4
c1 
3

Differentiation of (4.2) yields:


dQ 8 4
 3c1e 3t cos t  c1e 3t sin t  3c2 e3t sin t  c2 e3t cos t  sin 2t  cos 2t
dt 3 3
dQ
We now substitute for t, and c1, so that
dt
4 4
0  3   c2 
3 3
8
 c2 
3
4 8 4 2
 Q(t )  e 3t cos t  e 3t sin t  cos 2t  sin 2t
3 3 3 3

and
dQ 4 28 8 4
I   e 3t cos t  e3t sin t  sin 2t  cos 2t
dt 3 3 3 3

As t increases, e 3t tends to zero very rapidly so that for large t the terms containing e 3t are
negligible. These are called transient terms or the transient part of the solution, while the
remaining terms, usually of the form A cos at  B sin at , are known as the steady-state terms
or steady-state solution.

MAT3700 93
4.2 APPLICATION TO VIBRATING SYSTEM PROBLEMS

In this section we shall study the motion of a mass m which is fastened to the lower end of a
vertical coiled spring, the upper end of which is rigidly secured.

Figure 4.2
We assume that the tension in the spring is proportional to the extension (i.e. we assume that
Hooke’s law holds), so that if a tension P produces an extension s, we have P = ks, where k is
known as the spring constant.

When a mass m is attached to the spring, then P = mg so that for equilibrium


mg = ks
mg
and k ( g  9.81 m/s2 )
s

Suppose now that the mass is given a small vertical displacement and then released. It will
undergo vibrations along a vertical line. Let y be the distance of the mass from the
equilibrium position at any instant.

MAT3700 94
d2y
By Newton’s second law the equation of motion is m   ky (4.3)
dt 2
d2y
where ky is the restoring force exerted by the spring on the mass. The acceleration is
dt 2
upwards and hence positive, while the displacement y is negative because it is downwards.

EXAMPLE 2
A spring is stretched 98.1 mm by a body of mass 4 kg. Let a body of mass 16 kg be attached
to the spring and released 250 mm below the point of equilibrium with an initial velocity of
1 m/s directed downwards. Describe the motion of the body (g = 9.81 m/s2).

SOLUTION
From the given information we can find the spring constant k.
We have m = 4 kg and s = 98.1 mm = 0.0981 m so that:
4  9.81
k
0.0981
 400
We now substitute in equation (4.3) to get:
d2 y
16   400 y
dt 2
d2 y
or  25 y  0
dt 2
This second-order linear differential equation is then solved in the usual way.
The D-operator equation ( D 2  25) y  0 has the roots 5i, so that the general solution is

y  c1 cos 5t  c2 sin 5t .

The initial conditions enable us to evaluate c1 and c2.


At t = 0, y  250 mm   14 m . We work in m since the mass is in kg and g = 9.81 m/s2.

1
  c1 cos 0  c2 sin 0
4
1
  c1 1  c2  0 
4
1
 c1  
4

MAT3700 95
dy
Differentiation of the solution yields  5c1 sin 5t  5c2 cos 5t .
dt
dt
We are given that at t = 0,  1 . (The initial velocity is directed downwards at 1 m/s.)
dt
dy
 5c1 sin 5t  5c2 cos 5t
dt
 1
1  5    sin 0  5c2 cos 0
 4
 1  5 c2
1
c2  
5
1 1
The general solution of the system is given by y   cos 5t  sin 5t .
4 5
The amplitude of the motion is a  c12  c12
1 1
 
16 25
41

20
m
and its period is T  2
k
16
 2
400
2

5

So far the only force which we have taken into account is the restoring force which is
proportional to the displacement. When this is the only force acting, the vibrations are said to
be free. However, it often happens that there is also a resistance known as a damping force
dy
which is proportional to the velocity and oppositely directed. When this force is present,
dt
equation (4.3) becomes
d2y dy
m 2
 ky  c
dt dt
d2 y dy
or m 2
 c  ky  0 (4.4)
dt dt
where c is called the damping constant. This equation gives the motion of a system
performing damped vibrations.

MAT3700 96
EXAMPLE 3
A system vibrates according to the equation
d2 y dy
2
 2  4y  0
dt dt
where y is the displacement and t the time. Determine y in terms of t given that when t = 0,
dy
y = 0 and  2 3 . Discuss the motion of the system as t  .
dt

SOLUTION
The auxiliary equation
m 2  2m  4  0
has the roots
2  4  16
m
2
12i 2
 1 
2
 1  3i


so that the general solution is y  e t c1 cos 3 t  c2 sin 3 t  (4.5)

dy
The initial conditions tell us that when t = 0, y = 0 and  2 3 , so we substitute for t and y
dt
in (4.5) to find that c1  0 .

Differentiation of equation (4.5) gives


dy
 c1e  t cos 3t  c1 3e t sin 3 t  c2 e t sin 3 t  c2 3e t cos 3 t
dt
dy
and we substitute for t, c1 and in this to obtain
dt
2 3  c2 3
 c2  2

So y  2e t sin 3t and as t  , y  0.

Frequently, in addition to the forces already discussed, there may also be a variable external
force f  t  acting vertically on the mass. In this case it is said to undergo forced vibrations.

MAT3700 97
The motion of a body undergoing damped forced vibrations is described by the differential
equation:
d2 y dt
m 2
 c  ky  f (t )
dt dt
The most common form of f  t  in practical application is

f (t )  c1 cos at  c2 sin at

EXAMPLE 4
The equation of motion of a body performing damped forced vibrations is
d2 y dy
2
 5  6 y  cos t
dt dt
dy
Solve this equation given that y = 0.1 and  0 when t = 0.
dt
SOLUTION
The C.F. is found from the auxiliary equation:
m 2  5m  6  0
 m  3 m  2   0
Thus y  c1e 2t  c2 e 3t

To find the P.I. we assume the general form


1
y cos t
D  5D  6
2

1
 cos t
5D  5
1 1  D  1
  cos t
5 D 1 D 1
1  D  1
 cos t
5 D2  1
1
  D  1 cos t
10
1
   sin t  cos t 
10
1
  sin t  cos t 
10
1 1
and the general solution is y  c1e 2t  c2 e 3t  cos t  sin t .
10 10

MAT3700 98
We are now able to find a particular solution from the given initial conditions.
1 1
When t = 0, y = 0.1: y  c1e 2 t  c2 e 3t 
cos t  sin t
10 10
0.1  c1e  c2 e  0.1cos 0  0.1sin 0
0 0

0.1  c1  c2  0,1
 c1   c2
dy
Substituting for t = 0 and  0:
dt
dy
 2c1e 2 t  3c2 e 3t  0.1sin t  0.1cos t
dt
0  2c1  3c2  0,1
but c1  c2
 c1  0.1 and c2  0.1

The required particular solution is therefore


y  0.1( e 3t  e 2 t  cos t  sin t )

4.3 APPLICATION TO BEAM PROBLEMS

The force of gravity causes a beam which is supported at both ends to sag in the middle and a
beam rigidly fixed at one end to sag only at the free end. In each case the beam is said to be
deflected and the shape into which its axis is bent is called the curve of deflection or elastic
curve. An important problem in mechanical engineering is to find the equation of this curve.

Let x be a point on a transversely loaded beam. The bending moment at x is given by


EI
M ( x)  (4.6)
R
where E is the modulus of elasticity for the beam,
I the moment of inertia of a small cross-section at x and
R the radius of curvature of the curve of deflection at x.
1 d2 y
Since the curvature is very small,  and equation (4.6) becomes:
R dx 2
d2 y
M  EI (4.7)
dx 2

MAT3700 99
This is called the bending equation for a transversely loaded beam. The exact form of M
depends on the manner in which the beam is supported. When we know this, we are able to
substitute for M in equation (4.7) and hence solve the equation to find the curve of deflection.

EXAMPLE 5
For a simply supported beam, that is one supported at both ends, the bending moment is
kx
given by M  ( x  b)
2
(4.8)
where b is the length of the beam and
k its uniform load per unit length.
Find the equation of the curve of deflection and its maximum deflection.

Figure 4.3

SOLUTION
Combining equations (4.7) and (4.8) we get:

d 2 y 1  kx 2 kbx 
   
dx 2 EI  2 2 

We integrate this equation to obtain:

dy k  x 3 bx 2 
     c1 (4.9)
dx 2 EI  3 2 

MAT3700 100
b
At the midpoint of the beam, that is where x  , the curve levels out and the beam is
2
dy
horizontal, so that  0 . In order to evaluate c1, we substitute these values in equation
dx
(4.9):
k  b3 b3 
0     c1
2 EI  24 8 
k  b3 
     c1
2 EI  12 
k b3
c1  
2 EI 12

Equation (4.9) now becomes:

dy k  x 3 bx 2 b3 
    
dx 2 EI  3 2 12 

Integrating again we get:

k  x 4 bx 3 b3 x 
y      c2
2 EI  12 6 12 

At the two ends of the beam, that is at x = 0 and x = b, we have y = 0.


Substitution of these values yields c2 = 0

The equation of the curve of deflection of the given beam therefore is:

y
k
24 EI
 x4  2bx3  b3 x 

b
The maximum deflection of the beam occurs at the midpoint, that is at x  .
2
 b4 b4 b4 
k
At this point: y  16  4  2 

24 EI 
4
k 5b
 
24 EI 16
5 kb 4

384 EI

MAT3700 101
EXAMPLE 6
A beam that has one end built in horizontally and the other end free to move is called a
cantilever beam. For this type of beam the bending moment is given by
k
M  (b  x) 2 (4.10)
2
where b is the length of the beam and
k its uniform load per unit length.

Calculate the maximum deflection of the beam.

Figure 4.4

SOLUTION
In order to calculate the maximum deflection of the beam, we must first find the equation of
the curve of deflection.

We combine equations (4.9) and (4.10) to get:


d2 y k
 b  x 
2
2
dx 2 EI

k
2 EI
 b 2  2bx   x 2

dy k  2 x3 
Integration yields   b x  bx    c1
2
(4.11)
dx 2 EI  3

dy
At the attached end of the beam, that is at x = 0, the beam is horizontal and so  0.
dx
On substituting these values in (4.11) we find that c1 = 0.

MAT3700 102
k  b 2 x 2 bx 3 x 4 
Integrating again we get y       c2 .
2 EI  2 3 12 

At x = 0, y = 0 and substitution of these gives c2 = 0,


so that the curve of deflection of the beam is given by the equation:

y
24
k
EI
x 4
 4bx 3  6b 2 x 2 

The maximum deflection occurs at the free end, that is at x = b.

At that point: y
24
k
EI
b 4
 4b 4  6b 4 

kb 4

8 EI

MAT3700 103
4.4 POST-TEST: MODULE 3 (LEARNING UNIT 4)
(Solutions on myUnisa under additional resources)

Time: 84 minutes

1. An inductor of 1 H, a resistor of 4  and a capacitor of 0.2 F are connected in series


with an electromotive force of 8 cos t V. At t = 0, the charge on the capacitor and the
current in the circuit are zero. Find the current at any time > 0 and discuss the solution
as t  . (21)

2. A body of mass 5 kg attached to the end of a spring is released 60 mm above the point
of equilibrium with an initial velocity of 480 mm/s directed downwards. Describe the
motion of the body and find the amplitude and period of the motion. The differential
d2 y
equation is m  180 y . (14)
dt 2

3. A system vibrates according to the equation


d2 y dy
8 2
 4  y  sin t  2 cos t
dt dt
where y is the displacement and t the time. Determine y in terms of t. (12)

4. A cantilever beam, built in at x = 0 and free at x = b, carries a concentrated load k0 at


its free end. If the bending moment of the beam is given by
d2 y
M  EI
dx 2
find the deflection of its free end. (9)
[56]

You should now be able to solve problems using D-operator methods relating to electric
circuits, vibrating systems and beams.

This is the end of study guide 1. In study guide 2, module 4, learning unit 1, we will start to
explore another method of solving differential equations by using Laplace transforms.

MAT3700 104

You might also like