|
|
Revision:Foundations
From The Student Room(Redirected from Revision Notes: Foundations)
TSR Wiki > Study Help > Subjects and Revision > Revision Notes > Mathematics > Foundations This page is supposed to be an introduction to some of the most fundamental ideas that you might see if you do a university-level mathematics course. On this page you're not going to find out how to do calculations with complex numbers or vectors, and you're not going to discover anything new about the calculus. Instead you'll learn about some of the most basic questions that have stimulated mathematicians (and philosophers) over the years - questions like "What is a number?" and "What is proof?". The ideas here are by no means the most important ones you should take in if you intend to study mathematics at a higher level, but they are still important, and will form a part of any good mathematics education. These notes are in part based on a course that I took in my first year of studying mathematics at Cambridge, entitled 'Numbers and Sets' and lectured by Prof. Tim Gowers, in part based on the book An Introduction to Mathematical Philosophy by Bertrand Russell, and in part are completely from my own mind. My thinking about logic was greatly clarified by reading the introductory books A Very Short Introduction to Logic by Graham Priest, and Logic by Wilfrid Hodges.
Basic IdeasWhat is a number?This is a question that has commanded the attention of mathematicians for millenia. The answer turns out to be more complicated than you might think at first sight. It's easy to think that we "just know" what a number is, and therefore that the question doesn't need answering. This turns out not to be good enough for doing mathematics with, though - if we want to be able to prove things about numbers then we need to have a more rigorous definition of what they really are. This can only come a bit later, when we've developed some more terminology. For the moment we'll just describe some of the most commonly used systems of numbers, many of which you will already be familiar with from A Level.
ProofsTo say anything useful about numbers we have to be able to prove things about them. In any proof (whether it's a mathematical proof or not) it's important to have several things. First we have to know exactly what we are trying to prove, so that we will know when we've proved it! For example, suppose we want to prove that every natural number is either even or odd. We have to know what we mean when we say 'even' and 'odd'. Fortunately the answer to this isn't too complicated. We say that a natural number n is even if it can be written as n = 2k for some other natural number k. We have to be careful when we define what an odd number is - it is tempting to say that any number that isn't even is odd, but that is just assuming what we're trying to prove! Instead we say that a natural number is odd if it can be written as n = 2k + 1 for some other natural number k. We also need to know that our conclusion follows logically from our starting points, i.e. we need to have a sound argument. To prove that all natural numbers are either even or odd, we could argue as follows. If n is even, then n = 2k. Then n+1 = 2k+1, so n+1 is odd. On the other hand, if n is odd then n = 2k+1, so n+1 = 2k+2 = 2(k+1), so n+1 is even. Thus no matter whether n is even or odd, n+1 is always either even or odd. But we know that 0 is either even or odd (in fact it's even, since 0 = 2.0, but that doesn't matter) and thus 1 must be even or odd, since 1 = 0+1. But then 2 must be even or odd, since 2 = 1+1. We know that we can go through all of the natural numbers by adding 1 each time, and so all of the natural numbers are either even or odd. This kind of argument is called mathematical induction. We show that if what we want to prove is true for n, then it must be true for n+1. We then show that it is true for 0, and thus it must be true for all of the natural numbers. Often we set out our proofs more formally, by stating what we want to prove as a theorem. For example,
This kind of argument is called reductio ad absurdum, or proof by contradiction. We assume the opposite of what we're trying to prove, and show that this leads to a contradiction. Thus what we want to prove must be true. In the argument above we assumed that n2 was even and n was odd, and showed that this meant that n2 must be odd. This is a contradiction, and so n can't be odd. LogicIt's important to know a little bit of logic to be able to follow mathematical proofs. When we're writing about logic we use letters as a shorthand for statements. For example, we might use P for the statement "n2 is even" and Q for the statement "n is even". In our example above we showed that if P is true, then Q is also true. In our shorthand we write this as P We use the symbol '¬' to mean "the negation of", or "the opposite of". For example, the statement ¬P means "the opposite of the statement P". If P is true then ¬P is false, and vice versa. We also want to be able to talk about multiple statements being true at the same time. For this we form a combined statement P Similarly we can think about the statement P Now we can combine some of our symbols, for example we could look at the statement ¬(P
Similarly we can look at the negation of the statement P
You should be able to work out why this is. We can look at the truth or falsehood of implications. For example, when is the statement P The contrapositive of the statement P SetsThe idea of a set is very important in mathematics. In the late 19th and early 20th centuries a group of mathematians developed set theory, which was an attempt to prove all of mathematics from the most very basic starting points. In the end this was shown to be unsuccesful, when a logician called Kurt Gödel showed that no matter what you take your starting points to be, there will always be things that you cannot prove using them. However, set theory is still the basis for much mathematics today, and is also important in fields such as computer science, so it's important to know something about it. A set is a collection of objects. The objects can be anything; for example, I could consider the set of all objects on my desk, or the set of all atoms in the universe. However, we will mostly want to think about sets which are collections of mathematical objects, such as sets of numbers. When we want to specify a set, we have several options. We almost always use curly brackets { and } to enclose the objects in our set. For example, we write {1,2,3} to mean the set consisting of the numbers 1, 2 and 3. We say that the numbers 1, 2 and 3 are members or elements of the set {1,2,3}. If an object a is a member of the set A, then we write a ∈ A. For example, 1 is a member of the set {1,2,3} so we can write 1 ∈ {1,2,3}. We can also use the symbol '∉' to mean "is not a member of". This is a general principle in mathematical notation - by putting a slash through a symbol, we mean the opposite of what that symbol normally means. It is important that each of the objects in the set be different. If there are any repeats then we simply ignore them. Thus the set {1,2,2,3,3} is the same as the set {1,2,3}. The set clearly has three members, so we say that the cardinality of the set is 3. We can also think about the set with no objects, which we call the empty set and write as There is no reason for us to restrict ourselves to thinking about sets with only a finite number of members. It gets tricky to write out a set with an infinite number of members, though! We get around this by writing "..." to mean "and so on". For example, when we write {1,2,3,...} we are supposed to understand that the set consists of the rest of the natural numbers, i.e. it is the set N. This can be a bit ambiguous however, especially when it's not obvious how to continue the series. We can thus write a set by specifying conditions for membership, where we use the symbol ' :' to mean "such that". For example, the set {n : n ∈ N and n is prime} can be read as "the set of all numbers n such that n is a member of the natural numbers, and n is prime". This is just the set of all prime numbers. We want to be able to talk about two sets being equal. We say that A = B if they have the same members, or more formally, if every element of A is also an element of B,and every element of B is also an element of A. Using this definition we see that the order of objects inside a set doesn't matter; for example {1,2,3} = {3,2,1}. If every element of A is also an element of B then we say that A is a subset of B, and we write A ⊂ B. This gives a quicker way to say that two sets are equal: We say that A = B if A ⊂ B and B ⊂ A. Working with setsFor sets to be useful, we have to be able to do stuff with them! We want to have ways of combining sets together, for example, and counting how many members a combined set has. One of the most basic operations that you can do with two sets A and B is to take their union, that is, form a bigger set A We can also form a set which contains only those things which are members of both A and B. This is called the intersection of A and B, and is written as A Finally, we can consider the set which consists of all members of A which are not members of B. This is called the difference of A and B, and is written A\B. Using set notation, we write A\B = {x : x ∈ A and x ∉ B}, remembering that '∉' means "is not a member of". Note that A\B is not the same set as B\A, just as a - b is not the same number as b - a when we are working with the integers. How do we prove that two sets are equal? One way is to remember our definition of equality: two sets A and B are equal if every member of A is a member of B and vice-versa. The following theorem will be your first taste of a mathematical argument that makes heavy use of all of our set notation:
Don't be put off by the notation here! It can be a little tricky to get used to, but if you work through it step-by-step, making sure that you understand the argument at each stage, then you will be well on your way to understanding arguments about the equality of sets. Ordered pairs and Cartesian productsAn ordered pair is a little like a set which has only two members, but the order of the elements matters. We write an ordered pair using round brackets, as (x,y) rather than {x,y}, to make it clear that we're talking about an ordered pair and not a set. Because the order matters, the two members are allowed to be equal, which you will remember was not allowed for sets. For example, (1,1) is perfectly fine as an ordered pair. We say that two ordered pairs (x,y) and (z,w) are equal if, and only if, both of their elements are equal, i.e. if x = z and y = w. For example, the ordered pairs (3,4) and (4,3) are not equal, which is something different from sets. As a taster of why sets are so important, notice that we can express an ordered pair in terms of a set, by defining (x,y) to be the set {x, {x,y}}. This is a set whose members are the number x, and the set {x,y}. You should be able to convince yourself that the ordered pairs (x,y) and (w,z) are equal (according to the definition in the previous paragraph) if and only if their respective sets are equal (according to the definition of set equality given earlier). Now that we know that an ordered pair is, we can define the Cartesian product of two sets A and B, which we write as A FunctionsA function from a set X to a set Y is a way of associating an element y ∈ Y to every element x ∈ X. If we give the function a name, say we call it f, then we often write y = f(x). This notation should be familiar from your school-level studies. For f to be a function from X to Y, a few conditions have to be satisfied. Firstly, f(x) has to be a member of Y for every x ∈ X. For example, "take the square root" is not a function from the real numbers Also, each x ∈ X can only be associated to one y ∈ Y. With the example of "square root", we might think that we can define As always, we need some notation if we're to talk about functions efficiently. We make the following definitions:
This allows us to define functions economically. For example, to define the square root function we could write f : We now want to talk about some specific kinds of functions. Assuming that we have a function f from X to Y, we say that
Composition and inverse of functionsIf we have two functions f : X We can use our notation for functions to write the composition of f and g as
You should notice that the function f Every set X has a special function from X back to X, which is called the identity function. This simply associates every element of X to itself. We write the identity function for X as idX, and we can use our notation for functions to express it concisely as idX : X Now we can think about the 'inverse' of a function f. Informally, the inverse function f-1 is the function which 'undoes' the action of f, i.e. it takes f(x) to x. We want to say that if we have two functions f : X We can approach this by treading carefully. Say we have two functions f : X
We can now prove a theorem about inverses of functions:
Binary operationsA binary operation
Binary operations will be most important in the context of groups. RelationsA relation R on a set A is a potential relationship between two elements a, b of A. If a is related to b by the relation R, then we write xRy. Some well-known examples of relations are "=" (equal to), ">" and "<" (greater than or less than). However, relations can be much more arbitrary than this. We will see this later. Some of the most interesting relations have one or all of the following properties:
One important example of a relation is one which gives a sense of when two elements of A are 'the same', or have similar properties. This is called an equivalence relation, and it is defined to be any relation which is reflexive, symmetric and transitive. The most obvious example of an equivalence relation is "=", and it might be helpful to think why each of the three properties of equivalence relations are possessed by "=". Another example comes from defining the parity of x to be 0 if x is even, and 1 if x is odd. Then we can define a relation R on the natural numbers by "xRy if and only if y has the same parity as x". This is an equivalence relation. It is obviously reflexive, since x has the same parity as itself. It is symmetric, since if y has the same parity as x then x has the same parity as y. It is transitive, since if y has the same parity as x and z has the same parity as y, then z has the same parity as x. We define the equivalence classes of an equivalence relation R by saying that the equivalence class of x is the set E(x) = {y ∈ A : yRx}. For example, if our relation is parity equivalence (as defined in the previous paragraph) then the equivalence class of 0 is all of the even numbers, and the equivalence class of 1 is all of the odd numbers. Note that every natural number is a member of either the equivalence class of 0, or the equivalence class of 1, and that no number is a member of both equivalence classes. We might like to ask if this is a general principle. In fact it is. We define a partition P of the set A to be a set of subsets of A, which satisfies:
This can be thought of as splitting the set A into subsets which don't have any overlap with each other, and which together cover the whole of A. Every member of A is a member of exactly one of the subsets of the partition. Now we can prove a theorem:
Relations and functionsA more formal way of thinking about relations is to think of the relation R on A as a subset of A Under this definition of a relation, an equivalence relation on A is a subset R which has the following properties for all x,y,z ∈ A:
Notice how this definition is more 'basic' than our previous one. We don't even need to know what a relation is - we just need to know what an ordered pair is, and what a subset is. A natural extension of this is to think about relations between different sets - i.e. the relations of objects x ∈ X to objects y ∈ Y. For example, if X is the all of the natural numbers and Y is the even numbers, then we can think about the relation between X and Y called "is the double of" by considering the subset R of X [Unparseable or potentially dangerous latex formula. Error 1 ]x, i.e y is not related to x.
A relation R on A which is transitive, antisymmetric and total is called an order relation. Notice that a relation which is transitive and non-reflexive must be antisymmetric. If we assume that there are two elements x,y such that xRy and yRx, then we can apply the transitive property to get xRx -- but we said that R was non-reflexive, so we can't ever have both xRy and yRx, and thus R is antisymmetric. This means that we can give an equivalent definition of an order relation, as a relation R which is transitive, non-reflexive and total.
Comments |










to mean 'all of the natural numbers'.
Q, which you can read as "if P then Q", or alternatively as "P implies Q".
Q, which we read as "P and Q". We say that the statement P
Q, which we read as "P or Q". We say that P
. This has cardinality 0.
B which includes all of the members of A and all of the members of B. Using our notation for sets, we write A
B. Using our notation for sets we write A
. Then either
, or
. We treat these two cases separately:
and
, and thus
.
and
, and thus
is also a member of
. We also need to show that the converse holds. If
, then
, then
B. This is the set which consists of all ordered pairs (a,b) such that a ∈ A and b ∈ B. Using our set notation, we can write A
, which would be the set of all ordered pairs of integers. If we think of the integers as points in a line, then our new set would be the coordinates of the points in a square grid.
to
to be only the positive real numbers, and then "square root" would be a function from
Y.
y.
and f : x
and f : x
f. Notice that we always think about what f does first, and then what g does - this is reversing the order of how you would read g
E(y). Similarly we have E(y) 




