A * direct proof* uses the facts of mathematics
and the rules of inference to draw a conclusion. Since every proof
must start with some assumptions (* premises*),
there is some overlap with * conditional proofs*
(which are proofs of "if-then" statements). The distinction
is usually not that important. You've already seen direct proof in
logic; here are some direct proofs involving mathematics.

* Example.* Prove that the product of two
consecutive integers plus the larger of the two integers is a perfect
square.

For example, 5 and 6 are consecutive integers. Their product, plus the larger of the two, is , which is .

*An example is not a proof.* All my example has shown is that
the statement is true for 5 and 6. It gives me no particular reason
for believing that the statement will be true for 293841 and 293842.

How can I *represent* two consecutive integers in symbolic
form? Suppose n is the smaller of the two integers. Then the next
integer after n is . Now I have names for my
integers: n and .

Next, I'll translate the given statement into symbols.

I could make a symbol for the right side --- " ", for instance. (If I do this, I must not use " ", because n already has a meaning.) But since I have an equation to prove, I'll just start on the left side and do algebra and see if I can get to the right side.

is a perfect square, since it is the square of the integer . That's what I want.

If I clean up my proof, here is how it would look.

A pair of consecutive integers has the form n, , where n is an integer. The product of the two consecutive integers plus the larger of the two integers is . I want to show that this is a perfect square.

By elementary algebra,

is a perfect square, since it is the square of the integer .

This proves that the product of two consecutive integers plus the larger of the two integers is a perfect square.

Notice that I was careful to *state what the symbol n stood for
when I introduced it*. In the next sentence, I explained how I
was getting the expression . I also stated
what I was planning to prove.

The computation involves elementary algebra, so it isn't necessary to
explain each individual step. But I did say that it was *just*
elementary algebra, so a reader would know that there's nothing fancy
or complicated going on.

When I got , I explained why it was what I wanted.

Finally, I indicated that the proof was finished by stating what I had proved, and tacking on the end-of-proof symbol (\halmos).

You can often discover proofs by working backwards from what you want to prove, but you should be careful not to work backwards in presenting a proof.

Assuming what you want to prove is known as *begging the
question*. It is a very easy mistake to make, because in everyday
life you often reason by *confirmation*. That is, you make a
guess, then collect evidence and see if your guess is confirmed.
However, logic doesn't support this kind of reasoning.

Suppose that you know that is true, and you also know that Q is true. Do you know that P is true?

If you examine the truth table for , you can see that in this case P could be either true or false. In other words, if an implication ( ) is true and the conclusion (Q) is true, you can't conclude that the premise (P) is true.

For instance, this is a valid sequence of algebra steps:

Also, the conclusion " " is true. But obviously, " " is false.

Thus, if you start with the thing you want to prove and wind up with something that is true --- like " " --- that doesn't prove that the thing you started with is true.

If your "proof" ends with a statement like " ", " ", " ", and so on, you may be assuming what you want to prove. At the very least, the arrangement of your proof is incorrect.

If you want to work backwards from what you want to prove to
*discover* a proof, do so on scratch paper. Be sure that when
you *write* the proof that you start with mathematical facts
or given assumptions.

* Example.* Prove that if x and y are nonnegative
real numbers, then

(This is called the * Arithmetic-Geometric Mean
Inequality*.)

I'll try to figure out the proof by working backwards from what I want to prove. (So all of this is scratchwork!)

At this point, I notice that I've obtained a true statement: A square must be greater than or equal to 0. To write the "real" proof, I'll just reverse the steps I did, checking at each point that the algebra is still valid.

(* The real proof.*) Suppose x and y are
nonnegative real numbers. Since a square must be greater than or
equal to 0, I have

In taking the square root of both sides in the last step, I didn't need to use absolute values, because x and y (and hence and ) are nonnegative.

When you write a proof, you usually omit any scratchwork that you used to discover it. It is like removing the scaffolding after you've constructed a building. However, it can make proofs look mysterious --- if you only saw the real proof above, you might have wondered how anyone would have thought to start with . So it's worthwhile when you're teaching to let people in on the secret and show how the proof was discovered --- as long as you don't substitute scratchwork for the real thing.

* Example.* (The * Triangle
Inequality*) Let . Prove that

(" " is the symbol for the real numbers, and means "is an element of". So " " means that x and y are real numbers.)

I'll give the proof in finished form before I discuss it.

Since and ,

In addition, and , so

Multiplying by -1 flips the inequality, so

Now is bigger than a number ( ) and the negative of the number ( ), so it must be bigger than the absolute value of the number:

When I started to write down this proof, I had what I thought was a
neat idea. I don't remember what it was, but I wanted to use the
inequality . After a while, I decided that
was *wrong*, and wrote down the
proof above instead. I even remarked on my "mistake" in an
earlier version of these notes, as an example of a false start at a
proof.

Later, a student asked why was wrong. I stared at it for a while, then realized it was right! I still don't remember the neat idea I had for using it to do the proof, however.

In most math books and papers, you'll see proofs written down like the one above. Rarely do you read a discussion of the author's false starts and confusions. But math is a human activity, and people are imperfect. In writing proofs, you may often make mistakes --- hopefully, better mistakes than the one I made! --- and you will often get stuck. Don't let the polished proofs that you see in books lead you to believe that writing proofs is supposed to be easy --- or that, if it isn't, then there's something wrong with you. Writing proofs is one of the most difficult mental activities anyone can attempt.

Now that you know the Triangle Inequality, you can use it to prove other results.

* Example.* Use the Triangle Inequality to prove:

(a) If , then .

(b) If , then .

(a) Note that . So

(b) Note that . So

Sometimes proofs use facts that you've seen in basic algebra. For
example, *squares are nonnegative*: If , then

You may need to use facts from trigonometry. If , then you have inequalities

Or you may need trig identities, such as

* Example.* Prove that if , then

Since squares are nonnegative,

Since ,

Adding the inequalities, I get

* Example.* Discuss the following "proof by
picture": You are trying to show that the angles in a triangle
add up to .

Take the triangle and fold the top down as shown in the second picture so that the top vertex just touches the base with the fold parallel to the base. Then fold the other two corners in from the left and right.

The original angles of the triangle have been folded together into a straight angle ( ). Therefore, the angles in a triangle add up to .

A picture can be helpful in *understanding* something. It can
even be so convincing that it seems like a "proof by
picture".

This looks very convincing, and it's actually a good thing to show
students in geoemtry class. But as a *proof*, it has
difficulties.

For one thing, I did the construction for a *specific*
triangle. How do I know it will work with *any* triangle? What
if the triangle is obtuse, for example? What if it's a right triangle
with one side perpendicular to the base?

Moreover, I *asserted* that the corners would fit together as
shown, but I didn't prove that it would work.

In general, you should be very careful in your use of pictures. You can (and should) use them to clarify your explanations. But a picture is not a substitute for a rigorous argument.

Copyright 2018 by Bruce Ikenaga