Continuity of a weird function defined as a summation including floor

In summary: The Attempt at a SolutionI've tried going about via |f(x) - f(y)| < ε, but am having trouble with this, since first, I don't get anywhere and can't really pin down the floor parts of the function, and second, I'm a bit confused, since I also have to deal with n → ∞, in addition to, say, y → x to show continuity.What I got this way is f(y) - f(x) = \sum_{i=1}^{\infty}\frac{2^{i}(y
  • #1
Ryker
1,086
2

Homework Statement


Show that [itex]f(x) = \sum_{i=1}^{\infty}\frac{2^{i}x - \lfloor 2^{i}x \rfloor}{2^{i}}[/itex] is continuous at all real numbers, excluding integers.

The Attempt at a Solution


I've tried going about via |f(x) - f(y)| < ε, but am having trouble with this, since first, I don't get anywhere and can't really pin down the floor parts of the function, and second, I'm a bit confused, since I also have to deal with n → ∞, in addition to, say, y → x to show continuity.

What I got this way is [itex]f(y) - f(x) = \sum_{i=1}^{\infty}\frac{2^{i}(y - x) + \lfloor 2^{i}x \rfloor - \lfloor 2^{i}y \rfloor}{2^{i}}[/itex], but after spending hours on this I have zero idea what to do with that.

Any help would be greatly appreciated, as I'm really struggling here.
 
Last edited:
Physics news on Phys.org
  • #2
Maybe a first place to get a handle on this is to answer why it's not continuous at integers. Do you understand that?

Another hint is that I don't thing combining the y and x non-floor terms is doing you any favors. Try keeping x terms and y terms together.
 
  • #3
Well, I can see that at integers, the sum is always zero, and I assumed this function goes in waves, so that it's increasing from, say 0 to 1, but then has a value of 0 at 1. But I can't really show that it's discontinuous at integers, either (believe me, I've tried).

I've written the f(y) - f(x) without combining them, as well, but I just can't get anywhere that way, either. The reason why I combined them is that I wanted to somehow relate to the fact that y → x.
 
  • #4
What is f(1.001)? What is f(.999) ? What about 1.00001 and .99999 ? What do you think that says about the limit at integers?
 
Last edited:
  • #5
That's exactly what I'm working on right now, trying to work this out. But, for example, if y → x, can I say that [itex]\lfloor2^{n}y\rfloor \rightarrow 2^{n}x[/itex]? Because 2n is increasing very rapidly, so I'm not sure it doesn't "beat" y → x.
 
  • #6
Ryker said:
That's exactly what I'm working on right now, trying to work this out. But, for example, if y → x, can I say that [itex]\lfloor2^{n}y\rfloor \rightarrow 2^{n}x[/itex]? Because 2n is increasing very rapidly, so I'm not sure it doesn't "beat" y → x.

What is .999 - floor(.999) ?

What is 1.001 - floor(1.001) ?
 
  • #7
PAllen said:
What is .999 - floor(.999) ?

What is 1.001 - floor(1.001) ?
Well, it's 0.999 and 0.001, respectively, but it's still the 2n thing that's bothering me, since n is not fixed, but rather n → ∞. I understand that you're going closer and closer, but, again, even as you go lower and lower from 1.001, 2n increases so rapidly that multiplying by it could still yield a higher integer after applying the floor function, couldn't it? I mean, how do I argue that it doesn't, I think that's what I'm having so much trouble with.

edit: But even if I can say that [itex]\lfloor2^{n}y\rfloor \rightarrow 2^{n}x[/itex], I'm still dealing with an infinite sum, right? And, say, the harmonic series also converges to zero, but the infinite sum does not.
 
Last edited:
  • #8
Ryker said:
Well, it's 0.999 and 0.001, respectively, but it's still the 2n thing that's bothering me, since n is not fixed, but rather n → ∞. I understand that you're going closer and closer, but, again, even as you go lower and lower from 1.001, 2n increases so rapidly that multiplying by it could still yield a higher integer after applying the floor function, couldn't it? I mean, how do I argue that it doesn't, I think that's what I'm having so much trouble with.

edit: But even if I can say that [itex]\lfloor2^{n}y\rfloor \rightarrow 2^{n}x[/itex], I'm still dealing with an infinite sum, right? And, say, the harmonic series also converges to zero, but the infinite sum does not.

As a first step, I'm trying to make sure you understand continuity enough to see why at integers it obviously isn't continuous. That is easier than the rest of the problem, and gives hints for the rest. I believe I've given you way more than enough to understand why it is not continuous at integers.

So: can you give a clear statement of why it is not continuous at integers?
 
  • #9
Yeah, it's because [itex]\lim_{y\to x^{+}}f(y) = 1[/itex], whereas [itex]\lim_{y\to x^{-}}f(y) = 0[/itex], where x is an integer.
 
  • #10
Ok, next step. If you sum from i=1 ... k, for y sufficiently close to x not an integer, what happens to the difference in the floor values?
 
  • #11
They become zero. I was thinking of trying induction on this, is this the right step? I'd try to show that for all n, you can find δ, such that if |x - y| < δ, the floors cancel out.

edit: OK, I guess I don't even need induction here, I'd just show this is valid for all n, and then argue that since the sum of the infinite series is the sum of a finite series as n → ∞, if the finite series converges for all n, then the infinite series converges by definition. Any thoughts?
 
Last edited:
  • #12
ok, now forget y for a moment, and consider f(x,k), define by the same series as f(x) but summed from k+1 to ∞. What is an upper bound on this value? The same will be true for y. Then, what is an upper bound on f(y,k) - f(x,k)? Then and upper bound on f(y)-f(x) has become k(y-x) + this upper bound. Since as y -> x, k-> ∞, can you put all this together? Note that by construction, when the first k floor value differences become zero, y-x < 2^-k. So you have an upper bound of:

k(2^-k) + the upper bound I describe above.
 
Last edited:
  • #13
Hmm, well I think the upper bound for f(x, k) would be 2-k, wouldn't it? And then the upper bound for f(x, k) - f(y, k) would be 2-k+1. If that's correct, do I then just apply the squeeze theorem to show f(y) - f(x) also converges to zero as k → ∞?

edit: On second thought, how did you come up with the upper bound k(2-k)? I mean, I set up [itex]\delta = min(|\frac{\lceil 2^{n}x \rceil}{2^{n+1}} - x|, |\frac{\lfloor 2^{n}x \rfloor}{2^{n+1}} - x|)[/itex], although I guess I can add [itex]\frac{1}{2^{n}}[/itex], as well.
 
Last edited:
  • #14
We've chosen a y such that the first k floor differences are zero. f(x,k) and f(y,k) as I defined them are the terms beyond k. However, you still have k terms of (y-x) (see your own first post). Then I note that, by construction, if y has been chosen to make the first k floor differences vanish, the y-x < 2^-k.

This will be the last I plan to post here. I think I've given you plenty of hints to put this together into a proof.
 
  • #15
Alright, I'll make it work, so thanks for all the help! As for y - x < 2-k, however, to me it still seems this alone is not sufficient for all floors up to k to cancel out (you could have, say, 2kx = z + (1/3)2-k, and 2ky = z - 2-k, so that x - y < 2-k, but the floors don't cancel out). So in my δ, I think I'll still leave those two ceiling and floor dependent terms in, since even if this does suffice it can't hurt, either :smile:
 
  • #16
Oh, and by the way, how hard would you say this question is? This is kind of off-topic, but I was just wondering what other people think of such homework problems. And I'm not complaining about it being too hard, either, I just want an honest opinion, even though you said your last post was actually your last here :smile:
 

1. What is continuity of a weird function defined as a summation including floor?

Continuity of a weird function defined as a summation including floor is a mathematical concept that refers to the smoothness or unbrokenness of a function. In this case, the function involves a summation (addition) operation and the use of the floor function, which rounds down a number to the nearest integer.

2. How is continuity of a weird function defined as a summation including floor determined?

Continuity of a weird function defined as a summation including floor is determined by checking if the function is defined at a specific point and whether the limit of the function at that point exists and is equal to the value of the function at that point. In other words, the function must have no gaps or jumps and be defined at every point in order to be continuous.

3. Can a weird function defined as a summation including floor be continuous at every point?

No, not all weird functions defined as a summation including floor can be continuous at every point. This depends on the specific function and the values of the floor function that are used in the summation. If the function has a discontinuity or a jump, it cannot be considered continuous at that point.

4. How does the floor function affect the continuity of a weird function?

The floor function can affect the continuity of a weird function by creating discontinuities or jumps at certain points. This is because the floor function rounds down a number to the nearest integer, which can result in gaps or breaks in the function. However, if the function is defined and continuous at these points, the floor function will not affect the overall continuity of the function.

5. Are there any real-world applications of a weird function defined as a summation including floor?

Yes, there are real-world applications of a weird function defined as a summation including floor. For example, in computer science and programming, the floor function is often used to round down numbers to integers. This can be useful in calculations involving money, where only whole numbers are accepted. Additionally, the concept of continuity is important in many fields such as physics and engineering, where smooth and unbroken functions are needed to accurately describe and model natural phenomena.

Similar threads

  • Calculus and Beyond Homework Help
Replies
27
Views
729
  • Linear and Abstract Algebra
Replies
2
Views
995
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
214
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
22
Views
335
  • Calculus and Beyond Homework Help
Replies
4
Views
685
  • Calculus and Beyond Homework Help
Replies
6
Views
382
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
Back
Top