Lesson 1
Vectors and Groups
Taught
Vectors
Algebra deals with variables and equations, geometry with points, lines, planes and solids, and the two are tied together closely enough that a statement about one is usually a statement about the other. Take the equation . On its own it is an algebraic object, a relation between two unknowns; but the collection of points whose coordinates satisfy it traces out a straight line, and the two constants appearing in it read off two features of that line. The number is the slope, the change in against the change in , and is the height at which the line meets the vertical axis.
So the constants in the equation of a line, which are algebraic data, correspond to the slope and the intercept, which are geometric data. What makes the correspondence possible is a dictionary between the points of the plane and pairs of numbers, and the pair is an object MA01 has already built.
Coordinates
An ordered pair is a pair in which one element is marked as coming first, so that
Given two sets and , the Cartesian product is the set of all ordered pairs whose first entry comes from and whose second comes from ,
and when we write for it. More generally, for the -fold product of sets consists of the -tuples with one entry drawn from each,
written as a Cartesian power when all the factors agree. Throughout this course .
The example we care about is , whose elements are the pairs of real numbers. Fixing an origin and two perpendicular axes in the plane identifies each point with exactly one such pair.
Remark (Descartes).
The identification of the points of the plane with is due to René Descartes, and the product carries his name because of it. The geometry uses the whole of the ordered pair: and are different points unless , which is exactly the property that a two-element set could not supply. Given a point of the plane matched with the pair , we call the -coordinate and the -coordinate of .
Once points are pairs, two different kinds of quantity are in play. A scalar is a quantity settled by a single number, and for us that number will be real. Temperature, mass and altitude are scalars. Force and velocity are not: a force has a direction as well as a size, and both are needed to name it.
Remark (Magnitude and direction).
A vector is often introduced as a quantity carrying both a magnitude and a direction. That description says what vectors are for, but neither magnitude nor direction has been given a meaning yet, so it cannot be calculated with.
Take a pair and the origin . Instead of drawing the single point we may draw the arrow that runs from to , reached by travelling units along the horizontal axis and units along the vertical one. The arrow carries the same information as the point, so nothing is lost.
Because the arrow and the point determine one another, we treat them as the same object and use the words interchangeably.
Let . An -dimensional vector, or -vector, is an element of . It may be written as a column vector
or as a row vector . For the real number is the th component of . The set of all such vectors is called -dimensional space.
Since points and vectors are the same objects here, the words component and coordinate are used interchangeably as well. For we usually name the components and , so that
is the -plane; for we name them , and , and call the -space.
Remark (Notation for vectors).
We write vectors in bold, and , and write for the vector running from to . Other texts write or for the same thing, and a vector of length one often gets a hat, as in or . The multiplicity of conventions does not matter; what matters is that a scalar and a vector are never written the same way, since almost every claim below depends on knowing which of the two a symbol names.
Example 1.2 (Vectors in and ).
Remark (Rows against columns).
A row vector and a column vector with the same entries are the same element of , and for everything in this chapter the shape is only a matter of how the thing is printed. It stops being a matter of printing as soon as vectors are multiplied by matrices, since the rules for that multiplication treat a row of entries and a column of entries as objects of different shapes, and the two cannot then be swapped. We will keep to columns whenever the shape could matter.
The zero vector of is the vector all of whose components are ,
also called the null vector. It is the vector representing the origin.
The vectors of the form , with every component but the th equal to zero, are exactly the points of the -axis, so the axes meeting at are already visible in the notation.
Vector Algebra
Definition 1.4 (Addition and subtraction).
Let and be vectors in . Their sum and difference are formed component by component:
Two vectors can be added only when they have the same number of components, since otherwise some component of the answer has nothing to be built from. A vector in and a vector in have no sum.
Read as arrows, is what we reach by travelling along and then travelling along from wherever that leaves us. Travelling along first and second lands in the same place, which is the picture behind : the two routes are the two ways round a parallelogram.
The right-hand panel records the other useful reading of the definition. The vector is the one that translates the point with position vector to the point with position vector , since adding it to returns . For two points and this is written
Definition 1.6 (Scalar multiplication).
Let and let . The scalar multiple is
We write for .
When is a positive integer, is the translation obtained by translating times by . Letting range over all of , the points trace out the straight line through the origin and the point . Translating by undoes a translation by .
Example 1.7 (A scalar multiple).
The product is written from here on, the dot being dropped as it is for the product of two reals.
With both operations available we can build one vector out of several others.
Definition 1.8 (Linear combination).
Let and . The vector
is a linear combination of with coefficients . A sum of this shape is abbreviated
the symbol instructing us to add the terms obtained as the index runs through the integers from the value below the symbol to the value above it.
Definition 1.9 (Standard basis).
Let . For let be the vector whose th component is and whose other components are , so that
These vectors form the standard basis, or canonical basis, of .
Proposition 1.10 (Expansion in the standard basis).
Let and let . There is exactly one -tuple of real numbers with
namely the tuple of components of itself.
Discussion.
The statement is an existence and uniqueness claim about the tuple of coefficients, so the proof has two halves. Both are settled by looking at one component at a time, because addition and scalar multiplication were defined component by component: the th component of is , and by the definition of the standard basis every term of that sum vanishes except the one with . So the th component of the combination is , whatever the coefficients were. Existence then follows by taking , and uniqueness follows because any tuple that works must have equal to the th component of , which leaves no freedom.
Proof.
Let be any real numbers and fix with . By the definition of scalar multiplication the th component of is , which is when and otherwise; and by the definition of addition the th component of a sum is the sum of the th components. Hence
Now write . Taking for each , the displayed identity says that has th component for every , so it equals ; this proves existence. If is any tuple with , then comparing th components in that equation and using the identity again gives for every ; this proves uniqueness.
Remark (The basis in two and three dimensions).
For the standard basis is and , commonly written and , and the proposition says that every is and is so in only one way. For the basis is written , , .
Definition 1.11 (Norm of a vector).
Let . The norm, or magnitude, or length, of is the real number
This is also called the Euclidean norm. A vector with is a unit vector.
Remark (Bars and double bars).
Many texts write for the norm. We keep the single bars for the absolute value of a real number, which appears in the last chapter of this lesson and again throughout the course, and reserve the double bars for vectors. Nothing but legibility turns on the choice, but a formula such as is a good deal easier to read when the two are told apart.
Let and let . Then
Proposition 1.13 (Properties of the norm).
Let and . Then
- ;
- if and only if ;
- .
Discussion.
All three parts are about the number under the square root, which is a sum of squares of real numbers, so each is settled by a fact about real squares rather than by anything about vectors. For the first, every square is non-negative and so is the sum, and the square root of a non-negative number is non-negative by definition. The second is a biconditional; the reverse direction is a computation, and the forward one uses that a sum of non-negative terms vanishes only if every term does, so each is and hence each is. The third pulls the constant out of the sum and out of the root, where the identity supplies the absolute value; it is the reason the absolute value appears at all, since the root is the non-negative one and need not be.
Proof.
Write and .
For the first part, each , so , and since the square root of a non-negative real is taken to be non-negative.
For the second, if then every , so and . Conversely, suppose . Squaring gives ; since is a sum of terms each of which is at least , no term can be strictly positive, so and hence for every . Thus .
For the third, the definition of scalar multiplication makes the components of the numbers , so
Definition 1.14 (Euclidean distance).
Let . The Euclidean distance between and , taken as position vectors, is ; in components,
The distance is symmetric in its two arguments, since and the third part of the last proposition, with , gives the two vectors the same norm.
Let and . Prove that , that , that and , and that
Let with . Show that is a unit vector, and that it is the only unit vector of the form with .
The Scalar Product
Definition 1.15 (Scalar product).
Let and be vectors in . Their scalar product, also called the dot product or the Euclidean inner product, is the real number
It is also written .
The scalar product of two vectors is a scalar, not a vector. Comparing the definition with that of the norm gives
Example 1.16 (A scalar product in ).
Remark (A glance ahead at the transpose).
A matrix has a transpose, obtained by exchanging its rows and its columns. A column vector is a matrix of one column, so its transpose is a row, and once matrices are multiplied the product is a matrix with one row and one column whose single entry is
So the dot product is a matrix product in disguise, which is why the row and column shapes of the earlier remark are kept apart.
Remark (Inner products in general).
Later modules replace by a vector space over a field and keep the product as a map
subject to the properties proved in the next proposition, which are there taken as axioms. Fields and vector spaces are defined in the last chapter of this lesson. The proofs that follow use only those properties, so they hold for any inner product.
Proposition 1.17 (The scalar product is a symmetric bilinear form).
Let and . Then
- ;
- ;
- ;
- , with if and only if .
Discussion.
Parts 1 to 3 are identities between two real numbers, each of which is a sum over the components, so each is proved by writing both sides as such a sum and reconciling them term by term with the arithmetic of . Symmetry needs only that . Linearity in the first argument needs the definitions of the sum and the scalar multiple to compute the th component of , and then the distributive law to split the sum in two. Part 3 does not need a separate argument: once symmetry is available, the two arguments may be exchanged, part 2 applied, and the arguments exchanged back. Part 4 is not new either, since was read off the two definitions above, and the remaining claims are the first two parts of the proposition on the norm.
Proof.
Write , and .
Multiplication of reals is commutative, so
which is the first part. For the second, the th component of is , so
For the third, we use the symmetry just proved twice, with the second part in between:
For the fourth, the identity holds because both sides are . That quantity is non-negative and vanishes exactly when , by the first two parts of the proposition on the norm.
Proposition 1.18 (Cauchy–Schwarz inequality).
Let . Then
with equality if and only if one of and is a scalar multiple of the other. Two vectors standing in that relation are called linearly dependent.
Discussion.
The inequality compares a quantity that may be negative with one that is not, and the way to reach it is to produce a real number that is non-negative for a reason we already have, then read the inequality off it. The reason available is part 4 of the last proposition: for every real . Expanding that norm with bilinearity turns it into
a quadratic in whose coefficients are the three quantities the statement mentions. A quadratic with positive leading coefficient that is never negative has at most one real root, so its discriminant is at most , and that discriminant is exactly . The case has to be handled on its own, since then the leading coefficient vanishes and the expression is not a quadratic; both sides of the inequality are there. For the equality case, note that the discriminant is exactly when the quadratic has a root , and by part 4 again a root means .
Prove the Cauchy–Schwarz inequality, including the description of the case of equality.
Remark (Where the inequality lives).
The proof asked for above uses only the four properties of the previous proposition, so the inequality holds for every inner product, not only for the dot product on .
Proposition 1.19 (Triangle inequality).
Let . Then
Discussion.
Both sides are non-negative, so it is enough to compare their squares, and squaring is what makes the statement tractable: the left-hand square is , which bilinearity expands into , while the right-hand square is . The two differ only in the middle term, so the whole claim reduces to , which is Cauchy–Schwarz together with the fact that a real number is at most its own absolute value.
Proof.
By the identity and bilinearity,
Every real number is at most its absolute value, so , and the Cauchy–Schwarz inequality bounds the latter by . Hence
Both and are non-negative, and for non-negative reals and the inequality gives . Therefore .
The name comes from that picture. The side from to has length , and the other two sides have lengths and , the second because . Going from to by way of cannot be shorter than going straight there, and it is exactly as long only when lies on the straight segment between the two.
Let . Prove the parallelogram law
and interpret it as a statement about the two diagonals of the parallelogram spanned by and .
Let . Prove that
Write for the Euclidean distance. Show that with equality exactly when , that , and that
for all .
Symmetries
A symmetry of a geometrical figure is a way of moving the figure so that it ends up occupying exactly the position it started in. Draw an equilateral triangle on a transparent sheet, then pick the sheet up, turn it or flip it over without tearing or stretching it, and put it back down. If the triangle lands exactly on top of where it was, the movement we performed is a symmetry of the triangle.
To watch what a movement does we number the corners, at the top, at the bottom left and at the bottom right. The numbers travel with the paper; the three corner positions stay where they are. Reading off which number sits in which position after the movement tells us which movement it was.
The first of the six, the movement which does nothing, is the identity symmetry, written .
Six is the whole list, because a symmetry has to send corners to corners, and once we know where two of the corners go the third has nowhere left to be.
What makes the six worth studying is that they combine. Performing one symmetry and then another leaves the triangle in its original position, so the result is again a symmetry.
Combining also shows up the feature that makes this subject interesting: the order in which two symmetries are performed matters.
So three things are true of the symmetries of a figure, and one thing is not. There is an identity; every symmetry can be undone, so it has an inverse; combining is associative, since bracketing a list of movements only says where to pause and not what order to perform them in. But combining does not commute.
Maps
Making that precise takes a little vocabulary about functions and three facts about them. The same ground is covered at length in MA01.
Definition 1.20 (Injections, surjections, bijections).
Let be a function. It is injective if implies ; surjective if for every there is an with ; and bijective, or a bijection, if it is both.
For and the composite is the function with . The identity map is the function with .
Proposition 1.21 (Composition and inverses).
Let , and be functions.
- ;
- if and are bijections, then so is ;
- if is a bijection, there is exactly one function with and , and is itself a bijection.
Discussion.
The first part is an equality of two functions with the same domain and codomain, so it is proved by evaluating both at an arbitrary point and unfolding the definition of a composite twice on each side; the two unfoldings meet at , and nothing about , or beyond their being functions is used. The second splits along the definition of bijection: injectivity is proved by peeling the two functions off an equation of images in the order they were applied, surjectivity by producing a preimage in two steps, first under and then under . The third is a construction rather than a deduction: surjectivity of says each has at least one preimage and injectivity says it has at most one, so “the” preimage is a well-defined function of , and the two composites collapse to the identity by construction. That is again a bijection follows because does for exactly what does for .
Proof.
For the first part, let . Then
and as was arbitrary the two functions are equal.
For the second, suppose and are bijections. If then because is injective, and then because is injective; so is injective. Given , surjectivity of supplies with , and surjectivity of supplies with , whence ; so is surjective.
For the third, let be a bijection and let . Surjectivity gives at least one with , and injectivity gives at most one, so there is exactly one; define to be it. Then for every , and for the element is the unique preimage of , which is . So the two composites are the identities. If also satisfies them, then by the first part, which is uniqueness. Finally, the same two equations read with the roles of and exchanged say that has an inverse, namely ; so is injective, since gives , and surjective, since for every .
Symmetries of the Square
The informal account leaves “moving without tearing or stretching” undefined. What such a movement does not change is the distance between any two points of the figure, and that is enough to pin the notion down.
Let be a non-empty subset. A symmetry of is a bijection that preserves distances, meaning
The distance-preserving condition is what “not tearing or stretching” amounts to, and the norm it is stated with is the one from the first chapter of this lesson. Nothing in the definition mentions turns or flips; those are conclusions, not assumptions.
We work with one figure throughout, the unit square centred at the origin with its edges parallel to the axes.
Definition 1.23 (The square ).
Its four corners, numbered anticlockwise from the top right, are
and we call them the vertices of .
Eight symmetries of can be written down by inspection: the movement which does nothing; the clockwise rotations through , and ; the reflections in the vertical and the horizontal axis; and the reflections in the two diagonals.
For each of the eight symmetries just listed, determine which vertex it sends to.
Whether that list is complete is not obvious. A symmetry is heavily constrained by what it does to the four vertices, so the vertices must first be made recognisable from the distance structure alone.
Proposition 1.24 (Symmetries send vertices to vertices).
Let be a symmetry of . Then is a vertex of whenever is.
Discussion.
A symmetry knows nothing about corners; all it preserves is distance. So the proof has to characterise the four vertices by a distance condition, and the natural candidate is that they are the points lying furthest apart. We therefore first show that for all , with equality exactly when and are diagonally opposite vertices; this is a computation on coordinates, since each coordinate of has absolute value at most and equality in the sum of squares forces equality in each term. That done, a point of is a vertex if and only if some point of is at distance from it, a condition stated purely in distances. Applying to such a pair preserves the distance, so the image of a vertex again has a partner at distance and is therefore a vertex.
Proof.
Let and lie in . Each of lies between and , so , and likewise . Hence
so . Equality forces , hence for ; and since both coordinates are confined to an interval of length , this happens only when one of them is and the other . So equality holds exactly when and are vertices with both coordinates opposite, that is, when they are diagonally opposite vertices.
Consequently a point is a vertex if and only if there is some with : if is a vertex, take diagonally opposite; and conversely the equality case just described makes a vertex.
Now let be a symmetry and a vertex, and choose with . Then
and lies in , so is a vertex by the criterion.
Example 1.25 (A quarter-turn on the vertices).
The anticlockwise rotation through sends to . On the vertices it acts by
which is the numbering running one step anticlockwise, as it should be.
The second constraint is that the vertices pin down every other point of the square.
Proposition 1.26 (Two adjacent vertices locate a point).
Let and be vertices of with , and let satisfy
Then .
Discussion.
The claim is that two distances determine a point, so what we want is to recover each coordinate of from the two given numbers. Adjacent vertices agree in one coordinate and differ by in the other, which is what makes the recovery possible: subtracting the two squared distances cancels the coordinate they agree in, and what survives is a multiple of the coordinate they differ in. That coordinate is therefore determined outright. Feeding it back into either squared distance determines the square of the remaining coordinate’s offset from the shared value, and a square leaves two candidates; the ambiguity is killed by the fact that lies in , which forces the offset to have a known sign. Since every step determines a quantity from the two given distances alone, must produce the same values, and the two points agree.
Proof.
Write and . Since and are vertices at distance , they agree in one coordinate and differ in the other. Say they agree in coordinate and differ in coordinate , where , and write
with .
Let . Expanding and cancelling the terms in coordinate ,
so is determined by the two distances. Then
is determined as well. Since we have , so ; that is, is times a non-negative number, and it is therefore the one square root of the displayed quantity carrying that sign. Hence is determined too.
Every quantity in this computation depends only on and . The point has the same two distances, so the same computation returns the same coordinates, and .
Remark (The same fact drawn).
Geometrically the proposition says that two circles centred at adjacent vertices meet in at most one point of . Two distinct circles meet in at most two points, and those two are mirror images of one another in the line through the centres. Here that line is an edge of the square, so one of the two intersections lies on the square’s side of the edge and the other lies outside altogether.
Proposition 1.27 (A symmetry is determined by the vertices).
Let and be symmetries of with for . Then .
Discussion.
This is a uniqueness claim about functions, so we fix an arbitrary and prove . The tool is the proposition above, which needs two things: a pair of adjacent vertices, and the two points and standing at equal distances from each of them. The pair to use is and , adjacent because preserves the distance and by the previous proposition sends both to vertices. The equal distances come from distance preservation applied to each of and in turn: both and equal , and the hypothesis makes and the same point, so the two distances are measured from the same place. That proposition then closes the argument.
Proof.
The vertices and satisfy . By the previous proposition and are vertices, and
so they are adjacent. Let and let . Since preserves distances,
and since does too, together with ,
So and are points of at equal distances from each of the adjacent vertices and . The proposition above gives , and as was arbitrary, .
Remark (Not every shuffle of the corners is a symmetry).
The proposition says a symmetry is determined by its effect on the vertices, not that every map of the vertices to themselves comes from one. Consider the assignment
Here while the images satisfy , so the assignment changes a distance and cannot be the restriction of a symmetry.
Proposition 1.28 (The square has exactly eight symmetries).
There are exactly eight symmetries of , namely the eight listed above.
Discussion.
The eight are known to exist, so the work is the upper bound: no ninth symmetry can hide anywhere. By the last proposition a symmetry is settled once its values on the four vertices are known, so it is enough to count the possible sets of values, and that count is made one vertex at a time. There are four choices for . Given it, must be a vertex at distance from , and each vertex has exactly two neighbours, so two choices. The remaining two values are then forced rather than chosen, because is diagonally opposite and diagonally opposite , and a symmetry preserves the distance that says so. Four times two is eight, and since the eight listed symmetries are distinct, every count is attained.
Proof.
Let be a symmetry of . By the proposition on vertices, carries each to a vertex, so there are at most four possibilities for .
Suppose is fixed. Since , the vertex satisfies , so it is one of the two vertices adjacent to : two possibilities.
Now , so , and by the equality case established earlier is the vertex diagonally opposite . It is therefore determined by . The same argument determines as the vertex diagonally opposite .
So the values of on the four vertices are settled by at most combinations, and by the previous proposition is settled by those values. Hence there are at most eight symmetries. The eight movements listed act differently on the vertices, so they are eight distinct symmetries, and the count is exact.
Combining Symmetries
Proposition 1.29 (Symmetries compose and invert).
Let be non-empty and let be symmetries of . Then is a symmetry of , the identity map on is a symmetry of , and is a symmetry of .
Discussion.
Each of the three claims asks for two things, that a certain map is a bijection and that it preserves distances, and the proposition on composition and inverses supplies the first half in every case. What is left is distance, and each case is one line. For the composite, apply the hypothesis on and then the hypothesis on to the pair it produced. For the identity, there is nothing to check. For the inverse, note that an arbitrary pair of points of can be written as , because is onto, and then the condition on read backwards is the condition on .
Proof.
Let . Since and then preserve distances,
and is a bijection by the second part of the proposition on composition and inverses, so it is a symmetry. The identity map is a bijection and leaves both sides of the condition untouched.
For the inverse, is a bijection by the third part of that proposition. Let ; since is surjective there are with and , and then , . Hence
Definition 1.30 (Product of symmetries).
For symmetries and of a set we write for the composite , so that
The symmetry is performed first and second.
Composition of maps is associative, so a product of several symmetries may be written without brackets. From here on denotes the anticlockwise quarter-turn of and the reflection in the horizontal axis, that is
Example 1.31 (Powers of the quarter-turn).
Repeating gives the other rotations:
Since , the inverse of is .
Read off the action on . We have and , so
On the other hand and , so . The two symmetries disagree at , hence .
That is the first operation we have met which is not commutative: the order of the two movements is part of the data, not a convention about how the formula is written.
Identify and among the eight symmetries listed earlier, describing each as a rotation or as a reflection in a named axis.
The two generators are not independent. Computing both sides on a general point,
so ; multiplying on the right by and using gives the equivalent form . The relation lets any product of ‘s and ‘s be rewritten with all the ‘s on the left, and the resulting shapes are
These are eight symmetries and they are distinct, so by the counting proposition they are exactly the eight symmetries of the square. The first four are the rotations and the last four the reflections.
Groups
The symmetries of the square use four facts and nothing else: combining two of them gives a third; there is an identity; every one of them can be undone; and combining is associative. The axioms of a group are exactly those four.
Definition 1.33 (Binary operation).
A binary operation on a set is a function . We write for the value of at the ordered pair .
A group is a pair consisting of a set and a binary operation on satisfying:
- (G1) Associativity. for all ;
- (G2) Identity. there is an with for every ;
- (G3) Inverses. for every there is an with .
The element of (G2) is the identity, or neutral element, and the element of (G3) is an inverse of . Both turn out to be unique, and the inverse of is then written .
The first of the four facts about symmetries, that combining two gives a third, does not appear as an axiom because it is already in the definition of a binary operation: the codomain of is , so a product of two elements of is an element of and there is nothing further to require.
Remark (The closure axiom).
Some texts add a fourth axiom, closure: if then . Under our definition that is automatic, for the reason just given. It has to be stated when the operation is introduced as something defined on a larger set and then restricted, since one must then check that the restriction lands back inside .
Remark (Writing the operation).
The symbol is usually replaced by a dot, and the dot is usually dropped: we write for and call it the product of and , exactly as for a product of numbers. This is a convention about notation, not a claim that the operation resembles multiplication, and in particular it does not license writing .
Associativity means that a product of three elements may be written with no bracket, since the two possible bracketings agree. The same then holds for longer products: an expression such as has the same value as every other bracketing of in that order, and we write it . From here on products of any length are written without brackets.
Let be a group and let . Prove that every way of bracketing the product , keeping the terms in that order, gives the same element of .
Let be the number of ways of bracketing a product , keeping the terms in that order, so that , and , and set .
- Explain why .
- Use the recurrence to compute and .
Definition 1.35 (Abelian group).
A group is commutative, or abelian, if it satisfies the further condition
The integers under addition, , form an infinite abelian group: addition is associative, is the identity, and the inverse of is . The symmetries of the square under composition form a finite group which is not abelian, since .
Remark (Associativity is not commutativity).
Associativity says and commutativity says ; the two are easy to confuse and are not related. Associativity holds in every group by definition, while commutativity is an extra condition that a group may or may not satisfy.
For symmetries, associativity is free. Both and mean: perform , then , then . The brackets only divide the calculation into stages and do not touch the order in which the movements happen. Operations that are not associative do exist, subtraction on being one, since and usually differ; but they cannot arise from composing functions, which is associative always.
Proposition 1.37 (The identity is unique).
Let be a group. If and both satisfy the condition (G2), then .
Discussion.
The statement is an equality of two elements, and the only material available is that each of them is neutral. The move is to form the one product in which both hypotheses can be used, namely , and evaluate it twice: treating as an identity leaves , and treating as an identity leaves . No contradiction and no case split is needed, and neither associativity nor inverses enter.
Proof.
Since satisfies (G2), we have . Since satisfies (G2), we have . Hence .
Proposition 1.38 (Inverses are unique).
Let be a group with identity , and let satisfy
Then .
Discussion.
Again the goal is an equality of two elements and the hypotheses are two equations, so we build one expression that both can act on: the triple product . Read with the brackets to the left it uses and collapses to ; read with the brackets to the right it uses and collapses to . Associativity is what says the two readings are the same element, and it is the whole content of the proof.
Proof.
Using associativity in the middle step,
Because of this proposition the inverse of may be named, and we write it .
The following is offered as a proof of the last proposition: “from the hypotheses, and , so .” Explain why it is not one.
Proposition 1.39 (Solving an equation in a group).
Let be a group and let .
- For we have if and only if ;
- for we have if and only if .
Discussion.
Each part is a biconditional between two equations, so each direction is proved by multiplying the given equation by on the appropriate side and simplifying with the axioms. Which side matters: the first part multiplies on the left throughout, because the unknown sits to the right of , and the second multiplies on the right for the mirror-image reason. There is no step where the two factors are exchanged, which is what makes the two parts genuinely different statements in a group that is not abelian.
Proof.
For the first part, suppose . Multiplying on the left by gives , and associativity turns the left side into , so . Conversely, suppose . Multiplying on the left by gives .
Prove the second part of the last proposition.
Proposition 1.40 (Inverse of a product).
Let be a group and let . Then .
Discussion.
By the uniqueness of inverses it is enough to check that the proposed element does what an inverse of has to do, so the proof is a computation rather than a search: multiply by on one side and cancel from the middle outwards, then do the same on the other side. The order in which the two factors are reversed is forced by exactly this cancellation, since it is that has to meet first.
Proof.
Using associativity to bracket at will,
and symmetrically . So is an inverse of , and by uniqueness it is .
Let be a group and let . Prove that
Groups of Small Order
Definition 1.41 (Order of a group).
A group is a finite group if the set is finite. The order of a finite group is the cardinality , the number of its elements. Every group has an identity, so is never empty and its order is at least .
Remark (Infinite groups).
Not every group is finite. The unit circle in has infinitely many symmetries, one rotation for each angle, and is infinite as well.
To speak of an element repeating itself we need powers, and the definition is the one arithmetic suggests.
Let be a group and . Define and for , and set for .
Proposition 1.43 (Laws of exponents).
Let be a group, let and let be integers. Then
Discussion.
Both identities are statements about all integers, but the definition of a power is a recursion on the non-negative ones, so the natural route is induction for followed by a reduction of the remaining sign cases to that one. The induction for the first identity runs on : the base case is the definition of , and the step is the recursion clause together with associativity. The second identity then follows from the first by a second induction on . For negative exponents the key observation is that has the same structure, and that and are inverse to one another, which converts a negative exponent into a positive one on the inverse element.
Proof.
Take first and induct on . For both sides are , since . If , then
which is the claim at . A second induction on gives : the case reads , and the step is , using the first identity.
For the sign cases, note that for , by induction on using the first identity for the inverse element; so . Any instance of the two identities with negative exponents now follows by rewriting each negative power as the inverse of a positive one and applying the proposition on the inverse of a product.
Definition 1.44 (Order of an element).
Let be a group and . The order of is the smallest with , and is if there is no such .
Example 1.45 (Orders in the group of the square).
In the group of symmetries of the square the identity has order ; the quarter-turns and have order ; and the remaining five elements, the half-turn and the four reflections , , , , all have order .
Proposition 1.46 (Orders are bounded by the order of the group).
Let be a finite group of order . Then every element of has order at most .
Discussion.
The claim is that some power of within reach is the identity, and the only resource is that has just elements. Listing powers of therefore forces a repetition, and a repetition with is exactly what we want: cancelling from both sides, which the group allows, leaves with the exponent between and . The definition of order then bounds it by that exponent.
Proof.
Let and consider the elements of . Since has only elements they cannot all be distinct, so there are with and . Multiplying by and using the laws of exponents gives
with . So the set of positive exponents killing is non-empty, and the least of them, which is the order of , is at most .
Remark (Lagrange).
More is true: in a finite group the order of every element divides the order of the group. That is Lagrange’s theorem, and it belongs to a course on abstract algebra rather than here. The finiteness of is what the argument above uses, not merely that orders are finite; there are infinite groups in which every element has finite order.
Proposition 1.47 (Rows and columns of the table).
Let be a group and let . Then the maps and are bijections from to . In a finite group, therefore, each element appears exactly once in every row and exactly once in every column of the multiplication table.
Discussion.
Each map is a bijection because an explicit inverse is available: multiplying by on the same side undoes it, which is the content of the proposition on solving . The statement about the table is a translation, since the row labelled lists the values of as runs over ; a bijection from a finite set to itself hits each element exactly once, so no entry is missing and none is repeated.
Proof.
Let and . Then and likewise , so is a bijection with inverse . The argument for is the same with the multiplications on the other side.
The row of the multiplication table labelled has the entry in the column labelled , so its entries are the values of . As is a bijection of the finite set onto itself, every element of occurs among them exactly once. Columns are handled by the other map.
Definition 1.48 (Isomorphism).
Let and be groups. An isomorphism from to is a bijection with
If one exists, and are isomorphic, written .
Two isomorphic groups may be built from entirely different material, one from movements of a figure and one from numbers, and still be the same group as far as the operation is concerned: the isomorphism is a dictionary translating products into products.
Proposition 1.49 (What an isomorphism preserves).
Let be an isomorphism, with identities and . Then , and for every and every integer ,
Moreover and have the same order.
Discussion.
The hypothesis is a single equation, , so each claim has to be manufactured from it by a well-chosen substitution. Taking makes the equation say , which cancels to the first claim. Taking then says , which identifies the second. The power law follows by induction on , the negative case by combining the two claims already made. The statement about orders uses bijectivity: injectivity turns back into , so the positive exponents killing are exactly those killing , and two sets of positive integers that coincide have the same least element.
Proof.
Putting gives , and multiplying by gives . Putting gives , and symmetrically on the other side, so .
For induct: , and if then . For write and apply the case just proved to , using .
Finally, for we have if and only if , since is injective, and while . So if and only if . The two elements are killed by the same positive exponents, hence have the same order.
Proposition 1.50 (Cyclic groups).
Let be a group of order containing an element of order . Then
and , where is the remainder of on division by . Any two such groups are isomorphic.
Discussion.
Two things need proving: that the listed powers exhaust , and that the operation is forced. For the first, the listed powers are distinct, since an equality between two of them would produce a positive exponent smaller than killing and so contradict the order of ; being distinct elements of a set with elements they are all of it. For the second, write by division with remainder and use the laws of exponents, where makes the multiple of disappear. The last sentence is then immediate: the map between two such groups is a bijection by the first part and respects products by the second.
Proof.
Suppose with . Then with , contradicting the order of being . So the elements are distinct, and as they are all of .
Let and write with . By the laws of exponents,
Finally, let be another group of order with an element of order . Both groups are listed by their powers as above, so for is a well-defined bijection , and the displayed rule computes the product on both sides by the same remainder, so .
Definition 1.51 (Cyclic group).
The group described by the last proposition is the cyclic group of order , written . It is abelian, since and are both computed from the remainder of .
We can now work through the small orders. Throughout, the multiplication table of a finite group has a row and a column for each element, and the entry in row and column is .
Order 1. The identity is the only element and the operation is . This is the trivial group. The letter “P”, read as a subset of , has trivial symmetry group.
Assuming a reasonably symmetrical font, so that “Y” has a reflection symmetry in a vertical axis and “B” one in a horizontal axis, determine which capital letters have trivial symmetry group.
Order 2. Let . The identity axiom fills in every entry but one:
If then multiplying by gives , which is false. So , the table is forced, and has order . Hence , and is the only group of order .
Remark (One group, two pictures).
This group is the symmetry group of the letter “Z”, whose non-trivial element is the half-turn that carries the letter onto itself, and also of the letter “Y”, whose non-trivial element is a reflection. The two figures have nothing geometric in common; as groups they are isomorphic, and that is all the group axioms can see.
Order 3. Let with . Row of the table consists of together with and , and by the proposition on rows and columns those three entries are , and in some order. So . Were we should have , and multiplying by would give . Hence and , which fills the table:
Here and , so has order and .
Order 4. Two structures occur, and we separate them by the largest order of an element. By the proposition bounding orders that largest order is , , or , and it is not , since then every element would be .
If some element has order , the cyclic proposition gives .
Suppose some has order , and put . Pick , which exists since . If for some then , contrary to the choice of ; so the three elements , , all lie outside , and they are distinct because is injective. That gives at least elements of , which is impossible. So no element has order .
The remaining case is that every element other than has order . Write . Then , since would make ; and and , since either would force one of to be . Hence , and the same argument applied to each pair fills the table:
This really is a group, because it occurs inside one we have already built: taking , and inside the symmetries of the square gives a set of four symmetries closed under composition, each equal to its own inverse, with exactly this table. It is the Klein four-group, written , and it is the symmetry group of the letter “H”.
So there are exactly two groups of order up to isomorphism, and . They are not isomorphic: one has an element of order and the other does not, and an isomorphism preserves the order of an element.
Remark (How the list grows).
All the groups above are abelian, and so is every group of order , though we do not prove it. The smallest non-abelian group has order . Tabulating the groups of order becomes hard quickly, especially when is a large power of a small prime: there are groups of order .
Symmetry Groups of Regular Polygons
The symmetries of the square, with composition, satisfy the group axioms by the proposition on composing and inverting symmetries. That group has eight elements and is called the dihedral group of degree four, written .
Remark ($D_4$ or $D_8$).
The subscript here counts the sides of the square, so has eight elements. Some texts write for the same group, counting its elements instead. Check which convention a source is using before comparing statements.
In terms of the quarter-turn and the reflection , the group is described by the relations
These carry a surprising amount of information, because the third one lets every be pushed past every . Rewriting as moves the ‘s to the left, and any product of ‘s and ‘s collapses to one of . For instance
using at the last step, so the half-turn commutes with even though the quarter-turn does not. Similarly
so is one of the reflections: doing it twice returns the square to where it started.
An equilateral triangle has six symmetries, three rotations and three reflections. The rotations are , and , where is the rotation through , and they satisfy . Each reflection fixes one vertex and exchanges the other two; if is one of them, the other two are and . The group they form is , with
These are the relations of the square with the order of the basic rotation changed from to . The group has order and is not abelian, so it is the smallest non-abelian group.
The same account fits every regular polygon. A regular -gon with has rotational and reflectional symmetries, so its symmetry group has elements. Writing for the rotation through and for any one of the reflections,
and the elements are , which are the rotations, together with , which are the reflections.
Remark (Small $n$).
For there is no regular polygon to act on, but the three relations still make sense and still define a group of order . Neither is new: is under another name, and is the Klein four-group.
Symmetries as Permutations
A symmetry of the square is determined by where it sends the four vertices, and a symmetry of the triangle by where it sends the three. That suggests dropping the geometry and studying the rearrangements themselves.
Definition 1.52 (Permutation).
Let be a non-empty set. A permutation of is a bijection . The set of all permutations of is written , and for we write or .
A permutation of a finite set is recorded by a table of two rows, the points along the top and their images beneath. For ,
means , , and so on. The bottom row is a rearrangement of the top one, which is exactly the condition that is a bijection.
There is a shorter notation. Take sending to . Following one point at a time, goes to , which goes to , which goes back to ; that is a cycle of length three. Separately and exchange, a cycle of length two. Writing each cycle in brackets gives the cycle notation
Cycle notation is not unique, since and name the same cycle, and by convention we leave out the points a permutation fixes: an index that does not appear is understood to stay where it is.
Example 1.53 (Multiplying in cycle notation).
Let as above and let in . Recall that means first, then . Following each point through both,
and . Collecting the cycles,
Example 1.54 (Inverses and conjugates).
Let and let be as above. Then
The inverse of a cycle is the same cycle traversed backwards, which is where the second of these comes from. The third combination, , is called a conjugate of .
Example 1.55 (Composing in two-row notation).
Let
Then
which disagree at , so composition of permutations is not commutative either.
Theorem 1.56 (The symmetric group).
Let be a non-empty set. Then with composition is a group, called the symmetric group on .
Discussion.
There are four things to check and the proposition on composition and inverses has done most of them. First that composition is a binary operation on , which is the statement that a composite of bijections is again one. Then the three axioms: associativity is associativity of composition of maps, which holds for all functions and not merely for bijections; the identity map is a bijection and satisfies the identity axiom by definition; and the inverse required by (G3) is the inverse function, which exists because is a bijection and is itself a bijection.
Proof.
If then is a bijection by the second part of the proposition on composition and inverses, so composition is a binary operation on .
(G1) Composition of maps is associative by the first part of that proposition, so for all ; both send to .
(G2) The identity map with is a bijection, so lies in , and for every .
(G3) If then is a bijection, so by the third part of that proposition it has an inverse function , itself a bijection, and .
As with symmetries we write for , so that acts first. Some texts write the argument on the left, rather than , and then read products in the opposite order; work one product out by hand before trusting a source’s convention.
For we have .
Discussion.
An element of is settled by its bottom row, a list in which each of appears once, so the count is a count of such lists. Building one from left to right, each entry may be any value not already used, so the number of choices falls by one at each step: for the first, for the second, and so on down to . Multiplying the numbers of choices gives the total, and that product is the factorial.
Proof.
A permutation is determined by the list , and a list arises from a permutation exactly when the are in some order.
Choose the entries left to right. There are possibilities for . Once is chosen, injectivity excludes it from the rest, leaving possibilities for ; after and , there are possibilities for ; and so on, with one possibility left for . Each choice is free of the others in the sense that the number available at each step does not depend on which values were taken earlier, so the number of lists is
For the triangle there is no constraint at all on how the vertices may be moved: every rearrangement of the three of them is produced by exactly one symmetry. There are rearrangements and six symmetries, so the symmetry group of the equilateral triangle is the group of all permutations of three objects,
The two sides describe different things, movements of a figure on one and rearrangements of three labels on the other, and the isomorphism is the dictionary between them.
The square is different. It has eight symmetries while has elements, and the remark above on shuffles of the corners exhibits a rearrangement that no symmetry produces.
Remark (Where $S_4$ does live).
No figure in the plane has symmetry group . In three dimensions it appears at once: is the group of symmetries of a regular tetrahedron, whose four vertices may be permuted in any way at all.
Let be a finite set and let be a function. Show that is injective if and only if it is surjective, and give an example of an infinite for which this fails.
In , let
Compute , , , and , and write each in cycle notation. Then label the vertices of a regular hexagon to clockwise and identify each of these permutations with a symmetry of the hexagon.
Write out the eight symmetries of the square as permutations of in cycle notation, and use the result to exhibit an injective map carrying products to products.
Fields
A group carries one binary operation. The number systems we actually compute in carry two, addition and multiplication, and the two cooperate: multiplication distributes over addition, so an expression built from both can be rearranged. A set with two operations cooperating in that way is a field.
Let be a set with two binary operations and . The triple is a field if
- (F1) is an abelian group, with neutral element written ;
- (F2) is an abelian group, with neutral element written ;
- (F3) multiplication distributes over addition: for all .
Condition (F2) says two things at once: every element other than has a multiplicative inverse, and is closed under multiplication, so a product of two non-zero elements is never .
Since lies in we have , so a field has at least two elements. Two is achievable: the set with and the obvious multiplication is a field.
Example 1.59 (Fields and near misses).
The rationals and the reals are fields, and so are the complex numbers.
The naturals are not: (F1) already fails, since has no additive inverse. The integers are not either, though they come closer. They satisfy (F1) and (F3), and multiplication on them is associative and commutative with neutral element ; what fails is (F2), because no integer other than and has a multiplicative inverse in .
Remark (The complex numbers).
MA01 does not build , so here is what we take it to be. Its elements are the expressions with , where is a formal symbol, added and multiplied by
the second rule being what expanding the brackets gives once is replaced by . The conjugate of is and its modulus is , so that . Every therefore has the multiplicative inverse , and is a field.
Let . Prove that
and deduce that and that has inverse .
Show that if and only if . Then show that conjugation is an isomorphism of onto itself, and also of onto itself, and that it is its own inverse in both cases.
A subtler near miss drops commutativity of multiplication rather than invertibility.
Example 1.60 (The quaternions).
Let be the set of expressions
where , , are formal symbols. Addition is componentwise, and multiplication is determined by requiring it to be associative and to distribute over addition, together with the rules
From these one finds and , and similar relations among the other pairs. So multiplication on is not commutative, and satisfies every field axiom except that one. A structure of this kind, where the non-zero elements form a group under multiplication which need not be abelian, is a skew field or division ring.
Show that and in . Suggestion: first check that , and , then read as an equation to be solved for , and use the rule for the inverse of a product to get at .
A field is what a set of scalars has to be before vectors can be built over it, and the first chapter of this lesson is the case of the following.
Definition 1.61 (Vector space).
Let be a field. An -vector space is a set with an addition and a scalar multiplication such that
- is an abelian group, with neutral element ;
- for all and ;
- and for all and ;
- for every .
Elements of are vectors and elements of are scalars.
The last condition cannot be dropped: without it the rule sending every to would satisfy the other three. With the four in place, any calculation in reduces to a linear combination
which is the shape every computation in the first chapter took. That satisfies these axioms is what the first problem of that chapter asked you to check.
The Real Numbers
We take the reals as known from school: a field carrying an order relation compatible with the two operations, so that implies , and with implies .
The rationals are a field with an order as well, so the order alone does not separate the two. What separates them is a property of how the order behaves.
For we write as shorthand for ” and ”. Between any two distinct reals there is a third, namely their average, so a chain like this never closes up.
Let with . The closed interval and the open interval are
the first a single point when and the second empty then. The half-open intervals are
again empty when . The half-infinite intervals are
together with and , defined with and in place of and .
Remark (Reading the notation).
Three things about these symbols.
The and are notation and nothing else. They do not name elements of , and there is no such set as .
The notation for an open interval collides with the notation for an ordered pair. Some authors avoid this by writing the open ends with reversed square brackets, and . We tolerate the ambiguity, since context always says whether a subset of or an element of is meant.
If then contains infinitely many reals, since the averaging remark above produces a new one from any two. The same is true of the other bounded intervals, which contain .
Finally, the notation works over any ordered number system, not only . Where it is not clear from context we write or .
What does it mean for a subset of to have a largest element? We want an with
- , and
- for every .
An satisfying the second condition alone is called an upper bound for , and is bounded above if it has one. Lower bounds and bounded below are defined the same way with the inequality reversed, and is bounded if it is both.
Proposition 1.63 (A largest element is unique).
Let . If and both satisfy conditions 1 and 2, then .
Discussion.
The conditions come in a pair, one saying the candidate belongs to and one saying it dominates , and the proof works by crossing them over: membership of feeds into the domination property of , and membership of feeds into that of . Each crossing yields one of the two inequalities and , and antisymmetry of the order turns the pair into an equality. Nothing about beyond the order is used, so the same argument works in any ordered set.
Proof.
Since and is an upper bound for , we have . Since and is an upper bound for , we have . Hence .
We may therefore speak of the largest element of and write it . What we may not do is write into an argument before knowing it exists, because many sets have no largest element. This can fail for three separate reasons.
A set may be empty, so that no can satisfy the first condition. A set may be unbounded above, so that no satisfies the second; itself is one, and so is
And a set may be non-empty and bounded above and still have no element meeting both conditions at once.
Example 1.64 (A bounded set with no largest element).
Let and let , so . Put . Then , so and ; hence is not an upper bound for . As was arbitrary, has no largest element, even though is an upper bound for it.
Everything said about largest elements applies to smallest ones with the inequalities reversed: a smallest element is unique when it exists, is written , and need not exist. For a finite non-empty set there is no difficulty at all, which is why , meaning the larger of and , may be written down freely.
Show that every non-empty subset of has a smallest element. (Harder.)
Remark (Least upper bounds).
In the example above, clearly acts as an upper limit of , and the reason has no largest element is that was left out. Making that precise is what the following construction does. For let
be the set of upper bounds of . If has a largest element then has a smallest one and . But can exist when does not: for we get , whose smallest element is . That number is the least upper bound, or supremum, of .
The property that separates from is that in this never fails: every non-empty subset bounded above has a least upper bound. In it does fail, as the set of rationals with square less than shows. Making that statement into a construction of is a course in itself.
Let be non-empty. Show that if exists then exists and the two are equal.
Absolute Value
Definition 1.65 (Absolute value).
The absolute value is the function given by
equivalently .
Theorem 1.66 (Properties of the absolute value).
For all :
- , and if and only if (positive definiteness);
- (homogeneity);
- (triangle inequality).
Discussion.
The first part is read straight off the definition, one case at a time. The second could also be done by cases, four of them, but there is a shorter route: both sides are non-negative by the first part, and two non-negative reals with equal squares are equal, so it is enough to check that the squares agree, which they do because for every . The third rests on the two inequalities , which hold by inspection of the definition; adding the versions for and for traps between and , and being trapped that way is exactly what says.
Proof.
For the first part, if then , and if then ; so always, and forces the first case with . Conversely .
For the second, note that for every real , since is or . Hence
Both and are non-negative by the first part, and for non-negative reals equal squares give equal values, so .
For the third, holds for every : if the right-hand inequality is an equality and the left is clear, and if the two swap roles. Adding the inequalities for and for ,
Now is either or , and both are bounded above by by the two halves of the display. Hence .
Remark (Distance on the line).
Setting turns the absolute value into a measure of distance between points of , and the three properties above become exactly the three properties of the Euclidean distance proved in the first chapter. A function with those properties is called a metric, and on is the case of the norm on .
Show that is bounded if and only if there is an with for every . Then give examples of subsets of that are bounded above only, bounded below only, and unbounded, with bounds where they exist.
Sketch the set and write it as an interval.
Let with . Show that , and that .
Useful Inequalities
Theorem 1.67 (Reverse triangle inequality).
For all ,
Discussion.
Each claim bounds a quantity from below, and the triangle inequality bounds things from above, so the two are made to meet by writing as a sum of the pieces the statement mentions. Taking and applying the triangle inequality to that sum gives , which rearranges into the first claim. The second is the same trick with replaced by , using , which is the homogeneity part of the previous theorem with the factor .
Proof.
Write and apply the triangle inequality:
so . Replacing by throughout and using gives , hence .
Theorem 1.68 (Bernoulli's inequality).
Let with . Then for every .
Discussion.
The exponent ranges over and appears on both sides, so the proof is an induction on . The base case is an equality. In the step we multiply the inductive hypothesis by , which is legitimate precisely because makes that factor non-negative and so preserves the inequality; this is the only place the hypothesis on is used, and the inequality is false without it. Expanding the product leaves an extra term , which is non-negative and may simply be dropped to reach the claim at .
Proof.
For both sides equal . Suppose . Since we have , so multiplying the inductive hypothesis by preserves the inequality:
the last step because . This is the claim at .
Theorem 1.69 (Young's inequality).
Let and . Then
Discussion.
All three come from the same source, that a square is never negative, applied to a well-chosen difference. Expanding produces the first. For the second, the weights and have to appear, so the square to expand is that of , whose cross term is again while the outer terms carry the weights. The third is the first applied twice: expanding instead bounds by the same quantity, and a number bounded above together with its negative is exactly a number whose absolute value is bounded.
Proof.
From we get , which is the first inequality. Since ,
which is the second. From we get ; combined with the first inequality, both and are at most , and is one of them.
Theorem 1.70 (Arithmetic and geometric mean).
Let with . Then .
Discussion.
The statement is Young’s first inequality in disguise: since and are non-negative they have square roots, and substituting and for the two variables there turns the product into and the squares into and . Equivalently one may expand directly, which is the same computation written out.
Proof.
Both and are non-negative, so and exist. Then
which rearranges to .
Standard Functions
The simplest real-valued functions are built from the field operations alone. A polynomial function is one of the form , such as ; later in the course we approximate arbitrary functions by these. A rational function is a quotient of two polynomials, such as
The second is not a function on , since division by zero is undefined and the denominator vanishes at ; it is a function on the subset .
Definition 1.71 (Exponential function).
The exponential function is the unique differentiable with
We write , and for .
That such a function exists and is unique is proved in analysis; we take it, and the addition law
as given.
Proposition 1.72 (Rules for the exponential).
For and ,
and for every . The function is strictly increasing, and is a bijection from onto .
Discussion.
Every rule here is the addition law used once or repeatedly. Setting in it makes the left side , which identifies as a reciprocal and in passing shows never vanishes; the quotient rule is then the addition law applied to . The rule for is an induction whose step is one more application. Positivity needs a separate observation: is the square of , hence non-negative, and it is not zero by what has just been shown. Strict increase then comes from the derivative, which equals the function and is therefore positive; and a strictly increasing function is injective, which leaves only surjectivity onto , and that is the part we take from analysis along with existence.
Proof.
Putting in the addition law gives , so neither factor is zero and . Hence
For , induct on : the case is trivial, and .
For positivity, , and by the first paragraph, so . Consequently everywhere, so is strictly increasing and therefore injective. Its range is .
Being a bijection onto , the exponential has an inverse.
Definition 1.73 (Natural logarithm).
The natural logarithm is the inverse of , written
so that for every and for every .
Proposition 1.74 (Rules for the logarithm).
For and ,
together with and . Moreover is differentiable with .
Discussion.
An identity about becomes an identity about the moment both sides are fed to , because is injective and undoes . So each rule is proved by applying to the proposed right-hand side and watching the addition law turn a sum into the product on the left. The value is read backwards. The derivative is different in kind: differentiating the identity by the chain rule produces , and the left factor is , which solves for .
Proof.
For ,
and applying to both sides gives . Replacing by and using the same computation gives the quotient rule, and taking in it gives since ; and holds because . The rule follows by induction from the product rule.
Differentiating by the chain rule gives , and , so for .
Remark (Which logarithm is $\log$?).
In mathematics an unadorned always means the natural logarithm, to base . Some software takes the opposite convention, using for the base- logarithm and for the natural one; check before trusting a numerical result.
Remark (Why there is no logarithm of a negative number).
We have not defined for , and no definition is possible. The identity is what makes the logarithm useful, and takes only positive values, so no value of could satisfy it for . The same restriction is inherited by the power functions below.
Definition 1.75 (Powers and logarithms to a general base).
For define by
It is a bijection, and its inverse is the logarithm to base , written .
This agrees with the elementary meaning of a power whenever that meaning is available: for the definition returns multiplied by itself times when , returns when , and returns when . Its advantage is that it makes sense for every real exponent.
Proposition 1.76 (Changing the base).
For with and ,
Discussion.
The base- logarithm was defined as an inverse, so the way to compute it is to apply the function it inverts and read off what the exponent must have been. Writing means , which by the definition of a power is ; taking of both sides turns it into , and dividing gives the first identity. The second is then arithmetic: substituting the first identity three times, once for each of the three logarithms appearing, reduces the claim to cancelling a common factor.
Proof.
Let , so , that is . Applying gives , and since , so .
For the second identity, substituting the first three times,
Example 1.77 (Halving a fish population).
Suppose a lake holds fish and that fishing reduces the population according to with . The time at which half the fish are gone satisfies
which does not depend on .
Trigonometric Functions
Definition 1.78 (Periodic function).
A function with is -periodic for if for every with .
The trigonometric functions are read off the unit circle, the circle of radius centred at the origin . Angles are measured in radians and counted anticlockwise from the positive -axis, so that a full circuit is .
The angle may be any real number, and denotes the point of the unit circle for which the angle from the positive -axis to is . A full circuit is , so , and are the same point; it is often convenient to restrict to or to . We say in this situation that is defined modulo .
Definition 1.79 (Congruence modulo a real number).
Let . We say is equal to modulo , written , if
a set also written .
Example 1.80 (An angle modulo ).
The equation says that
Definition 1.81 (Sine, cosine and tangent).
Let and let be as above. The cosine is the -coordinate of and the sine is its -coordinate. Where , that is where , the tangent is
Thus and .
Since a full circuit returns to itself, and are -periodic; turns out to be -periodic, which the shift formulas below explain.
We take the addition formulas as known,
and derive the rest from them together with the definition.
Proposition 1.82 (Trigonometric identities).
For all real and at which the expressions are defined:
- , and ;
- , , ;
- and ;
- , , and ;
- and ;
- and ;
- and ;
- and ;
- .
Discussion.
Only the first two parts need anything beyond the addition formulas. The Pythagorean identity is the statement that lies on the unit circle, since its coordinates are and and the circle has radius ; dividing it by , where that is non-zero, gives the companion identity for the tangent. The parity statements are read off the circle as well: reflecting in the -axis carries to , which negates the second coordinate and fixes the first. Everything after that is substitution. Part 3 is the addition formulas with in place of , using part 2. Parts 4 to 7 are the addition formulas evaluated at the special angles and , whose sines and cosines are and , so most terms vanish; part 5 combines part 4 with part 2, and part 7 combines part 6 with part 2. Part 8 is the addition formulas with , and part 9 is part 8’s method applied to the quotient defining the tangent, dividing numerator and denominator by .
Proof.
The point lies on the circle of radius about the origin, so by the formula for the Euclidean norm. Where , dividing by gives . Reflecting the circle in the -axis sends to and negates the second coordinate, so and ; the statement for follows by dividing.
Substituting for in the addition formulas and using the parity just proved gives part 3. Taking , where and , gives part 4, and the statement for follows by dividing the two; part 5 is part 3 with together with parity. Taking , where and , gives part 6, and part 3 with gives part 7.
Taking in the addition formulas gives part 8. For part 9, divide
above and below by , which is non-zero wherever both tangents are defined.
With the labelling of the figure below, where , , are the angles at the three vertices and , , are the sides opposite them,
Between them they recover the unknown sides and angles of a triangle from the known ones. The law of cosines is proved once the angle between two vectors has been defined.
Back to Vectors
The angle can now be brought back to , and with it the case of equality in the triangle inequality.
Proposition 1.83 (Equality in the triangle inequality).
Let with . Then
if and only if for some real .
Discussion.
The proof of the triangle inequality passed through two steps where something was given away, first replacing by and then bounding that by . Equality at the end forces equality at both, so the condition is that is non-negative and that Cauchy–Schwarz is tight. The Cauchy–Schwarz proposition already says when the second happens, namely when one vector is a multiple of the other, and lets us take the multiple in the direction . The sign condition then decides , because has the sign of . The converse is a direct computation with , where the homogeneity of the norm produces the factor without an absolute value.
Proof.
Suppose first that with . Then
using and .
Conversely, suppose the norms are equal. Squaring and expanding as in the proof of the triangle inequality,
so . In particular , which is the case of equality in the Cauchy–Schwarz inequality, so one of , is a multiple of the other; as we may write . Then is non-negative and , so .
Restricted to the cosine is a bijection onto , so it has an inverse , and the Cauchy–Schwarz inequality says exactly that the quotient below is an admissible input to it.
Definition 1.84 (Angle between vectors).
Let be non-zero. The angle between them is
The vectors are orthogonal, or perpendicular, if , that is if .
The definition is legitimate because Cauchy–Schwarz gives , so the quotient lies in . Taking the value of in measures the smaller of the two angles between the vectors. For this agrees with the angle read off the unit circle.
Corollary 1.85 (Law of cosines).
Let be non-zero, with angle between them. Then
Taking and to be two sides of a triangle issuing from the vertex where the angle is , this is the law of cosines .
Proof.
By bilinearity of the scalar product,
and the definition of the angle gives . The third side of the triangle with sides and is , whose length is , while and are and .
Let and . Their norms are
so and . Their scalar product is
so the angle between them is
Proposition 1.87 (Orthogonal projection).
Let with . There is exactly one real for which is orthogonal to , namely
and the resulting decomposition is
Discussion.
The condition to be met is a single scalar equation, , in the single unknown . Bilinearity expands its left side into , which is a linear expression in with coefficient ; that coefficient is non-zero exactly because , so the equation has exactly one solution and existence and uniqueness are settled together. The decomposition is then a matter of adding and subtracting the same vector.
Proof.
For , bilinearity of the scalar product gives
Since we have , so this vanishes for exactly one , namely . Writing is then an identity.
Definition 1.88 (Vector projection).
With as in the last proposition, the vector
is the component of in the direction of , or the vector projection of onto , and is the component of perpendicular to .
Let and in . Compute the angle between them, the projection of onto , and the component of perpendicular to , and verify that the two components are orthogonal.
Let be non-zero. Show that is unchanged when is replaced by for any real .
With as in the last proposition, prove that
and deduce that .
One more construction is available in three dimensions only.
Definition 1.89 (Vector product).
For and in , the vector product, or cross product, is
Unlike the scalar product it returns a vector rather than a number, and it exists only for .
Exercises on Vectors
Let and . Find twice, once by drawing and once by computing, and check that the two agree.
Let , and . Compute
and normalise and .
Give the coordinates of the eight corners of a cube of edge length positioned so that three of its edges lie along the -, - and -axes.
Romeo is at and Juliet is at . How far apart are they?
Find a vector in orthogonal to , and describe all of them.
Exercises on Symmetries and Groups
Let be a two-element set. Show that there are exactly binary operations on , and determine how many of them make a group. Then find a formula for the number of binary operations on a set of elements.
Prove that multiplication of complex numbers is associative.
Which of the following are groups? Justify each answer.
- The complex numbers with , under multiplication;
- under ;
- the rationals with odd denominator, under addition;
- with and , , , ;
- with and , , , ;
- under the vector product .
Let be the set of all real numbers except , and for define . Show that is a group. Check in particular that really is a binary operation on .
Let be a group and . Prove that
- if then ;
- the equation has exactly one solution ;
- .
Let be a group with identity in which for every . Show that is abelian. Then produce infinitely many groups with this property.
Let be a non-empty set and let be permutations of such that every element moved by is fixed by and every element moved by is fixed by . Prove that . (Harder.)
Let be a group and let with . Show that for every . Then exhibit with .
Prove that is abelian only for .
Exercises on Fields and Real Functions
Solve for .
Solve each of the following for .
- ;
- ;
- ;
- ;
- .
In a triangle labelled as in the figure of the last chapter, let , and . Compute .
Let be a field. Prove that and for every .
Show that with and the usual multiplication is a field, and that no field has exactly three elements in which .
Check Yourself
Fresh questions on the whole lesson — none of them is worked out above. Do each on paper first; the box only tells you whether you got there.
Answers are checked in your browser, as often as you like. Nothing is sent anywhere and
nothing is kept but your own work. A formula may be written with the symbols themselves or
with ~ & | -> <-> ^, and \and, \or, \to expand as you type.
Let in . What is ?
Which of these is a unit vector in ?
Which of these vectors is orthogonal to ?
What is the projection of onto ?
What is the angle between and in ?
How many unit vectors in are orthogonal to ?
How many elements has the symmetry group of a regular hexagon?
How many reflections are there among the symmetries of a regular pentagon?
What is the order of the permutation in ?
What is ?
In , what is the inverse of ?
Exactly one of these is not a group. Which?
In the two-element field , where , what is ?
What is ?
What is ?
What is ?
How many solutions has in ?
What is the least upper bound of ?
Which of these sets has no largest element?
For , when is ?