








































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































by Curtis Paul
What is a proof and why do we care? Previously in your mathematical life you have mostly focused on computation. You were not concerned with whether or not things were true but with whether you got the “right” answer. It is not uncommon for students to say, “I know the answer. Why do I need to understand the steps?” There are a number of responses to this. How do you know your answer is correct? How can you convince someone else your answer is correct? If you are given a harder problem to which you don’t know the answer, how are you going to approach it? Proof addresses these concerns.
A proof is a sequence of statements justified by axioms, theorems, definitions, and logical deductions, which lead to a conclusion. Your first introduction to proof was probably in geometry, where proofs were done in two column form. This forced you to make a series of statements, justifying each as it was made. This is a bit clunky. We want to have the same content, but without noting every trivial detail. A proof should read naturally. How much detail should we give? it depends on the mathematical background of the writer and the reader. A professional mathematician will need fewer details to understand the argument than will a beginning student. in both cases, though, the proof should be as clear and concise as possible.
The process of writing a proof forces us to clearly understand the ideas involved. In formulating our thoughts in such a way as to explain the ideas to others, we clarify the ideas to ourselves. This is akin to what happens when we teach someone else. This process shows us where we have gaps in our understanding. This helps us to see the structure behind what we’re trying to show. Mathematics is very much about structure. When we see a new statement, when we’re given a new problem, when we try to write a new proof, we try to see how everything fits into this structure. What do the words mean? What kinds of objects are we talking about? What do we know about such kinds of objects? How do they relate?
Developing the ability to write good proofs takes time and practice. Here’s an example from an actual assignment of how wrong it can go.
Exercise: If u , v , and w are vectors such that u + v + w = 0, prove that span{ u , v } = span{ v , w }
Here was the student’s argument:
The only way this would not be true is if ( u , v ) and ( v , w ) spanned different things. Since u + v = - w , there can be no dimension Wn in W that does not have a corresponding component in either -Un or -Vn or some combination of the two that can span the same dimension the same way.
Axioms are the statements in mathematics which we accept without proof. Every proof ultimately falls back to these beginning statements. There are very interesting questions about which statements we should start with in mathematics and what the consequences of so doing are. Mathematicians in the late 19th^ and early 20th^ centuries expended a great deal of thought and effort into this. Looking back to these statements, deciding how to choose them, and studying the consequences of doing so is beyond the scope of the linear algebra course, but you are encouraged to look into the subject.
Mathematics is the structure which results from the consequences of our axioms. Our job is to understand parts of this structure. To grapple with mathematics, we have to be able to refer to pieces of it and ask how it all fits together. Definitions focus our questions on certain objects or sets or relationships in mathematics. In general, the broader a definition, the more parts of mathematics it applies to, and the less sharp the theorems about it can be. The more restrictive a definition, the fewer parts of mathematics it applies to, and the sharper the theorems can be. Possibly the most important aspect of writing proofs is to understand the definitions of the words we are using. Often in beginning linear algebra, writing out the definitions involved in our statement is half the battle. When we talk about vector spaces, dimensions, bases, and so on, we have to be absolutely clear about what we are referring to.
Theorems are the statements in mathematics which we know to be true. Typically, we reserve the word for statements which are not immediately obvious, but there’s no hard and fast rule for this. In proving theorems we often try to break our arguments up into digestible pieces so that the organization of the proof is clear. A lemma is a subtheorem that we prove separately so that it can be used in our proof without breaking the flow of the argument. This is akin to developing a subroutine in programming.
Logical deduction was the fourth element in our list of ingredients for writing proofs. Much of our logical structure is buried in the development of axiomatic structure and set theory. From this we get the theorems we’ve previously developed in mathematics such as Euclidean geometry, algebra, trigonometry, and calculus. We are fortunate to have this structure to work from, so that we already have a solid box of tools when we start studying linear algebra. We do need some more discussion of the basics of logic, though. We’ll look at some symbolic logic now.
Let’s start with the following symbols: P ⇒ Q. Here P stands for a given statement, ⇒ means “implies”, and Q stands for a conclusion statement.
For example, if P is the statement, “It is raining”, and Q is the statement, “Water is falling on the ground”, then P ⇒ Q says, “It is raining implies water is falling on the ground”. Another way that we say this is, “If it is raining, then water is falling on the ground.” This is called the if-then form of the statement. This is a logical statement that we would deem to be true, in general.
Another example, if P is the statement, “You didn’t answer your phone”, and Q is the statement, “You are cheating on me”, then P ⇒ Q says, “You didn’t answer your phone, so you are cheating on me”. This is a logical statement that may or may not be true.
Another example, if P is the statement, “The sky is blue”, and Q is the statement, “Pigs can fly”, then P ⇒ Q says, “If the sky is blue, then pigs can fly”. This is a logical statement which is not true.
It is clear from the preceding examples that if we want to know if Q is true, then we need to know that P is true and that the implication is valid. When writing proofs, we must check these two things. We must start with statements we know to be true and show the implication is forced, so that Q must be true.
If P ⇒ Q, we say that P is SUFFICIENT for Q to be true and we say that Q is NECESSARY for P to be true.
The converse of P ⇒ Q is P ⇐ Q (equivalently, Q ⇒ P). In general, we don’t expect the converse to be true. For example, “If it is raining, then water is falling on the ground” seems reasonable, but “If water is falling on the ground, then it is raining” seems less reasonable to
S = { a person is despised }, and T = { a person can manage a crocodile }.
The statements then become P ⇒ Q, T ⇒ ~S, and Q ⇒ S. The contrapositive of the second statement is S ⇒ ~T. Stringing these together gives us P ⇒ Q ⇒ S ⇒ ~T, which gives us P ⇒ ~T. Our conclusion, then, is the statement, “Babies cannot manage crocodiles”. This process of stringing together logical statements is called SYLLOGISM.
Another type of syllogism involves inclusions or conditions. These can often be aided by Venn diagrams. Consider the following example:
If some decisions are careful reflections and all uses of free will are decisions, do we know that some uses of free will are careful reflections?
Let’s set A as the set of decisions, B the set of careful reflections, and C the set of uses of free will. The Venn diagram for “some decisions are careful reflections” is
“All uses of free will are decisions” means that we put a circle for C inside of A. Does that circle have to intersect B? No, it can be drawn in the left hand side of A, so we don’t know that some uses of free will are careful reflections. They may be, but it is not a logical consequence of the given statements.
Now try to determine whether the following statements follow logically from the given statements.
Statement 1 : If Dilbert is to finish the project, he will have to move out of his cubicle. But Dilbert will get to move out of his cubicle only if he strokes Catbert. So for Dilbert to finish the project, he is going to have to stroke Catbert.
Statement 2: Some directors of human resources are cats, and some cats purr when stroked. So some directors of human resources purr when stroked.
Statement 3: All men are mortal. Socrates is a man. Therefore, Socrates is mortal.
Statement 4: All barbiturates are drugs. Marijuana is not a barbiturate. So marijuana is not a drug.
Statement 5: No free choices are caused occurrences. Some natural processes are not caused occurrences. So some natural processes are not free choices.
Now try a couple of questions.
Question 1 : from The Merchant of Venice:
Portia was a woman desired by many men. It was arranged she would marry the man who could correctly guess which of three caskets contained her portrait. One casket was inscribed with, "Who chooseth me shall gain what many men desire." One man concluded that, since many men desired Portia, her portrait must be in that casket. Was this logically sound?
Question 2 : What is the conclusion to the following statement?
Anyone who speaks in tongues does not speak to men but to God. But everyone who prophesies speaks to men for their strengthening, encouragement, and comfort. (Paul, I Corinthians, 14:2-3)
Putting together the definitions and theorems with logical connectors to prove our statements is called DEDUCTIVE REASONING. Let’s look at a technique which is a good place to start in our understanding, but which is NOT proof: INDUCTIVE REASONING.
The point is that you cannot prove statements by example unless you show every possible example is true. If you want to show something is true about symmetric matrices, it is not possible to list out every symmetric matrix. If you want to show that the composition of linear transformations is a linear transformation, it is not possible to list out every linear transformation. If you want to show that a property is independent from a change of basis, it is not possible to consider every change of basis individually.
The approach to writing a proof is much like the approach to solving word problems. The first thing is to read through the problem and make sure you understand exactly what the problem is asking. What do the words mean? What information is given? What do you know about the topic under discussion? Are there any diagrams or pictures that will help you? Throughout this guide, whenever a proof is being discussed, you’ll be asked leading questions. Pay attention to the questions. These are the questions you should be asking yourself. Learning to ask yourself appropriate questions is a very important skill in learning to write proofs. Write down your questions. Write down the definitions of the terms involved. Write in complete sentences. Make sure these sentences are meaningful. Make sure the statements are correct.
The mathematician, George Polya, developed the following four-step approach to problem solving:
Step 1: Understand the Problem Step 2: Devise a Plan Step 3: Carry Out the Plan Step 4: Look Back This is simplistic, but it does give a place to start. He also suggested the following heuristics for when you are struggling with a problem or proof:
Analogy: Can you find a problem analogous to your problem and solve that? Generalization: Can you find a problem more general than your problem? Induction: Can you solve your problem by deriving a generalization from some examples?
Variation: Can you vary or change your problem to create a new problem (or set of problems) whose solution(s) will help you solve your original problem?
Auxiliary: Can you find a subproblem or side problem whose solution will help you solve your problem?
Relation: Can you find a problem related to yours that has already been solved and use that to solve your problem?
Specialization: Can you find a problem more specialized?
Here we are looking at how the proof process should work and we’ll write out the completed final proof. Often this guide will leave questions open ended or fill-in-the-blank, but for now we’ll just walk through the process.
Let’s consider a geometric example which requires knowing the basics of vectors.
Prove that the diagonals of a parallelogram bisect one another.
How should we approach this problem? First we need to know the meanings of the words. What is a parallelogram? What are the diagonals? What does it mean to bisect? This is a geometric problem so it is natural for us to draw a picture. Once we do, we need to translate the words and images into mathematical symbols.
Draw the picture.
What things can we add to this picture? We can draw the diagonals. We can label the vertices. We can draw arrows for vectors.
This is a two-dimensional picture so we should be able to choose two vectors in this picture somehow and then reference all the other vectors here by those two. It doesn’t really
matter which two, as long as they’re not parallel. For example, we could choose the vector from D to E and the vector from D to G but there is no one particular RIGHT answer for which to choose. We could also choose, say, E to G and F to D.
Let’s say that u equals the vector from D to E and v equals the vector from D to G. Add this information to your picture. Also label the point of intersection of the diagonals. Let’s call it I. Using u and v , how do we represent the vector from D to F? the vector from D to G? the vector from E to G? the vector from E to D? etc. Play around with these.
You’ll notice that we don’t yet know how to write the vectors involving I in terms of u and v since we haven’t yet proven our proposition. Now, what do we want to show?
We want to show that the vector from D to I is half of the vector from D to F and we want to show that the vector from E to I is half the vector from E to G. How do we represent half the vector from D to F? How do we represent half the vector from E to G? Add these vectors to your list. Now try representing various vectors in the picture. In terms of u and v , what happens when we add the vector from D to E and half the vector from E to G?
Now let’s try to put the pieces together. When we add the vector from D to E and half the vector from E to G, we should land at I. In terms of u and v , this should be u + ½( v – u ). Simplify this. Is it in the direction of D to F? Does it give us I?
Finally, let’s write our proof. Proof: Given the parallelogram DEFG, let u be the vector from D to E and v be the vector from D to G. Then v – u is the vector from E to G and v + u is the vector from D to F. u + ½( v – u ) = ½( v + u ) is then a vector from D to a point on the diagonal from E to G. Since v + u is the vector from D to F, this point is also on the diagonal from D to F, making this the point of intersection of the diagonals. The vector from E to this point is ½ the vector from E to G and the vector from D to this point is ½ the vector from D to F. This shows that the diagonals of the parallelogram bisect one another.
Now let’s try to do a guided proof. Again, make sure to answer all of the questions leading us to the proof. Then fill in the blanks in the proof and pay attention to how the proof itself is constructed.
Prove: Every subset of a finite linearly independent set is linearly independent
Let’s start by giving names to the set and the elements of the set. I’m going to choose to call the set U and the elements of the set u 1 , u 2 , …, un. To prove something for every subset it suffices to prove it for a generic subset. So let V be any subset of U and call the elements of the subset v 1 , v 2 , …, vm. Vc^ ( V complement ) is the set of elements in U which are not in V. Let’s call the elements of Vc^ vm+1, …, vn. Note that the sets {ui} and {vj} are the same but probably in different orders.
Now, what does it mean for the set U to be linearly independent?
What does it mean for the set V to be linearly independent?
Think about how we can connect these two.
We’re going to use the word “complement” and the phrase ”proper subset.” What do they mean?
PROOF
The empty subset and the subset of all elements trivially satisfy the theorem. Let U be a
finite linearly independent set with elements ______________________ and let V be a proper
nonempty subset of U with elements _____________________. Let Vc^ be the complement of V
in U. It has elements _________________. The set {u 1 , u 2 , …, ____} is the same as the set {v 1 ,
v 2 , …, ___}, so v 1 , v 2 , …, vn are linearly _______________. Let c 1 v 1 + c 2 v 2 + … + cmvm = _____.
Then c 1 v 1 + c 2 v 2 + … + cmvm + 0 vm+1 + … + ______ = _____. v 1 , v 2 , …, vn are
____________________, so c 1 = c 2 = cm = 0 = 0 = … = 0. But this means that ____, ____, …, ____
are linearly independent. Since the empty set, U, and any nonempty subset are linearly
independent, every subset of a finite linearly independent set is linearly independent.
We know that ultimately we think that there are an infinite number of primes but we only have a finite list. A bunch of them must be missing. So let’s find a missing prime. The idea that we’re going to use is that two consecutive numbers cannot both be multiples of three or multiples of five or multiples of any other prime. Is there a number that is a multiple of all the primes in our list? Sure, multiply them all together. This product is a multiple of each of the primes. But that means that the next number is not a multiple of any of the primes. That’s a problem because every number not on the list has to factor into a product of primes which are on the list. This means that it has to be a multiple of some prime on the list. There’s our contradiction. Now let’s put all of this together into a nice clean proof.
PROOF OF THEOREM: Assume that there are only a finite number of primes. Call them p 1 , p 2 , …, pn. Consider the product of all the primes p 1 p2…pn and the number following it, p 1 p2…pn + 1. Each prime is a factor of the product, so no prime is a factor of p 1 p2…pn + 1. This is a contradiction as every integer has a prime factorization. Therefore, there are an infinite number of primes.
Another method of proof is proof by induction. This only works when we have a list of statements we wish to prove and each statement depends on the one before it.
Proof by induction is not the same thing as inductive reasoning. Inductive reasoning is considered in a previous section where we discuss how proof can never be done by inductive reasoning unless we can examine every single example. Proof by induction, however, is lining up a sequence of statements, showing that the truth of a statement in the sequence implies the truth of the next statement in the sequence, and showing that the first statement is true. An analogy is to think of the statements as dominoes. We line up the dominoes and push the first one to knock them all down.
Let’s say that we have a sequence of statements, P 1 , P 2 , …. Lining up the dominoes is to show the inductive step that Pn ⟹ Pn+1, i.e., if statement Pn is true then statement Pn+1 is true. Pushing the first domino is showing that statement P 1 is true.
Here’s an example: Prove: If A is an invertible matrix, then An^ is an invertible matrix with (An)-1^ = (A-1)n
for all positive integers n.
What tips us off that this might be appropriate for proof by induction? We already know that this is true for n = 1 because that is just the statement that A is invertible. And this is really a sequence of statements, P 2 is (A^2 )-1^ = (A-1)^2 , P 3 is (A^3 )-1^ = (A-1)^3 , etc. So what do we need? We have the truth of P 1 , which is A-1^ = A-1. Now we need Pn ⟹ Pn+1. In other words, we need to show that if (An)-1^ = (A-1)n^ then (An+1)-1^ = (A-1)n+1. How do we do that? Think about it and then let’s write our proof.
Proof : 1) A is invertible. (A^1 )-1^ =(A)-1^ = (A-1) = (A-1)^1
Show that �^10 11 �
𝑛𝑛 = �^10 𝑛𝑛 1 � , 𝑛𝑛 = 1,2,3, …
As above, this looks to be appropriate for proof by induction. What is our initial statement? Is it true? What is the inductive step? Let’s write our proof.