Unit 6 v2 4
Unit 6 v2 4
Engineering
Mathematics
Assignment 1: Sequences & Series
P1 – Solve given problems using routine arithmetic and geometric progression operations
M1 – Solve given problems accurately, using routine and non-routine arithmetic and geometric
progression operations
M2 – Solve given problems accurately using routine and non-routine power series operations
D1 – Evaluate, using technically correct language and a logical structure, engineering problems using
non-routine sequence and series operations, while solving accurately all the given problems using
routine and non-routine operations
What you will need to know
What is a Sequence?
What is a Series?
The difference between arithmetic, geometric and power series
Different ways of presenting a series
How to calculate the sum of a series
The difference between convergence and divergence in a power
series (including geometric series)
How sequences and series calculations can be useful in an
engineering context
What is a Sequence?
1, 2, 3, 4, 5...
…and so on.
This can be very useful when trying to work out a rule to find any term in the
sequence
nth Term continued…
This shows us that any term in this sequence, un is simply equal to n itself
i.e.
Un = n
So we can work out that the 50th term, u50 is going to be 50 and so on…
nth Term continued…
un = 1/2n
nth term: useful or not?
Finding the nth term of a sequence could be useful to calculate values and make predictions
based on data that follows a sequence. Here are just some examples:
Calculating velocity of a rocket as it burns fuel and therefore looses mass (almost all the
mass in a rocket is fuel, therefore dramatic changes in mass during flight lead to variable
acceleration)
Predicting race car lap times (cars usually get slightly quicker each lap due to mass of fuel
reducing - so cars become lighter each lap)
Calculating the future cost of materials and products based on inflation/deflation trends
The Sum of a Series
A series is simply the sum of all the terms in a sequence added together
e.g.
Calculating distance covered by a rocket as its acceleration and velocity constantly change
Predicting how many laps a race car can complete before refuelling (as cars get lighter due to
less fuel they will in turn use less fuel per lap since there is less mass to move)
Calculating the total cost of materials and products over a number of years based on
inflation/deflation trends
Sigma Notation
When working with bigger series with many terms, it could quickly become
quite time consuming to write out all the terms in the series each time in our
calculations e.g.
1+2+3+4+5
Is fine for a series with 5 terms, but imagine if we had 100 terms, or 1000 terms
etc.
 Last
term
Rule for the
Sigma = Sum series
of…
Or u1 + u2 + u3 + u4 + u5
Which is equal to 1 + 2 + 3 + 4 + 5 = 15
Sigma Notation continued…

This notation is telling us:
“ from u1 to u10 what is the sum of the sequence when un
= 2n +1”
Or u1 + u2 + u3 + u4 + u5 + u6 + u7 + u8 + u9 + u10
Which is equal to 3 + 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 + 21 = 120
Sigma Notation continued…

This notation is telling us:
“ from u5 to u10 what is the sum of the sequence when un
= 2n +1”
Or u5 + u6 + u7 + u8 + u9 + u10
Which is equal to 11 + 13 + 15 + 17 + 19 + 21 = 96
Calculate


Calculate


Express the following in Sigma
Notation
3 + 5 + 7 + 9 + 11 + 13 + 15
16 + 25 + 36 + 49 + 64 + 81
4+2+1+½+¼
Express the following in Sigma
Notation
3 + 5 + 7 + 9 + 11 + 13 + 15 =

16 + 25 + 36 + 49 + 64 + 81 =

4+2+1+½+¼=

or

Something to remember for later…

When b>1
e.g.

5, 9, 13, 17, 21
In this example we have+a sequence
+ +starting+ from 5 with a common
4 terms
difference, d of 4 between 4 4 4
So: un = un-1 + 4 and un = 4n + c where c = 1
Finding the nth term for an
arithmetic sequence
Because all arithmetic progressions follow the rule un = dn + c we can
derive an algebraic formula to find the nth term for any arithmetic
sequence.
Consider that:
= + ( − 1)
𝑛
1
𝑢
𝑢
𝑛
𝑑
Finding the nth term for an
arithmetic sequence
It is quite common to express the first term u1 as a
Therefore: = + ( − 1)
𝑛
1
𝑢
𝑢
𝑛
𝑑
Is often expressed as:

Questions
1. Find the 10th, 20th and 100th terms for the sequence:
3, 6, 9, 12…
2. Find the 12th, 25th, and 80th, terms for the sequence:
100, 97, 94, 91…
3. If a person earns £1 on the first day, andtheach consecutive day earns 50p more than the day
before, how much will they earn on the 30 day, 75 day and 1000 day.
th th
4. The same person donates 50p to charity on the first day, and each day donates 55p more
than he donated the previous day. How many days until he donates a full days pay?
Questions
1. Find the 10th, 20th and 100th terms for the sequence:
3, 6, 9, 12…
30…60…300
2. Find the 12th, 25th, and 80th, terms for the sequence:
100, 97, 94, 91…
78…52…-58
3. If a person earns £1 on the first day, andtheach consecutive day earns 50p more than the day
before, how much will they earn on the 30 day, 75 day and 1000 day.
th th
i.e.


Find the sum of an arithmetic series
Also remember that:
And

Find the sum of an arithmetic series
If we add the two expressions:
And
=u1+ =u1+ =u1+ =u1+ =u1+ =u1+
 un un un un un un
We get:
Equates to:

into:

We get:


Questions
1. Find the sum of the series:
2. A runner runs the first lap of a 400m track in 50 seconds. Each lap she gets 1.2 seconds
slower. How long does it takes to complete 10 laps? How far (in metres) can she run in 2 hours?
3. The person who earns £1 on the first day and an additional 50p more each consecutive day
continues to donate to charity at a rate of 50p on the first day and an additional 55p more each
consecutive day until he completely runs out of money. How long will this be? How much
money will he have given to the charity in total?
Questions
1. Find the sum of the series:

10,600
2. A runner runs the first lap of a 400m track in 50 seconds. Each lap she gets 1.2 seconds
slower. How long does it takes to complete 10 laps? How far (in metres) can she run in 2 hours?
554 seconds 75.86 laps = 30.34km
3. The person who earns £1 on the first day and an additional 50p more each consecutive day
continues to donate to charity at a rate of 50p on the first day and an additional 55p more each
consecutive day until he completely runs out of money. How long will this be? How much
money will he have given to the charity in total?
21 days £126.00
Geometric Progressions
A geometric progression is a special example of a “power series” which we will
look at later on.
A geometric progression is one where the rule for the next number in the
sequence is equal to the previous number in the sequence multiplied by a
“common ratio”
i.e.

Where r is the common difference (note that in ascending
progressions such as 1, 2, 3, 4 then r>1 and in descending
progressions such 4, 3, 2, 1 then r<1)
Example
Consider that:
−1
=
𝑛
𝑢
𝑢
𝑟
1
𝑛
Finding the nth term for a geometric
sequence
Bearing in mind that u1 is often expressed as a
2. A racecar uses 15.2L of fuel in the first lap of a race. Each lap it gets lighter
and only uses 95% of the fuel it used on the previous lap. How much fuel is used
on the 10 lap? How many laps before the car is using less than 12L per lap?
th
3. An investor puts £1000 into a 3%PA fixed interest savings account. At the start
of the 5 year, how much money will be in the account? How many years must
th
the money be left in the account for the investor to have doubled his
investment?
Questions
1. Find the 15th, 27th and 60th terms in the sequence:
1, 3, 9, 27…
4.782 x106 2.542 x1012 1.413 x1028
2. A racecar uses 15.2L of fuel in the first lap of a race. Each lap it gets lighter
and only uses 95% of the fuel it used on the previous lap. How much fuel is used
on the 10 lap? How many laps before the car is using less than 8L per lap?
th
9.580L 14 Laps
3. An investor puts £1000 into a 3%PA fixed interest savings account. At the start
of the 5 year, how much money will be in the account? How many years must
th
the money be left in the account for the investor to have doubled his
investment?
£1125.51 25 Years
Finding the Sum of a Geometric
Series


Finding the Sum of a Geometric
Series
Simplified:


Alternative Form
Subtracting the other way round would give:
The Expression:

Alternative Form
Simplified:


Finding the Sum of a Geometric
Series
Subtracting would give:
The Expression:

Formulae for Sum of a Series
These two formulas are the same:

And

These will work for
any geometric
series
2. A rocket uses 5% of its total fuel on the first 100m of flight, and each consecutive 100m uses
96% of the fuel it used on the previous 100m (due to constant acceleration). How much fuel is
used over the first km? How far does the rocket travel before it runs out of fuel?
3. At a party, the first person to leave is given half of the cake. Each person to leave after is
given halfthof the remaining cake (i.e. the 2 person gets ¼ of the cake). How much of the cake
nd
do the 10 , 12 and 20 people to leave get? Does the cake ever run out?
th th
Questions
1. Find the sum of the series:

8184
2. A rocket uses 5% of its total fuel on the first 100m of flight, and each consecutive 100m uses
96% of the fuel it used on the previous 100m (due to constant acceleration). How much fuel is
used over the first km? How far does the rocket travel before it runs out of fuel?
41.90% 3.942km
3. At a party, the first person to leave is given half of the cake. Each person to leave after is
given halfthof the remaining cake (i.e. the 2 person gets ¼ of the cake). How much of the cake
nd
do the 10 , 12th and 20th people to leave get? Does the cake ever run out?
1/1024 1/4096 1/1048576 No, the cake never runs out but the pieces become very tiny
Sum to Infinity for a Geometric
Series
Numbers are infinite, meaning they go on forever – there is no number in
existence that we could not add 1 to which in turn would make it 1 bigger.
Because of this, it is plausible that we could also have an infinite sequence or
series.

The positive number 5 has a magnitude of 5, but the negative number -5 also has a magnitude of 5, it is just negative.
We express the magnitude of a number as like this:

Example:

and

Also:

and

Absolute Values
To simplify the rules we can say
2. The main fuel used at the Chernobyl nuclear power plant was Uranium-235. Uranium-235 undergoes a
nuclear fission reaction and the radioactive waste product Caesium-137 is left behind.
When the reactor exploded in 1986, Large amounts of Caesium-137 was spread around the local area.
Soon after the incident, radiation levels of 300Sv (Sieverts) per hour were recorded (around 10Sv of
exposure can be instantly fatal, and around 5Sv of radiation can be fatal within a few
weeks).
The recommended safe limit of radioactive exposure is 100mSv (milliSieverts) over 5 years. The radiation
energy of caesium is approximately 5.76MJ per Sievert and Caesium-137 has a half life of 30 years.
Using this information, suggest the year in which it would be safe to live at the Chernobyl site if it was left
untreated, and suggest the total radiation energy that will be emitted from the 800kg of Caesium-137.
(assume all years to contain 365 days and each day to be 24 hours)
Questions
1. Calculate:

1.667
2. The main fuel used at the Chernobyl nuclear power plant was Uranium-235. Uranium-235 undergoes a
nuclear fission reaction and the radioactive waste product Caesium-137 is left behind.
When the reactor exploded in 1986, Large amounts of Caesium-137 was spread around the local area.
Soon after the incident, radiation levels of 300Sv (Sieverts) per hour were recorded (around 10Sv of
exposure can be instantly fatal, and around 5Sv of radiation can be fatal within a few
weeks).
The recommended safe limit of radioactive exposure is 100mSv (milliSieverts) over 5 years. The radiation
energy of caesium is approximately 5.76MJ per Sievert and Caesium-137 has a half life of 30 years.
Using this information, suggest the year in which it would be safe to live at the Chernobyl site if it was left
untreated, and suggest the total radiation energy that will be emitted from the Caesium-137. (assume
all years to contain 365 days and each day to be 24 hours)
Will be safe in the year 2885 (899 years after the incident) Total Energy 3.456GJ
Quick note about Chernobyl
889 years is just the time for the Caesium-137 to decay to “safe” levels.
In actual fact, other radioactive materials such as technetium which are
less active but have much longer half-lives (around 10,000 years)
render the area unsuitable for habitation for an estimated 20,000 years.
That said, there are around 500 people living in the area that have
either refused to leave or have returned to the area against advice from
local authorities.
Power Series
A Power Series is any series that has an increasing power with each term, so for example a geometric
series is an example of a power series:
Increasing powers of
 r



And so on…
Representing functions as a Power
Series
Another simple example is a function of the variable x:



And so on…
Representing functions as a Power
Series
A slightly more complex example is a function of the variable x:
We can still evaluate the function for different values of x, for example:



And so on…
Representing functions as a Power
Series
So far these functions only return a single value.
The function:

Returns an infinite number of values

Example
Consider a simple function:

Easy Example
Consider the function:

Easy Example 2
Consider the function:

Easy Example 3
Consider the function:

Example
Now consider the function:

This is NOT in the form:

However:

Example
Consider the function:

Example
What if:

Example
Consider the function:

Questions
Represent the following functions as power series:


Interval of Convergence
Unfortunately, our approximations only work if our series converges i.e.
If:

This is called the Interval of Convergence, and it tells us the range of values for x that will make our
approximation work.
Questions
Represent the following functions as power series:


Example
Assume the approximation:
In this case:


Example 2
Assume the approximation:
In this case:


Example 3
Assume the approximation:
In this case:


Example 4
Notice that the 7 is
Assume the approximation: irrelevant
In this case:


Questions
Find the interval of convergence for the following functions:


Questions
Find the interval of convergence for the following functions:


Taylor Series continued…
A Taylor series works by approximating a function as the sum of its derivatives of the order, n.

…and so on
A Brief Introduction to Taylor and
Maclaurin Series
A Taylor series is an application of expressing a function as the sum of a
series (or a Polynomial)
f(
x)
x
Taylor Series continued…
If we evaluate  at a known value e.g. 0, and say that , then at the point
x=0 our functions  and p are the same
f(
0)
f
p( (
x) x
)
However, as an approximation of  this is very xpoor
Taylor Series continued…
But if we evaluate  at 0, and  at 0 and say that
f(
0)
f
p( (
x) x
x )
f(
0)
f
(
x
x )
f(
0)
f
(
x
x )
p(
x)
Hopefully you can see that with each additional derivative our polynomial function  becomes closer to the original
function .
Arguably then, an infinite number of derivatives would produce a polynomial expression that is identical to the
original function.
Taylor Series continued…
So:
u u u u u u
0 1 2 3 4 5
Taylor Series continued…
So:
u u u u u u
0 1 2 3 4 5
Taylor Series continued…
So:
u u u u u u
0 1 2 3 4 5
Taylor Series continued…
So:
u u u u u u
0 1 2 3 4 5
Maclaurin and Taylor Series
What we have derived is the Maclaurin Series:
The Maclaurin series is a special example of a Taylor series that focuses around evaluating the function at
0
A general Taylor Series allows us to evaluate the function at any point, such that:

Example
We will look to express the function:

Example continued…
First let us evaluate the first few derivatives of the function cos(x):
Example continued…
So the polynomial approximation:
Becomes:
Polynomial
expression for
cos(x)
Example 2
We will look to express the function:

Example 2 continued…
First let us evaluate the first few derivatives of the function sin(x):
Example 2 continued…
So the polynomial approximation:
Becomes:
Polynomial
expression for
sin(x)
Example 3
We will look to express the function:

As a polynomial function in the form:

Example 3 continued…
First let us evaluate the first few derivatives of the function ex:
Example 3 continued…
So the polynomial approximation:
Becomes:
Polynomial
expression for
ex
Euler’s Identity (for your interest
only)
From some of the previous slides we should have noticed there is a very close comparison between the polynomial expression for e x
and the combined polynomial expressions for cos(x) and sin(x):

Euler’s Identity continued…
Now consider the function:
Where:

Euler’s Identity continued…
So the polynomial approximation:
Becomes:
Euler’s
Formula
Euler’s Identity continued…
So we can see that:
and

Euler’s Identity continued…
Furthermore, if we evaluate at , assuming that we are working in radians:
Becomes:
Or:
Euler’s
Identity

Example Question
A circuit containing large coil experience a voltage spike when turned
off that produces a current:
3. Find the total charge to pass a point between 0 and 5 seconds after
turning the circuit off
Assignment 2: Matrices, Determinants and
Complex Numbers
P3 – Solve given problems using routine matrices and determinant operations
M3 – Solve given problems accurately, using routine and non-routine matrices and
determinant operations
M4 – Solve given problems accurately, using routine and non-routine complex number
operations
Matrices are often used to present large sets of data neatly, and can be interpreted by computers which makes them very useful for programmers.
To save time, we often label matrices with a capital letter, which is then used to represent that matrix in later calculations e.g.
 is a 2x2 matrix
 is a 2x3 matrix
 is a 6x3 matrix
Matrix Elements
Each number in a matrix is called an element. Each element is described in
the format:

Where m is the row number and n is the column number

Question
Draw a 4x3 matrix and label each element and highlight a23
Question
Draw a 4x3 matrix and label each element and highlight a23

Special types of Matrix
Square Matrix (has same number of rows and columns) e.g.
Diagonal Matrix (Square matrix filled with zeros except for the elements on the top left to
bottom right diagonal) e.g.
Or

Symmetric Matrices
A Matrix is considered to be symmetric if it is a square matrix and is
symmetrical about the diagonal, e.g.
Or

Transposing Matrices
When a matrix is transposed, the columns and rows are switched (i.e. the first row
becomes the first column and the first column becomes the first row, the
second column becomes the second row and the second row becomes the
second column etc. etc.)
The transpose of matrix A would be denoted AT.

Transposing Matrices
When a matrix is transposed, the columns and rows are switched (i.e. the first row
becomes the first column and the first column becomes the first row, the
second column becomes the second row and the second row becomes the
second column etc. etc.)
The transpose of matrix A would be denoted AT.

Transposing Matrices
When a matrix is transposed, the columns and rows are switched (i.e. the first row
becomes the first column and the first column becomes the first row, the
second column becomes the second row and the second row becomes the
second column etc. etc.)
The transpose of matrix A would be denoted AT.

Transposing a Symmetric Matrix
Interestingly, the transpose of a symmetric matrix will be identical to
the original matrix.

Questions
Transpose the following matrices:

Questions
Transpose the following matrices:

Adding and Subtracting Matrices
Adding or subtracting matrices could be useful in data handling, however the matrices
we want to add or subtract must be compatible. To be compatible, the matrices
must have the same number of rows and columns.
Consider:
e.g.:

Questions


Questions


Scalar Multiplication of a Matrix
Since a matrix is compatible with itself in terms of addition, we can add it to itself as
many times as we like. This has the effect of multiplying the matrix by a single number,
which is called Scalar Multiplication. For example, if:

Then

Or

Questions

Calculate:


Questions

Calculate:


Matrix Multiplication of a Matrix
It is very common that we may wish to multiply two or more matrices
together (i.e. multiply a matrix by another matrix instead of by a
singular number). This is called Matrix Multiplication.
To find AB, we multiply the 4 and 3 and add this to the product of the 6
and 8 as shown:

Matrix Multiplication continued…
Algebraically:

And

Matrix Multiplication continued…
Now consider the following matrices:

Multiplying:

Matrix Multiplication continued…
Algebraically:

And:

Questions
Solve:


Questions
Solve:


Matrix Multiplication continued…
Generally, we can multiply two matrices of any size providing that the
number of rows in the second is equal to the number of columns in the
first. The product of the multiplication will always be another matrix,
however in the examples we have seen so far the resulting matrix has
only been a 1x1 matrix – i.e. a single number
n=
p
Matrix Multiplication continued…


Matrix multiplication continued…
Algebraically:

Then:

Matrix Multiplication continued…


Matrix Multiplication continued…
Algebraically:

Then:

Matrix Multiplication continued…
Algebraically:

Then:
Then:
So we must be very careful that we take care when reading and writing calculations
More examples


More examples


More examples


Questions


Multiplying by the Identity Matrix
Notice what happens when you multiply a matrix by its compatible identity
matrix:

Multiplying by the Identity Matrix
Notice what happens when you multiply a matrix by its compatible identity
matrix:

Multiplying by the Identity Matrix
So any Matrix multiplied by its compatible Identity Matrix returns the
original matrix.
Is this useful…?
Dividing Matrices
We have seen how it is possible to multiply two matrices by each other.
Naturally we would think the next step is to try and divide two matrices by each
other.
But dividing two matrices is NOT possible in the same way that multiplying
them is. However, we can multiply a matrix by something called the Inverse
of another matrix. This has the same effect as dividing the first matrix by the
second.
We will look at finding the inverse for a matrix over the next few slides…
The determinant
A Square matrix has a corresponding singular quantity (a single
number) which is called the determinant. The determinant by
itself is fairly useless, however it can be used when trying to find the
inverse of a matrix.
Then:

Questions
Find the determinants of the following matrices, identifying any singular matrices if relevant:
Singula
r
The Inverse of a 2x2 Matrix
Consider the matrices:
Note that:

And also that:

This is a special case where the two matrices can be multiplied either way round and the resulting
product is the identity matrix. When this is the case, we say that one matrix is the inverse of the other.
The Inverse of a 2x2 Matrix
continued…
The inverse of a matrix, A is denoted as A-1.
Note that in this case A-1 does not mean 1/A.
A matrix can only have an inverse if it is non-singular. Singular
matrices DO NOT have an inverse.
We know we have the inverse of a matrix if:
That is, if the product of the two matrices (either way round) is the
identity matrix – then one matrix is the inverse of the other.
Finding the Inverse of a 2x2 Matrix
Providing that the matrix is non-singular, the inverse is found as follows:
If

then

This is our
 answer
Check:

And

Questions
Find the inverse of the following matrices, highlighting any singular matrices
(which have no inverse). Check your answers by confirming that MM-1 and M-1M
are equal to :

Questions
Find the inverse of the following matrices, highlighting any singular matrices (which have no
inverse). Check your answers by confirming that MM and M M are equal to :
-1 -1
 Singula
r


Determinant of a 3x3 Matrix
As the size of a matrix increases, the process to find the determinant
becomes increasingly complex. However the basic process is the same
– just with a greater number of iterations.
Each element in a square matrix has its own Minor. The minor is a
value gained by finding the determinant of the resultant matrix if the
element’s row and column are deleted.
Determinant of a 3x3 Matrix
continued…
Consider the matrix:


Determinant of a 3x3 Matrix
continued…
We can now find the determinant for this 2x2 matrix:
We can create a new matrix containing the minors for corresponding elements from the
original matrix, ie.

Determinant of a 3x3 Matrix
continued…
Now lets look at element a12:

If we delete the corresponding row and column of a12 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a13 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a21 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a22 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a23 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a31 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a32 we are left with the 2x2 matrix:

The determinant of which is:

If we delete the corresponding row and column of a33 we are left with the 2x2 matrix:

The determinant of which is:


Determinant of a 3x3 Matrix
continued…
Each element of a square matrix has a Place Sign. The place sign of a11 is always +. The following rows and
columns then alternate between + and – such that:

…and so on
Determinant of a 3x3 Matrix
continued…
Cofactors – each element in a square matrix also has its own cofactor. The cofactor
is a product of that element’s minor and its place sign. We can build a matrix of
cofactors:
Therefore
+ − +
( + + )
 − + −
−
Determinant of a 3x3 Matrix
continued…
So the matrix:


Determinant of a 3x3 Matrix
continued…
Finally, the Determinant can now be found. To do this, we must
select a single row or column (it does not matter which). This will
contain three elements. We then multiply each of the 3 elements by its
cofactor and add together the 3 results. The sum will be the
determinant of the 3x3 matrix, A.
So |A| = 118
Determinant of a 3x3 Matrix
continued…
To prove that it doesn’t matter which column or row we choose, lets
look at a different set of 3 elements.
You can check any row or column, the result will always be 118 for this
matrix!!!
Question
Find the matrix of minors, matrix of cofactors and the determinant for
the matrix:

Question
Find the matrix of minors, matrix of cofactors and the determinant for
the matrix:

A quicker way to find the determinant of
a 3x3?
As we’ve seen, we only need 1 row or column of elements and their
corresponding cofactors to find the determinant of a 3x3 matrix. Whilst having
multiple corresponding rows and columns is useful for checking our answers, it
is very time consuming to work out each minor.
We could save time by only working out the minors and cofactors for one row or
column and using those 3 pairs of numbers to calculate the determinant. This
will greatly reduce the time taken to find the determinant, but will not give us
the ability to check our result.
When we look at bigger matrices, we will definitely want to save as much time
as possible finding determinants.
Question
Find the determinant of this 3x3 matrix using the quicker method of
selecting a single row to work with:

Determinants of bigger matrices…
Consider this 4x4 Matrix:
To find the determinant, you would first find the Minors for the top row
which would involve finding the determinants of 4 3x3 matrices…each
of which involves finding the determinant of 3 2x2 matrices (resulting in
12 calculations in total)
Question
Find the determinant of this 3x3 matrix using the quicker method of selecting a single row to work with:

Determinants of bigger matrices…
Consider this 4x4 Matrix:
To find the determinant, you would first find the Minors for the top row
which would involve finding the determinants of 4 3x3 matrices…each
of which involves finding the determinant of 3 2x2 matrices (resulting in
12 calculations in total)
Determinants of bigger matrices…
Consider this 4x4 Matrix:
To find the determinant, you would first find the Minors for the top row
which would involve finding the determinants of 4 3x3 matrices…each
of which involves finding the determinant of 3 2x2 matrices (resulting in
12 calculations in total)
Determinants of bigger matrices…
Consider this 4x4 Matrix:
To find the determinant, you would first find the Minors for the top row
which would involve finding the determinants of 4 3x3 matrices…each
of which involves finding the determinant of 3 2x2 matrices (resulting in
12 calculations in total)
Determinants of bigger matrices…
Consider this 4x4 Matrix:
To find the determinant, you would first find the Minors for the top row
which would involve finding the determinants of 4 3x3 matrices…each
of which involves finding the determinant of 3 2x2 matrices (resulting in
12 calculations in total)
Determinants of bigger matrices…
Consider this 5x5 Matrix:
To find the determinant, you would first find the Minors for the top row which would
involve finding the determinants of 5 4x4 matrices, each of which involves finding the
determinant of 4 3x3 matrices, each of which involves finding the determinant of 3 2x2
matrices (resulting in 60 calculations in total)
Determinants of bigger matrices…
6x6 matrices would require 360 calculations

Use of Excel continued…
Type the matrix into excel using the rows and columns of cells in the
same way as rows and columns in the matrix:
Use of Excel continued…
In a blank cell, type in the formula:
=MDETERM(

The Inverse of a 3x3 Matrix

So:

To Check…

And

Question
Find the Inverse of:

Question
Find the Inverse of:

So:

Use of Matrices to Solve Simultaneous
Equations
One key use of matrices is for computers to solve simultaneous
equations. We will first look at the Inverse Matrix Method


Use of Matrices to Solve Simultaneous
Equations


If:

Then:

Use of Matrices to Solve Simultaneous
Equations


If:

Then:

Use of Matrices to Solve Simultaneous
Equations
Furthermore, If:

Then:

So:

Example
Consider:


So:

Example with 3 Unknowns




Questions
Solve the following sets of simultaneous equations:







Questions
Solve the following sets of simultaneous equations:



Questions
Solve the following sets of simultaneous equations:



Questions
Solve the following sets of simultaneous equations:



Notice that it
 may be simpler
to leave the 1/|
 A| outside the
matrix, but we
need to
remember to
include it at the
end
Questions
A manufacturing company makes two types of pump, Type A and Type B. In a
test, 3 Type A pumps and 2 Type B pumps are used to produce a volumetric
flow rate of 85L/min. In a second test, 4 Type A pumps and 1 Type B pump
produce a flowrate of 80L/min. Assuming each pump is run at its maximum
rated output, determine the maximum rated output of a Type A pump and a
Type B pump.



Example of Cramer’s Rule for 2
Unknowns
Consider the expression:



Cramer’s Rule for 3 Unknowns
Consider the algebraic expression:




Example of Cramer’s Rule for 3
Unknowns
Consider the algebraic expression:




Questions
Use Cramer’s Rule to solve the following simultaneous equations:





Questions
Use Cramer’s Rule to solve the following simultaneous equations:



Questions
Use Cramer’s Rule to solve the following simultaneous equations:




Questions
Octane molecules (C8H18) have an atomic mass of 114. Propane molecules (C3H8)
have an atomic mass of 40. What is the molecular mass of individual Hydrogen
and Carbon atoms?
A solar panel company makes 3 classes of photovoltaic cell: Bronze, Silver and
Gold. An area of 1m is completely covered with a combination of cells and the
2
resulting voltages produced:
0.5m2 Silver + 0.5m2 Gold = 30V
0.25m2 Bronze + 0.3m2 Silver + 0.45m2 Gold = 26.5V
0.5m2 Bronze + 0.1m2 Silver + 0.4m2 Gold = 23V
Determine the voltage output of each class in V/m2
Questions
Octane molecules (C8H18) have an atomic mass of 114. Propane molecules (C 3H8) have
an atomic mass of 40. What is the molecular mass of individual Hydrogen and Carbon
atoms?
Carbon = 12 Hydrogen = 1
A solar panel company makes 3 classes of photovoltaic cell: Bronze, Silver and Gold. An
area of 1m is completely covered with a combination of cells and the resulting
2
voltages produced:
0.5m2 Silver + 0.5m2 Gold = 30V
0.25m2 Bronze + 0.3m2 Silver + 0.45m2 Gold = 26.5V
0.5m2 Bronze + 0.1m2 Silver + 0.4m2 Gold = 23V
Determine the voltage output of each class in V/m 2
Bronze = 10V/m2 Silver = 20V/m2 Gold = 40V/m2
Other Uses of Matrices
Matrices can be used in the encryption/decryption of data so that
information can be sent and stored securely. Only someone with the
decryption matrix would be able to read an encrypted message, so
even if an encrypted message was intercepted by an unintended
recipient; the information would be useless to them.
Consider a code where the letter a = 1, b=2, c=3 and so on. 0 = space.
Consider a code where the letter a = 1, b=2, c=3 and so on. 0 = space.
(8 5 12 12 15) = HELLO
0.5(8 5 12 12 15) = (4 2.5 6 6 7.5) = D?FF?
Only someone who knew that each element in the encrypted message
had to be doubled would be able to decrypt and access the
information.
Cracking Codes
Once a piece of information has been encrypted, the only easy way to access that information
is to know how to decrypt it again.
For various reasons, people may want to decrypt codes to access information that has been
“hidden”. Unless they have the decryption method, the only way to do this is through a trial-
and-error method.
Trial-and-error, if carried out relentlessly enough, would eventually be able to decrypt any
encoded message. Computers which can carry out many operations each second are excellent
at carrying out trial-and-error decryption methods as they can work 24:7 without rest.
The “secureness” of encrypted information depends on how long it would take for a trial-and-
error machine to break down the code, where a poor encryption may be broken down in
fractions of a second and a good encryption may take thousands of years at current computer
work rates. As computers become faster and more powerful, the number of trials they could
carry out each second increases and so encryption techniques need to be constantly improved
to maintain the level of security.
Using Matrices to Encrypt
Information
There are a number of ways that matrices could be used to encrypt
information. For example, a message could be grouped into a square
matrix and then multiplied by a “random” square matrix of equal size.
The resulting matrix would then be an encrypted version of the original
information. The inverse matrix of the random square matrix would
then be required to decrypt the code. It could be very time consuming
even for a computer to trial a number of matrices and multiply the
encrypted message by each one to see if the resulting code made
sense.
Example of Matrix Multiplication
Encryption
A 4 letter word is encrypted by being multiplied by a random 2x2
matrix. The encrypted message reads:
?P??
Example of Matrix Multiplication
Encryption

We are then told the “random” 2x2 matrix only contains single-digit
numbers. With this information we can tell that there can only be 104
possible variations on a 2x2 matrix. (this would be a very weak
encryption as a computer that could carry out at least
10,000 iterations a second would be able to successfully
decrypt the message in under 1 second.)
However we are still unable to read the message without it first being
decrypted…
Example of Matrix Multiplication
Encryption


Example of Matrix Multiplication
Encryption


Example of Matrix Multiplication
Encryption

3431230752433213
Using Matrices to Encrypt
Information
3431230752433213

Using Matrices to Encrypt
Information
3431230752433213

Using Matrices to Encrypt
Information
3431230752433213

Using Matrices to Encrypt
Information
3431230752433213
1.21 4 9
A U D I
Using Matrices to Encrypt
Information
3431230752433213
1.21 4 9
A U D I
One major advantage of this method is that there are many 2x2 matrices that have a determinant of 1,
therefore “A” for example could be encrypted in multiple forms. This is a good defence against more
advanced hacking programs that look for patterns in encrypted information to trial more likely solutions
as a priority and possibly reduce the time to decrypt information.
Combination Encryption techniques
Since modern computers are so good at trial-and-error techniques, the complexity of encryption needs to be on such
a high level that even when trialling millions of iterations a second, the number of possible solutions must be so high
that it would still take too long to extract useable information from an encrypted set of data.
There are a large number of ways of doing this, and encryption-software engineers are constantly developing new
and more complex methods of encrypting information.
Some common ways of doing this are combination encryption techniques i.e. decrypting one piece of information
releases a second encrypted message which must then be decrypted using a different technique. A long chain of
combination encryptions can make for very secure data – but the disadvantage is that even when you know the
decryption method it can still take a long time to decrypt the information. This makes it unsuitable when high-speed
data transfer is desireable e.g. using the internet.
Another way of increasing security without increasing decryption time is to have a decryption matrix that changes
each time a decryption attempt is made. In order for this to be successful though, the change must follow a set
pattern – and the pattern could be hacked rendering the changing pattern useless.
Complex Numbers
The second part of assignment 2 looks at complex numbers.
Complex numbers are very useful in engineering, particularly in
dynamics and electronics.
The only problem is that complex numbers contain elements that don’t
actually exist – called imaginary numbers…
Imaginary Numbers
What is an “Imaginary” number?
𝜋
-
6.
5
Take any real number and square it. What is the answer?
Try squaring a few more numbers. Use a range of positive and negative
integers, fractions, decimals etc.
It is useful because we can take an array of data that has both positive and
negative values, square all the values and then square root the results to gain an
array of data with the same magnitudes but only positive elements. An example
of this is finding RMS values for AC currents and voltages.
Secondly, it shows us that a positive number can have more than one square
root – a positive and a negative value.
Imaginary Numbers continued…
It also tells us that it must be impossible to have the square root of a
negative number – since there is no real number that can be squared
to give a negative result.
There is no solution, so for now we will give the answer as an algebraic term, j…
Therefore

Imaginary Numbers continued…
Take the number 1…
Such that:

Questions
Solve:


Questions
Solve:


Imaginary Numbers continued…
Also note that since:
Then

Questions
Complete the table:
Questions
Complete the table:
Solving Unsolvable Quadratics
Consider the Quadratic:

This quadratic cannot be solved using regular methods since there are no “real” solutions.

Question
Solve:

Question
Solve:

Complex Numbers
A complex number is simply a number that has both a real and an imaginary part.
For example:
 is a real number
 is an imaginary number
 is a complex number

Where  is real andis imaginary
Questions
State the real and imaginary parts of the following:

Questions
State the real and imaginary parts of the following:

Adding and Subtracting Complex
Numbers
Consider:



and
Solve:

Questions
Consider:



Solve:

Multiplying Complex Numbers
When multiplying 2 complex numbers, we treat it like multiplying our 2 sets of brackets e.g:



Multiplying Complex Numbers
continued
Algebraically:



Questions
Consider:



Solve:

Questions
Consider:



Solve:

Division of Complex Numbers
Dividing two complex numbers is a little more complicated, and is
simplified by finding something called the Complex Conjugate.

Questions
Give the complex conjugates for the following:

Note About Conjugate Pairs
If we multiply any complex number by its complex conjugate, we always
get left with a real number:
We cannot solve this equation in its current form. However, we can multiply the top and
bottom of the fraction by the complex conjugate of . Since we are multiplying the top and the
bottom by the same amount this has no effect on the value of the fraction.

Division of Complex Numbers
continued…


Division of Complex Numbers
continued…
Algebraic derivation of formula:

Questions




Questions




The Argand Diagram
The Argand diagram is a simple visual representation of a complex number and is extremely useful
as the complex number can then be represented as a vector.
The diagram works by plotting a point on a pair of axes, where the horizontal axis shows the real
element and the vertical axis shows the imaginary element. Consider:

5
j
4
j
3
j
2
j
1
j
- - - - 1 2 3 4 5 6
3 2 11
-j
2
j-
3
j
Questions
Plot the following complex numbers on an Argand Diagram:
2+3j
-1+5j
4-2j
-3-3j
Questions
Plot the following complex numbers on an Argand Diagram:
2+3j
-1+5j
4-2j
-3-3j
5
j
4
j
3
j
2
j
1
j
- - - - 1 2 3 4 5 6
3 2 11
-j
2
j-
3
j
Cartesian and Polar Form of Complex
Numbers
So far we have described a complex number by its real and imaginary
parts, e.g.

re imaginar
al y
The real and imaginary parts work like Cartesian coordinates (x, y)
when producing the Argand diagram.
5
j
4
j
3
j
2
j
1
j
- - - - 1 2 3 4 5 6
We can see that the resulting vector has a length equal to 5
3 2 11
-j
The length of the line is called the Modulus, and the angle is called
the Argument.
Polar Form continued…
So the complex number 4+3j (Cartesian form) could also be expressed
as:
The length of the line is called the Modulus, and the angle is called
the Argument.
Converting from Cartesian to Polar Form
When we have the Cartesian form:

The sign of a and b depends on the rule followed on the previous slide.
Questions
Convert:


to Polar form, and:


To Cartesian form.
Questions
Convert:


to Polar form, and:


To Cartesian form.
Is This Useful?
In AC circuits, the source voltage constantly changes between positive and negative values in a sinusoidal pattern. The sine wave can
be represented by an Argand diagram with a constant angular velocity where the number of revolutions per second is equal to the
frequency in Hz.
Trying to determine a mean value for the source voltage will always give a value of 0 which makes non-instantaneous calculations
seemingly impossible. However AC voltage can be expressed as a constant Magnitude (Peak value) with an Angular Velocity equal to
the source frequency. At any instant, this could be considered to be a complex number in Polar form. Other parameters can be
described in the same way, and by converting Parameters to Cartesian form we can then perform addition and multiplication
operations on the parameters easily. For example:
The current is proportional to the voltage and acts in the same direction so has a Phase angle of +0°
Impedance (AC form of resistance) acts in the opposite direction to current. The voltage drop is equal to the source voltage with a
phase angle of +180°
Inductors produce an EMF relative to the rate of change of current that alternates at the same frequency as the current, but with a
phase angle of -90°
Capacitors also provide a voltage to a circuit that alternates at the same frequency as the current but has a phase angle of +90°
Phasor Diagram for an RLC Circuit
I = current
VR = Voltage drop over
Resistor
VC = Capacitor EMF
VL = Inductor EMF
Z = Impedance (Resistance)
Simple Example
A simple AC circuit has a 230V source operating at 50Hz. There is an impedance, Z of 1kΩ. Find the instantaneous current and power at 0.002 seconds.
Note that a DC circuit with V=230 and R=1kΩ, I would =0.23A and P=52.9W
Reactance and RLC Example
If we consider a DC resistance to produce a voltage drop (i.e. negative voltage), then we need to consider Impedance to be the same thing.
In a DC circuit, all components cause resistance (or negative voltage) in the same direction and therefore a total resistance for the circuit can be used. In AC
however, components produce their “voltages” at different phase angles and so the impedance is more complicated. The voltages produced by components
such as capacitors and inductors is called Reactance (denoted X) and the impedance, Z is therefore expressed as:

and

Where:

Where XC is capacitive reactance and XL is inductive reactance. Note that X is the sum of reactances, but X C and XL are 180° out of phase

Where C is capacitance, L is inductance and f is frequency.
RLC Example
An RLC circuit has a 230V source operating at 50Hz. R=1kΩ, L=0.5H and C=220µF. Determine the current and power at 0.0015seconds.

Question
The following circuit is constructed:
V = 240V at 75Hz
R = 1200Ω
L = 0.4H
C = 290µF
Find the Current and Power at t = 0.001 secs
Question
The following circuit is constructed:
V = 240V at 75Hz
R = 1200Ω
L = 0.4H
C = 290µF
Find the Current and Power at t = 0.001 secs
I = 0.1608 + 0.06247j = 0.1725 ∠ 21.2
P = 27.58 + 30.88j = 41.41 ∠ 46.26
Assignment 3: Statistical and Probability
Techniques
P5 – Solve an Engineering problem using routine central tendency, dispersion and probability
distribution operations
M5 – Solve an Engineering problem accurately, using routine and non-routine central tendency,
dispersion and probability distribution operations, providing an explanation of the process
M6 – Solve Engineering problems accurately, using routine and non-routine regression operations,
providing an explanation of the process
D3 – Evaluate the correct synthesis and application of statistics and probability to solve engineering
problems involving accurate routine and non-routine operations
P5 – Solve an Engineering problem using routine central
tendency, dispersion and probability distribution operations
The Mean
The Median
The Mode
The Range
The Standard Deviation
In our example, say the tallest person was 190cm and the shortest
was 155cm, the range would be 190 – 155 = 35cm
For example, lets say we wanted to predict how tall a child will be when they
grow up (technically, this not a good example as we should
really consider the historical trend in average height to predict
future outcomes – but this is a simple example). The “average”
child should be 175cm tall when the are fully grown; however the actual
chance of them being exactly 175cm is very small.
Instead, we can look at the distribution (spread) of the data and make
reasonably accurate statements such as “there is a 70% chance that the child
will grow up to be between 172cm and 178cm.”
Engineering Example
Say you were a quality control engineer tasked with analysing data output
from a CNC machining operation – for example turning.
Find the mean, median, mode, range, standard deviation and the percentage
probability that a part will fall between 19.99 and 20.01mm
Why is this useful in engineering?
This is useful for a number of different reasons depending on the
application, but in general:
For a simple example, as a turning tool wears over time the resulting diameter of the
part is likely to increase. By comparing the cutting time (independent) to the turned
diameter (dependant) we are likely to see a positive linear regression. If we saw that
after 100 mins of cutting the diameter of the parts had increased by 0.02mm, we
could compensate by adjusting the tool to remove and extra 0.02mm of material.
We could then make the same adjustment every 100 minutes to maintain the
quality of the part without the need to change the tool as frequently.
Realistically we could also use the data to estimate the cutting time at which the tool
will need replacing – and replace it before it fails completely.
Use of Excel for Linear Regression
D3 – Evaluate the correct synthesis and application of statistics
and probability to solve engineering problems involving accurate
routine and non-routine operations
D3 will require you to look at how data is collected and analysed, and
the effect that this may have on the statistical outcome. You will
need to write a short report for this question where you will talk
about the strengths and weaknesses of different data collection
methods and identify areas that may produce errors in the results.
You will also need to suggest possible improvements that could be
made to data collection methods that could reduce these errors.
To help, there are some possible discussion points on the next slide
D3 discussion points.
How might data be collected in different circumstances?
Does the time at which the data is collected have an impact?
How does the number of readings impact on results?
Should anomalies (unexpected extreme values) be ignored?
How does grouping data affect the results? What differences does
the group resolution make?
Do central tendency analyses provide us with useful information?
And if so what is the information used for?