A little question about a proof

  • Thread starter press
  • Start date
  • Tags
    Proof
In summary, the proof uses math induction and cases to prove that every integer is either even or odd. It considers two cases - when n is even and when n is odd - and shows that in both cases, p(n+1) is true, where p(n) is the statement that n is even or odd. This is done by explicitly stating the statement of p(n+1) and then showing that it is true. Overall, the proof is logically sound and precise.
  • #1
press
11
0

Homework Statement



Use math induction and cases to prove that every integer is even or odd.

The Attempt at a Solution



Let p(n): n is even or is odd.
Let n be an integer. Assume p(n) is true.
Then n is even or n is odd.

Case 1: Assume n is even. Then n = 2k for some integer k. So n + 1 = 2k + 1. Thus n + 1 is odd.
So, n + 1 is odd or n + 1 is even.
Hence, p(n + 1) is true.
Case 2: Assume n is odd.Then n = 2k + 1 for some integer k. So n + 1 = 2(k + 1). Thus n + 1 is even.
So, n + 1 is even or n + 1 is odd.
Hence, p(n + 1) is true.
In either case, p(n + 1) is true. So, p(n) => p(n + 1)

-------------------------------------------------------------

I copied it from the back of my book. My question is how do we know n + 1 might also be even in Case 1 before we did Case 2? Is there a logical reason for that or is it just stylistic? I am inclined to re-write this proof like this below:
...

Case 1: Assume n is even. Then n = 2k for some integer k. So n + 1 = 2k + 1. Thus n + 1 is odd.

Hence, p(n + 1) is true

Case 2: Assume n is odd.Then n = 2k + 1 for some integer k. So n + 1 = 2(k + 1). Thus n + 1 is even.

Hence, p(n + 1) is true

So, n + 1 is even or n + 1 is odd.

In either case, p(n + 1) is true. So, p(n) => p(n + 1)

------------------------------------------------------

I am reasoning like this:

p or q

Case 1: Assume p

...

Therefore r

Case 2: Assume q

...

Therefore, s.

Therefore r or s.

------------------------------------------
Please, tell me where I am tripping up.

Thanks.
 
Last edited:
Physics news on Phys.org
  • #2
It is a logical truth that A => A or B. The proof doesn't need it though, it is sufficiently obvious to be omitted.
 
  • #3
They are just being very precise in their proof. The statement p(n+1) means that n+1 is even or is odd. In Case 1, once you show that n+1 is odd, they want to make it extra clear that you have indeed shown that p(n+1) is true by explicitly stating it precisely: n+1 is even or is odd. Note that this is the actual exact statement of p(n+1). Then they follow it with: Hence, p(n+1) is true. They are not trying to say that p(n+1) might be even. They are including it though to match the structure of the original statement you are trying to prove. As verty stated, it is obvious enough so as to be omitted.

Junaid Mansuri
 

FAQ: A little question about a proof

What is a proof?

A proof is a logical argument used to demonstrate the truth or validity of a mathematical statement or theorem. It involves a step-by-step process of reasoning and deductive logic.

Why are proofs important in science?

Proofs are important in science because they provide a rigorous and reliable method for validating scientific theories and hypotheses. They allow scientists to make accurate and precise conclusions about the natural world.

What are the elements of a proof?

The elements of a proof typically include axioms, definitions, previously proven theorems, and logical reasoning. A proof must also be clear, concise, and organized in a logical and coherent manner.

How do you know when a proof is complete?

A proof is considered complete when it has successfully demonstrated the truth or validity of the statement or theorem being proven. This is typically achieved when all necessary assumptions and logical steps have been clearly and logically presented.

What are some common mistakes to avoid when constructing a proof?

Some common mistakes to avoid when constructing a proof include making incorrect assumptions, using circular reasoning, making illogical jumps or leaps, and failing to clearly communicate the reasoning behind each step. It is also important to check for errors and ensure that the proof is valid and complete before considering it finalized.

Back
Top