MAT120 Lecture Notes
MAT120 Lecture Notes
MAT 120
Lecture Notes
Preface and Acknowledgements
This lecture note compilation has been prepared for aiding the students who
are taking the course MAT 120 (Integral Calculus & Differential Equations) that
is offered by BRAC University. These notes are a compilation of parts taken from
two other books (listed below) that has been shortened down and altered so that
it is adequate for the students taking this course. These notes were created under
the strict supervision of eminent mathematician, Dr. Syed Hasibul Hasan Chowd-
hury. The main goal of this compilation is to help keep things organized for the
students and ensure continuity of the course content among every section. We are
highly indebted to the senior students of MNS Department, notably Mishaal Hai
and Shaikot Jahan Shuvo, for helping us out in making this possible. Since this is
the first version of this compilation, there may be some errors and typing mistakes.
If any mistakes are find please report them to ahmed.rakin@bracu.ac.bd.
Project Coordinator:
Typeset by:
Reference Books:
• Calculus of One Variable by Keith E. Hirst
• Schaum’s Outline of Differential Equations, 3rd Edition"
Contents
1 Integration 3
1.1 Integration as Summation . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Some Basic Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 The Logarithmic Integral . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.4 Integrals with Variable Limits . . . . . . . . . . . . . . . . . . . . . . 10
1.5 Infinite Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.6 Improper Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2 Integration by Parts 18
2.1 The Basic Technique . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.2 Reduction Formulae . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3 The Gamma Function . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3 Integration by Substitution 26
3.1 Some Simple Substitutions . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Inverse Substitutions . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.3 Square Roots of Quadratics . . . . . . . . . . . . . . . . . . . . . . . 30
3.4 Rational Functions of Cos & Sin . . . . . . . . . . . . . . . . . . . . . 32
1
BRAC
University MAT 120
6.7 Graphical & Numerical Methods of Solving First Order Differential
Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Appendices 110
2 of 110
Chapter 1
Integration
Ideas about integration have been around much longer than those of differentiation. The
Greek mathematician Archimedes (3rd Century B.C.) knew how to calculate the area of a
segment of a parabola by “quadrature”, which involved approximation by regions of known
area such as quadrilaterals or triangles. Integration as the reverse of differentiation was a
much later idea, after the invention of the differential calculus in the time of Newton (17th
Century A.D.). Bringing the two views of integration together was the work of mathemati-
cians in the 19th Century in particular, culminating in the work of Bernhard Riemann
(1826–1866), whose name is associated with the theory of integration which is often stud-
ied in Real Analysis courses (see Howie Chapter 5 for example). In this chapter we shall
review some of the basic ideas about integration, briefly revise some standard results from
school calculus, and develop some aspects of integration using limits.
3
BRAC
University MAT 120
The sum of the areas of the rectangles lying below the graph (as in
the top diagram) is called the lower sum corresponding to the sub-
division, and the sum of the areas of the rectangles enclosing the area
underneath the graph (as in the bottom diagram) is called the upper
sum corresponding to the subdivision. We introduce the notation for
these as follows.
n
X n
X
s= mi (xi − xi−1 ); S= Mi (xi − xi−1 ).
i=1 i=1
4 of 110
BRAC
University MAT 120
functions (given by standard formulae for example) we can use any con-
venient approximating sum in this way, where we replace Mi or mi with
any number between, usually of the form f (ci ), where xi−1 ≤ ci ≤ xi .
This gives the sum
n
X
f (ci )(xi − xi−1 ).
i=1
and a function for which this common limit exists is said to be in-
tegrable over the interval a ≤ x ≤ b. The function f (x) which we are
integrating is referred to as the integrand. We shall utilise the idea of
the integral as the limit of a sum in Chapter 11, applied to geometrical
quantities such as area and volume.
5 of 110
BRAC
University MAT 120
xα+1
xα (α 6= −1) α+1
x−1 ln |x|
cosx sinx
sinx −cosx
sec2 x tanx
ekx
ekx k
6 of 110
BRAC
University MAT 120
Z Z Z
(Cf1 (x) + Df2 (x))dx = C f1 (x)dx + D f2 (x)dx,
R
Example 1.2.1. Evaluate cos 2xdx.
The table above suggests that the answer will involve sin 2x, and we
d
can check by differentiation. Now dx sin 2x = 2 cos 2x, and so we can
see that we have to compensate for the factor of 2. We can therefore
d sin 2x
write dx 2 = cos 2x, and so,
Z
sin 2x
cos 2x dx =
2
R
Example 1.2.2. Evaluate ax dx(a > 0).
We know that ax = ex ln a . Using this, and realising that ln a is simply
a constant, we can write
ex ln a ax
Z Z
ax dx = ex ln a dx = =
ln a ln a
R3
Example 1.2.3. Evaluate −3 ln (1 + x2 ) sin (x)dx.
The function looks complicated to integrate as an indefinite integral,
so we have to look at it another way, in this case geometrically. We notice
that the function is an odd function, and the interval of integration is
symmetric about the origin. The answer is therefore zero. This is clear
from Figure 1.2, with the interpretation explained above, that areas
below the x-axis correspond to a negative answer for the integral. We
have implicitly used the rule of integration telling us that,
Z 3 Z 0 Z 3
2 2
ln (1 + x ) sin (x)dx = ln (1 + x ) sin (x)dx+ ln (1 + x2 ) sin (x)dx
−3 −3 0
7 of 110
BRAC
University MAT 120
The value of the first integral on the right-hand side is then minus that
of the second integral, so they cancel to zero.
8 of 110
BRAC
University MAT 120
In Figure 1.3 the thicker graph is that of y = x1 , and the other graphs
are of ln x+C for x > 0, and ln (−x)+D for x < 0. All these logarithmic
graphs have derivative 1/x. For x > 0 this is a standard result. Now
1/x is an odd function, and so its gradient at −x will be the negative
of the gradient at x. This means that for x < 0, 1/x is the gradient for
the logarithmic function with x replaced by −x, i.e., ln (−x). For x < 0
we can also verify this result using the chain rule.
d 1 d 1 1
(ln (−x) + D) = (−x) = .(−1) =
dx −x dx −x x
9 of 110
BRAC
University MAT 120
Z sin t 3
sin t
x
(x2 − 2x + 3)dx = − x2 + 3x
t−2 3 t−2
3 3
sin (t) (t − 2)
= − sin2 t + 3 sin t − + (t − 2)2 − 3(t − 2)
3 3
3 3
sin (t) t 38
= − sin2 t + 3 sin t − + 3t2 − 11t +
3 3 3
This example shows that when such an integral is evaluated the an-
swer involves the variable which is present in the limits of integration.
Now if we want to find the derivative of this expression we can evaluate
the integral, as we have done in the above example, and then differenti-
ate the answer. However we can find the derivative without integrating
first, as follows. Suppose that we know the indefinite integral of f (x,
i.e., that we know a function F (x) satisfying F 0 (x) = f (x). We then
have,
Z b(t) Z b(t)
G(t) = f (x)dx = F 0 (x)dx = F (b(t)) − F (a(t))
a(t) a(t)
In this example we cannot find the indefinite integral, but we can still
use the formula for the derivative. This tells us that the derivative is,
10 of 110
BRAC
University MAT 120
Imagine that we are going to paint such a region and that we want
to know whether we can do it with a finite amount of paint. What we
can do is to start at x = a and paint the region up as far as x = t. We
can then measure the amount of paint used. This will depend on t, and
so can be expressed as a function F (t). Using the ideas of limits from
Chapter 2 we can then investigate lim F (t). If this is finite it would
y→∞
appear that we can paint the complete region using a finite amount of
paint. This somewhat far-fetched analogy motivates the definition.
If this limit exists and is finite we say that the infinite integral con-
verges. Otherwise the infinite integral diverges. We can similarly
define
Z b Z b
f (x)dx = lim f (x)dx.
−∞ t→−∞ t
11 of 110
BRAC
University MAT 120
t t
xα+1 xα+1
Z
α 1
x = = −
1 α+1 1 α+1 α+1
Now if α + 1 > 0 the right-hand expression tends to infinity, and so
the corresponding infinite integral diverges. If α + 1 < 0 then,
xα+1 1 1
lim − =−
t→∞ α + 1 α+1 α+1
Therefore the integral converges, and we can write
Z ∞
1
xα = −
1 α+1
This is verified with the case α = −2 we considered above.
12 of 110
BRAC
University MAT 120
Z ∞
Example 1.5.2. Show that the infinite integral e−x converges and
0
find its value.
Evaluating the integral over the finite interval 0 ≤ x ≤ t gives,
Z t
e−x = [−e−x ]t0 = 1 − e−t → 1ast → ∞
0
13 of 110
BRAC
University MAT 120
We can see from Figure 1.4 that the area between the graph of f (x)
and the x − axis is greater than the area between the graph of g(x) and
the x − axis. Therefore
Z t Z t
g(x)dx ≤ f (x)dx
a a
From the figure we can also see that these areas increase as t in-
creases, and because the functions are both non-negative it follows that
the corresponding integrals also increase
R∞ as t increases. If we denote the
value of the convergent integral a f (x)dx by K we deduce that
Z t
g(x)dx ≤ K
a
14 of 110
BRAC
University MAT 120
Rt
for all t ≥ a. So a g(x)dx is an increasing function of t which is
bounded above. It therefore has a limit H ≤ K. (This last result would
be proved in a course on Real Analysis, for example in Howie Chapter
3).
1 sin x 1
− 2
≤ 2 ≤ 2
x x x
We can therefore see, in Figure 1.5 , that the areas contained by those
parts of the graph of sin x
x2 above the x − axis will be finite in total. The
same will be true below the x − axis, so that the total area between the
graph of sin x
x2 and the x − axis will be finite. Now the integral is found
by subtracting the total area below the axis from the total area above
the axis, and this will therefore be finite. In other words the integral
R ∞ sin x
2π x2 dx will converge.
15 of 110
BRAC
University MAT 120
Theorem 1.5.2. Suppose that f (x) and g(x) are continuous, R ∞and that
|g(x)| ≤ f (x), for all x ≥ a. Then ifRthe infinite integral a f (x)dx
∞
converges, so does the infinite integral a g(x)dx, and
Z ∞ Z ∞ Z ∞
g(x)dx ≤ |g(x)|dx ≤ f (x)dx.
a a a
Z b Z b
f (x)dx = lim+ f (x)dx
a c→a c
16 of 110
BRAC
University MAT 120
R1 1
Example 1.6.1. Investigate convergence of the improper integral 0 x2 dx
17 of 110
Chapter 2
Integration by Parts
d dV dU
(U (x)V (x)) = U (x) + V (x)
dx dx dx
Z Z
dV dU
U (x)V (x) = U (x) + V (x)
dx dx
Z Z
dV dU
U (x) = U (x)V (x) − V (x)
dx dx
This equation
Z therefore gives us a procedure for evaluating an integral
of the form f (x)g(x)dx. We have to decide which of f and g to
dU
identify with U . If we choose f = U this is usually because is a
dx
18
BRAC
University MAT 120
dV
simpler expression than U . We then have to identify g with , and
dx
we have to be able to find V , i.e., we have to be able to integrate g(x).
R
Example 2.1.1. Evaluate x cos x dx.
Z Z
x cos x dx = x sin x − sin x.1.dx = x sin x + cos x
Z Z
cos 2x cos 2x
I= ex sin 2x dx = ex − + ex dx
2 2
19 of 110
BRAC
University MAT 120
The notation In indicates that the integral involves the integer pa-
rameter n. The answer depends upon the value of n, as for example
with
1 1
xn+1
Z
n 1
x = = (n 6= −1),
0 n+1 0 n+1
where we can see explicitly that the answer involves n.
In the case of the definite integral the calculations are the same, and
so we obtain
Z 1 Z 1
n x
Jn = x e dx = [xn ex ]1o − nxn−1 ex dx
0 0
Jn = e − nJn−1
20 of 110
BRAC
University MAT 120
R 1 We can use this formula to work out, for example, the value of J7 =
7 x
0 x e dx
J7 = e − J6
= e − 7(e − 6J5 ) = −6e + 42J5
= −6e + 42(e − 5J4 ) = 36e − 210J4
= 36e − 210(e − 4J3 ) = −174e + 840J3
= −174e + 840(e − 3J2 ) = 666e − 2520J2
= 666e − 2520(e − 2J1 ) = −1854e + 5040J1
= −1854e + 5040(e − 1.J0 ) = −1854e + 5040(e − (e − 1))
= −1854e + 5040.
Rπ
Example 2.2.2. Find a reduction formula for In = 0 xn sin x dx.
= πn + nxn−1 cos x dx
0 Z π
n n−1 π
= π + [nx sin x]0 + n(n − 1)xn−2 sin x dx
0
n
= π − n(n − 1)In−2
21 of 110
BRAC
University MAT 120
In = π n − n(n − 1)In−2
In Example 2.2.1 the integer parameter n was reduced by 1 at each
stage. In this example n is reduced by 2 each time. So if we begin with
an odd value of n we shall finish by needing to calculate I1 , and if we
start with an even value of n we shall need the value of I0 . In both cases
these are integrals which are easy to evaluate explicitly.
Z ∞
Γ(x) = tx−1 e−t dt (2.1)
0
Z 1 Z ∞
x−1 −t
I1 = t e dt, tx−1 e−t dt.
0 1
22 of 110
BRAC
University MAT 120
Z 1 x 1
t 1 1
tx−1 dt = = (1 − hx ) → as h → 0.
h x h x x
R1 R1
Hence 0 tx−1 dt converges, and so 0 tx−1 e−1 dt converges by compar-
ison. Now if x < 0 then for 0 < h < 1 we have
1 x 1
e−1
Z
−1 x−1 t −1
e t dt = e = (1 − hx ) → ∞ as h → 0.
h x h x
R1 R1
Hence 0 e−1 tx−1 dt converges, and so 0 tx−1 e−1 dt converges by com-
parison. Now if x < 0 then for 0 < h < 1 we have
Now we consider I2. Let n denote the first integer greater than x.
We therefore have,
(n + 1)! (n + 1)!
tx−1 e−t < tn−1 e−1 < tn−1 n+1 =
t t2
R∞
In Example 1.5.1 we saw that 1 t12 dt converges.
R ∞ x−1 Therefore by com-
parison (noting that (n + 1)! is a constant), 1 t e−tdt converges.
Z k
[−tx e−t ]k0 + xtx−1 e−tdt
0
Z k Z ∞
x −t
t e dt = x tx−1 e−1 dt, i.e., Γ(x + 1) = xΓ(x)
0 0
23 of 110
BRAC
University MAT 120
R∞
Now Γ(1) = 1 t0 e−t dt = [−e−t ]∞ 0 = 1, so Γ(n + 1) = n! The
Gamma function can therefore be seen as a generalisation of the factorial
function for non-integer values.
Example 2.3.1. A Strange Example
1 dV
We integrate tan x by parts, using U = , = sin x.
cos x dx
Z Z
sin x
tan x dx = dx
cos x Z
− cos x − sin x
= + − cos x. dx
cos xZ cos2 x
= −1 + tan x dx.
R
Cancelling tan x dx therefore gives 0 = −1.
24 of 110
BRAC
University MAT 120
Z Z
tan x dx + C = −1 + tan x dx + D.
Z Z
tan x dx + C = −1 + tan x dx + C
R
are identical, and there is no question of cancelling tan x dx.
25 of 110
Chapter 3
Integration by Substitution
The theoretical basis for integration by substitution is the chain rule for
differentiation, which says that
d
f (g(x)) = f 0 (g(x))g 0 (x)
dx
Z
f 0 (g(x))g 0 (x) dx = f (g(x))
where we have used the chain rule with the intermediate variable u,
du d
to recognise that f 0 (u) = (f (u)).
dx dx
du
In fact we implement this process symbolically by rewriting =
dx
g 0 (x) in the form du = g 0 (x) dx. The integration procedure then appears
in the form
26
BRAC
University MAT 120
Z Z
0 0
f (g(x))g (x) dx = f 0 (u)du = f (u) = f (g(u)) (3.1)
This can all be made analytically rigorous. The details are beyond
the scope of this book. In the remainder of this chapter we shall con-
centrate therefore on applying this technique of integration in a variety
of circumstances.
The latter is an integral we should know how to do, but if not we can
simplify it still further with a linear transformation w = 1 + u, giving
dw = du, and therefore
27 of 110
BRAC
University MAT 120
Z Z Z
cos x 1 1 1
dx = du = dw = −
(1 + sin x)3 (1 + u)3 w3 2w2
Z
cos x 1 1 1
dx = − = − = −
(1 + sin x)3 2w2 2(1 + u)2 2(1 + sin x)2
ex
Z
Example 3.1.2. Evaluate the indefinite integral dx
1 + e2x
We first note that e2x = (ex )2 , so that the numerator is the derivative
of part of the denominator. This suggests the substitution u = ex , giving
du = ex dx. We therefore have
ex
Z Z
1
dx = du = tan−1 u = tan−1 (ex )
1 + e2x 1+u2
28 of 110
BRAC
University MAT 120
u4 2u5
Z Z
I= · 2u du = du
u
+ 2 u+2
Z
64
= 2u4 − 4u3 + 8u2 − 16u + 32 − du
u+2
(using polynomial division)
2u5 8u3
= − u4 + − 8u2 + 32u − 64 ln|u + 2|
5 3
5 3
2x 2 2 8x 2 √ √
= −x + − 8x + 32 x − 64 ln| x + 2|
5 3
6u5
Z Z
1
I= √ √ dx = du
x( 3 x + 2) u3 (u2 + 2)
u2
Z Z
2
=6 du = 6 1− 2 du
u2 + 2 u +2
√
√ √ √
−1 u −1
6
x
= 6 u − 2 tan √ =6 6
x − 2 tan √
2 2
29 of 110
BRAC
University MAT 120
30 of 110
BRAC
University MAT 120
Z p Z
I=2 32 tan2 t + 32 · 3 sec2 t dt = 2 · 3 · 3 sec3 t dt
1 1
I = 18 sec t tan t + ln|sec t + tan t|
2 2
31 of 110
BRAC
University MAT 120
√
u2 + 32
We can now see from the diagram that sec t = . So we can
3
express in terms of u as
√ √
u2 + 32 u u2 + 32 u
I=9 + 9 ln +
3 3 3 3
p p
I = (x − 2) (x − 2)2 + 32 + 9 ln (x − 2)2 + 32 + (x − 2) − 9 ln 3
p p
I = (x − 2) (x − 2) + 3 + 9 ln (x − 2)2 + 32 + (x − 2)
2 2
32 of 110
BRAC
University MAT 120
Because such expressions often involve both cos t and sin t we need
to use identities which express these in terms of x. We can do this using
a right-angled triangle together with basic trigonometric identities.
t 1 t
In the right-angled triangle we have x = tan . So dx = sec2 dt,
2 2 2
which we can rearrange in the form
t 2
dt = 2 cos2 dx = dx
2 1 + x2
t 2
where we obtain the value of cos from the triangle. We can
2
also use the triangle to see that
t x
sin =√
2 1 + x2
33 of 110
BRAC
University MAT 120
We therefore have
1 − x2
t 2
cos t = 2 cos2 −1= − 1 =
2 1 + x2 1 + x2
t t x 1 2x
sin t = 2 sin cos = 2√ √ =
2 2 1 + x2 1 + x2 1 + x2
We can therefore see that each term in the integral of a rational func-
tion of cos t and sin t (including dt) will be transformed into a rational
fraction of x, and so we shall be left with a rational function of x to
integrate.
Z
1
Example 3.4.1. Evaluate the indefinite integral I = dt
2 + sin t
x
Using the substitution x = tan with the identities above gives
2
Z Z
1 1 2
I= dt = 2x 2
dx
2 + sin t 2 + 1+x 2 1 + x
Z
1
= 2+x+1
dx (after simplification)
Z x
1
= (completing the square)
1 2
(x + 2 ) + 34
1
1 x + 2 2x + 1
= q tan−1 q 2 = √ tan−1
3 3 3 3
4 4
2 tan( 2t ) + 1
2
= √ tan−1 √
3 3
34 of 110
Chapter 4
4.1 Introduction
P (x)
A rational function is one of the form R(x) = Q(x) ,where are both P (x)
and Q(x) are polynomials in the variable x, for example
2x3 + 3x2 − 4x + 1
x2 − 3x + 2
In this chapter we shall explain the steps involved in a procedure
which will enable us to integrate any rational function, provided the
algebra is not too horrible! One of the algebraic tools needed is the de-
composition of rational functions into partial fractions, and we discuss
this in the next section. In Section 4.3 we describe the process of inte-
grating a rational function, split into a sequence of steps. We explain
what happens at each step, using different examples at each stage to
illustrate some degree of generality.
35
BRAC
University MAT 120
where the use of the identity symbol ≡ emphasises that this is true for
all values of x. One method of finding A, B, C, D is to multiply out the
right-hand side, giving
36 of 110
BRAC
University MAT 120
solve for A, B, C, D.
A+B+C +D = 1,
−3B + 2C − 2D = 2,
−7A − B − C − 5D = −1,
−6A + 3B − 2C + 6D =4
37 of 110
BRAC
University MAT 120
2x2 − x + 4
Example 4.2.3. Decompose 2 into partial fractions.
(x + x + 1)2
Ax + B Cx + D
The decomposition will be of the form + 2
(x + x + 1) (x + x + 1)2
2
38 of 110
BRAC
University MAT 120
39 of 110
BRAC
University MAT 120
0
linear q (x) d
We can write the integrand as (q(x))n = c (q(x)) n + (q(x))n , where c and d
are constants.
40 of 110
BRAC
University MAT 120
41 of 110
Chapter 5
Geometrical Applications of
Integration
In Section 1.1 we discussed integration as summation, and we use that interpretation of
the integral in this chapter to construct integral formulae for some geometrical quantities.
We shall consider length, area and volume, and the notions of centroid and centre of mass.
The most important thing in this chapter is not to remember particular formulae, but to
understand the principles underpinning their construction, so that analogous formulae can
be constructed in other areas of application.
x = x(t), y = y(t), a ≤ t ≤ b.
We shall assume that we have a smooth curve, for which the functions
x(t) and y(t) have continuous derivatives for a ≤ t ≤ b. On the graph
represented by these parametric equations, we divide the curve into small
pieces by means of a sequence of points P0 , P1 , P2 , . . . , Pn , specified by
the sequence of values of the parameter, given by
42
BRAC
University MAT 120
In the right-hand diagram, if the piece of arc is very small then the
gradient will not change much along the arc because the parametric
functions are assumed to have continuous derivatives. So the length ds
will be approximately equal to that of the line segment Pi−1 Pi . Using
Pythagoras’ Theorem gives
n p
X
L≈ (x0 (ci )2 + y 0 (di )2 )(ti − ti−1 )
i=1
43 of 110
BRAC
University MAT 120
As a special case, suppose that the curve is the graph of the func-
tion specified by y = f (x), p ≤ x ≤ q. This can be expressed in the
parametric form x = t, y = f (t), p ≤ t ≤ q. We then have
dy
x0 (t) = 1, y 0 (t) = f 0 (t) = f 0 (x) = .
dx
So the formula becomes
s 2
Z qp Z q
0 2
dy
L= (1 + f (x) )dx = 1+ dx
p p dx
44 of 110
BRAC
University MAT 120
This is clearly wrong. The curve does not have zero length! The
problem is that we were not sufficiently careful with the square root
when we factored out t2 from √under the square root in the first integral.
It is not true in general that t2 = t, especially in this case where the
integrand must be positive for all values of t because it represents a
length. A correct version of the calculations is as follows.
Z 1 p Z p 1
L= 2 4
4t + 36t dt = 2|t| 1 + 9t2 dt
−1 −1
Z 1 p 1
2 1 2 3
=2 2t 1 + 9t2 dt = 2 (1 + 9t ) 2
0 3 9 0
4 3
= 10 2 − 1 .
27
45 of 110
BRAC
University MAT 120
In Figure 5.3 we have shown the effect of rotating one such piece of
arc. To find the area generated we imagine cutting and unwrapping the
section of surface shown. This will give us a piece of “ribbon” approxi-
mately rectangular in shape. Its length will be the circumference, 2πr,
of the circle generated by rotating a point on the small piece of arc. Its
width will be the length ds of the piece of arc, for which we found an
approximate formula in Section 5.1. So, using the same notation as in
Section 5.1, the small piece of surface area will be approximately
p
2πr.ds ≈ 2π|y(t)| (x0 (ti )2 ) + y 0 (ti )2 )(ti − ti−1 ).
46 of 110
BRAC
University MAT 120
Note that we have used |y(t)| as the value of r to allow for the fact
that y(t) might be negative for some values of t. So the total surface
area will be given by
n
X p
S≈ 2π|y(t)| (x0 (ti )2 ) + y 0 (ti )2 )(ti − ti−1 ).
i=1
Example 5.2.1. Find the area of the surface obtained by rotating the
curve y = x3 , 0 ≤ x ≤ 1 about the x − axis.
We use the cartesian formula to obtain
pZ 1 Z 1 p
3
S = 2π x 1 + (3x2 )2 dx = 2π x3 1 + 9x4 dx
0 1 0
1 4 32 π 3
= 2π (1 + 9x ) = 10 − 1 .
2
54 0 27
Note that because x3 ≥ 0 in the interval we do not need the modulus
signs.
47 of 110
BRAC
University MAT 120
Example 5.2.2. Verify the formula for the surface of a sphere of radius
a.
In this example we shall use the parametric formula. The sphere can
be obtained by rotating the semicircle given by x2 + y 2 = a2 , y ≥ 0,
about the x − axis. We parameterise the semicircle by x = a cos t, y =
a sin t, 0 ≤ t ≤ π. Since y(t) ≥ 0 for all t in the interval we do not need
the modulus signs in the formula, and so we have
Z π p
S = 2π a sin t a2 sin2 t + a2 cos2 tdt
0Z
π
2
= 2πa sin tdt = 2πa2 [− cos t]π0 = 4πa2 .
0
x = x0 (= a), x = x1 , x = x2 , . . . , x = xn (= b).
Assuming that the slices are sufficiently thin, and that A(x) is a
continuous function of x, the volume of the slice contained between
x = xi−1 and x = xi will be approximately A(xi )(xi − xi−1 ). The total
volume will therefore be approximately the sum of these slice volumes,
so
n
X
V ≈ A(xi )(xi − xi−1 ).
i=1
48 of 110
BRAC
University MAT 120
Naturally for this to be useful we have to be able to find A(x) for the
solid we are concerned with, and we do this is the next example.
c(a − p) b(a − p)
PR = , PQ = ,
a a
so the area of triangle P QR is given by
49 of 110
BRAC
University MAT 120
a a a
bc(a − x)2 (a − x)3
Z Z
bc abc
V = A(x)dx = 2
dx = 2 − =
0 0 2a 2a 3 0 6
f (x) ≤ y ≤ g(x), a ≤ x ≤ b
As before we calculate the cross sectional area of the solid and use
the integral formula derived above. We subdivide the interval a ≤ x ≤ b
as in Section 1.1, and use this to divide the region into strips parallel to
the y − axis. We have shown one of these in Figure 5.5, together with
the solid obtained by rotating this strip about the line y = c. It looks
like a “washer”, i.e., a disc with a smaller disc removed from its centre.
The cross-sectional area is therefore
50 of 110
BRAC
University MAT 120
Example 5.4.1. Find the volume of the solid obtained by rotating the
region 0 ≤ y ≤ sin x, 0 ≤ x ≤ π, about (a) the x − axis & (b) the line
y = −1
π π
π2
Z
2 π sin 2x
V =π sin x dx = x− =
0 2 x 0 2
Z π
V =π ((sin2 x + 1)2 − (−1)2 ) dx
Z0 π Z π
2 π2
=π sin x dx + π 2 sin x dx = + 4π
0 0 2
51 of 110
BRAC
University MAT 120
f (x) ≤ y ≤ g(x), a ≤ x ≤ b.
for which we developed the disc method, but this time we rotate
the region about the line x = d, parallel to the y − axis, as shown in
Figure 5.6. In this case the strips produced by subdividing the interval
a ≤ x ≤ b generate cylindrical shells rather than a cross section of the
solid. One has to imagine each of these shells fitting inside the previous
one to form the solid, like some childrens’ toys where plastic beakers fit
inside each other, or like the separate parts of Russian dolls.
In Figure 5.6, suppose that the strip is specified by one of the intervals
of the subdivision, i.e.,
the circumference of the cylinder, namely 2πR, and its thickness will
be the width of the strip, namely xi − xi−1 . The volume is therefore
approximately
52 of 110
BRAC
University MAT 120
n
X
2π(x − d)(g(x) − f (x))(xi − xi−1 ),
i=1
Example 5.4.2. Rotate the region in Example 5.4.1 about the line x =
−π, and find the volume of the solid obtained.
The region is 0 ≤ y ≤ sin x, 0 ≤ x ≤ π, and so using the formula
obtained above we have
We therefore have
Z π Z π Z π
2
V = 2π (x + π) sin x dx = 2π sin x dx + 2π x sin x dx = 6π 2
0 0 0
53 of 110
BRAC
University MAT 120
Example 5.4.3. Let R denote the region contained between the two
√
graphs y = x2 , y = x, 0 ≤ x ≤ 1.Find the volume obtained by
rotating this region about (a) the x − axis, (b) the y − axis.
The region is shown in Figure 5.7, and we have drawn a strip parallel
to the y − axis. If we rotate the strip round the x − axis this will
generate a washer, and so we can use the disc method. If we rotate it
round the y − axis we will generate a cylinder, so we can use the shell
method.
Z 1 1
√
Z
2 2 2
3π
V =π x − (x ) dx = π (x − x4 ) dx = .
0 0 10
Z π √
Z π 3
3π
V = 2π x( x − x2 ) dx = 2π x −x 2 3
dx = .
0 0 10
Because of the symmetry of the region we can see that the two solids
will in fact be identical in shape and size.
54 of 110
Chapter 6
The follow ins arc differential equations involving the unknown func-
tion v,
dy
= 5x + 3 (6.1)
dx
2
2
d y dy
ey 2 + 2 =1 (6.2)
dx dx
d3 y d2 y
4 3 + (sin x) 2 + 5xy = 0 (6.3)
dx dx
3 7 2
d2 y
dy dy
+ 3y + y3 = 5x (6.4)
dx2 dx dx
∂ 2y ∂ 2y
−4 2 =0 (6.5)
∂t2 ∂x
A differential equation is an ordinary differential equation (ODH) if
the unknown function depends on only one independent variable. If the
55
BRAC
University MAT 120
NOTATION
The expressions y 0 , y 00 , y 000 , y (4) , ..., y (n) are often used to represent, re-
spectively, the first, second, third, fourth,..., nth derivatives of y with
respect to the independent variable under consideration. Thus, y 00 rep-
d2 y d2 y
resents if the independent variable is x, but represents 2 if the
dx2 dp
independent variable is p. Observe that parentheses are used in y (n) to
distinguish it from the nth power, y (n) If the independent variable is
time, usually denoted by t, primes are often replaced by dots. Thus,
... dy d2 y d3 y
ẏ, ÿ, and y represent , 2 , and , 3 respectively.
dt dt dt
SOLUTIONS
56 of 110
BRAC
University MAT 120
57 of 110
BRAC
University MAT 120
58 of 110
BRAC
University MAT 120
QUALITATIVE METHODS
59 of 110
BRAC
University MAT 120
To build a model can be a long and arduous process; it may take many
years of research. Once they are formulated, models may be virtually
impossible to solve analytically. Then the researcher has two options:
60 of 110
BRAC
University MAT 120
Z Z
A(x)dx + B(y)dy = c (6.7)
The integrals obtained in Eq.(6.7) may be. for all practical purposes,
impossible lo evaluate. In such eases. numerical techniques (see Chap-
ters 18, 14. 20) are used to obtain an approximate solution. Even if
the indicated integrations in (6.7) can be performed, it may not be al-
gebraically possible lo solve for y explicitly in terms of x. In that case,
the solution is left in implicit form.
Z x Z y
A(x)dx + B(y)dy = 0 (6.9)
x0 y0
61 of 110
BRAC
University MAT 120
dy
= f (x, y) (6.10)
dx
having the property that f (tx, ty) = f (x, y) (see Chapter 3) can be
transformed into a separable equation by making the substitution
y = xv (6.11)
along with its corresponding derivative
dy dv
=v+x (6.12)
dx dx
The resulting equation in the variables v and x is solved as a separable
differential equation; the required solution to Eq.(6.10) is obtained by
back substitution.
dx 1
= (6.13)
dy f (x, y)
and then substituting
x = yu (6.14)
and the corresponding derivative
dx du
=u+y (6.15)
dy dy
into Eq.(6.13). After simplifying, the resulting differential equation
will be one with variables (this time, u and y) separable.
62 of 110
BRAC
University MAT 120
superior to the other one. In such cases, the better substitution is usu-
ally apparent from the form of the differential equation itself.
x+1
Example 6.3.1. Solve y 0 =
y4 + 1
This equation, in differential form, is (x + 1)dx + (−y 4 − 1)dy = 0
which is separable. Its solution is
Z Z
(x + 1)dx + (−y 4 − 1)dy = c
or, by evaluating,
x2 y5
+x− −y+c
2 5
Since it is impossible algebraically to solve this equation explicitly
for y, the solution must be left in its present implicit form.
2xy
Example 6.3.2. Solve y 0 =
x2 − y 2
Phis differential equation is not separable. Instead it has the form
0
y = f (x, y), with
2xy
f (x, y) =
x2 − y 2
where
dv 2x(xy)
v+x = 2
dx x − (xy)2
which can be algebraically simplified to
63 of 110
BRAC
University MAT 120
dv v(v 2 + 1)
x =− 2
dx v −1
or
1 v2 − 1
dx + dv = 0 (6.16)
x v(v 2 + 1)
Using partial fractions, we can expand (6.16) to
1 1 2v
dx + − + 2 dv = 0 (6.17)
x v v +1
The solution to this separable equation is found by integrating both
sides of (6.17). Doing so, we obtain ln |x| − ln |v| + ln(v 2 + 1) = c, which
can be simplified to
64 of 110
BRAC
University MAT 120
A differential equation
∂M (x, y) ∂N (x, y)
= (6.21)
∂y ∂x
METHOD OF SOLUTION
∂g(x, y)
= M (x, y) (6.22)
∂x
∂g(x, y)
= N (x, y) (6.23)
∂y
for g(x, y). The solution to (6.19) is then given implicitly In
g(x, y) = c (6.24)
65 of 110
BRAC
University MAT 120
R
equation
R (note that we can write 0 as 0 dx), we have dg(x, y(x)) =
0 dx, which, in turn, implies (6.24).
INTEGRATING FACTORS
66 of 110
BRAC
University MAT 120
x dy−y dx
y dx − x dy − x12 x2
= d( xy )
1 y dx−x dy
y dx − x dy y y2
= d( xy )
x dy−y dx
y dx − x dy 1
− xy xy
= d(ln xy )
x dy−y dx
y dx − x dy 1
− x2 +y 2 x2 +y 2
= d(arctan xy )
1 y dx+x dy
y dx + x dy xy xy
= d(ln xy)
h i
1 y dx+x dy −1
y dx + x dy (xy)n
,n >1 (xy)n
= d (n−1)(xy)n−1
1 y dy+x dx
= d 21 ln x2 + y 2
y dx + x dy x2 +y 2 x2 +y 2
h i
1 y dy+x dx −1
y dx + x dy (x2 +y 2 )n
,n >1 (x2 +y 2 )n
= d 2(n−1)(x2 +y2 )n−1
1
I(x, y) = (6.28)
xM − yN
In general, integrating factors are difficult to uncover. If a differential
equation does not have one of the forms given above, then a search for
an integrating factor likely will not be successful, and other methods of
solution are recommended
Example 6.4.1. Determine whether the differential equation 2xydx +
(1 + x2 )dy = 0 is exact. and solve it
This equation has the form of Eq. (6.19) with M (x, y) = 2xy and
N (x, y) = 1 + x2 . Since ∂M/∂y = ∂N/∂x = 2x, the differential
equation is exact.
67 of 110
BRAC
University MAT 120
x2 + h0 (y) = 1 + x2 or h0 (y) = 1
Integrating this last equation with respect to y, we obtain h(y) =
y + c1 (c1 = constant). Substituting this expression into (6.29) yields
g(x, y) = x2 y + y + c1
The solution to the differential equation, which is given implicitly by
(6.24) as g(x, y) = c, is
x2 y + y = c2 (c2 = c − c1 )
Solving for y explicitly, we obtain the solution as y = c2 /(x2 + 1).
0 2 + yexy
Example 6.4.2. Solve y =
2y − xexy
Rewriting this equation in differential form, we obtain
68 of 110
BRAC
University MAT 120
Z Z
∂g
dx = [2 + yexy ]dx
∂x
or
g(x, y) = 2x + exy − y 2 + c1
2x + exy − y 2 = c2 (c2 = c − c1 )
69 of 110
BRAC
University MAT 120
R
p(x)dx
I(x) = e (6.32)
d(yI)
= Iq(x) (6.34)
dx
integrate both sides of this last equation with respect to x, and then
solve the resulting equation for Y .
z = y 1−n (6.36)
70 of 110
BRAC
University MAT 120
Z Z
p(x)dx = −3dx = −3x
so (6.32) becomes
R
I(x) = e p(x)dx
= e−3x
dz
Example 6.5.2. Solve − xz = −x
dx
This is a linear differential equation for the unknown function z(x). It
has the form of Eq. (6.31) with y replaced by z and p(x) = q(x) = −x.
The integrating factor is
2
R
I(x) = e (−x)dx
= e−x /2
2
/2 dz 2 2
e−x − xe−x /2
z = −xe−x /2
dx
or
dz −x2 /2 2
(ze ) = −xe−x /2
dx
Upon integrating both sides of this last equation, we have
2 2
ze−x /2
= −e−x /2
+c
whereupon
2
z(x) = cex /2
+1
71 of 110
BRAC
University MAT 120
dN
− kN = 0 (6.37)
dt
where k is the constant of proportionality.
TEMPERATURE PROBLEMS
dT
+ kT = kTm (6.38)
dt
where k is a positive constant of proportionality Once k is chosen
positive, the minus sign is required in Newton’s law to make dT /dt
negative in a cooling process, when T is greater than Tm . and positive
in a heating process, when TMs less than Tm
72 of 110
BRAC
University MAT 120
dv
F =m (6.39)
dt
where F is the net force on the body and v is the velocity of the body,
both at time t.
For the problem at hand, there are two forces acting on the body: (1)
the force due to gravity given by the weight w of the body, which equals
mg, and (2) the force due to air resistance given by −kv, where k > 0
is a constant of proportionality. The minus sign is required because this
force opposes the velocity; that is, it acts in the upward, or negative,
direction. The net force F on the body is, therefore, F = mg − kv.
Substituting this result into (6.39), we obtain
dv
mg − kv = m
dt
or
dv k
+ v=g (6.40)
dt m
as the equation of motion for the body.
dv
=g (6.41)
dt
When k > 0, the limiting velocity vl is defined by
73 of 110
BRAC
University MAT 120
mg
vl = (6.42)
k
Caution: Equations (6.40), (6.41), and (6.42), are valid only if the
given conditions are satisfied. These equations are not valid if, for ex-
ample, air resistance is not proportional to velocity but to the velocity
squared, or if the upward direction is taken to be the positive direction.
Consider a tank which initially holds V0 gal of brine that contains
a lb of salt. Another brine solution, containing b lb of salt per gallon,
is poured into the tank at the rate of e gal/min while, simultaneously,
the well-stirred solution leaves the tank at the rate of f gal/min . The
problem is to find the amount of salt in the tank at any time t.
Let Q denote the amount (in pounds) of salt in the tank at any time
t. The time rate of change of Q, dQ/dt, equals the rate at which salt
enters the tank minus the rate at which salt leaves the tank. Salt enters
the tank at the rate of be lb/min. To determine the rate at which salt
leaves the tank, we first calculate the volume of brine in the tank at any
time t, which is the initial volume V0 plus the volume of brine added et
minus the volume of brine removed f t . Thus, the volume of brine at
any time is
V0 + et − f t (6.43)
The concentration of salt in the tank at any time is Q/(V0 + et − f t),
from which it follows that salt leaves the tank at the rate of
Q
f lb/min
V0 + et − f t
Thus,
dQ Q
= be − f
dt V0 + et − f t
or
dQ Q
+f = be (6.44)
dt V0 + et − f t
74 of 110
BRAC
University MAT 120
ELECTRICAL CIRCUITS
dI R E
+ I= (6.45)
dt L L
For an RC circuit consisting of a resistance, a capacitance C (in
farads), an emf, and no inductance, the equation governing the amount
of electrical charge q (in coulombs) on the capacitor is
dq 1 E
+ q= (6.46)
dt RC r
The relationship between q and I is
dq
i= (6.47)
dt
ORTHOGONAL TRAJECTORIES
F (x, y, c) = 0 (6.48)
where c denotes the parameter. The problem is to find another one-
parameter family of curves, called the orthogonal trajectories of the fam-
ily (6.48) and given analytically by
G(x, y, k) = 0 (6.49)
such that every curve in this new family (6.49) intersects at right
angles every curve in the original family (6.48).
75 of 110
BRAC
University MAT 120
dy
= f (x, y) (6.50)
dx
The orthogonal trajectories of (6.48) are the solutions of
dx 1
x= (6.51)
dy f (x, y)
For many families of curves, one cannot explicitly solve for dy/dx and
obtain a differential equation of the form (6.50). We do not consider such
curves in this book.
Example 6.6.1. What constant interest rate is required if an initial
deposit placed into an account that accrues interest compounded contin-
uously is to double its value in six years?
The balance N (t) in the account at any time t is governed by (6.37)
dN
− kN = 0
dt
which has as its solution
N0 = cek(0) = c
76 of 110
BRAC
University MAT 120
2N0 = N0 ek∗6
e6k = 2
6k = ln |2|
1
k= ln |2| = 0.1155
6
Example 6.6.2. An RL circuit has an emf given (in volts) by 3 sin 2t, a
resistance of 10 ohms, an inductance of 0.5 henry, and an initial current
of 6 amperes. Find the current in the circuit at any time t.
Here, E = 3 sin 2t, R = 10, and L = 0.5; hence (6.45) becomes
dI
+ 20I = 6 sin 2t
dt
This equation is linear, with solution (see section 6.5)
Z Z
20t
d(Ie ) + 6e20t sin 2t dt
Carrying out the integrations (the second integral requires two inte-
grations by parts), we obtain
30 3
I = ce−20t + sin 2t − cos 2t
101 101
At t = 0, 1 = 6; hence,
30 3 3
6 = ce−20∗0 + sin 2 ∗ 0 − cos 2 ∗ 0 or 6 = c −
101 101 101
whence c = 609/101. The current at any time t is
609 −20t 30 3
I= e + sin 2t − cos 2t
101 101 101
the current is the sum of a transient current, here (609/101)e−20t ,
and a steady-state current,
30 3
sin 2t − cos 2t
101 101
77 of 110
BRAC
University MAT 120
DIRECTION FIELDS
y 0 (x, y) (6.54)
where the derivative appears only on the left side of the equation.
Example 6.7.1.
(a) For the problem y 0 = −y + x + 2, we have f (x, y) = −y + x + 2.
(b) For the problemy 0 = y 2 + 1, we have f (x, y) = y 2 + 1.
(c) For the problem y 0 = 3, we have f (x, y) = 3. Observe that in a
particular problem, f (x, y) may be independent of x, of y, or of x
and y.
Equation (6.54) defines the slope of the solution curve y(x) at any
point (x, y) in the plane. A line element is a short line segment that
begins at the point (x, y) and has a slope specified by (6.54); it represents
an approximation to the solution curve through that point. A collection
of line elements is a direction field. The graphs of solutions to (6.54) are
generated from direction fields by drawing curves that pass through the
points at which line elements are drawn and also are tangent to those
line elements.
If the left side of Eq. (6.54) is set equal to a constant, the graph
of the resulting equation is called an isocline. Different constants de-
fine different isoclines, and each isocline has the property that all line
78 of 110
BRAC
University MAT 120
elements emanating from points on that isocline have the same slope,
a slope equal to the constant that generated the isocline. When they
are simple to draw, isoclines yield many line elements at once which is
useful for constructing direction fields.
EULER’S METHOD
y(x0 ) = y0 (6.55)
is also specified, then the only solution curve of Eq. (6.54) of interest
is the one that passes through the initial point (X0 , y0 ).
If the difference between successive x values are equal, that is, if for
a specified constant h, h = x1 − x0 = x2 − x1 = x3 − x2 = ..., then the
graphical method given above for a first-order initial-value problem is
known as Euler’s method. It satisfies the formula
where
79 of 110
BRAC
University MAT 120
STABILITY
The constant h in Eqs. (6.56) and (6.57) is called the step-size, and its
value is arbitrary. In general, the smaller the step-size, the more accurate
the approximate solution becomes at the price of more work to obtain
that solution. Thus, the final choice of h may be a compromise between
accuracy and effort. If h is chosen too large, then the approximate
solution may not resemble the real solution at all, a condition known
as numerical instability. To avoid numerical instability, Euler’s method
is repeated, each time with a step-size one half its previous value, until
two successive approximations are close enough to each other to satisfy
the needs of the solver.
80 of 110
Chapter 7
bn (x)y (n) + bn−1 (x)y (n−1) + ... + b2 (x)y 00 + b1 (x)y 0 + b0 (x)y = g(x)
(7.1)
where g(x) and the coefficients bj (x) (j = 0, 1, 2, ..., n) depend solely
on the variable x. In other words, they do not depend on y or on any
derivative of y,
81
BRAC
University MAT 120
y (n) + an−1 (x)y (n−1) + ... + a2 (x)y 00 + a1 (x)y 0 + a0 (x)y = φ(x) (7.3)
where aj (x) = bj (x)/bn (x) (j = 0, 1, 2, ..., n−1) and φ(x) = g(x)/bn (x)
L(y) ≡ y (n) + an−1 (x)y (n−1) + ... + a2 (x)y 00 + a1 (x)y 0 + a0 (x)y (7.4)
L(y) = 0 (7.6)
on a ≤ x ≤ b
Example 7.1.1. The set {x, 5x, 1, sin x} is linearly dependent on [−1, 1]
since there exist constants c1 = −5, c2 = 1, c3 = 0, and c4 = 0, not all
zero, such that (7.7) is satisfied. In particular,
−5 · x + 1 · 5x + 0 · 1 + 0 · sin x ≡ 0
82 of 110
BRAC
University MAT 120
THE WRONSKIAN
The Wronskian of a set of functions {z1 (x), z2 (x), ..., zn (x)} on the
interval a ≤ x ≤ b, having the property that each function possesses
n − 1 derivatives on this interval, is the determinant
z1 z2 ... zn
z10 z20 ... zn0
W (z1 , z2 , ..., zn ) = z100 z200 ... zn00 (7.9)
.. .. ..
. . .
(n−1) (n−1) (n−1)
z1 z2 ... zn
83 of 110
BRAC
University MAT 120
differential equation. In this case, one must test directiy whether Eq.
(7.7) is satisfied.
NON-HOMOGENEOUS EQUATIONS
Let yp denote any particular solution of Eq. (7.5) and let yh (hence-
forth called the homogeneous or complementary solution) represent the
general solution of the associated homogeneous equation L(y) = 0.
Theorem 7.1.4. The general solution to L(y) = φ(x) is
y = yh + yp (7.10)
ex xex
W (ex , xex ) = = e2x 6≡ 0
ex ex + xex
It follows, first from Theorem 7.1.3 that the two particular solutions
are linearly independent and then from 7.1.2, that the general solution
is
y = c1 ex + c2 xex
Example 7.1.3. Use the results of Example 7.1.2 to find the general
solution of
y 00 − 2y 0 + y = x2
yh = c1 ex + c2 xex
84 of 110
BRAC
University MAT 120
y = yh + yp = c1 ex + c2 xex + x2 + 4x + 6
y 00 + a1 y 0 + a0 y = 0 (7.11)
λ2 + a1 λ + a0 = 0 (7.12)
85 of 110
BRAC
University MAT 120
(λ − λ1 )(λ − λ2 ) = 0 (7.13)
86 of 110
BRAC
University MAT 120
Warning: The above solutions are not valid if the differential equa-
tion is not linear or does not have constant coefficients. Consider, for
example, the equation y 00 − x2 y = 0. The roots of the characteristic
equation are λ1 = x and λ2 = −x, but the solution is not
2 2
y = c1 e(x)x + c2 e(−x)x = c1 ex + c2 e−x
y = c1 e−x + c2 e2x
87 of 110
BRAC
University MAT 120
d5 x d3 x dx
− 3 + 5 − 7x = 0
dt5 dt3 dt
is
λ5 − 3λ3 + 5λ − 7 = 0
88 of 110
BRAC
University MAT 120
If the roots are distinct, but some are complex, then the solution is
again given by (7.20). Those terms involving complex exponentials can
be combined to yield terms involving sines and cosines. If λk is a root of
multiplicity p [that is, if (λ − λk )p is a factor of the characteristic equa-
tion, but (λ − λk )p+1 is not] then there will be p linearly independent
solutions associated with λk given by eλk x , xeλk x , x2 eλk x , ... , xp−1 eλk x .
These solutions are combined in the usual way with the solutions asso-
ciated with the other roots to obtain the complete solution.
(λ − 1)(λ − 2)(λ − 3) = 0
y = c1 ex + c2 e2x + c3 e3x
89 of 110
BRAC
University MAT 120
yp = Aeαx (7.22)
90 of 110
BRAC
University MAT 120
GENERALIZATIONS
MODIFICATIONS
91 of 110
BRAC
University MAT 120
is the smallest positive integer such that the product of xm with the
assumed solution has no terms in common with yh .
Thus, yp0 = 2A2 x + A1 and yp00 = 2A2 . Substituting these results into
the differential equation, we have
or, equivalently,
yp = −2x2 + 2x − 3
92 of 110
BRAC
University MAT 120
Thus,
1 −x 13 −x
yp = − xe − e
12 144
and the general solution is
1 −x 13 −x
y = c1 ex + c2 e2x + c3 e3x − xe − e
12 144
93 of 110
BRAC
University MAT 120
Therefore,
94 of 110
BRAC
University MAT 120
7 4
yp = sin x − cos x
65 65
Thus, the general solution to the differential equation is
7 4
y = e−2x (c1 cos 2x + c2 sin 2x) + sin x − cos x
65 65
Therefore,
y 0 = −2e−2x (c1 cos 2x + c2 sin 2x) + e−2x (−2c1 sin 2x + 2c2 cos 2x)
7 4
+ cos x + sin x
65 65
Applying the first initial condition to the general solution, we obtain
69
c1 =
65
Applying the second initial condition to the general solution, we ob-
tain
7
−2c1 + c2 = −
65
Solve the two equations above simultaneously, we find that c1 =
69/65 and c2 = 131/130. Substituting these values into the general
solution, we obtain the solution of the initial-value problem as
69 131 7 4
y = e−2x cos 2x + sin 2x + sin x − cos x
65 130 65 65
95 of 110
BRAC
University MAT 120
96 of 110
BRAC
University MAT 120
is negative and −kx is positive. Also note that because a > 0 the force
Fa due to air resistance acts in the opposite direction of the velocity and
thus tends to retard, or damp, the motion of the mass.
It now follows from Newton’s second law that mẍ = −kx−aẋ+F (t),
or
a k F (t)
ẍ + ẋ + x = (7.26)
m m m
If the system starts at t = 0 with an initial velocity v0 and from an
initial position x0 , we also have the initial conditions
The force of gravity does not explicitly appear in the first equation,
but it is present nonetheless. We automatically compensated for this
force by measuring distance from the equilibrium position of the spring.
If one wishes to exhibit gravity explicitly, then distance must be mea-
sured from the bottom end of the natural length of the spring. That is,
the motion of a vibrating spring can be given by
a k F (t)
ẍ + ẋ + x = g +
m m m
97 of 110
BRAC
University MAT 120
charge on the capacitor. The voltage drop across an emf is −E(t). Thus,
from Kirchhoff s loop law, we have
dI 1
RI + L + q − E(t) = 0 (7.28)
dt C
The relationship between q and I is
dq dI d2 q
I= = 2 (7.29)
dt dt dt
Substituting these values into the initial equation, we obtain
d2 q R dq 1 1
+ + q = E(t) (7.30)
dt2 L dt LC L
The initial conditions for q are
dq
q(0) = q0 = I(0) = I0 (7.31)
dt t=0
d2 I R dI 1 1 dE(t)
+ + I = (7.32)
dt2 L dt LC L dt
The first initial condition is I(0) = I0 . The second initial condition
is obtained from Eq. (7.28) by solving for dI/dt and then setting t = 0.
Thus,
dI 1 R 1
= E(0) − I0 − q0 (7.33)
dt t=0 L L LC
An expression for the current can be gotten either by solving Eq.
(7.32) directly or by solving Eq. (7.30) for the charge and then differ-
entiating that expression.
98 of 110
BRAC
University MAT 120
BUOYANCY PROBLEMS
πr2 hρ = mg (7.34)
Motion will occur when the cylinder is displaced from its equilibrium
position. We arbitrarily take the upward direction to be the positive
x-direction. If the cylinder is raised out of the water by x(t) units,
then it is no longer in equilibrium. The downward or negative force on
such a body remains mg but the buoyant or positive force is reduced to
πr2 [h − x(t)]ρ. It now follows from Newton’s second law that
or
πr2 ρ
ẍ + x=0 (7.36)
m
99 of 110
BRAC
University MAT 120
CLASSIFYING SOLUTIONS
ẍ + a1 ẋ + a0 = f (t) (7.37)
100 of 110
BRAC
University MAT 120
ω
f= (7.39)
2π
and it represents the number of complete oscillations per time unit
undertaken by the solution. The period of the system of the time re-
quired to complete one oscillation is
1
T = (7.40)
f
Equation (7.38) has the alternate form
101 of 110
BRAC
University MAT 120
1
− = x(0) = c1 cos 0 + c2 sin 0 = c1
2
so the initial equation becomes
1
x(t) = − cos 4t + c2 sin 4t
2
The initial velocity is given as v0 = 0 ft/sec. Differentiating the
equation above, we obtain
whereupon
1
x(t) = − cos 4t
2
as the equation of motion of the steel ball at any time t.
(b) At t = π/12,
π 1 4π 1
x = − cos = − ft
12 2 12 4
Example 7.6.3. A mass of 1/4 slug is attached to a spring, where-
upon the spring is stretched 1.28 ft from its natural length. The mass is
started in motion from the equilibrium position with an initial velocity
of 4 ft/sec in the down-ward direction. Find the subsequent motion of
the mass if the force due to air resistance is −2ẋ lb.
Here m = 1/4, a = 2, F (t) ≡ 0 (there is no external force), and,
from Hooke’s law, k = mg/l = (1/4)(32)/1.28 = 6.25. Equation (7.26)
becomes
102 of 110
BRAC
University MAT 120
ẍ + 8ẋ + 25x = 0
d2 x dx
t4 + (sin t) − 4x = ln t (7.42)
dt2 dt
We see that (7.42) implies
d2 x 4 sin t dx ln t
= x − + 4 (7.43)
dt2 t4 t4 dt t
Since that derivatives can be expressed in many ways — using primes
dx
or dots are but two of them — we let v = = x0 = ẋ and v 0 =
dt
2
dx
= x00 = ẍ. Then Eq. (7.42) can be written as the following matrix
dt2
equation:
ẋ 0 1 x 0
= 4 − sin t + ln t (7.44)
v̇ t4 t4 v t4
103 of 110
BRAC
University MAT 120
dn x dn−1 x
bn (t) n + bn−1 (t) n−1 + ... + b1 (t)ẋ + b0 (t)x = g(t); (7.46)
dt dt
˙
x(t0 ) = c0 , x(t0 ) = c1 , ..., x(n−1) (t0 ) = cn−1 (7.47)
with bn (t) 6= 0, can be reduced to the first-order matrix system.
dn x dn−1 x
= an−1 (t) n−1 + ... + a1 (t)ẋ + a0 (t)x + f (t) (7.49)
dtn dt
where aj (t) = −bj (t)/bn (t) (j = 0, 1, ..., n−1) and f (t) = g(t)/bn (t).
104 of 110
BRAC
University MAT 120
dn−1 x(t)
ẋn (t) = an−1 (t) + ... + a1 (t)ẋ(t) + a0 (t)x(t) + f (t)
dtn−1
= an−1 (t)xn (t) + ... + a1 (t)x2 (t) + a0 (t)x1 (t) + f (t)
ẋn (t) = a0 (t)x1 (t) + a1 (t)x2 (t) + ... + an−1 (t)xn (t) + f (t) (7.52)
x1 (t)
x (t)
2
x(t) ≡ .. (7.53)
.
xn (t)
105 of 110
BRAC
University MAT 120
0
0
..
f (t) ≡ . (7.54)
0
f (t)
0 1 0 0 ... 0
0 0 1 0 ... 0
0 0 0 1 ... 0
A(t) ≡ .. (7.55)
. .. .. .. ..
. . . .
0 0 0 0 ... 1
a0 (t) a1 (t) a2 (t) a3 (t) ... an−1 (t)
Step 5. Define
c0
c1
c≡
..
.
cn−1
Then the initial conditions (7.47) can be given by the matrix (vector)
equation x(t0 ) = c. This last equation is an immediate consequence of
Eqs. (7.53), (7.54), and (7.47), since
x1 (t0 ) x(t0 ) c0
x (t ) ẋ(t ) c
2 0 0 1
x(t0 ) = .. = .. = .. ≡ c
. . .
(n−1)
xn (t0 ) x (t0 ) cn−1
106 of 110
BRAC
University MAT 120
REDUCTION OF A SYSTEM
d2 x
ẋ2 = 2 = −2ẋ + 8x + et = −2x2 + 8x1 + et
dt
Thus,
107 of 110
BRAC
University MAT 120
ẍ = 6ẋ − 9x + t
Thus,
x1 (t) 0 1 0
x(t) ≡ A(t) ≡ f (t) ≡
x2 (t) −9 6 t
108 of 110
Appendices
109
List of Figures
110