I have a question regarding proof by contradiction (more like the way of writing it).
Let try to prove an easy proposition : For all integer $n$, if $n$ is even, then $n+1$ is odd.
Negate the whole proposition : There exists an integer $n$ such that $n$ is even and $n+1$ is even. Since $n+1 = 2k$ for some integer $k$, $n = 2k-1$, a contradiction.
Let $n$ be an integer. Assume that n is even. We want to show that $n+1$ is odd. Suppose to the contrary that $n+1$ is even. Then $n+1=2k$ which gives $n = 2k-1$, a contradiction.
So the first way (1) negate the whole thing and get a contradiction. Along the way, there are steps setting up quantifier "there exists".
The second way, first set up the direct proof (there is a step doing for all quantifier). Then proceed to suppose a contradiction later.
The question is : Are they both a valid proof ? Are they both called a contradiction ? Or the first one is the contradiction ?(In this case, what is the second approach called ? Or it is NOT a valid proof ?)