0.1 Sets

If like me, you’ve spent most of your mathematical high school years introduced to basic sets at the beginning of the year from Grades 8 to 12, then I think you’d agree that sets was one of the quickest and easiest sections we traditionally did. We would quickly recap the same fundamental properties of sets before moving onto more interesting topics, usually algebra. The section would go a little bit like this:

  • define the differences between whole and natural numbers, integers, rational numbers and real numbers
  • define the differences between unions, intersections and complements, usually through the understanding of Venn-diagrams
  • use set builder notation (introducing algebra through this)

If like myself, you truly believed that this was as complicated as sets could ever get, then you, dear reader, like my former-myself, are in for a treat. In university, we build on these basic ideas and have a more in depth understanding about the importance of sets and their greater role in the scheme of mathematics.…

By | March 7th, 2018|Uncategorized|5 Comments

UCT MAM1000 lecture notes part 50 – linear algebra part iii

Gauss reduction

So far we have seen that we have a way to translate a system of linear equations into a matrix. We can manipulate the matrix in ways which correspond to operations on the equations which keep the important information in the system of equations the same (ie. the solution of the equations before and after the operations is the same). We have seen a couple of examples of when we can read off the solution from the matrix having performed the operations. So far the order with which we perform the operations feels a bit arbitrary, although we know that we would like to get the matrix into reduced row echelon form. There is however a very systematic way of going about this, and the term for the process is called Gauss Reduction.

Here is a detailed view of what Gauss Reduction will give us:

Gauss Reduction:

To solve a system of linear equations:


1) First find the augmented coefficient matrix of the system of equations.…

UCT MAM1000 lecture notes part 49 – linear algebra part ii


Solving a system of linear equations is not technically difficult: just eliminate the variables in a systematic fashion. When there are only two or three variables, this is easy to manage. But for a bigger system, things can quickly get confusing. We need to develop a systematic method.

The first thing to notice is that the names of the variables don’t matter. Consider, for example, the two systems


\begin{array}{cc}  x + y &=3\\  2x-y &= 4  \end{array}




\begin{array}{cc}  u + v &=3\\  2u-v &= 4  \end{array}


It’s clear that if we ignore the names of the variables — x and y versus u and v — these two systems are the same. The reason we can tell that they’re the same is because the {\em coefficients} of the variables are the same and the numbers on the right hand side are the same. These are really the only things about a system of linear equations that matter, and so what we can do is strip the system down to its bare bones and rewrite it like this:


\left(  \begin{array}{cc|c}  1&1&3\\  2&-1&4  \end{array}  \right)


This is an augmented coefficient matrix (in general, a rectangular array of numbers, like the above, is called a matrix; a matrix with an additional vertical line, which plays the same role as the equals signs in the original equations, is augmented).…

First year maths lecture notes subject links

Advice from former MAM1000W students

First semester

Some introductory notes about the course and random links

Introductory topics

MAM1019H notes

Proof methods

Functions, Continuity and limits

UCT MAM1000 lecture notes part 48 – linear algebra part i

These notes are taken from the resource book and were originally written by Dr Erwin. I will be editing and adding to them throughout. Most mistakes within them can thus be presumed to be mine rather than Dr Erwin’s.

In this section we are going to develop a new set of methods to solve a type of problem we are relatively familiar with. We will find a way to translate between methods we know well, but which turn out not to be very efficient, methods which are graphically very intuitive, but not very calculationally useful, and methods which are computationally extremely powerful, but appear rather abstract compared with the other two ways of looking at these problems. These three methods which we will utilise in detail in the coming sections are shown in the following diagram:


As we go through I will try and show how we can go between these apparently different formalisms.…

UCT MAM1000 lecture notes part 45 – 3D geometry and vectors part viii

We will discuss mostly three dimensions here, but what we have will be applicable to any number of dimensions (greater than or equal to 1). We want to be able to describe a straight line – a one dimensional object, infinitely long in both directions. We will see that vectors give us a perfect language with which to do this.

Remember that in three dimensions, a line can be defined by the intersection of two planes as in the intersection of the blue and the green planes defining the red line:


Each plane is specified by a single equation, and thus a line is specified by two equations (one for each plane). Here we will see that sometimes you just need one equation to specify a line, if you are using vectors, and sometimes it will seem that you need three equations, if you are using a parametric equation.

Let’s take a line, and specify some point on it.…

UCT MAM1000 lecture notes part 44 – 3D geometry and vectors part vii

In the following, I’m going to miss out quite a few details which I think are very nicely laid out in Stewart. I will try and add a slightly more pedagogical tone to some of it, and some nice diagrams along the way.

So we saw in the last post that we can write the cross product of two vectors, which itself gives a vector, in terms of the determinant of a 3 by 3 array. We can use this to both find a vector perpendicular to two given vectors (unless they are parallel to one another) and also to find the area of a parallelogram formed by two vectors (the area of which is zero if the vectors are parallel to one another).

The second of these is easy enough to do in two dimensions, but in three dimensions that’s not an easy prospect. Using the cross  (otherwise called the vector) product makes this easy.…

UCT MAM1000 lecture notes part 43 – 3D geometry and vectors part vi


The idea of determinants have been about since around the 3rd century when it first appeared in an ancient Chinese book of Mathematics called The Nine Chapters on the Mathematical Art. It was used originally to define certain properties of systems of linear equations, as we will see later in the section on linear algebra, however for now we will simply use it as a particular way to easily calculate the cross product. Let’s take a two by two array of numbers and define the determinant for this.


\left|\begin{array}{cc}a & b \\ c & d \\\end{array}\right|=ad-bc


The vertical lines on the left and right are the sign that the we are taking a determinant. For now this is just a definition and we will work with it in what follows. Don’t worry too much about where it comes from, but we will see later where it comes from and we will see now why it is useful.…

UCT MAM1000 lecture notes part 42 – 3D geometry and vectors part v

The vector, or cross product

When we took two vectors previously and found a way to multiply them together using the dot product, we ended up with a scalar. However, there is also a way that we can take two vectors and multiply them together to give a vector, but a vector with very specific properties with respect to the first two. What we will define here will be in three dimensions, and, unlike the dot product, does not generalise easily to other dimensions, (other than 7) though it can in fact be extended.

We are going to define the cross product such that it gives a vector which is perpendicular to the two vectors being crossed. This might sound a bit arbitrary but it shows up in a huge number of different situations in physics in particular and can help us to understand the geometric relation between vectors very simply.…

UCT MAM1000 lecture notes part 38 – 3D geometry and vectors part i

A lot of the following is going to be rather intuitively clear, but we need to build up a framework where we are all speaking the same language to develop the powerful tools that we are going to find over the coming sections. We will be dealing here specifically with three dimensional space but we will discuss along the way the extension of these concepts to higher dimensional spaces. The higher dimensional stuff is not examinable but I think that sometimes it helps to understand the things which are special about three dimensions, and the things which are not.

In particular, I can recommend having a look at the web page of John Baez who discusses the regular polytopes in different numbers of dimensions here.

It’s clear that to define where you are in three dimensional space you need to set up a few key ingredients first. What you need is first of all an origin – a place to call home from which you will relatively describe your position.…