Proving Divisibility of n^3+2n by 3

In summary, the induction hypothesis states that if something works for a small value of n, it will work for larger values of n.
  • #1
dobedobedo
28
0
Modulus problem[solved]

I would like to know how to prove that the number n^3 + 2n is divisible by 3 for all integers n. I know that I am supposed to examine the possible remainders after division with 3. The possibilities are:

n= 0,1,2 (mod 3)

Could somebody please help me? How can the expression of n^3 + 2n possibly become a number composed by at least one factor 3?

Thank you by forehand,
dobedobedo
 
Last edited:
Physics news on Phys.org
  • #2
Do you understand the Induction Hypothesis?
 
  • #3
No, I do not have much experience with modulus calculation and I haven't heard of that hypothesis. I do understand the basic theorems:

If:
α= β (mod C)
and
a = b (mod C)

Then
α*a = β*b (mod C)
and
α + a = β + b (mod C) [1]

I've made some tables showing the mod 3 values for numbers n^3 and 2n:

[2n] 0 2 4 6 8 10 12 14 16
[mod 3] 0 2 1 0 2 1 0 2 1

[n^3] 0 1^3 2^3 3^3 4^3 5^3 6^3 7^3 8^3
[mod 3] 0 1 2 0 1 2 0 1 2

According to [1], 2n + n^3 should be divisible by 3 (if you add the numbers of the rows corresponding to mod 3, you will get always 3 or 0, so the number is divisible by 3 SEE BELOW), if the patterns above don't stop repeating themselves.
[2n+n^3]
[mod 3] 0 3 3 0 3 3 0 3 3

The only problem I see, is that I am unable to prove that this pattern, of numbers congruent to 2n and n^3, repeats in all eternity, making the sum of [2n] and [n^3] equal to 3 or 0.
What is the induction hypothesis btw?
 
Last edited:
  • #4
I'd use the induction hypothesis to prove it.

Basically the induction hypothesis shows that if something works for n then it will work for n + 1, which then shows it will work for all values of n.

http://en.wikipedia.org/wiki/Mathematical_induction

That should explain it in more detail.

First of all you need a basis, to do this show that your hypothesis (that its divisible by 3 for all values of n) works for a small value of n - you can use either n = 0 or n = 1.

Then you substitute in n+1 for n in your first expression.

So in full your proof should look a bit like:

For any natural number n, n3 + 2n is divisible by 3.

Proof:

Basis: If n = 0, n3 + 2n = 03 + 2×0 = 0.
0 mod 3 = 0, therefore it is divisible by 3. Induction: Assume that for an arbitrary natural number n, n3 + 2n is divisible by 3.

Induction Hypothesis: To prove this for n+1, first try to express ( n + 1 )3 + 2( n + 1 ) in terms of n3 + 2n and use the induction hypothesis.

( n + 1 )3 + 2( n + 1 ) = ( n3 + 3n2 + 3n + 1 ) + ( 2n + 2 )
= ( n3 + 2n ) + ( 3n2 + 3n + 3 )
= ( n3 + 2n ) + 3( n2 + n + 1 )

Therefore n3 + 2n is divisible by 3 by the induction hypothesis.

I'm not great with proofs so prehaps someone else could just check that.
 
  • #5
I am a little confused. The term 3(n^3 + 1) is certainly divisible by 3 - but what about the other term (n^3 + 2n) ? Aren't we back at the same situation?
 
  • #6
With the inductive hypothesis, we assumed that n3+2n was divisible by 3 for n, and now you're proving the same for n + 1.

It's like knocking down a line of dominoes, if we can prove that the first domino falls over (basis) and each domino knocks over the next (inductive step), then that means that all of the dominoes in the line get knocked down eventually.

You know that (n3+2n)+3(n2+n+1) is divisible by 3 because n3+2n is (because of the inductive hypothesis) and 3(n2+n+1) is (because it's 3 times an integer). So, their sum is as well.
 
  • #7
Ok, thank you very much for your suggestion, but on the wikipedia article it says that induction works for positive integers. If I would like to extend my reasoning to include negative integers as well - what would be an effective way of proving that n^3 + 2n is divisible by 3 for all n?
 
  • #8
Well, go back to your orginal idea of looking at it "modulo 3".

All integers are equivalent to 0, 1, or 2. If n= 0, [itex]n^3+ 2n= 0^3+ 2(0)= 0[/itex]. If n= 1 [itex]n^3+ 2n= 1^3+ 2(1)[/itex] mod 3. if n= 2,. [itex]n^3+ 2n= 2^3+ 2(2)[/itex] modulo 3. What do those tell you?

Another, related, way- every integer, n, is equal to one of 3m, 3m+1, or 3m+ 2. Calculate [itex]n^3+ 3n[/itex] for each of those.
 
  • #9
That helped, now I am very satisfied. :) Thank you very much, both of you.
 
Last edited:

What is the formula for proving divisibility of n^3+2n by 3?

The formula for proving divisibility of n^3+2n by 3 is (n^3+2n)/3 = n*(n^2+2). This shows that the expression is divisible by 3 since n is an integer and n^2+2 is also an integer.

What is the significance of proving divisibility of n^3+2n by 3?

Proving divisibility of n^3+2n by 3 is important in number theory and algebra as it helps in solving various mathematical problems and equations. It is also used in cryptography and coding theory.

What is the process for proving divisibility of n^3+2n by 3?

The process for proving divisibility of n^3+2n by 3 involves factoring out n from the expression to get n*(n^2+2). Then, we can show that n^2+2 is an integer, proving that the entire expression is divisible by 3.

Why is it important to check divisibility by 3 specifically?

Checking divisibility by 3 is important because it is one of the basic divisibility rules that helps in simplifying and solving various mathematical problems. It is also used in determining whether a number is prime or composite.

Can this formula be used for proving divisibility of other expressions?

Yes, this formula can be used for proving divisibility of other expressions of the form n^3+k*n, where k is any constant. The key is to factor out n from the expression and show that the remaining factor is an integer.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
27
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
625
  • Precalculus Mathematics Homework Help
Replies
2
Views
687
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
14
Views
3K
  • Precalculus Mathematics Homework Help
Replies
1
Views
950
  • Precalculus Mathematics Homework Help
Replies
11
Views
4K
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
Back
Top