Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2007, 10:05 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Mathematical Equality

Prove that

N=[N/2] +[N/4] + [N/8] +...+[N/2^n] +...

where [a/b] is the nearest integer function .
Reply With Quote
  #2  
Old 08-16-2007, 10:36 AM
bluesbassman bluesbassman is offline
Senior Member
 
Join Date: Nov 2004
Location: Arlington, Va
Posts: 1,176
Default Re: Mathematical Equality

[ QUOTE ]
Prove that

N=[N/2] +[N/4] + [N/8] +...+[N/2^n] +...

where [a/b] is the nearest integer function .

[/ QUOTE ]

For what value is [1/2] defined?
Reply With Quote
  #3  
Old 08-16-2007, 10:39 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: Mathematical Equality

[1/2]=1 ; [2.5]=3 etc .
Reply With Quote
  #4  
Old 08-16-2007, 11:16 AM
bluesbassman bluesbassman is offline
Senior Member
 
Join Date: Nov 2004
Location: Arlington, Va
Posts: 1,176
Default Re: Mathematical Equality

The conjecture is false. Counterexample: Let N = 1.1.

Did you mean to define the domain of the r.h.s. of the equality to be N = any integer?
Reply With Quote
  #5  
Old 08-16-2007, 11:34 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: Mathematical Equality

N is an arbitrary natural number .
Reply With Quote
  #6  
Old 08-16-2007, 01:44 PM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: Mathematical Equality

It's actually true for natural numbers .
Reply With Quote
  #7  
Old 08-16-2007, 04:18 PM
holmansf holmansf is offline
Member
 
Join Date: Aug 2005
Posts: 65
Default Re: Mathematical Equality

If you write N in binary it becomes somewhat clearer how this works. Say

N = 2^n a_n + ... + 2 a_1 + a_0.

Then you can see that for each k:

[N/2^k] = 2^{n-k} a_n + ... + 2 a_{k+1} + a_k + a_{k-1}

Now collect all the terms multiplied by the same a_i in the sum [N/2] +[N/4] + [N/8] +...+[N/2^n] +... to find that this is equal to:

a_0 + a_1 + a_1 + a_2 + a_2 + 2 a_2 + ... + a_n +Sum_{k=0}^{n-1} 2^k a_k = N.
Reply With Quote
  #8  
Old 08-16-2007, 05:50 PM
tarheeljks tarheeljks is offline
Senior Member
 
Join Date: Aug 2006
Location: stone that the builder refused
Posts: 4,134
Default Re: Mathematical Equality

can't you just factor out N so that this summation becomes a geometric series that converges to 1?
Reply With Quote
  #9  
Old 08-16-2007, 06:38 PM
m_the0ry m_the0ry is offline
Senior Member
 
Join Date: Aug 2006
Posts: 790
Default Re: Mathematical Equality

[ QUOTE ]
can't you just factor out N so that this summation becomes a geometric series that converges to 1?

[/ QUOTE ]

This brings us back to the hardest part of the problem, which is mathematically defining the 'nearest integer' function. I think it would be hard to rigorously show that you can factor out the numerator for this function considering 1/N does not necessarily equal [N/1]^-1.

I had to use fourier series to define the nearest integer function as follows:

NearestInt = x + 1/pi * sigma(k=1 => infinity)[sin(2*pi*k*x + 2*pi*k)

From that the expansion of this problem becomes

N = sigma(i=1 | infinity){N/(2^i) + 1/pi * sigma(k=1 | infinity)[sin(pi*k*N/(2^(i-1)) + pi*k)}

The sin series converges to zero both with respect to i and k, because the harmonics cancel themselves out as well as each other, so you're left with the real number series

N = sigma(i=1 | infinity){N/2^(i)}

which clearly converges to N.
Reply With Quote
  #10  
Old 08-16-2007, 10:33 PM
tarheeljks tarheeljks is offline
Senior Member
 
Join Date: Aug 2006
Location: stone that the builder refused
Posts: 4,134
Default Re: Mathematical Equality

didn't even read the part about nearest int func, never mind.

could you explain a little more how you used the fourier series to define the func?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.