Where Does f Have a Limit? An Analysis of a Piecewise Function

  • Thread starter kathrynag
  • Start date
  • Tags
    Limit
In summary: Then f(x)=x-a. Limit as x goes to...a-1<x<a where a is an even number. [x]=a-1. Then f(x)=x-(a-1). Limit as x goes to...a<x<a+1 where a is an even number. [x]=a. Then f(x)=x-a. Limit as x goes to...In summary, we are asked to determine the points where the function f(x) has a limit and justify. By considering the behavior of f(x) for different values of x between integers, we can see that f(x) has a
  • #1
kathrynag
598
0

Homework Statement



Define f:R--->R as follows:
f(x)=x-[x] if [x] is even
f(x)=x-[x+1] if [x] is odd

Determine the points where f has a limit and justify



Homework Equations





The Attempt at a Solution



I'm not even sure where to get started. I assume that f has a limit evrywhere except the integers, but not so sure. Maybe I should try each case seperately.
 
Physics news on Phys.org
  • #2
Start by calculating some values. What would f(x) be for x between 0 and 2?
 
  • #3
Welcome to PF!

kathrynag said:
I'm not even sure where to get started. I assume that f has a limit evrywhere except the integers, but not so sure. Maybe I should try each case seperately.

Hi kathrynag! Welcome to PF! :smile:

Yes, definitely do each of the three cases separately! :wink:
 
  • #4
HallsofIvy said:
Start by calculating some values. What would f(x) be for x between 0 and 2?

If x =1, x is odd

Then f=1-1=0

If x=1.9999
Then f=1.9999-1=.9999
 
  • #5
kathrynag said:
If x =1, x is odd

Then f=1-1=0
No. [itex]f(x)= x-\lfloor x+ 1\lrloor[/itex] if x is odd. Since 1 is odd, [itex]f(1)= 1- \lfloor 2\rfloor= -1[/itex]

If x=1.9999
Then f=1.9999-1=.9999

In fact, for any 0< x< 1, since 0 is even, f(x)= x-0= x while f(1)= -1. What does that tell you?

It should be obvious that, for any non-integer x between two integers, f(x) is x- some constant- and that's a linear function. What happens at x= 2? What is f(2)? What is f(x) if x is between 1 and 2?
 
  • #6
HallsofIvy said:
No. [itex]f(x)= x-\lfloor x+ 1\lrloor[/itex] if x is odd. Since 1 is odd, [itex]f(1)= 1- \lfloor 2\rfloor= -1[/itex]



In fact, for any 0< x< 1, since 0 is even, f(x)= x-0= x while f(1)= -1. What does that tell you?

It should be obvious that, for any non-integer x between two integers, f(x) is x- some constant- and that's a linear function. What happens at x= 2? What is f(2)? What is f(x) if x is between 1 and 2?

oops, i guess i did the wrong one by accident. But is 0, actually an even number? i thought it wasn't defined as even or odd?
So, we have x - some constant. f(2)=2-2=0.
f(x) between 1 and 2. f(1.5)=1.5-[1.5+1]=1.5-[2.5]=1.5-2=-0.5
 
  • #7
So, between any 2 integers the y value goes from -1 to 1.
So, this leads to something, i think...
 
  • #8
Ok, is there no limit at odd integers? So everywhere else there is a limit?
 
  • #9
kathrynag said:
oops, i guess i did the wrong one by accident. But is 0, actually an even number? i thought it wasn't defined as even or odd?
So, we have x - some constant. f(2)=2-2=0.
Yes, that is correct.
f(x) between 1 and 2. f(1.5)=1.5-[1.5+1]=1.5-[2.5]=1.5-2=-0.5[/QUOTE]
but the value at one number tells you nothing about the limit. If x is any number between 1 and 2, then [itex]\lfloor x\rfloor= 1[/itex], an odd number, so [itex]f(x)= x- \lfloor x+1\rfloor= x-2[/itex]. What is the limit of that as x goes to 2?

For the limit to exist, it must be the same from both sides. If 2< x< 3, then [itex]\lfloor x\rfloor= 2[/itex], an even number so [itex]f(x)= x- \lfloor x\rfloor= x- 2[/itex]. What is the limit of that as x goes to 0?

Finally, don't just guess for even and odd integers. Suppose a-1< x< a where a is an odd number. What does the formula reduce to? Suppose a< x< a+1 where a is an odd number. What does the formula reduce to? Now do the same for a an even number.

That is, by the way, a very nice little problem.
 
  • #10
HallsofIvy said:
Yes, that is correct.
f(x) between 1 and 2. f(1.5)=1.5-[1.5+1]=1.5-[2.5]=1.5-2=-0.5
but the value at one number tells you nothing about the limit. If x is any number between 1 and 2, then [itex]\lfloor x\rfloor= 1[/itex], an odd number, so [itex]f(x)= x- \lfloor x+1\rfloor= x-2[/itex]. What is the limit of that as x goes to 2?

For the limit to exist, it must be the same from both sides. If 2< x< 3, then [itex]\lfloor x\rfloor= 2[/itex], an even number so [itex]f(x)= x- \lfloor x\rfloor= x- 2[/itex]. What is the limit of that as x goes to 0?

Finally, don't just guess for even and odd integers. Suppose a-1< x< a where a is an odd number. What does the formula reduce to? Suppose a< x< a+1 where a is an odd number. What does the formula reduce to? Now do the same for a an even number.

That is, by the way, a very nice little problem.[/QUOTE]

If x is between 1 and 2, then [x] =1. Then f(x)=x-2. So as x goes to 2, the limit =0. If 2<x<3, then [x]=2. Then f(x)=x-2. So, the limit=0.
a-1<x<a where a is an odd number. Then [a]=a-1. Is this part correct?
 
  • #11
HallsofIvy said:
Yes, that is correct.
f(x) between 1 and 2. f(1.5)=1.5-[1.5+1]=1.5-[2.5]=1.5-2=-0.5
but the value at one number tells you nothing about the limit. If x is any number between 1 and 2, then [itex]\lfloor x\rfloor= 1[/itex], an odd number, so [itex]f(x)= x- \lfloor x+1\rfloor= x-2[/itex]. What is the limit of that as x goes to 2?

For the limit to exist, it must be the same from both sides. If 2< x< 3, then [itex]\lfloor x\rfloor= 2[/itex], an even number so [itex]f(x)= x- \lfloor x\rfloor= x- 2[/itex]. What is the limit of that as x goes to 0?

Finally, don't just guess for even and odd integers. Suppose a-1< x< a where a is an odd number. What does the formula reduce to? Suppose a< x< a+1 where a is an odd number. What does the formula reduce to? Now do the same for a an even number.

That is, by the way, a very nice little problem.[/QUOTE]

if 1<x<2, [x]=1 Then f(x)=x-2. The limit=0
If 2<x<3 [x]=2 Then f(x)=x-2 The limit =0

a-1<x<a where a is an odd number. [x]=a-1. Then f(x)=x-(a-1). Limit as x goes to a=1
a<x<a+1 where a is an odd number. [x]=a. Then f(x)=x-(a-1+1). Limit as x goes to a= 0
a-1<x<a where a is an even number. [x]=a-1. Then f(x)=x-(a-1+1). Limit=0
a<x<a+1 where a is an even number. [x]=a. Then f(x)=x-a. Limit = 0

So the limit exists for even numbers, it seems.
 
  • #12
Ok, I think I have a better idea. I drew a graph and that helps. It appears there is no limit at the integers obviously because of the holes in the graph and no limit at odd numbers because as x approaches 3 from the left it goes to 1, but as x approaches 3 from the left it goes to -1.
So the limit exists at all real numbers except for the integers and odd numbers.
 
  • #13
?? What exactly do you MEAN by "odd numbers"? I was under the impression that even and odd were only defined for integers!

But what "holes" in the graph are you talking about? This function, f, is defined for all real numbers. The limit exists, and is 0, for all even numbers and f(x)= 0 for x any even number.
 
  • #14
HallsofIvy said:
?? What exactly do you MEAN by "odd numbers"? I was under the impression that even and odd were only defined for integers!

But what "holes" in the graph are you talking about? This function, f, is defined for all real numbers. The limit exists, and is 0, for all even numbers and f(x)= 0 for x any even number.

Ok, I guess, there aren't holes. I was just thinking odd numbers as going toward an odd number like 3 from each side. I wasn't quite sure how to define that.
 
  • #15
Or could I just say there is no limit at the odd integers, but a limit everywhere else?
 

1. What is the definition of a limit in mathematics?

A limit is a fundamental concept in calculus that describes the behavior of a function as its input approaches a certain value. It is defined as the value that a function approaches as its input approaches a specific value, often denoted as x→a.

2. How do you determine if a function has a limit at a specific point?

To determine if a function has a limit at a specific point, you can evaluate the function at that point and see if it approaches a finite value. If the function approaches a finite value from both the left and right sides of the point, then the limit exists. However, if the function approaches different values from the left and right sides, or approaches infinity, then the limit does not exist.

3. What is the purpose of finding a limit of a function?

The purpose of finding a limit of a function is to understand the behavior of the function at a specific point. It can help determine if the function is continuous at that point and can also be used to calculate derivatives and integrals.

4. Can a function have a limit at a point where it is not defined?

Yes, a function can have a limit at a point where it is not defined. This can happen when the function has a removable discontinuity, such as a hole or a point where the function is undefined but can be filled in to make the function continuous.

5. Are limits unique for a function?

Yes, limits are unique for a function. This means that a function can only have one limit at a specific point. If the function approaches different values from the left and right sides, or approaches infinity, then the limit does not exist and is not unique.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
824
  • Calculus and Beyond Homework Help
Replies
3
Views
731
  • Calculus and Beyond Homework Help
Replies
4
Views
917
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top