Is Mathematical Induction Sufficient to Prove n^2-n+2 Is Even for All Integers?

In summary, the conversation discusses how to prove that n^2-n+2 is even for any integer n. The suggested methods include using induction and analyzing cases for even and odd values of n. The conversation also includes a proof using induction and mentions the importance of proving the statement for all integers, not just positive integers.
  • #1
spanker1
1
0
help guys i am really stumped on this question.
prove that

if "n" is an integer , then n^2-n+2 is even
 
Physics news on Phys.org
  • #2
Suppose n is odd. What can you say about each member of n^2-n+2 ?
Suppose n is even. What can you say about each member of n^2-n+2?
 
  • #3
That is one way of thinking about the problem. If you want to do this via induction, however, what is the first step you need to take? Also, are you trying to prove that fact for n is any integer or just a positive integer?
 
  • #4
to prove by principle of mathemetical induction
step 1:
put n=1
1^2-1+2=1^3=1
which is false
 
  • #5
lizzie said:
to prove by principle of mathemetical induction
step 1:
put n=1
1^2-1+2=1^3=1
which is false

I think what is meant by n^2-n+2 is [tex]n^2 - n +2[/tex], not [tex]n^{2-n+2}[/tex] as you seem to use.
 
  • #6
spanker1 said:
help guys i am really stumped on this question.
prove that

if "n" is an integer , then n^2-n+2 is even

A proof by induction would take the following form:

1. For n = 1, [itex]n^2-n+2[/itex] is even.
(subproof)
2. Suppose [itex]n^2-n+2[/itex] is even. Then [itex](n+1)^2-(n+1)+2[/itex] is even.
(subproof)
3. By induction (base case 1, inductive step 2), [itex]n^2-n+2[/itex] is even for all natural numbers n.

If you can fill in the subproofs you're done.

(If you really want all integers, of course, you'll have to prove them too -- maybe by induction on [itex](-n)^2-(-n)+2.[/itex])
 
  • #7
:)

spanker1 said:
help guys i am really stumped on this question.
prove that

if "n" is an integer , then n^2-n+2 is even

hmm...My suggestion :

N^2 - N + 2
= N(N-1) + 2

For any integer N, if N is even , (N-1) is odd therefore N(N-1) is divisible by 2 and is an even #, so , N(N-1) + 2 is even

For any integer N, if N is odd , (N-1) is even therefore N(N-1) is divisible by 2 and is an even #, so , N(N-1) + 2 is even

Is this logical?
 
  • #8
For n=1, n^2 - n +2 = 2 is even.

Now, suppose that for some integer k, that [tex]k^2 -k + 2[/tex] is even. Then for the next integer k+1

[tex](k+1)^2 -(k+1) +2 = k^2 + 2k +1 - k -1 +2 = k^2 + k +2[/tex]

Now

[tex] k^2 + k + 2 = (k^2 -k + 2) + 2k[/tex]

On the RHS, the stuff in bracket is what we started with, we assumed it was even. 2k is even for all integers k. An even number plus an even number is an even number. Therefore for the next integer, it will also be even.

Therefore for all integers n, [tex]n^2 -n +2[/tex] is even
 
  • #9
Quick question about induction. Could you prove it true for n = 1. Then prove it for n = n + 1. Then prove it for n = n - 1. Would that be enough to prove it for all integers?
 

1. What is mathematical induction?

Mathematical induction is a mathematical proof technique used to prove statements about integers or other recursively defined objects. It involves proving a base case, usually for the smallest possible value, and then showing that if the statement holds for a certain value, it also holds for the next value.

2. How does mathematical induction work?

Mathematical induction works by breaking a larger problem into smaller, simpler parts. It starts with a base case, which is usually the smallest value for which the statement is true. Then, it is shown that if the statement is true for a certain value, it must also be true for the next value. This process is repeated until the statement is proven to be true for all values.

3. What is the difference between weak and strong induction?

The main difference between weak and strong induction is the number of hypotheses used in the proof. In weak induction, the statement is only assumed to be true for the previous value, while in strong induction, it is assumed to be true for all previous values. Strong induction can be thought of as a generalization of weak induction.

4. When should I use mathematical induction?

Mathematical induction is most commonly used to prove statements about integers or other recursively defined objects. It is particularly useful for proving statements that involve sums, products, or other patterns. It is not always the most efficient proof technique, so it is important to consider other methods as well.

5. What are common mistakes to avoid when using mathematical induction?

One common mistake when using mathematical induction is assuming that the statement is true for all values without properly proving it for each value. It is also important to make sure that the base case is actually the smallest value, as starting with a larger value can lead to incorrect conclusions. Additionally, it is important to clearly state the inductive hypothesis and explain how it is used in the proof.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
943
  • Programming and Computer Science
Replies
9
Views
368
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
  • Calculus and Beyond Homework Help
Replies
7
Views
410
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top