Proving Evenness: 3a+1 is Even if and only if (a+1)/2 is an Integer

  • Thread starter hammonjj
  • Start date
  • Tags
    even
In summary: Think of an example that will help you understand this. Suppose that a+1 is 20. What must a itself be?Now how would you rewrite 3a+1 in terms of 20?Let me know if you still need more help.In summary, given that 3a+1 is even, we have to show that (a+1)/2 is an integer. If we assume that 3a+1 = 2k, where a and k are integers, then we can show that (a+1)/2 = m for some integer m. Similarly, if we assume that (a+1)/2 = n, where a and n are integers, we can show that 3
  • #1
hammonjj
33
0

Homework Statement


Let a[itex]\in[/itex]Z. Prove that 3a+1 is even if and only if (a+1)/2 [itex]\in[/itex]Z

Homework Equations


We know that C is an odd number if there exists:

C=2k+1

Even:

C=2k

The Attempt at a Solution


I think I figured it out, but I'm terrible at Discrete Math, so I was hoping for some input. We know that:

3a+1=2k

If we want 3a+1 to be even. Given the extra constraint we have, I said:

3[(a+1)/2]+1=2k

After some simplification:

(3a+5)/2

I then factored out a positive 2 and:

2[(3a+5)/4]

From here:
(3a+5)/4=k

Therefor
2k=2k

Am I way off base here or is this actually correct?

Thanks! I have a bunch of homework problems due at the end of the week, so please be patient with me! This class is ruining my life...
 
Physics news on Phys.org
  • #2
hammonjj said:

Homework Statement


Let a[itex]\in[/itex]Z. Prove that 3a+1 is even if and only if (a+1)/2 [itex]\in[/itex]Z

Homework Equations


We know that C is an odd number if there exists:

C=2k+1

Even:

C=2k

The Attempt at a Solution


I think I figured it out, but I'm terrible at Discrete Math, so I was hoping for some input. We know that:

3a+1=2k

If we want 3a+1 to be even. Given the extra constraint we have, I said:

3[(a+1)/2]+1=2k

After some simplification:

(3a+5)/2

I then factored out a positive 2 and:

2[(3a+5)/4]

From here:
(3a+5)/4=k

Therefore
2k=2k

Am I way off base here or is this actually correct?

Thanks! I have a bunch of homework problems due at the end of the week, so please be patient with me! This class is ruining my life...
Yes, you assumed what you were to prove.

This is an if and only if statement. You have to do both of the following:
1. Assuming that 3a+1 is even, show that (a+1)/2 is an integer.

From what you have above, you know that means:
Assume 3a+1 = 2k, where a and k are integers.

Show that (a+1)/2 = m for some integer m. (Is this saying that a+1 is even?) I underlined the word "show" because this should be a result. Don't assume this -- at least, not for this part.​
2. Assuming that (a+1)/2 is an integer, show 3a+1 is even.

From what you have above, you know that means:
Assume (a+1)/2 = n, where a and n are integers.

Show that 3a+1 = 2p, for some integer p.​




 
  • #3
SammyS said:
Show that (a+1)/2 = m for some integer m. (Is this saying that a+1 is even?) I underlined the word "show" because this should be a result. Don't assume this -- at least, not for this part.

How exactly do I show the (a+1)/2=m? I don't think I can assume that a+1 is even, since I have no basis for that conclusion, because, that would imply that a is odd. Or is that the point? Do I have to make a statement saying that the only way this is true is if a is odd? If so, how exactly do I write that?

My professor is a super harsh grader, so I want to make sure I do this 100% write. Most of the time, he doesn't even take points off for the proof itself, but the wording and formatting of the proof.
 
Last edited:
  • #4
we have two problems in one:

the first problem is, given that 3a+1 is even, we want to show that (a+1)/2 is an integer.

the second problem is, given that (a+1)/2 is an integer, we want to show that 3a+1 must be even.

one approach to problem "one":

if 3a+1 is even, 3a is odd.

if a were even, 3a would be even, so a is odd.

if a is odd, a+1 is even. therefore...

one approach to problem "two":

if (a+1)/2 is an integer, a+1 is divisible by 2.

thus a+1 = 2k, for some integer k (you could use any letter instead of k).

now write 3a+1 in terms of k:

3a + 1 = 3(2k - 1) + 1 = ...?

prove your result is an even integer (hint: "even" = "divisible by 2").
 
  • #5
Deveno said:
one approach to problem "two":

if (a+1)/2 is an integer, a+1 is divisible by 2.

thus a+1 = 2k, for some integer k (you could use any letter instead of k).

now write 3a+1 in terms of k:

3a + 1 = 3(2k - 1) + 1 = ...?

prove your result is an even integer (hint: "even" = "divisible by 2").

I understand everything up until you rewrite 3a+1 in terms of of k. Why is there a 2k-1?
 
  • #6
hammonjj said:
I understand everything up until you rewrite 3a+1 in terms of of k. Why is there a 2k-1?
I would say it a bit differently:

Once you have
a+1 = 2k ,​
I suggest that you add 2a to both sides of the equation.

Do you see how that will show that 3a+1 is even?
 

FAQ: Proving Evenness: 3a+1 is Even if and only if (a+1)/2 is an Integer

How do you prove a number is even?

To prove a number is even, you can use the divisibility rule for even numbers which states that an even number is divisible by 2. This means that if a number can be divided by 2 without any remainder, it is an even number.

Can you prove a number is even without using the divisibility rule?

Yes, there are other methods to prove a number is even. One way is to check if the last digit of the number is 0, 2, 4, 6, or 8. If it is, then the number is even. Another method is to divide the number by 2 and if the result is a whole number, then the number is even.

Is it possible for a number to be both odd and even?

No, a number cannot be both odd and even. By definition, an even number is any number that is divisible by 2 without any remainder, while an odd number is not divisible by 2. Therefore, a number cannot be both divisible and not divisible by 2 at the same time.

Can you prove a number is even using mathematical induction?

Yes, mathematical induction can be used to prove a number is even. The first step is to prove that the statement is true for the first even number, which is 2. Then, assuming the statement is true for any even number, you can prove that it is also true for the next even number by adding 2 to the current even number. This process can be repeated infinitely, proving that all even numbers are indeed divisible by 2.

How does proving a number is even relate to real-life applications?

Proving a number is even is a fundamental concept in mathematics and has various real-life applications. For example, it can be used in computer programming to determine if a number is divisible by 2, which can help with tasks such as sorting even and odd numbers. It is also used in cryptography to generate secure encryption keys and in statistics to analyze data sets and make predictions.

Back
Top