Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Part 1:
Advanced Calculus of One Variable with Applications
Contents
1 Differentiation and Integration 2
1.1 Differentiation Revision: Chain, Product and Quotient Rules . . . . . . . . . . . . 2
1.2 Maclaurin and Taylor Series Approximations of Functions . . . . . . . . . . . . . . 4
1.2.1 Maclaurin series (including small angle approximation) . . . . . . . . . . . . 4
1.2.2 Taylor series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.3 Linear approximation, small variations and errors . . . . . . . . . . . . . . . 6
1.3 Optimisation: Stationary Points, Maxima/Minima and Modelling . . . . . . . . . . 8
1.4 Modelling and Verification of Solutions in Differential Equations . . . . . . . . . . 11
1.5 Revision of Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.6 Integration by Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.7 Integration by Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.8 Integration using Partial Fractions . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.9 Area Under a Curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.10 Average Value of a Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.11 Curve Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
1.12 Solving Differential Equations: Separable Variables Method . . . . . . . . . . . . . 28
1.13 Numerical Integration: the Trapezium/Trapezoidal Rule . . . . . . . . . . . . . . . 30
December 7, 2016
F17XB 2
Chain Rule
The chain rule is used to differentiate functions such as
2
(x3 4x)5 , e3x , sin(5x ) , cos2 x , ln(9x2 + 2)
The chain rule can be found on the formula sheet and states that
dy dy du
=
dx du dx
It is easiest to see how the chain rule works in examples.
Product Rule
The product rule is used to differentiate functions such as
x3 sin x, e3x cos x , 3x2 ln 3x
Here y = f (x) is the product of two functions (that is two functions multiplied together), so we
could write y = u(x)v(x). To differentiate such functions we use the product rule. On the formula
sheet the product rule is written as
if y = uv then y = u v + u v
Quotient Rule
The quotient rule is used to differentiate functions such as
3 sin 2x x3 + 3x2 2 sinh x
, ,
x2 + 4x x5 + 3 cosh x
u(x)
Here y = f (x) is the quotient of two functions, so we could write y = . To differentiate such
v(x)
functions we use the quotient rule. On the formula sheet the quotient rule is written as
u u v u v
if y= then y =
v v2
3 sin 2x
Example 1.5. Find the derivative of y =
x2 + 4x
Solution. First we assign u and v. Let u = 3 sin 2x and v = x2 + 4x. NOTE: v has to be the
function on the bottom.
Second we calculate the components of the quotient rule formula.
If u = 3 sin 2x then u = 6 cos 2x and if v = x2 + 4x then v = 2x + 4
Finally we substitute these components into the quotient rule formula.
u v u v (6 cos 2x) (x2 + 4x) (3 sin 2x) (2x + 4)
y = =
v2 (x2 + 4x)2
sinh x
Example 1.6. Find the derivative of y =
cosh x [Solution in lecture.]
F17XB 4
A calculation shows that the equation of the tangent line to the curve f (x) = ex at the point
x = 0 is given by y = x + 1 . This tangent line is a good approximation to f (x) = ex for x close
to 0 . However, at x = 1 the tangent line is equal to 2 while the curve ex = e1 = e = 2.718 . . . .
We could improve the approximation 1 + x by adding terms in x2 , x3 etc. This section is about
doing this for a general function f (x).
Suppose
f (x) = a0 + a1 x + a2 x2 + a3 x3 + a4 x4 + . . . (1)
we want to find the numbers a0 , a1 etc. Putting x = 0 in (1) gives
f (0) = a0 + a1 .0 + a2 .02 + . . . = a0 .
Differentiating (1) gives
f (x) = a1 + 2a2 x + 3a3 x2 + 4a4 x3 + . . . (2)
Putting x = 0 in (2) gives
f (0) = a1 + 2a2 .0 + 2a3 .02 + . . . = a1 .
Differentiating (2) gives
f (x) = 2a2 + (3 2)a3 x + (4 3)a4 x2 + (5 4)a5 x3 + . . . (3)
Putting x = 0 in (3) gives
f (0) = 2a2 + 6a3 .0 + 12a4 .0 + . . . = 2a2 .
Continuing this process we obtain
Factorials: The number 5! (read five factorial or factorial 5) means 5 4 3 2 1 . Note that
1! = 1 and that by convention 0! = 1 . The reader should check by calculation that 4! = 24 and
use a calculator to check that 7! = 5040 and 9! = 362880 .
Example 1.7. Find the Maclaurin series for ex up to and including the x3 term.
f (0) 2 f (0) 3
Solution. f (x) = f (0) + f (0)x + 2! x + 3! x + ...
f (x) = ex so f (0) = e0 = 1 . Also, f (x) = ex , f (x) = ex and f (x) = ex .
Hence f (0) = f (0) = f (0) = 1 and the Maclaurin series for ex is
x2 x3 x2 x3
ex = 1 + x + + + ... = 1 + x + + + ...
2! 3! 2 6
In the figure below we have plotted the graph of ex and the the first few Maclaurin series
approximations up to
x2 x3
1+x+ + .
2 6
Taking more terms in the Maclaurin series would give a better approximation.
F17XB 5
6
ex
4 1+x+x2/2+x3/6
1+x+x2/2
1+x
2
0
0 0.5 1 1.5 2
x
Example 1.8. Show that the Maclaurin series for sin x up to and including the x5 term is
x3 x5
sin x = x + + ...
6 120
(0) (4) (0) (5) (0)
Solution. Maclaurin series: f (x) = f (0) + f (0)x + f 2!(0) x2 + f 3! x3 + f 4! x4 + f 5! x5 + . . .
and f (x) = sin x so work out
f (x) = cos x f (x) = sin x f (x) = cos x f (4) (x) = sin x f (5) (x) = cos x.
Example 1.9. Find the Maclaurin series for sin 2x up to and including the x3 term.
[Solution in lecture.]
x2
sin x x and cos x 1
2
Example 1.10. A wire of length x is used to support a transmission tower. If the angle
in radians is small find a rule of thumb approximation for the height of the tower h and the
distance of the tower from where the support wire is anchored l.
F17XB 6
x
h
l
Solution. Using trigonometry and the small angle approximation we can deduce that
2
h = x sin x, l = x cos x 1 .
2
Example 1.11.
Find the Taylor series for x at x = 100 up to the x2 term and use it to
approximate 104.
f (100)
Solution. Taylor series is f (x) = f (100) + f (100)(x 100) + 2! (x 100)2 + . . . where
1 1 1 1 3
f (x) = x = x2 , f (x) = x 2 , f (x) = x 2 .
2 4
Substituting x = 100 we have
1 1 1 1 1 1
f (100) = 100 = 10, f (100) = = , f (100) = 3 =
2 100 20 4 100 2 4000
The Taylor series for x about x = 100 is
1 1
x = 10 + (x 100) (x 100)2 + . . .
20 8000
4 16
Set x = 104 to get 104 10 + 20 8000 = 10.198, which is a reasonably good approximation of
the exact value 104 = 10.19803903 . . ..
3
Example 1.12. Find the linear approximation of f (x) = 5ex1 + sin(x) near x = 1.
F17XB 7
f = f (x) f (a), x = x a
where is the Greek capital letter delta. Sometime (lower case delta) is used instead.
f f (a)x.
In other words
f af (a) x
100% 100% .
f (a) f (a) a
In other words
af (a)
% change in f % change in x.
f (a)
Example 1.13. The radius of a (spherical) star was observed to increase by 1% from r = a
metres. Use linear approximation to estimate the percentage its volume increases by.
Solution. The radius is r and the volume is V (r) = 4r3 /3. Then V (r) = 4r2 . From the
formula above,
a4a2
% change in V % change in r = 3 % change in r.
4a3 /3
Example 1.14. We want to drill a circular hole in a sensitive piece of equipment. The cross
sectional area of the hole has to be accurate to better than 1%. Estimate the % accuracy we
require in the radius of the drill bit.
[Solution in lecture.]
F17XB 8
and it has
It can turn out that there is more than one local maximum or minimum and so we have to find
the global (overall) maximum or minimum from all of them. It can also turn out that there is a
restriction on the independent variable x, and that the global maximum or minimum occurs at
the edge of its range without it being a local maximum or minimum.
If f (x) is a continuous, smooth function defined for the allowable range of values a x b
then global maxima and minima exist. To find them you need to check the values at
5
C E
4
3 A
2 D
1
B
0
4 6 8 10 12 14 16 18 20 22 24
x
This function is only defined for x between 3 and 25 written 3 x 25.
Example 1.15. Locate the local and global extrema in the figure above.
More complicated things can happen if the function is not continuous (joined up) and smooth.
y=|x| y=f(x)
2 2
1.5
1
0
0.5
0 1
2 1 0 1 2 2 1 0 1 2
x x
These functions are continous but not smooth and both are restricted to 2 x 2.
F17XB 10
Example 1.17. A rectangle is to be made with a perimeter of 16m. Find the lengths of the
sides when the area is a maximum.
Solution. There are many rectangles with a perimeter 16m, for example sides 7m and 1m
(area 7m2 ) or 5m and 3m (area 15m2 ). To do problems like this we have to express the given
information about the area as a function of one variable.
If the sides are x and y then the area is A = xy .
Since 2x + 2y = 16 we have that y = 8 x and so A(x) = x(8 x) = 8x x2 .
At stationary points A (x) = 0 . Then 8 2x = 0 and x = 4 is the stationary point.
Since A (4) = 0 and A (4) = 2 < 0 the 2nd derivative test says that x = 4 is a local maximum.
Now check if this is the global maximum value. There are no other stationary points, so we
need only consider the ends of the range of possible values of x. What are they? Common sense
dictates that the rectangle cannot have 0 or negative lengths in it, so both x > 0 and y > 0. Also
y > 0 means that y = 8 x > 0 and so x < 8. So the allowable range for x is 0 < x < 8.
Check the values at the two ends. We get A(0) = 0 and A(8) = 0. At the local maximum x = 4
we have A(4) = 16 which is above the values at the two ends. So having checked the only local
maximum and the two ends, x = 4 gives the global maximum.
Hence the area is a maximum (16m2 ) when x = 4m and y = 4m. It is a square.
Example 1.18. An open rectangular tank with a square base is to be constructed so that it has
a volume of 500 cubic metres. Find the dimensions of the tank which minimise its total surface
area (and hence the amount of material used).
[Solution in lecture.]
Example 1.19. A rectangular metal 4m 2m plate plate has x x squares cut from its four
corners as illustrated and is then folded up to make an open box. Why do we need the restriction
0 < x < 1? What is the dimension of this box that has the maximum volume?
[Solution in lecture.]
side length = 2
side length = 4
The metal plate in Example 1.19.
F17XB 11
Example 1.20. Let us introduce some rabbits into a new territory. The population of rabbits
p(t) at time t months is found to be increasing at a rate proportional to p p2 /1200 and the
constant of proportionality is 16. Obtain the differential equation for p(t).
dp dp
Solution. The rate of increase is and so = 16(p p2 /1200).
dt dt
Example 1.21. The velocity y(t) of a particle moving in a resisting medium is decreasing at
a rate proportional to y 2 (t) . If k > 0 is the constant of proportionality, obtain the differential
equation satisfied by y(t) .
dy dy dy
Solution. The rate of decrease of y(t) is so = ky 2 . Hence = ky 2 .
dt dt dt
Example 1.22. In a model to estimate the depreciation of the value of a computer, the value
y(t) at age t months, decreases at a rate proportional to y(t) .
(a) If k > 0 is the constant of proportionality, obtain the differential equation satisfied by y(t) .
(b) The initial value of the computer is 1000 . Verify that the solution is y(t) = 1000ekt .
dy dy dy
Solution. (a) The rate of decrease of y(t) is so = ky . Hence = ky .
dt dt dt
(b) We have to
dy
Show that y(t) = 1000ekt satisfies = ky .
dt
Check that for y(t) = 1000ekt , y(0) = 1000 .
dy dy
For y(t) = 1000ekt , = 1000kekt and ky(t) = 1000kekt . Hence = ky .
dt dt
Putting t = 0 in y(t) = 1000ekt gives y(0) = 1000e0 = 1000 as required.
F17XB 12
dy
Example 1.23. Verify that y = 1 + Ce3t is a solution of = 3(y 1) where C is a constant.
dt
Hence find the solution with y = 5 when t = 0 .
[Solution in lecture.]
Example 1.24. In a certain chemical reaction, the concentration y(t) of a substance is decreasing
at a rate proportional to the cube of its value at that instant. If k > 0 is the constant of
proportionality, obtain the differential equation satisfied by y(t) . If the initial concentration is
y(0) = 1 , verify that the solution is
d2 y
Example 1.25. Show that y = cosh(5t) is a solution of = 25y.
dt2
Solution. Differentiate twice:
dy d2 y d
= 5 sinh(5t), = 5 sinh(5t) = 25 cosh(5t) = 25y
dt dt2 dt
as required.
d2 y
Example 1.26. Show that y = sinh(5t) is also solution of = 25y.
dt2
[Solution in lecture.]
d2 y
Example 1.27. It turns out that y = A cosh(5t) + B sinh(5t) is a solution of = 25y for any
dt2
choice of constants A and B. Find the values of A and B if y(0) = 1 and y (0) = 2.
and
A definite integral has limits, say we integrate x between a and b. This definitely does not have
an arbitrary constant.
Z b
f (x) dx = F (b) F (a)
a
d
where F (x) is a function such that F (x) = f (x). This is the Fundamental Theorem of Calculus.
dx
F (x) is sometimes called the antiderivative of f (x).
In the previous course you learned how to integrate common functions and some rules of integra-
tion. Here is a reminder.
General R Example R
f (x) f (x) f (x) f (x)
xn+1 x8
xn + C for n 6= 1 x7 +C
n+1 8
cos ax cos 5x
sin ax +C sin 5x +C
a 5
sin ax sin(2x)
cos ax +C cos(2x) +C
a 2
eax e4x
eax +C e4x +C
a 4
1 1 1 1
ln(ax + b) + C 3x2 ln(3x 2) + C
ax + b a 3
1 1 x 1 1 x
tan1 +C tan1 +C
a2 + x2 a a 16 + x2 4 4
1 x 1 x
sin1 +C sin1 +C
a x2
2 a 9 x2 3
10e5x 2e5x + C
R
g(x)dx g(x)dx
x3
x2 + cos x
R R
(g(x) + h(x)) g(x)dx + h(x)dx + sin x + C
3
d d
(f (x)) f (x) + C (sin 3x) sin 3x + C
dx dx
F17XB 14
Z
Example 1.28. Evaluate (4e2x + 9x2 ) dx.
Solution.
e2x x3
Z Z Z
2
(4e 2x
+ 9x ) dx = 4 e 2x
dx + 9 x2 dx = 4 + 9 + C = 2e2x + 3x3 + C
2 3
Z
Example 1.29. Evaluate (cos(E/8) + sin(E/2)) dE.
Solution.
sin(E/8) cos(E/2)
Z
(cos(E/8) + sin(E/2)) dE = + C = 8 sin(E/8) 2 cos(E/2) + C
1/8 1/2
Z 2
Example 1.30. Evaluate (6x2 2x) dx.
0
Solution. Z 2 2
(6x2 2x) dx = 2x3 x2 0 = (16 4) (0 0) = 12
0
5
3
Z
Example 1.31. Evaluate dV .
1 V
Solution.
5
3
Z
dV = [3 ln V ]51 = 3 ln(5) 3 ln(1) = 3 ln(5)
1 V
Z
Example 1.32. Evaluate 100ex dx.
0
Solution. Z
100ex dx = 100ex 0 = (0) (100) = 100
0
F17XB 15
e2x+1 dx
R
Example 1.33. Find
Solution. Cant do this with the standard integrals and rules seen so far! Instead we can use
the following trick to change the problem into one we can do.
Trick: Introduce a new variable u, which is related to x by
u = 2x + 1.
u1 1
Z Z Z
2x+1
e dx = e du = eu du.
2 2
This is now a standard integral, and we have
1 1
Z
eu du = eu + C.
2 2
Finally we substitute again so our answer is in terms of x (as thats what we started with)
1 u 1
e + C = e2x+1 + C.
2 2
Summary: To apply the method of integration by substitution
du
2. Differentiate to find .
dx
3. Rearrange to get dx in terms of du.
5. Do integral.
Z
Example 1.34. Find x + 1 dx
[Solution in lecture.]
2x
Z
Example 1.35. Find dx
x2 +1
du du
Solution. Let u = x2 + 1. Then = 2x so dx = . Therefore
dx 2x
2x 2x du 1
Z Z Z
2
dx = = du
x +1 u 2x u
Notice that the 2x term cancels on the top and the bottom. This is no accident. I chose u = x2 +1
because I noticed its derivative was 2x which was the other term in the expression. Continuing
the solution we get
1
Z
du = ln(u) + C = ln(x2 + 1) + C.
u
Z
Example 1.36. Find 6x2 cos(x3 ) dx.
[Solution in lecture.]
e
ln(t)
Z
Example 1.37. Calculate dt
1 t
[Solution in lecture.]
dx
Z
Example 1.38. Use the substitution sin = x to calculate .
1 x2
Solution. Differentiate both sides of sin = x with respect to x to get
d
cos = 1 and so dx = (cos )d.
dx
Then use x = sin to get
p p
1 x2 = 1 sin2 = cos2 = cos .
So
dx (cos ) d
Z Z Z
= = 1 d = + C = sin1 (x) + C.
1 x2 cos
Example 1.39. Use the substitution u = x/a (so that x = au) to calculate
dx
Z
.
a x2
2
Solution. We have dx = a du so
dx a du du x
Z Z Z
= = = sin1 (u) + C = sin1 +C
a2 x2 a 2 a 2 u2 1 u2 a
where we have cancelled the a, and used the result of the previous example.
F17XB 17
The aim is that the integral on the RHS is simpler than the one on the LHS.
We deal with the constants of integration from each indefinite integral by lumping them
together and one in once the final intgral is done.
To apply the method of integration by parts:
Z Z
3. Plug these into the formula u v dx = u v u v dx
Solution. Let
u(x) = ln(x) and v (x) = x
so
1 x2
Z Z
u (x) = and v(x) = v (x) dx = x dx = (+C).
x 2
Thus
x2 1 x2 x2 1 x2 x2
Z Z Z
ln(x) x dx = ln(x) dx = ln(x) x dx = ln(x) + C.
2 x 2 2 2 2 4
F17XB 18
Z
Example 1.41. Find x sin(x) dx
[Solution in lecture.]
u = sin(x) and v = x
is bad since
x2
u = cos(x) and v=
2
so
x2 x2
Z Z
x sin(x) dx = sin(x) cos(x) dx
2 2
The integral on the RHS is more complicated than the original integral!
Z
Example 1.42. Find xex dx
[Solution in lecture.]
Solution. We let
u = x2 and v = cos(x)
so
u = 2x and v = sin(x).
Therefore
Z Z Z
2 2 2
x cos(x) dx = x sin(x) 2x sin(x) dx = x sin(x) 2 x sin(x) dx.
The integral on the RHS can be done by applying integration by parts again! We did this in an
earlier example so we now get
Z
x2 cos(x) dx = x2 sin(x) 2(x cos(x) + sin(x)) + C = x2 sin(x) + 2x cos(x) 2 sin(x) + C.
F17XB 19
Example 1.44. Split the following expression into its partial fractions.
7x + 3
.
(x 1)(x + 4)
Putting x = 1 leads to
7 1 + 3 = A (1 + 4) + B (1 1) = 10 = 5A = A = 2,
7 (4) + 3 = A (4 + 4) + B (4 1) = 25 = 5B = B = 5.
Therefore
7x + 3 2 5
= + .
(x 1)(x + 4) x1 x+4
7x + 3
Z
Example 1.45. Use partial fractions to find dx.
(x 1)(x + 4)
7x + 3 2 5
Z Z Z
Solution. From above dx = dx + dx
(x 1)(x + 4) x1 x+4
and the integrals on the Zright hand side Zare standard Z(in the tables).
2 2 1
Setting u = x 1 gives dx = du = 2 du = 2 ln(u) + C = 2 ln(x 1) + C,
xZ 1 uZ u
5 5 1
Z
while setting u = x + 4 gives dx = du = 5 du = 5 ln(u) + C = 5 ln(x + 4) + C.
x+4 u u
Hence
7x + 3
Z
dx = 2 ln(x 1) + 5 ln(x + 4) + C.
(x 1)(x + 4)
3
Z
Example 1.46. Find dx.
x(x + 3)
[Solution in lecture.]
F17XB 20
The area under the graph of positive function f (x) between x = a and b is given by
Z b
Area = f (x) dx
a
To understand how these applications arise it can help to think about integration as a form of
summation. Consider the area under the graph of the piecewise constant function (i.e. made up
of constant chunks).
f(x)
4
2 1 0x<2
f (x) = 4 2x<3
2 3x6
1
2 3 6 x
Using simple geometry, the area between this function and the x-axis for x between 0 and 6 is:
Area = (Area of 1st rectangle) + (Area of 2nd rectangle) + (Area of 3rd rectangle)
= 1 2 + 4 1 + 2 3 = 12.
On the other hand f (x) is a function so its Area is given by the definite integral from the definition
at the top:
Z 6 Z 2 Z 3 Z 6
Area = f (x) dx = 1 dx + 4 dx + 2 dx = 2 + 4 + 6 = 12.
0 0 2 3
They agree!
Areas under functions can be approximated by rectangles. Using narrower rectangles (hence
more of them) usually gives a better approximation. We can think of the case where we make the
rectangles narrower and narrower and eventually get to the exact integral.
f(x) a b x
f(x)
a b x
F17XB 21
Example 1.47. What is the area under the graph of y = sin(x) between x = 0 and x = /2?
Solution. We have
R /2
Area = 0 sin(x) dx
/2
= [ cos(x)]0 = cos(/2) ( cos(0)) = 0 (1) = 1.
Z b
Hence if f (x) 0 : f (x) dx = area between f (x) and the x-axis.
a
Some functions cross the x-axis and then we have to split the region/integral into parts that are
all above and all below and work out the areas for each part separately.
Example 1.48. Find the area between y = sin(x) and the x-axis for x between 0 and 2.
2
x
Area of part B is
Z 2
sin(x) dx = [ cos(x)]2
= cos(2) (cos()) = 2
NOTE: If we had calculated the integral between 0 and 2 we would not get the correct answer.
Z 2
sin(x) dx = [ cos(x)]2
0 = cos(2) ( cos(0)) = 0
0
This highlights the importance or sketching the function before calculating an area.
F17XB 22
Example 1.49. What is the area bounded by the graph of y = (x 1)(x 2) and the coordinate
axes?
f(x) = (x1)(x2)
f(x)
B x
1 2
[Solution in lecture.]
A B
C
1 x 1 x 1 x
Solution.
We want to calculate the area of A. We notice that
To determine the areas we need to determine the relevant interval for x to integrate over. To do
this we must determine where the graphs intersect. In our case we need
x2 = x = x = 0 or x = 1
Therefore R1 R1 2
Area between graphs = 0 x dx 0 x dx
R1 2
= 0 (x x ) dx
h 2 i1
x x3 1 1 1
= 2 3 0 = 2 3 (0 0) = 6.
F17XB 23
Example 1.51. What is the area bounded by the graphs of y = x2 and y = x3 , and the lines
x = 0 and x = 2?
f(x)
1 2 x
[Solution in lecture.]
f(x)
4
2 1 0x<2
f (x) = 4 2x<3
2 3x6
1
2 3 6 x
The average must take into account the height and the widths of the rectangles. Here there are
2 unit lengths of height 1, 1 unit length of height 4 and 3 units lengths of height 2. We need to
normalise by the total length as well. By simple geometry:
12+41+23 12
Average value = = = 2.
6 6
Using the formula at the start of this subsection
1 6
Z 2 Z 3 Z 6
1 1 1
Z
Average value = f (x) dx = 1 dx + 4 dx + 2 dx = (2 + 4 + 6) = 12 = 2.
6 0 6 0 2 3 6 6
It works!
F17XB 24
f(x)
Solution. From the graph we would expect the average to be 0. Using the formula we get
1
R 10
Average value = 10 0 sin() d
= 10 [ cos()]10
1
0
1
= 10 (1 (1))) = 0.
Example 1.53. Rectification transforms an AC voltage V (t) = V0 sin(t) (with amplitude V0 > 0
and angular frequency ) into the all positive rectified voltage VR (t) = V0 | sin(t)|. This is then
fed into a smoothing circuit to produce a DC output which is the average of the rectified voltage
over complete cycles. Find the DC output voltage VDC .
Vo
0.5 Vo
0
0.5 Vo
Vo
0 / 2/ 3/ 4/ 5/
time t
[Solution in lecture.]
F17XB 25
Example 1.54. A 2m long metal rod is heated resulting in a temperature T (x) C at a position
x metres from the end where
75
T (x) = .
(x + 1)2
What is the average temperature of the rod?
[Solution in lecture.]
Example 1.55. The amount of radioactive material after t hours in a sample is given by R(t) =
105 e(t/10) . Find the average value of R(t) over (i) the first 24 hours and (ii) the first and last
hour of this period. Work to three significant figures.
Solution.
1
R 24 5 (t/10)
Average over 24 hr = 24 0 10 e dt
10 5 24 5
(t/10) = 10 (10e0 )] = 3.79 104
2.4
= 24 10e 0 24 [10e
[Solution in lecture.]
The root mean squared average value (RMS) is often used with oscillating quantities like voltage
and current, but it has a general definition valid for all functions. For the function f (t) the RMS
average over the interval from t = a to t = b is defined by
s
Z b
1
RMS = f (t)2 dt.
ba a
For oscillating functions, the RMS value is usually defined over a complete cycle.
Example 1.56. Work out the RMS value for f (t) = sin t for t between 0 and 2. This is one
complete cycle of sin t. You might find the trig identity cos(2t) = 1 2 sin2 (t) useful.
Why does this work? Let us start with a simplified example where the curve is a straight line.
Example 1.57. What is the length of the curve defined by f (x) = 2x 1 between x = 1 and
x = 3?
f(x)
f(3)=5
f(1)=1
1 3 x
Now use the formula at the top. We have f (x) = 2x 1 between x = 1 and x = 3 and f (x) = 2,
Z 3p h i3
so answer is 1 + 22 dx = 5x = 3 5 5 = 2 5. Same as before.
1 1
Now we apply a trick. We use the fact that f (xi+1 ) f (xi ) f (xi )x, where x = xi+1 xi is
the width of the strips.
Then, length of curve between (xi , f (xi )) and (xi+1 , f (xi+1 )) is
p p
= (x)2 + (f (xi )x)2 = 1 + (f (xi ))2 x.
F17XB 27
as we make N bigger and bigger, and hence each segment closer and closer to the actual curve.
3
Example 1.58. Find the length of the curve f (x) = x 2 between x = 0 and x = 1. Work to three
significant figures.
[Solution in lecture.]
Example 1.59. The cable which is strung between the two supports of the main span on the
Forth Road Bridge is approximately in the shape of a Catenary Curve. This is the shape that
a chain hangs in between two supports. The supports are 1006m apart, and the cable is at height
0 in the middle and height 90m at the supports. The height of the cable is then
where x = 0 is the middle of the span, and x = 503m are the two ends. What is the length of
the cable?
100
80
height (m)
60
40
20
0
600 400 200 0 200 400 600
distance from midpoint (m)
[Solution in lecture.]
Example 1.60. Find the length of the curve defined by f (x) = 3 3x2 between x = 1 and
x = 1.
This looks like it shouild be easy since it is just a parabola, but you end up with a difficult
integral in the form (with a > 0)
xp 1
Z p
1 + a2 x2 dx = 1 + a2 x2 + sinh1 (ax) + C
2 2a
which can be found in more advanced tables of integrals, or by using a computer calculus package
like Maple. [Solution in lecture.]
F17XB 28
y dy = ex dx
y2
Z Z
y dy = ex dx + C1 = ex + C2 y = 2ex + 2C2 2C1
p
2
and so, lumping arbitrary constants 2C2 2C1 into arbitrary constant C,
y = 2ex + C.
We only really need to add a constant C for one of the integrals as they will always combine as
in the example above.
Find C? If we are given some additional information we can find the value of C.
Example 1.62. We derived the differential equation for the concentration y(t) in a particular
chemical reaction in Example 1.24 earlier in the course. We had
dy
= ky 3 , with y(0) = 1
dt
where k > 0 is the rate constant. Find the solution y(t).
All the other methods we know dont work or are too hard.
In such cases we need methods for obtaining numerical approximations to definite integrals. We
already have one way of obtaining numerical approximations! Recall that definite integrals in
general were defined using definite integrals of piecewise constant approximations...which could
be computed numerically! The problem with this method is that its inefficient; we need to divide
the interval into many (maybe 1000s) of sections to get accurate values. In this Chapter well
discuss a somewhat better method.
f(x)
f(x)
a b x a b x
x
Z b
Now we approximate f (x) dx using trapeziums.
a
We divide the interval a x b into n equal parts a = x0 < x1 < ... < xn = b and approximate
the area under the curve in each subinterval with a trapezium.
1 ba
Area of each trapezium = (f (xi ) + f (xi+1 ))
2 n
F17XB 31
= 12 (f (x0 ) + f (x1 )) ba 1 ba 1 ba
n + 2 (f (x1 ) + f (x2 )) n + + 2 (f (xn1 ) + f (xn )) n
= ba
1 1
n 2 f (x0 ) + f (x1 ) + f (x2 ) + + f (xn1 ) + 2 f (xn )
b
(b a) 1 1
Z
f (x) dx f (x0 ) + f (x1 ) + . . . + f (xn1 ) + f (xn ) .
a n 2 2
Note the factors of 1/2 at each end and the approximation symbol .
Example 1.64. Approximate this integral on N equal strips using the Trapezoidal rule and the
rectangular rule. Which works better?
Z /2
sin(x)dx.
0
Clearly the Trapezoidal Rule is giving a closer answer for less effort (i.e. for smaller N ). For
example the error is less than 0.1% for N = 16 with the Trapezoidal Rule, but it takes N = 1024
with the Rectangular Rule to achieve the same accuracy. Saves a factor of 1024/16 = 64 in work.
Example 1.65. Let f (x) = x2 + 1. Use the trapezium rule with 5 strips to estimate
Z 2
f (x) dx.
1
ba
Solution. Here a = 1, b = 2 and n = 5 so = 0.2
n
Making a table of values (to 2 d.p.) gives
Of course for this simple example we can obtain the integral exactly.
2 2
x3
8 1 1
Z
f (x) dx = +x = +2 + 1 = 3 = 3.3333...
1 3 1 3 3 3
Thus it can be seen that the trapezium rule gives a much better approximation than the piecewise
constant approximation with the same number of sections/strips!
Example 1.66. Let f (x) = x ln(x). Use the trapezium rule with 4 strips to estimate
Z 3
f (x) dx.
1
[Solution in lecture.]
Example 1.67. A cycling child checks the speed (in km/h) on her speedometer at the following
times (in mins)
The child wants to know how far she has cycled. Since distance is the area under a graph of speed
versus time, the distance will be the following integral (noting that the times must be converted
to the correct units (hours)).
Z 3
60
f (x) dx
1
60
9
1. Find f (x) if : (a) f (x) = 6x3 , (b) f (x) = , (c) f (x) = 5x5 + 4x2 + 7
x4
2. Find s (t) if : s(t) = 5t2 + 10t + 25
2 3x
3. Find f (x) if : (a) f (x) = (x3 + 3x)6 , (b) f (x) = e4x , (c) f (x) = cos(5x + 3)
4. Find f (x) if : (a) f (x) = 2x2 ln(3x3 ) , (b) f (x) = 6x3 ex , (c) f (x) = sin x cos x
3x x2
5. Find f (x) if : (a) f (x) = (b) f (x) = (c) f (x) = tan x
x3 1 + ex
1. Find the Maclaurin series for 1 + x up to the x2 term.
7. Find the linear approximation of the function cos x for x near /2.
8. Find the Taylor series expansion of cos x up to terms in x3 for x near /2.
10. The radius of a (spherical) star was r = a and was observed to increase by 0.01%. Use
linear approximation to estimate the percentage its surface area increases by.
11. Estimate the values 82 and 80 using linear approximation. How good are these
approximations? Hint: set f (x) = x and a = 81.
12. A 100m long pipe of diameter 4m is covered by insulation hm thick and then buried
underground in soil. Use linear approximation to estimate how much extra soil is displaced by
the insulation.
13. To keep costs down in the previous question we are only allowed to displace an extra 100m3
of soil by adding the insulation. Use linear approximation to estimate the maximum thickness
allowable.
Tutorial Exercises for Section 1.3
1. A variable rectangle has a constant area of 49. Find the lengths of the sides when the
perimeter is a minimum.
2. A rectangular block has a square base. Its total surface area is 150.
75x x3
(a) If the base length is x , show that the volume V of the block is V =
2
(b) Find the dimensions of the block if the volume is a maximum.
3. An open box is to be made with a square base. The volume of the box is 32 cm3 . Find the
dimensions of the box if the surface area of the box is a minimum.
4. A rectangular box-shaped house is to have a square floor. Four times as much heat per
square metre is lost through the roof as through the walls: no heat is lost through the floor. The
house has to enclose 2000 cubic metres. Find the dimensions of the house so as to minimise heat
loss.
5. A rectangular field is to be fenced off along a road. The fence along the road costs 3 pounds
per metre while on the other sides it costs 2 pounds per metre. Calculate the maximum area that
can be fenced off for 400 pounds.
6. The cost per hour of running a train is proportional to 100 + v 2 /36 where v (in mph) is the
average speed of the journey. Find the speed v that makes the trip from Edinburgh to London
cheapest, assuming that the distance is 400 miles.
7. During essential maintenance work, an average speed limit is imposed in the previous
question and the maximum average speed allowed is v = 50 mph. Find the optimal speed for the
cheapest trip in this case.
8. The price P (in ) that a specialised component can be sold for depends on the average
number x manufactured each day. Note that the average number x need not be a whole number.
The process requires at least 1 to be made each day, and there is capacity to make up to 10. The
relationship between price and average number per day is found to be
The turning points of this function are at x = 4, 6. Use the second derivative test on each to
determine if it is a local maximum or minimum. State the allowable range for x, find the values
of x where the global maximum and minimum occur and state clearly what the global maximum
and minimum prices are.
C dy
2. Verify that y = 2 + is a solution of t + y = 2 where C is a constant.
t dt
Hence find the solution with y = 7 when t = 3 .
3. The velocity y(t) of a particle moving in a resisting medium satisfies the differential equation
dy
= t y
dt
Verify that the solution with y(0) = 5 is y(t) = 1 t + 4et .
4. The height y(t) of a tank of water which is being drained satisfies the differential equation
y (t) = 16 y(t) . Verify that the solution with y(0) = 1 is y(t) = (1 8t)2 .
p
dy
=Ey
dt
where the applied voltage E is a constant. Verify that the solution with y(0) = 0 is y(t) =
E(1 et ) . What is the value of the current for large t ?
dy
7. Verify that y = t ln t + Ct is a solution of t = t + y where C is a constant. Hence find
dt
the solution with y = 5 when t = 1 .
d2 y
8. Verify that y(t) = A sin(2t) + B cos(2t) is a solution of = 4y for all choices of A and
dt2
B. Find the values of A and B to satisfy the initial conditions y(0) = 7, y (0) = 3.
1.Z Use the given substitution to Zfind each of the following indefinite integrals.
Z
9 3
a. (x + 7) dx; u = x + 7 b. sin(2 4) d; u = 2 4 c. x2 ex dx; u = x3
x
Z Z
3
d. sin (5t) cos(5t) dt; u = sin(5t) e. dx; u = x2 + 1
x 2+1
ln(x)
Z Z
15x
f. e dx; u = 1 5x g. dx; u = ln(x)
x
2.Z Use a substitution Zto find each of the following
Z indefinite integrals.
Z
5 2 4x5 2
a. (x 3) dx b. sin( + 4) d c. e dx d. xe2x dx
x 2x + 1 cos(x)
Z Z Z Z
3
e. cos (t) sin(t) dt f. dx g. dx h. dx
1 x2 2
x +x+1 sin4 (x)
1. Find the area under the graph of f (x) in the given range for each of the following examples.
(i.) f (x) = x2 + 1; 1 x 3 (ii.) f (x) = sin(x); 0 x
(iii.) f (x) = cos(2); 0 /4 (iv.) f (x) = (1 + x)4 ; 2 x 1
(v.) f (x) = x; 1 x 4 (vi.) f (x) = e2x + e2x ; 0 x 1
1
(vii.) f (x) = 1+x2
; 1x3
x2
2. What is the area bounded by the graph of f (x) = x ; 1 x 4 and the coordinate axis?
1. Without using integrals, but by looking at the graph, try to guess the average value over
the given interval of each of the functions below.
0, 0 x < 1
(i.) f (x) = (ii.) f (x) = x; 0 x 2
1, 1 x 2
(iii.) f (x) = sin(x); 0 x 2 (iv.) f (x) = x3 ; 1 x 1
2. Calculate (using integration) the average value of each of the functions below on the given
interval.
(i.) f (t) = t2 ; 1 t 3 (ii.) f (t) = t2 ; 2 t 5
(iii.) f (t) = 1 + t; 0 t 2 (iv.) f (x) = 2x; 1 x 1
1
(v.) f (x) = x3 ; 1x3 (vi.) f (t) = t2
; 3 t 2
3. A 3m metal beam has temperature T (x) at a point x metres from one end where T (x) =
40 + 6x. Find the average temperature along the beam.
4. A racing car finishes a race in 3654 seconds. During the race the on board computer has
stored the speed v(t) at each time t. Give an expression (involving an integral) of the average
speed throughout the race.
5. During a 2 hour experiment a bacterial colony has size 20et/90 at a time t minutes into the
experiment. Find the average number of bacteria present (i) in the last hour of the experiment
and (ii) in the last 15 minutes of the experiment.
dy 4x dy 2x3 dy
1. = 2 , y(0) = 1, 2. = , y(2) = 4 3. = 3y, y(0) = 4
dx y dx y dt
dy
4. = x2 y 3 , y(1) = 1;
dx
Tutorial Exercises for Section 1.13
5
1
Z
1. Use the trapezium rule with 3 strips to estimate the value of dx.
2 x
Z 2p
2. Use the trapezium rule with 4 strips to estimate the value of 4 x2 dx.
0
2
ex
Z
3. Use the trapezium rule with n = 2, 4, 8 strips respectively to estimate the value of dx.
1 x
4. The table below gives the values of a function f (x) for certain values of X. Use the trapezium
Z 4
rule to estimate f (x) dx.
1