Engineering Unit 7
Engineering Unit 7
AJfeff~e111,,t things change and to test ideas and designs before they become real
Th.is u11it will be products. In many cases you will want to know how a quantity changes
(l(Ssessed by (1( series of with time, but variables other than time can also be important. As a
(l(ssij11,111w1.ts set by your future engineer, you need to understand and develop the skills needed
to model and solve complex problems. In this unit you will learn how to
tutor.
use calculus as a tool for solving engineering problems.
I
Assessment criteria
This table shows what you must do in order to achieve a Pass, Merit or Distinction grade, and where you
can find activities to help you.
m
Learning aim
tiQI
Examine how differential calculus can be used to solve engineering
problems
...,.
•.,.
Find the first and second derivatives Find accurately the graphical and analytical Evaluate, using technically correct language
for each type of given routine function. differential calculus solutions and, where and a logical structure, the correct graphical
Assessment practice 7.1 appropriate, turning points for each type of and analytical differential calculus solutions
given routine and non-routine function and for each type of given routine and non-
compare the results. routine function, explaining how the
Find, graphically and analytically, at least Assessment practice 7.1 variables could be optimised in at least two
.,.
two gradients for each type of given routine functions.
function. Assessment practice 7.1
Assessment practice 7.1
l :l:ZI
Find the indefinite integral for each type of Find accurately the integral calculus and Evaluate, using technically correct language
given routine function. numerical integration solutions for each and a logical structure, the correct integral
Assessment practice 7.2 type of given routine and non-routine calculus and numerical integration
function, and find the properties of periodic solutions for each type of given routine and
functions. non-routine function, including at least two
Find the numerical value of the definite Assessment practice 7.2 set in an engineering context.
integral for each type of given routine Assessment practice 7.2
function.
Assessment practice 7.2
i :lij#
Find, using numerical integration and integral
calculus, the area under curves for each type
of given routine definitive function.
Assessment practice 7.2
Learning aim Investigate the application of calculus to the solution of a defined
specialist engineering problem
•ii•
Define a given engineering problem and Analyse an engineering problem, explaining
ll·J:•
Critically analyse, using technically correct
present a proposal to solve it. the reasons for each element of the language and a logical structure, a complex
Assessment practice 7.3 proposed solution. engineering problem, synthesising and
Assessment practice 7.3 applying calculus and a mathematical
model to generate an accurate solution.
DQ:I Assessment practice 7.3
Solve, using calculus methods and a Solve accurately, using calculus methods
mathematical model, a given engineering and a mathematical model, a given
problem. engineering problem.
Assessment practice 7.3 Assessment practice 7.3
289
Getting started
You have already studied quite a few mathematical topics and gained skills
and knowledge. Think back to what you have learned in the past and what
you have found out about your best ways of learning. Try doing a few warm-
up questions from your previous work. Algebra skills will be particularly
useful when studying calculus. Like all skills, mathematical skills benefit
from practice. When you have completed this unit, think about how your
previous skills and knowledge have developed and identify some new areas
to explore in the future.
22
{(2) = = 4
Besides polynomials, there are several other types of
f(3) = 3 2 = 9 functions that engineers often use.
This function can be written in terms of two variables
Trigonometric functions
as the equation y =x 2 . You can see that the value of y
The most common trigonometric functions are sine (sin),
depends on the value of x, so x is called the independent
cosine (cos) and tangent (tan). You will also use the inverse
variable and y is called the dependent variable.
trigonometric functions (sin-1, cos-1 and tan-1) on your
The function y = x2 is an example of a polynomial calculator.
function. It is a polynomial of degree 2 because the
Exponential functions
highest power of the independent variable x is 2.
Polynomials such as y = 3x2 + 4x - 5 are important Exponential functions take the form f(x) = ax where a is a
functions for engineers to recognise. positive constant. Note that the independent variable, x,
is in the exponent. These functions have some interesting
In this unit, 'routine' functions mean functions to which properties, such as:
differential calculus can be applied directly with no
~ if a= 1 then f(x) = 1x=1 for all values of x
manipulation. Polynomials are examples of routine
functions. 'Non-routine' functions are those that need ~ if x = 0 then f(O) = a 0 = 1 for all values of a.
algebraic manipulation, sometimes several steps, before The second property above means that the graph of
they can be differentiated. Engineering problems are more y = ax always passes through the point (0, 1), regardless of
likely to involve non-routine functions. the value of a.
A particular exponential function that is very important in In the worked example below, the independent variable is n
~
engineering applications is f(x) =ex, where e"' 2.71828 ... is time and the dependent variable is distance. The gradient n
c
a constant sometimes known as Euler's number. of the graph therefore represents how distance changes in c
V>
Logarithmic functions
relation to time. Qi
(./)
0
Logarithmic functions are of the form y = loga(x) where a is <
<1l
a positive constant, read as 'y is the logarithm to the base m
::::i
a of the number x'. Cl.9.
::::i
A person standing 10 metres from you starts to <1l
y = loga(x) has the same meaning as x = aY. For example, <1l
::::! .
walk away in straight line, moving at a constant 2
100 = 102 , so 2 = log10 (100); in other words, 2 is the ::::i
(JQ
metres per second over a period of 5 seconds. Find
logarithm to base 10 of the number 100. '"1J
.....
an equation to express the distance between the 0
a-
Engineers normally use two bases for logarithms, 10 and e. person and you at any time. ro
Logarithms to base 10 are typically written simply as log(x), 3
V>
291
vertical change
gradient= _ _ _ __ ....;.___ ~ Table 7.2 Distances at some different times
horizontal change
1
change in distance j Time, t (s) O l 2 13 4 5
change in time I
, Distance, s (m) 1o.o [ 1o.s [ 12.0 14.5 18.0 1 22.5
=20-10= ..!Q= 2 ms-l Acceleration means that the velocity is constantly
5-0 5
changing, and therefore so is the gradient. The
Because the line goes through (0, 1O), the
gradient at a given value oft can be found
y-intercept is 10.
graphically, by drawing a tangent to the curve at
The equation describing the distances at time t is the required value oft and finding the slope of that
s = mt + c with m = 2 and c = 10; that is, s = 2t + 10. tangent, as shown in Figure 7.2.
25
The gradient of the line describes the rate of change of
the dependent variable with respect to the independent E' 20
variable. In the worked example, the gradient measures the --; 15
u
rate at which the distance from the observer is changing @ 10 ~---!;:...-~~~-1----+----l
~
with respect to time - in other words, the velocity. Velocity
0 5
is a time-based function, so we can write it as v(t) in
function notation. Note that this is not the same as v x t. In 0 -1--'---l---'-- -l---'--+---'-- +--'----I
the above example, v(t) = 2 m s-1 , a constant value.
0 2 3 4 5
Time(s)
Gradient of a non-linear function ~ Figure 7.2 Gradient of a curve
The graph of a non-linear function will not be a straight line, The gradient is greater at t = 4 than at t = 2, so the
so the gradient does not remain the same throughout. To rate of change of distance with respect to time
find the gradient at any point on the graph, you calculate (or the velocity) is greater at 4 seconds than at 2
the gradient of the tangent to the graph at that point. seconds. Using the triangles drawn in Figure 7.2:
. vertical change
Key terms ) v(2) =gradient at 2 = h . h
onzonta 1c ange
Rate of change - how fast the dependent variable =i=2ms- 1
changes as the independent variable increases. It 2
should always be stated in the form 'the rate of change v(4) =gradient at 4 = ~:: = 4 m s- 1
of ... with respect to ... '. For example, velocity is the rate
of change of displacement with respect to time. The
shorthand 'w.r.t.' is often used for 'with respect to'.
A2 Methods of differentiation
Tangent - a straight line that touches a curve at one point.
Graphical differentiation
As you saw above, you can find the gradient of a non-
linear function at any point by drawing the tangent to the
curve at that point, as in Figure 7.3.
What would happen if, in the previous example,
the person moving away from you had been
accelerating from standing at 1 m s- 2 (1 metre per
second per second)? Plot the distance-time graph
and find the velocity at 2 seconds and 4 seconds
after the person starts moving away.
Solution
The distances at times t = 1, 2, .. ., 5 are now as
shown in Table 7.2.
~ If the curve slopes up from left to right, the gradient is The gradient of the secant PQ is:
positive. 5y (y + 5y) - y f(x + 8x) - f(x)
~ If the curve slopes down from left to right, the gradient - =
5x (x + 5x) - x 8x
is negative. As Q gets very close to P, the gradient of the secant PQ
~ If the graph is constant (horizontal), the gradient is zero. approaches the gradient of the tangent at P. The gradient of
Calculating a gradient graphically only gives an the tangent is said to be the limit of the above expression as
approximate value, since the position of the tangent is just 8x tends to zero (5x -+ 0). Mathematically this is written as
an estimate. To obtain an accurate result, you need to use dy = lim 5y = lim f(x + 5x) - f(x)
an analytical method. dx ox-.o()x 11x_,o 5x
Differentiation - the process of calculating the gradient Using the above method of approaching a tangent with
of a function at a given point, or calculating the rate of a secant to find the gradient of a function at any point is
change of the dependent variable at a given value of the known as 'differentiation from first principles'.
independent variable. The area of mathematics dealing
with differentiation is called differential calculus.
Derivative - the result of applying differentiation to a
function . Calculate the derivative of the function y =x 2 from
\..
first principles.
You can find the gradient at a point Pon the graph of a Solution
function f(x) by differentiation. f(x) =xz
f(x + 5x) =(x + 5x) 2 =x 2 + 2x5x + (8x) 2
The delta method
. 5y . (x2 +2x5x+(8x)2)-x 2
This method gets its name from using the Greek lower- lim - =lim
ox-->06x &~o 8x
case letter delta (5) to represent a small change in a
. 2x 5x + (5x)2
variable. (Some texts use capital delta, !1, but they have
=~ 5x
the same meaning.) For example, a small change in the
variable x is written as 5x. = iix-->O
lim(2x + 8x) = 2x
On the graph of the function f(x), consider a second point This means that the gradient at any point x of
Q close to P. You can find the gradient of the line joining P the function y = x 2 is 2x. This is normally written
and Q (the secant); see Figure 7.4. As you move Q closer to dy
as dx =2x.
P, the gradient of the secant PQ gets closer to the gradient
of the tangent to the curve at P.
~ Figure 7.4 Differentiation from first principles, by using the Derivative notation
secant to approximate the tangent The :y form of writing a derivative is known as Leibniz
x difference in y
If the coordinates of Pare (x, y), then the coordinates of notation. You can think of it as meaning - - -- -
Q are (x + 5x, y + 5y), where 5x is the small horizontal difference in x
which is the definition of gradient. Another way of writing
distance and 5y is the small vertical distance between P
and Q. Since both points lie on the graph of f(x) we have the derivative of a function y =f(x) is f'(x), sometimes called
Newton notation. In this book we will mainly be using
y = f(x)
Leibniz notation, but you should also be aware of the
y + 5y = f(x + 5x) alternative notation f'(x), as it is widely used.
29:
In engineering, the variables you are working with will often be called something other
than x and y. In such cases you simply replace the x and y in :~ with the names of the
independ ent and depen dent variables in t he particular context. In the first two worked
examples of this unit, the rate of change of distance (s) with respect to time (t) can be
written as dds so the velocity can be expressed as v(t) = ~5 .
t d t
Note that the gradient d~ is known as the first derivative of y with respect to x. Later (in
Section A4) you will learn about second derivatives, and further derivatives (third, fourth
etc.) can also be calculated. Both types of derivative notation can be extended to represent
second and higher derivatives.
Note that differentiating a constant gives zero. The derivative is the rate of change - and a n
PJ
constant does not change! n-
c
c
Differentiating fractions and surds "'
oi
You can differentiate fractions such as y =~where the independent variable is in the
VI
0
<
ro
denominator, by using the rules of indices to rewrite the function as a power of x:
m
::i
1 °-9.
y= x =x-1 ::i
ro
ro
dy ::::!.
- = ( - l)x+ 1 = - x-2 ::i
dx C1Q
-0
.....
Th .1s can b e srmp
. l"f dy = - 1
" d to: -d
1 re
0
a-
x 2x ro
You can treat surds such as y =IX in a similar way: 3
1
"'
y= /X =X'i
dy = lxt-1= lx i
dx 2 2
29~
So far the functions we have encountered have been sums
or differences of standard functions, so differentiating x y
them has been straightforward. But what happens for
~ Figure 7.5 A product term generated by an amplification system
functions that are put together in a more complex way?
The output of this system is a product term, y =u(x)v(x).
Using the chain rule to differentiate a
The product rule for differentiating a product term states:
function of a function
dy du dv
A function such as y = 2x + 3 is said to be a simple function . - =v- +u-
dx dx dx
A function such as y = (2x + 3) 2 is called a composite
To apply the rule, you identify the functions u(x) and v(x),
function, or a function of a function . In this case, 2x + 3 is
find the derivative of each of them, and then substitute the
the 'inner' function, and ( ) 2 is the 'outer' function.
four expressions into the right-hand side of the rule. (You
It is possible to differentiate y =(2x + 3) 2 by expanding can think of the rule as a recipe and the four terms as the
brackets. This is fine as long as the outer function is a fairly ingredients. You need to prepare the ingredients before
low power, but could prove very time-consuming (and error- you can use them in the recipe.)
prone) if you had to multiply out something like y =(2x + 3) 7.
The chain rule is a method of differentiating a composite
function by using a substitution for the inner function.
Define the inner function to be the variable u(x). Then the A test signal can be modelled by the equation
chain rule says that y =x sin2x. Use the product rule to find the
dy dy du derivative of y with respect to x.
- =-X-
dX du dx Solution
Step 1: Identify u(x) and v(x). In most cases, take
the first function as u(x) and the second function
as v(x).
Use the chain rule to differentiate the function
u(x) =x, v(x) =sin2x
y =(2x+ 3)7.
Step 2: Differentiate u(x) and v(x).
Solution Both are standard functions, so you can use the
Let u =2x + 3. Then the given function is y = u 7. results in Table 7.3.
Differentiating both of these expressions: du =1 dv = 2 cos2x
dx ' dx
du dy
- =2 - = 7u 6 = 7(2x + 3) 6
dx ' du Step 3: Substitute u(x), v(x), ~~ and ~: into the
Applying the chain rule: product rule formula.
dy dy du
-=-X- -dy = v-
du + u-
dv = (sm2x)
. (1) + (x)( 2 cos2x)
dX du dx dx dx dx
= 7(2x + 3) 6 x 2
Step 4: Sim pi if e result if possible.
=14(2x + 3) 6 dy
- = sin2x + 2x cos2x
dx
You need to find five expressions to substitute into the quotient rule {four of them are n
~
the same as for the product rule, and there is also the v2 in the denominator). Follow ("\
c:
the same procedure as for the product rule. c:
.,,
~
V'l
0
<(1)
m
· I ·1n a communication
· · system can be mo d eII ed by t he equation 2x
· y = -sinx-
::J
A s1gna °-9.
::J
Use the quotient rule to differentiate y with respect to x. (1)
(1)
:;::! .
::J
Solution CTQ
-0
.....
Step 1: Identify u(x) and v(x). Take the numerator to be u(x) and the 0
~
denominator to be v(x). (1)
Step 4: Substitute u(x), v(x), ddu ' dv and v2 into the quotient rule formula.
x dx
du dv
dy vdX-udX
dx v2
(x){2 cos2x) - (sin2x){l)
x2
Step 5: Simplify the resu lt if possible.
dy 2x cos2x - sin2x
- =- - - 2- - -
dx x
•=rm• In each case, first identify the type of function (e.g. polynomial, exponential) and
then select the appropriate rule to apply.
Identify which of the rules - chain rule, product rule or quotient rule - should be
used to differentiate each of these functions. Then carry out the differentiation.
291
is a function itself, and you have seen that it represents the Since velocity is the derivative of displacement w.r.t.
gradient of the graph or the rate of change of the dependent time, acceleration can be calculated by differentiating
variable with respect to the independent variable. In displacement with respect to time twice. Therefore
engineering applications you will usually want to know the acceleration is the second derivative of the displacement
gradient of a graph at a particular point (the instantaneous functions= f(t). This is written as
gradient), or the rate of change at a specific value of the 2
a= dv = d s = f"(t)
independent variable (instantaneous rate of change). You dt dt 2
find this by substituting that specific numerical value of the d 2s
You should read dt 2 as 'd twos by d t squared'. The
independent variable into the derivative function .
notation indicates that s is differentiated twice with
Key term ) respect tot. The operation of differentiating twice w.r.t. the
Instantaneous gradient or rate of change - the variable t is represented by~2
gradient at a specific point on a curve, which represents dt
the rate of change of the dependent variable at a Similar relationships hold for angular motion:
specific value (instant) of the independent variable.
Angular displacement (radians) e= f(t)
You have seen that velocity is the derivative of displacement
Angular velocity (rad s-1) 00 = dB= f'(t)
dt
(distance moved in a given direction) with respect to time. a= dw = d2() = f"(t)
Angular acceleration (rad s-2)
dt dt 2
Displacement s =f(t)
Velocity v = ds = f'(t)
dt
The instantaneous velocity at a particular moment in time
is calculated by substituting the time value into the velocity e
The angle radians turned by a gearwheel in
function . t seconds is found by experiment to follow the
equation () = 4t + 3t 2
a) Calculate the angular velocity of the gearwheel
when t = Ss.
The displacement, s metres, of a gear piston after b) Calculate the angular acceleration when t = 8 s.
t seconds is found by experiment to follow the Solution
equation a) First, differentiate the angular displacement w.r.t.
s = t 2 + 3t - 4 time to find the angular velocity:
Calculate the velocity of the gear piston after 6
m(t) = ~~ =4 + 6t
seconds.
Then substitute t = 5 to find the instantaneous
Solution
angular velocity at that specific time:
Differentiate the displacement w.r.t. time to find the
m(S) = 4 + 6 x 5 = 34 rad s- 1
velocity function: v(t) = ~~ = 2t + 3
b) Differentiate the angular velocity w.r.t. time to
To find the instantaneous velocity at 6 seconds, find the angular acceleration:
substitute t = 6 into the velocity function: a= doo = 6 rad s- 2
v(6) = 2x6+3=15 ms- 1 dt
The angular acceleration is a constant value
(uniform acceleration), so when t = 8 s we also have
a= 6rads-2 .
A4 Second derivative and turning Note that the differentiation must be carried out
before the given values oft can be substituted.
points
Displacement, velocity and acceleration
Acceleration is the derivative of velocity w.r.t. time:
Turning points on a function
dv
Acceleration a =- Look at the function graphed in Figure 7.6.
dt
29~
~ Figure 7.7 Graph of y = -x2 + x + 1, showing that there is a maximum point at {0.5, 1.25)
Points of inflection
Not all turning points are maximum or minimum points. Sometimes the curve
increases, levels out and then increases again, or it could decrease, level out and then
decrease again. A point at which the gradient is instantaneously zero but where the
curve does not change direction is called a point of inflection (or inflexion).
Solution
Differentiation is useful when you need to optimise the values of variables. For
n-
c:
c:
example, you may want to maximise profits or minimise the costs of production. Vl
The following worked examples show how the techniques of differential calculus ~
I./)
The profit for a company (in £100,000 per year) is a function of the number ~ Figure 7.8 Graph of y = x3, with a
of components produced. The relationship between the number x of point of inflection at (0, 0)
components produced (in thousands per year) and the profit P is given by
P = 4 + 0.03x 2 - 0.001x 3
Find the production level that will maximise the profit, given that the
company has the capacity to produce, at most, 50000 components per
year, and calculate this maximum profit.
Solution
Step 1: Differentiate the profit function .
~: = 0.06x - 0.003x 2
Step 2: Find any turning points by looking at where the derivative is zero.
0.06x - 0.003x 2 = 0
x(0.06 - 0.003x) = 0
x = 0 or x = 0·06 = 20
0.003
Step 4: Check that the optimum solution found fits within the constraints
of the problem. p
The maximum capacity of the factory, 50 OOO components per year, 20
corresponds to x = 50, so the turning point at x = 20 fits within this capacity.
10 _1..,---'=-+""'""""- -
Step 5: Calculate the maximum profit. o of-'--+-~+---l""r-"T~-n--+~
301
A sheet metal worker wants to make a simple box out of a rectangular sheet by
cutting an identical square from each corner and folding up the sides. If the sheet
measures 300 mm by 200 mm, what is the length of the cut-out square that will give
a box of maximum volume? What will the maximum volume be?
Solution
300mm x
(300 - 2x)
D
X
200mm
2(3)
x = 127. 4 or x = 39 . 2
The answer cannot be x = 127.4 as then the width of the box, (200 - 2x), would
be negative.
Therefore the only relevant turning point is x = 39.2.
n
Ill
n-
c
Step 5: Calculate the maximum volume.
cV'I
When x = 39.2, V = (300 - 2 x 39.2)(200 - 2 x 39.2)(39.2) = 1 056 305
c;-i
So the maximum volume of the box is 1.056x10 6 mm 3 , obtained when the V'>
0
length of each cut-out square is 39.2 mm. <
<D
m
::J
°-9.
::J
<D
<D
Research ) ~-
::J
C1Q
"I
""O
Investigate how the product rule can be extended to functions that take the form .....
0
of three factors multiplied together. Try using the three-factor product rule to Q:
<D
differentiate the volume function for the box in the worked example. 3V'I
\. ~
Use differential calculus to answer the following For each of the questions in this assessment practice activity,
questions. It is important that you explain and show use the following stages to guide your progress through the
all the steps in your calculations clearly. task.
1 Differentiate the following functions with respect f~
to the independent variable. What techniques will be involved in answering the
question?
a) y = 4x 3 - 2x 2 + 5 b) y = sin4x
• How confident do I feel in my own abilities to answer
c) y = 3 cos2x d) y = ln3t e) T = e-2t
this question accurately? Are there any areas I think I may
2 Use the chain rule (function of a function rule) to struggle with?
differentiate these functions. Will a sketch help me to visualise the problem or check my
a) y = (x + 2)3 b) v = (sin3t)2 solution to it?
c) y =v'f+X d)R= ~x 2 +x+l Do
• I can organise my work logically and systematically,
3 Use the product rule to differentiate these
annotating the steps of my solution to explain my
functions.
approach.
a) y =et lnt b) v = sin3x cos4x c) s = t 4e- 3 t • I understand my thought process and can explain why I
4 Use the quotient rule to differentiate these have decided to approach the question in a particular way.
functions. • I can identify where I have gone wrong and adjust my
a) =x 2
+ 2x + 1 thinking to get myself back on course.
b) r= 6 cosB
y sin2x (}3 + 2 ll.eview
5 For the following functions, find any turning I can explain to others how best to approach similar
points and determine whether they are maxima, problems.
minima or points of inflection. • I can effectively review and check mathematical
calculations to prevent or correct errors.
a) y = x 3 - 6x 2 + 4 b) a =2t 3 + 3t 2 - 7
I can identify the type and style of questions that I find
6 Find the dimensions of a closed cylinder of volume most challenging and devise strategies, such as additional
1000cm3 that is made from a minimum amount of purposeful practice, that will help me to overcome any
sheet metal (ignoring any overlaps for seams). difficulties.
b) The integrand is of the form sin(ax) with a= 3.
- cos(3x)
fsin(3x) dx = +c
3
c) The integrand is a polynomial with two terms. Integrate each term separately
and add the results.
x3 9x 2
j (x2 + 9x) dx = Jx 2 dx +f9x dx = + 2 + c
3
d) In this case the independent variable is t , and integration is w.r.t. this variable
t rather than x.
The integrand is of the form eax with a =-3.
e - 3r e - 3t
Je- tdt = --=3 + c = - 3
3 + c
All of the above examples involve the indefinite integral - they include the constant c.
In the next worked example you will see how the value of c can be determined from
additional information.
Solution
As velocity is the derivative of displacement w.r.t. time, displacement is the
integral of velocity w.r.t. time.
Step 1: Integrate the velocity function w.r.t. t to find the general formula for
displacement.
1Ot 2 6t 3
5= j(lOt + 6t 2) dt = - 2- + 3 + c
s =5t2 + 2t 3 + c
Step 2: Calculate the constant c by substituting the initial condition into the
general solution obtained in Step 1.
In this case the given initial condition is s = 5 when t = 0.
5 = 5(0)2 + 2(0) 3 + c
c=S
Step 3: Write down the formula for displacement with the particular value of c
you found.
s =5t 2 + 2t 3 + 5
Definite integrals Note the different types of brackets used in the following
worked example. Try to use the same system in your own
As you have seen, an indefinite integral is a result of
work to make it easier to track the stages in your solution .
integration that contains the independent variable
and a constant c whose value is undetermined. In an
engineering problem the indefinite integral gives a general
solution to the problem, such ass= St 2 + 2t 3 + c in the
worked example. If the value of c can be worked out from Calculate these definite integrals.
additional information (such as initial conditions), then you
get a particular solution to the problem, likes= St2 + 2t3 + s
a) 12
5
3
e- t dt b) 1 2
4
IX dx
in the worked example. Note that a particular solution is
Solution
still a function involving the independent variable.
IX dx = ft xJ. dx
a
[X23) •1 [2X!3] 4
the upper limit of integration , f(x) is the function being = 3/2 2 "' 3 ' 2
You do not need to include the constant c because it will Substitute u = (2x + 3). Then (2x + 3)4 = u 4, which
be the same in steps 2 and 3 and will therefore cancel out looks simpler to integrate.
when you subtract the results in step 4.
30
However, the integration variable must also be
converted from x to u; that is, you need to replace U=X dv=sin(x}dx
dx with an equivalent expression involving du. du = 1 V= Jdv
dx
u=(2x+ 3) => du =2 => dx= du = Jsin(x) dx
dx 2 du =dx
= -cos(x)
y= J(2x+ 3) 4 dx = Ju 4 du = l Ju 4 du
2 2 Substitute into the formula:
= l(_l:l_5_) + c = _l:l_5_ + c = (2x + 3)5 + c Judv=uv- Jvdu
2 5 10 10
y = Jx sin(x) dx = (x)(-cos(x)) - J(-cos(x)) dx
b) The integrand cos(3x + 4) is a composite function,
= -x cos(x) + sin(x) + c
where the 'inner' function is 3x + 4 and the 'outer'
function is cos.
Substitute u = 3x + 4, which gives ddu = 3 and
b} £ 2
A work diagram is a graph of force plotted against distance moved. The area under the
graph in the work diagram is equal to the work done.
z-s
~ 6
.....
~ 4
2
2 3 4 5
Distance (m)
~ Figure 7.11 Area under a constant (horizontal} force-distance graph
Solution
For a constant force, the force-distance graph is a horizontal line (see Figure 7.11).
The work done in moving the object a certain distance is the area between
the line of the function and the x-axis up to the x value corresponding to the
distance moved - that is, the area of the rectangle with base x and height 10.
The work done in moving the object Sm is W = 10 x S = SOJ.
2 Calculate the work done by a force of 8 N in stretching a spring by 2 mm
(see Figure 7.12). The spring constant is 4 N mm-1.
12
10
~
8
u 6
Q)
.....
u.. 4
0
2
0
0 0.5 1.5 2 2.5 3
Extension (mm)
~ Figure 7.12 Area under a linear force-distance graph
305
In Figure 7.14, the area of the shaded region under the
The work done is equal to the area of the shaded function between the limits a and b is jgf(t) dt.
region. This can be calculated simply as the area of
the triangle:
W = tbase x height= t x 0.002 x 8 = 8 mJ
1-
m(b - a) = jt{(t) dt
The area defined by an integral is the area between the graph of the function and n
~
the x-axis. If the graph is below the x-a xis, the integral will have a negative value. n-
c
This means that for an alternating function such as a sine wave, the integral over a cVI
complete cycle will be zero, as the function is symmetrical above and below the x-axis Qi
V'I
so that the positive and negative areas cancel each other out. 0
<
ro
If you need to calculate the mean magnitude of an alternating periodic function over m
::::l
a cycle, you could calculate the total integral by breaking it down into separate areas Cl_9.
::::l
above and below the x-axis, or you could calculate the integral over a positive half- ro
ro
cycle and double the result because of the symmetry. With each method you need to ::::!.
::::l
()'Q
take great care in choosing the limits for the integrals that you calculate. A sketch of -0
the function will help you see which parts of the graph are above the x-axis and which 0
a-
are below. m
3VI
Alternatively, to get around the difficulty with negative areas, you can calculate the
root mean square (RMS) value of the function (see Figure 7.15). This involves squaring
the function so that all values become non-negative. The steps are as follows.
0.5
0 -f-~-+-+--H-~--<>4--+-+I
-0.5
-1 .0
-1.5
v
1.5
1
0.5
O +----+-->j'-,f---H'--+-'l'+--+--+i
-0.5
-1.0
-1.5 ~- ~-~~. ~~~~~'
311
Calculate the RMS value of the voltage v = 240 sin(l OOnt) over the time interval
0 :;;;; t :;;;; 20 ms.
Solution
fRMS =11/- 1
\(b -
2
- / /)f(t) dt
a) a
20• 10"
vRMs = 1
(20 x 10-3 - 1
O) o
20x1Q-l
(240sin(100nt))2dt
240
20 x 10-3
2
1 0
sin 2(1 OOn t) dt
First, evaluate the definite integral. sin 2 (x) is not one of the standard integrals.
Use a trigonometric identity to change it into a for m involving standard
1 - cos(2x)
integrals: sin 2(x) =
2
20 ~ 10- 3
sin (2007rt)]
20
2
xi o-J
dt
2 2(200n) 0
B3 Numerical integration
In engineering you will sometimes need to calculate the integrals of functions that
cannot be expressed in terms of the standard functions in Table 7.4 or cannot be
integrated using standard techniques such as substitution or integration by parts.
You may also have a graph of the function plotted from a collection of data points but
not be able to write it as a mathematical equation. In such cases you could use the
summation method to estimate the area represented by the integral. This method -
based on splitting up the area under the graph into thin strips - generates
several numerical integration rules that give different degrees of accuracy, depending
on the shape of the function .
50 n
~
n
45 Yi c
40 _,.,..._,H+H+H-•-++++>'+l+H-<· c
tYi - Yo
Vl
a1
35 Vl
z 30 Yo -- - --- - - + 0
<
ro
Q)
...
u
0
m
:::J
LI.. o.:9.
:::J
ro
ro
~
:::J
O"Q
""CJ
--,
-h-- 0
CT
2 3 4 5 ro
3
Vl
Distance (m)
Suppose that you are using n strips of equal width h, and they values of the end points
of the top edges of the trapezia are Yo. Yi, Y2· ... , Yn-i • Yn from left to right.
If you were using only two strips as in Figure 7.16, then the approximate area under
the curve obtained by adding together the two strips is
A= }h(Yo +Yi)+ }h(Yi + Y2) = }h(Yo + 2yi + Y2)
Notice that the 'end values' (y0 and y 2 ) are only used once, but 'middle values' (Yi in this
case) appear twice (as the end of one strip and the start of the next).
In general, for n strips of width h, the trapezium rule estimates the area as
A= 1h(yo + 2yi + 2Y2 + 2Y3 + 2 Yn-i + ... + Yn) =1h(Yo + 2(Yi + Y2 + ··· + Yn-i) + Yn)
You will get a more accurate estimate of the area if you make the width of the strips
smaller and use more strips (that is, decrease h and increase n). The choice of strip
width should strike a compromise between being small enough to give an accurate
result but not so small as to have too many values to calculate.
Use the trapezium rule to estimate the area between the graph of f(x) = ex'and
the x-axis for values of x between 0.5 and 1.3, using a strip width of h = 0.1.
Solution
Step 1: Calculate values of y for x values from 0.5 to 1.3 at intervals of 0.1 .
These are shown in Table 7.S.
313
~ Table 7 .5 Values of f(x) = ex' for x between 0.5 and 1.3
x y
0.5 1.284025 =Yo
0.6 1.433 329 = Y1
0.7 1.632 316 = Y2
0.8 1.896481 =y3
0.9 2.247908 = Y4
1.0 2.718282 = Ys
1.1 3.353485 = Y6
1.2 4.220696 = Y.1
1.3 5.419481 = Ys
Step 2: Substitute the values into the trapezium rule, rounding to a reasonable
degree of accuracy.
A = 1h(Yo + 2(Y1 + Y2 +··· + Yl) + Ys)
=1(0.1 )(1.2840 + 2(1.4333 + 1.6323 + ... + 4.2207) + 5.4195)
= 2.085
Remember that the result obtained by the trapezium rule is only an approximation, as
the trapezia do not match the strips under the graph precisely - some are a little high,
some a little low.
You could simplify the calculations by using a spreadsheet, since you need only write
the equation for the function once. The screenshots in Figure 7.17 show the equations
used in Microsoft Excel® 2013.
~ Figure 7.17 Calculating an area using the trapezium rule in a Microsoft Excel® workbook
Simpson's rule
Another summation method for calculating areas, known as Simpson's rule,
uses a quadratic curve as the top edge of each strip. This gives a more accurate
approximation to the actual area under the function's graph. Simpson's rule
requires an even number of strips - and therefore an odd number of y values.
The values are used in a similar way to those in the trapezium rule. Simpson's
rule states:
h
Area "' 3\Yo + 4{y1 + Y3 + Ys + ... ) + 2{y2 + Y4 + Y6 + ... ) + Yn)
0 a b x
~ Figure 7.18 Dividing the area into rectangular strips for the mid-ordinate rule
In general, for n strips of width h, the mid-ordinate rule estimates the area as
A = h(Yo.s + Y1 .s + Y2.s + · · · + Yn-o.s)
These summation methods for estimating the numerical value of an integral are
fine when actual values of the functions are known - or can be calculated - at given
intervals, but remember that they provide only an approximate answer and do not
give a general mathematical way of integrating any function .
G PAUSE POINT
Water flows at a constant rate through a venturi (constricted section of pipe). You
measure the pressure at various points along the venturi , using a series of pitot tubes
set at equal distances. You note the height of water in each tube, which represents
the pressure at that point. The data is shown in Table 7.6. You plot a graph of the
height against the horizontal position of each tube. Use the readings to calculate the
area under the graph.
~ Table 7.6 Height of water in tubes at a series of horizontal distances along the venturi
•=@• Use the heights as they values and the spacing between consecutive tubes ash in
the trapezium rule.
Is it possible to use Simpson's rule? If it is, then compare the answers. If not, then
explain why.
ltlMf·I Set up a spreadsheet to calculate the area.
315
Assessment practice 7.2 B.P4 B.Ps B.P6 B.M2 s.02
Use differential calculus to answer the following For each of the questions in this assessment practice activity,
questions. It is important that you explain and show use the following stages to guide your progress through the
all the steps in your calculations clearly. task.
l Integrate the following functions with respect to (>~
the independent variable. • What techniques will be involved in answering the
question?
a) 3x + cos4x b) 4et + cos (f)
How confident do I feel in my own abilities to answer
c) 2~ d)
3~ + 7 this question accurately? Are there any areas I think I may
struggle with?
2 Find each of these integrals using a suitable Will a sketch help me to visualise the problem or check my
substitution. solution to it?
a) /cos (x - 3) dx b) /e 9t-7 dt Do
1 I can organise my work logically and systematically,
c) /xv'4x - 4 dx d) fs (v - 2)4 dv annotating the steps of my solution to explain my
approach.
3 Calculate the following integrals using integration
I understand my thought process and can explain why I
by parts.
have decided to approach the question in a particular way.
a) Jxe-xdx b) fa xexdx • I can identify where I have gone wrong and adjust my
thinking to get myself back on course.
4 The velocity of a decelerating particle at time t
seconds is given by v = e-(t'+ll. Use a numerical fl.evuw
I can explain to others how best to approach similar
method to calculate the distance travelled by the
problems.
particle in the time interval 0 to 2.5 seconds.
• I can effectively review and check mathematical
5 Calculate the area between the curve y =x(x - 3), calculations to prevent or correct errors.
the x-axis and the limits x = 0 and x =5. (Hint: I can identify the type and style of questions that I find
Sketch the curve first to see where the area lies.) most challenging and devise strategies, such as additional
purposeful practice, that will help me to overcome any
6 Calculate the RMS value of the voltage waveform difficulties.
v =12 sin (4t + 2) in the interval 0 ,,;;; t,,;;; 2.
r Keyterms )
such as 'brainstorming' and 'lateral thinking'. You are In engineering design it is useful to be able to predict how oi
!./>
encouraged initially to 'suspend disbelief', to set aside a product will perform in service. Investing resources in 0
<
concepts of what is a 'good' or 'correct' idea and to think setting up manufacturing machinery and supply chains <1l
m
of alternative ways of looking at the problem. This leads is expensive, so if engineers can use mathematical or ::i
CJ.9 .
to 'springboards' for ideas. In this approach, 'absurd' ideas computer methods to simulate the characteristics of a ::i
<1l
<1l
are positively encouraged as a way of broadening your product or to conduct cost-benefit analyses, this will save ~
::i
understanding of the problem. The 'springboards' generated time and money as well as aid decision -making. Using (JQ
"D
mathematical tools in this way is called mathematical .....
are intended to be new starting points for exploration of 0
er
the problem, rather than finished new solutions. You may modelling. It allows engineers to determine optimal (or <1l
identify new approaches that are not yet practical and then near optimal) solutions before making important decisions 3
Vl
develop them into feasible courses of action. Alternatively, and investing significant resources.
you may decide to abandon a particular approach and As part of this unit's assessment, you will need to model
follow another 'springboard'. The aim is to come up with and solve a complex engineering problem from your
a way of tackling the problem that you feel confident in specialist area of study.
because you have investigated it in depth.
First, you need to investigate a suitable problem that will
P61ya's problem-solving method require the application of calculus methods in its solution.
George P61ya was a Hungarian mathematician whose book This could be a case study from a local engineering
How to solve it was published in 1945. In his book P61ya organisation, or a problem that you have researched using
identified four stages in problem-solving. books or the internet.
1 Understand the problem - This sounds obvious, but it The problem-solving process begins with defining the
is exactly where you may be blocked. Make sure you problem , setting out all the relevant information gathered
understand the words used to describe the problem . on it, and producing a proposal for how to solve it. You
Do you know what you have to do? Can you put the can use the thinking methods from Section Cl to break
problem into your own words? Would a sketch help the problem down into a series of manageable steps to
you visualise what is going on? Do you have enough obtain a solution. In each step you should be able to apply
information to start generating a solution? appropriate calculus methods that you have learned. These
2 Devise a plan - This is the stage where you can use may include both analytical and numerical techniques.
thinking methods such as reductionism and synectics.
In the next two sections {C3 and C4), we will use a single
Have you met this type of problem before? Can
worked example to illustrate the process you should follow
you break it down into simpler parts? What are the
for your chosen engineering problem .
possible paths of solution to be followed? What are the
processes involved? What are the relationships within
the problem? Can you eliminate some possibilities? C3 Problem specification and
Which path and process promises the greatest proposed solution
likelihood of success? Decide which mathematical tool
Here are a number of questions to ask yourself when
best suits the problem. What equations might be useful
specifying the engineering problem that you intend to solve.
in solving the problem?
3 Carry out the plan - Work carefully, following the plan ~ What is the problem? In your own words, say who needs
you made in the previous stage. Use paper and pencil, what and why.
calculator and computer tools where appropriate. ~ Can you find more than one source of information to
Constantly check your solutions. Are they realistic? help you?
Do they make sense? Is your answer the right order of ~ Can you find an existing method to solve the problem?
magnitude? If it is not, then think about any changes Can you think of a better way?
that you can make. Do you get the same answers if you
~ How will you know if your solution is reasonable?
use alternative methods? Be persistent.
4 Look back - Reflect on what you have done. What went ~ How will you determine what went well and what could
well? What did not go so well? What can you use to be improved?
help solve future problems? ~ What will be in your final report?
317
Statement of the problem
Water flows from a river into a reservoir. The amount of water in the river
depends on the season.
The flow of water in the river, w, has been modelled by the equation
w(t) = 2 +sin ( ; t)
1 0
where t is measured in days, with t =0 corresponding to 1 January, and w is
measured in thousands of cubic metres (10 3 m 3) per day.
Water is released from the reservoir at a constant rate of 2000 m 3 per day.
At the beginning of the year there is 200 x 103 m 3 of water in the reservoir.
a) Write a function f(t) for the amount of water in the reservoir on any day.
b) Determine the amount of water in the reservoir on 1 May (t = 120).
c) Find the rate of change of the volume of water in the reservoir on
1 September (t = 240).
d) Determine at what time there will be a maximum volume of water in the
reservoir.
e) Calculate the maximum volume of water in the reservoir.
f) Find the average amount of water in the reservoir in the first three months of
the year.
n
!'.I>
r;
How can you find the amount on any day? c
cVI
The amount on any day is the sum of the changes for all the days up to that point.
~
The 'sum of' tells you to integrate - you need to integrate a function to get the total. [/)
0
Can you make any approximations or simplifications? <
C1l
365 days in a year is an awkward number. You could approximate the length m
::::l
of a year to 360 days, since 360 is a multiple of 180. That would simplify the o:9 .
::::l
C1l
C1l
sin ( ; t) term. Remember to set your calculator to radian mode. ~.
1 0 ::::l
O'Q
Keep numbers simple by taking all volumes in 103m 3 rather than m 3. -0
0'""'
How can you find the maximum volume? rr
The clue is in the question. You find a maximum by differentiating and
ro-
3
VI
calculating when the derivative equals zero. You can use the second derivative
to check whether you have a maximum or minimum.
How can you calculate the mean volume?
To find the mean volume of water in the reservoir, calculate the total amount of
water that has been in the reservoir over the period and divide by the number
1
of days. Use the formula m = -(- - ) j}f(t) dt.
b- a a
C4 Solution implementation
Solution
a) Net rate of change of water in reservoir= water entering per day - water
leaving per day
In units of 103m 3 per day: r(t) = w(t) - 2
=(2+sin( ; t))-2
1 0
r(t)=sin( ; t)
1 0
319
The total change in the amount of water in the reservoir up to the Tth day after
the start of the year is the integral of r(t) with respect tot between the limits 0
and T J;sin( ,; t) dt
0
So the amount of water in the reservoir on any day T is the original
volume+ the change up to day T:
f(T)=200+ J/ sin( ; t) dt
1 0
The definite integral is a standard integral. Evaluating it gives
180 ]T
f(T) = 200 + [ - ---:n:- cos ( ; t)
1 0 0
= 200 + { (-
1
~o cos ( 1; 0 m)) -(- 1~o cos ( 1; 0 (OJ)) }
= 200 + (- 180 cos(
7r
nT) + 180)
180 7r
f(T) = 200 +
1
~o (1 - cos ( r:a))
b) When T = 120:
1 0
f(120)=200+ ~ (1-cos(n ;~020 ))
1 0
=200+ ~ (1-cos( 237r))"'285.94
On 1 May there will be 285.94 x 103 m 3 of water in the reservoir.
c) The rate of change of volume of water in the reservoir was found in part a)
to be
r(t) =sin ( ; t) x 10 3 m 3/ day
1 0
When T = 240:
r(240) =sin ( ; (240)) =sin ~n
1 0
= - 0.866 x 10 3 m 3 per day
This is a negative value, so on 1 September the volume is falling by 866 m 3 per
day.
d) To find the maximum of the volume function f(t), look for where its derivative
is zero.
But the derivative is the rate of change of the volume, which we know is r(t), so
3 3
f'(t) = r(t) =sin( ; t) x 10 m per day
1 0
The derivative is zero when sin ( ; t) = 0, which happens when t is a multiple of
1 0
180.
Within one year the possibilities are day 0, 180 or 360.
Common sense says it will be mid-year (day 180), but you need to verify this.
Check the second derivative:
(")
PJ
n
c:
e) f(180) = 200 + (
180
7r
-
180
7r
cos(~(180)))
180 = 200 + (
180
7r
+
180
7r
) = 314 . 6 c:
VI
3
~t- (~)
2
(~t)]
90 VI
=_!__
90 (2oot + 7r 7r
·
Sin 180
0
=~
0 ~o(90) - (1~ )
1 0 2
-(200(0)+
1 0
~ (o)-(1~0 f sin( 1; 0(o)))}
= 200 + 180 - 360
7r 7r2
= 220.8
The average volume of water in the reservoir in the first 3 months is
220.8 x 103 m 3
150
100 -l~tHtt+lf!'!HB=J.fffl
50
O+-~-t-~~r---'"'--+--'+---+--'~: -t--~-1--------;__,
0 50 100 150 200 250 300 350
180 240
Time (days)
~ Figure 7.19 Check the results for the reservoir question by plotting the graph of the
volume function
You could check the mean value by using a numerical method to calculate the
area under the curve, and then divide by the number of days.
The values in Table 7.7 were calculated in Microsoft Excel®. The area was
estimated using the trapezium rule, and then the mean was obtained by
dividing the area by the number of days (90).
321
~ =200 + 1~O ( 1 - cos( ~~)) calculated at equally spaced t values
Table 7.7 Values of f(t)
1
Day 0 10 20 30 40 50 60 70 80 90
Volume 200.0 200.87 203.46 207.68 213.40 220.47 228.65 237.70 247.35 257.30
Area= 19882
Mean= 220.9
You should give reasoned explanations for any differences between the values -
remember that you are critiquing the methods. For example, the trapezium rule
and graphical methods only give approximate values. How accurate would you
expect them to be? Are they in the same ball-park as the values you calculated
using analytical approaches? What are the percentage differences? Are these
differences acceptable?
THINK
FUTURE
Gary Capewell Aerospace engineer
I have worked in the aerospace industry for over 30 years, initially within the airframes precision sheet metal sector. I was part of
a team tasked with building one-off projects, ranging from components for use in space programmes to the latest Euro fighter,
always taking a 'hands-on' approach. The work was varied and exciting, and calculations were at the heart of everything I did - from
calculating material requirements to CNC programming to pattern development - so each day would add further experience.
When I moved from an airframes business to Rolls Royce, the leading aero-engine manufacturer in the world, my role changed. I was
looked on as a company expert, making critical decisions on a daily basis. I had to ensure that standards were adhered to, but at the
same time I was always looking to challenge by using process innovation.
I could only move to the next level of my career through further education, by refreshing and updating my knowledge and skills.
Engineering is constantly changing, and a business has to evolve in order to stay competitive. Successfully completing a part-time
degree course changed my career almost overnight. I now manage a team of people in planning and control, guiding the company
on production-rate readiness for all global projects - 'can we deliver, on time, to the customer'. Since moving to Rolls Royce, I have
been learning a new set of skills: the theory behind what helps a company survive, cash flow, lead time, takt time, value stream
mapping and lean management principles, as well as applied science, which taught me how the machines I had used over many years
actually worked. Acquiring these new skills involved learning new maths concepts and techniques. Calculus made me want to learn
more - I could predict an outcome by using data to calculate rates of change and the cumulative effect of small changes. I could hold
conversations at a higher level with greater confidence and got more respect from my peers ..
323
Kuldeep is working towards a BTEC National in Engineering. He was preparing to carry
out the assignment for Learning aim C. He knew that in the assignment he would have
to use different calculus techniques to solve an engineering problem. Kuldeep shares
his experience below.
How I got started words. I got used to having to work out what to do. I found
First, I looked through all my notes on differentiation the questions in textbooks useful because they gave the
and integration. I paid particular attention to the worked answers at the back, but they tended to be more maths-
examples in the notes. I used the examples to identify based and not so much related to engineering. Some of the
the main skills, such as the rules for differentiating and problems I found on the internet were more complicated
integrating standard functions. than anything I was likely to do, so I had to choose carefully.